axmol/cocos2dx/platform/android/Android.mk

58 lines
1.5 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 := \
CCDevice.cpp \
CCEGLView.cpp \
CCAccelerometer.cpp \
CCApplication.cpp \
CCCommon.cpp \
CCFileUtilsAndroid.cpp \
CCImage.cpp \
2013-07-03 06:25:36 +08:00
nativeactivity.cpp \
2013-08-05 16:56:52 +08:00
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
jni/Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp \
jni/JniHelper.cpp \
jni/IMEJni.cpp \
jni/TouchesJni.cpp \
jni/DPIJni.cpp
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/../.. \
$(LOCAL_PATH)/../../include \
2013-08-03 08:53:14 +08:00
$(LOCAL_PATH)/../../kazmath/include \
$(LOCAL_PATH)/../../platform/third_party/common/etc
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_libpng_static cocos_jpeg_static cocos_libxml2_static cocos_libtiff_static cocos_libwebp_static
2013-08-05 16:56:52 +08:00
include $(BUILD_STATIC_LIBRARY)
$(call import-module,libjpeg)
$(call import-module,libpng)
$(call import-module,libtiff)
$(call import-module,libwebp)
$(call import-module,android/native_app_glue)