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