xref: /third_party/libdrm/Android.common.mk
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libdrm/
1d722e3fbSopenharmony_ci# XXX: Consider moving these to config.h analogous to autoconf.
2d722e3fbSopenharmony_ciLOCAL_CFLAGS += \
3d722e3fbSopenharmony_ci	-DMAJOR_IN_SYSMACROS=1 \
4d722e3fbSopenharmony_ci	-DHAVE_ALLOCA_H=0 \
5d722e3fbSopenharmony_ci	-DHAVE_SYS_SELECT_H=0 \
6d722e3fbSopenharmony_ci	-DHAVE_SYS_SYSCTL_H=0 \
7d722e3fbSopenharmony_ci	-DHAVE_VISIBILITY=1 \
8d722e3fbSopenharmony_ci	-fvisibility=hidden \
9d722e3fbSopenharmony_ci	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
10d722e3fbSopenharmony_ci
11d722e3fbSopenharmony_ciLOCAL_CFLAGS += \
12d722e3fbSopenharmony_ci	-Wno-error \
13d722e3fbSopenharmony_ci	-Wno-unused-parameter \
14d722e3fbSopenharmony_ci	-Wno-missing-field-initializers \
15d722e3fbSopenharmony_ci	-Wno-pointer-arith \
16d722e3fbSopenharmony_ci	-Wno-enum-conversion
17d722e3fbSopenharmony_ci
18d722e3fbSopenharmony_ci# Quiet down the build system and remove any .h files from the sources
19d722e3fbSopenharmony_ciLOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
20d722e3fbSopenharmony_ciLOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
21d722e3fbSopenharmony_ci
22d722e3fbSopenharmony_ciLOCAL_PROPRIETARY_MODULE := true
23

Indexes created Thu Nov 07 10:32:03 CST 2024