1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4# Import variables LIBDRM_RADEON_FILES, LIBDRM_RADEON_H_FILES 5include $(LOCAL_PATH)/Makefile.sources 6 7LOCAL_MODULE := libdrm_radeon 8LOCAL_MODULE_TAGS := optional 9 10LOCAL_SHARED_LIBRARIES := libdrm 11 12LOCAL_SRC_FILES := $(LIBDRM_RADEON_FILES) 13LOCAL_EXPORT_C_INCLUDE_DIRS += \ 14 $(LOCAL_PATH)/radeon 15 16LOCAL_C_INCLUDES := \ 17 $(LIBDRM_TOP) \ 18 $(LIBDRM_TOP)/radeon \ 19 $(LIBDRM_TOP)/include/drm 20 21LOCAL_CFLAGS := \ 22 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 23 24LOCAL_COPY_HEADERS := $(LIBDRM_RADEON_H_FILES) 25LOCAL_COPY_HEADERS_TO := libdrm 26 27LOCAL_SHARED_LIBRARIES := \ 28 libdrm 29 30include $(BUILD_SHARED_LIBRARY) 31