1 LOCAL_PATH := $(call my-dir)
4 # Import variables LIBDRM_RADEON_FILES, LIBDRM_RADEON_H_FILES
5 include $(LOCAL_PATH)/Makefile.sources
7 LOCAL_MODULE := libdrm_radeon
8 LOCAL_MODULE_TAGS := optional
10 LOCAL_SHARED_LIBRARIES := libdrm
12 LOCAL_SRC_FILES := $(LIBDRM_RADEON_FILES)
13 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
17 $(LIBDRM_TOP)/radeon \
18 $(LIBDRM_TOP)/include/drm
21 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
23 LOCAL_COPY_HEADERS := $(LIBDRM_RADEON_H_FILES)
24 LOCAL_COPY_HEADERS_TO := libdrm
26 include $(BUILD_SHARED_LIBRARY)