From 9a3759c3ddeee2ba4b2215074df3d21d24e65c5c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 11 Oct 2010 16:07:09 +0800 Subject: android: Add Android.mk's. --- src/mapi/Android.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/mapi/Android.mk (limited to 'src/mapi/Android.mk') diff --git a/src/mapi/Android.mk b/src/mapi/Android.mk new file mode 100644 index 0000000000..5af2988e80 --- /dev/null +++ b/src/mapi/Android.mk @@ -0,0 +1,23 @@ +# Android.mk for glapi + +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +include $(LOCAL_PATH)/mapi/sources.mak +LOCAL_SRC_FILES := $(addprefix mapi/, $(MAPI_GLAPI_SOURCES)) + +LOCAL_CFLAGS := \ + -DPTHREADS \ + -DMAPI_MODE_GLAPI \ + -DMAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\" \ + -fvisibility=hidden \ + -Wno-sign-compare + +LOCAL_C_INCLUDES := \ + external/mesa/include \ + external/mesa/src/mapi + +LOCAL_MODULE := libglapi + +include $(BUILD_SHARED_LIBRARY) -- cgit v1.2.3