1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4# Import variables LIBDRM_AMDGPU_FILES, LIBDRM_AMDGPU_H_FILES 5include $(LOCAL_PATH)/Makefile.sources 6 7LOCAL_MODULE := libdrm_amdgpu 8LOCAL_MODULE_TAGS := optional 9 10LOCAL_SHARED_LIBRARIES := libdrm 11 12LOCAL_SRC_FILES := $(filter-out %.h,$(LIBDRM_AMDGPU_FILES)) 13LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 14 15LOCAL_CFLAGS := \ 16 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 17 18include $(BUILD_SHARED_LIBRARY) 19