axmol/cocos/2d/platform/android/Android.mk

54 lines
1.4 KiB
Makefile
Raw Normal View History

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 := \
CCApplication.cpp \
CCCommon.cpp \
CCDevice.cpp \
2014-01-31 08:51:43 +08:00
CCGLView.cpp \
2013-08-05 16:56:52 +08:00
CCFileUtilsAndroid.cpp \
2013-07-03 06:25:36 +08:00
nativeactivity.cpp \
jni/DPIJni.cpp \
jni/IMEJni.cpp \
2013-08-05 16:56:52 +08:00
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
jni/JniHelper.cpp
2013-08-05 16:56:52 +08:00
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/../.. \
$(LOCAL_PATH)/../../../base \
2014-03-05 08:59:39 +08:00
$(LOCAL_PATH)/../../../math/kazmath \
$(LOCAL_PATH)/../../../physics
2013-08-05 16:56:52 +08:00
LOCAL_LDLIBS := -lGLESv1_CM \
-lGLESv2 \
2013-08-05 16:56:52 +08:00
-lEGL \
-llog \
-lz \
-landroid
LOCAL_EXPORT_LDLIBS := -lGLESv1_CM \
-lGLESv2 \
2013-08-05 16:56:52 +08:00
-lEGL \
-llog \
-lz \
-landroid
LOCAL_WHOLE_STATIC_LIBRARIES := android_native_app_glue cocos_png_static cocos_jpeg_static cocos_tiff_static cocos_webp_static
2013-08-05 16:56:52 +08:00
include $(BUILD_STATIC_LIBRARY)
$(call import-module,jpeg/prebuilt/android)
$(call import-module,png/prebuilt/android)
$(call import-module,tiff/prebuilt/android)
$(call import-module,webp/prebuilt/android)
2013-08-05 16:56:52 +08:00
$(call import-module,android/native_app_glue)