2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos_extension_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libextension
|
|
|
|
|
2013-08-02 17:33:27 +08:00
|
|
|
dirs := $(shell find $(LOCAL_PATH) -type d -print)
|
|
|
|
find_files = $(subst $(LOCAL_PATH)/,,$(wildcard $(dir)/*.cpp))
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(foreach dir, $(dirs), $(find_files))
|
2012-07-20 17:06:00 +08:00
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
2013-03-19 06:42:28 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
|
2012-08-09 10:45:11 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_curl_static
|
2012-11-20 16:27:47 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
2013-05-31 23:13:03 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += libwebsockets_static
|
2012-07-20 17:06:00 +08:00
|
|
|
|
2013-06-14 14:34:50 +08:00
|
|
|
LOCAL_CXXFLAGS += -fexceptions
|
|
|
|
|
2013-04-17 12:49:25 +08:00
|
|
|
LOCAL_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION=1
|
|
|
|
LOCAL_EXPORT_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION=1
|
2013-04-16 18:19:46 +08:00
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
|
|
|
|
$(LOCAL_PATH)/CCBReader \
|
2012-08-09 10:45:11 +08:00
|
|
|
$(LOCAL_PATH)/GUI/CCControlExtension \
|
|
|
|
$(LOCAL_PATH)/GUI/CCScrollView \
|
2013-01-07 17:22:06 +08:00
|
|
|
$(LOCAL_PATH)/network \
|
|
|
|
$(LOCAL_PATH)/LocalStorage
|
2012-07-20 17:06:00 +08:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,cocos2dx)
|
2013-03-19 06:42:28 +08:00
|
|
|
$(call import-module,CocosDenshion/android)
|
2012-08-09 10:45:11 +08:00
|
|
|
$(call import-module,cocos2dx/platform/third_party/android/prebuilt/libcurl)
|
2012-11-20 16:27:47 +08:00
|
|
|
$(call import-module,external/Box2D)
|
|
|
|
$(call import-module,external/chipmunk)
|
2013-05-31 23:13:03 +08:00
|
|
|
$(call import-module,external/libwebsockets/android)
|