2013-08-05 16:56:52 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos2dxandroid_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libcocos2dandroid
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2014-09-10 07:50:02 +08:00
|
|
|
CCApplication-android.cpp \
|
|
|
|
CCCommon-android.cpp \
|
|
|
|
CCDevice-android.cpp \
|
|
|
|
CCGLViewImpl-android.cpp \
|
|
|
|
CCFileUtils-android.cpp \
|
|
|
|
javaactivity-android.cpp \
|
2013-08-26 18:01:42 +08:00
|
|
|
jni/DPIJni.cpp \
|
|
|
|
jni/IMEJni.cpp \
|
2014-03-25 10:57:29 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp \
|
2013-08-05 16:56:52 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
|
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
|
2014-03-25 10:57:29 +08:00
|
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp \
|
|
|
|
jni/JniHelper.cpp \
|
2015-01-13 17:30:07 +08:00
|
|
|
jni/TouchesJni.cpp \
|
|
|
|
jni/CocosPlayClient.cpp
|
2013-08-05 16:56:52 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
|
2014-05-17 09:16:20 +08:00
|
|
|
$(LOCAL_PATH)/.. \
|
2013-08-05 16:56:52 +08:00
|
|
|
$(LOCAL_PATH)/../.. \
|
|
|
|
|
2013-03-23 04:49:30 +08:00
|
|
|
LOCAL_EXPORT_LDLIBS := -lGLESv1_CM \
|
|
|
|
-lGLESv2 \
|
2013-08-05 16:56:52 +08:00
|
|
|
-lEGL \
|
|
|
|
-llog \
|
|
|
|
-lz \
|
|
|
|
-landroid
|
|
|
|
|
2014-10-16 21:41:52 +08:00
|
|
|
LOCAL_CPPFLAGS := -Wno-extern-c-compat
|
|
|
|
|
2014-10-17 10:13:33 +08:00
|
|
|
LOCAL_EXPORT_CPPFLAGS := -Wno-extern-c-compat
|
|
|
|
|
2013-08-05 16:56:52 +08:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|