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