OSDN Git Service

libdrm: drmNodeIsDRM: Add FreeBSD variant
[android-x86/external-libdrm.git] / Android.common.mk
1 # XXX: Consider moving these to config.h analogous to autoconf.
2 LOCAL_CFLAGS += \
3         -DMAJOR_IN_SYSMACROS=1 \
4         -DHAVE_ALLOCA_H=0 \
5         -DHAVE_SYS_SELECT_H=0 \
6         -DHAVE_SYS_SYSCTL_H=0 \
7         -DHAVE_VISIBILITY=1 \
8         -fvisibility=hidden \
9         -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
10
11 LOCAL_CFLAGS += \
12         -Wno-error \
13         -Wno-unused-parameter \
14         -Wno-missing-field-initializers \
15         -Wno-pointer-arith \
16         -Wno-enum-conversion
17
18 # Quiet down the build system and remove any .h files from the sources
19 LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
20 LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
21
22 LOCAL_PROPRIETARY_MODULE := true