axmol/cocos/scripting/lua-bindings/Android.mk

109 lines
4.5 KiB
Makefile
Raw Normal View History

2014-03-10 14:04:58 +08:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := cocos_lua_static
LOCAL_MODULE_FILENAME := liblua
LOCAL_SRC_FILES := manual/CCLuaBridge.cpp \
manual/CCLuaEngine.cpp \
manual/CCLuaStack.cpp \
manual/lua_debugger.c \
manual/CCLuaValue.cpp \
manual/Cocos2dxLuaLoader.cpp \
manual/CCBProxy.cpp \
manual/Lua_web_socket.cpp \
manual/LuaOpengl.cpp \
manual/LuaScriptHandlerMgr.cpp \
manual/LuaBasicConversions.cpp \
manual/LuaSkeletonAnimation.cpp \
manual/lua_cocos2dx_manual.cpp \
manual/lua_cocos2dx_extension_manual.cpp \
manual/lua_cocos2dx_coco_studio_manual.cpp \
2014-03-12 10:46:49 +08:00
manual/lua_cocos2dx_ui_manual.cpp \
2014-03-10 14:04:58 +08:00
manual/lua_cocos2dx_spine_manual.cpp \
manual/lua_cocos2dx_physics_manual.cpp \
2014-06-27 13:56:39 +08:00
manual/lua_cocos2dx_experimental_video_manual.cpp \
2014-03-10 14:04:58 +08:00
manual/lua_cocos2dx_deprecated.cpp \
manual/lua_xml_http_request.cpp \
manual/platform/android/CCLuaJavaBridge.cpp \
manual/platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.cpp \
manual/tolua_fix.cpp \
manual/lua_extensions.c \
auto/lua_cocos2dx_auto.cpp \
auto/lua_cocos2dx_extension_auto.cpp \
auto/lua_cocos2dx_studio_auto.cpp \
2014-03-12 10:46:49 +08:00
auto/lua_cocos2dx_ui_auto.cpp \
2014-03-10 14:04:58 +08:00
auto/lua_cocos2dx_spine_auto.cpp \
auto/lua_cocos2dx_physics_auto.cpp \
2014-06-27 13:56:39 +08:00
auto/lua_cocos2dx_experimental_video_auto.cpp \
2014-03-10 16:04:46 +08:00
../../../external/lua/tolua/tolua_event.c \
../../../external/lua/tolua/tolua_is.c \
../../../external/lua/tolua/tolua_map.c \
../../../external/lua/tolua/tolua_push.c \
../../../external/lua/tolua/tolua_to.c \
../../../external/lua/luasocket/auxiliar.c \
../../../external/lua/luasocket/buffer.c \
2014-03-10 16:04:46 +08:00
../../../external/lua/luasocket/except.c \
../../../external/lua/luasocket/inet.c \
../../../external/lua/luasocket/io.c \
2014-03-10 16:04:46 +08:00
../../../external/lua/luasocket/luasocket.c \
../../../external/lua/luasocket/mime.c \
../../../external/lua/luasocket/options.c \
../../../external/lua/luasocket/select.c \
../../../external/lua/luasocket/serial.c \
../../../external/lua/luasocket/tcp.c \
../../../external/lua/luasocket/timeout.c \
../../../external/lua/luasocket/udp.c \
../../../external/lua/luasocket/unix.c \
../../../external/lua/luasocket/usocket.c \
../../../external/xxtea/xxtea.cpp
2014-03-10 14:04:58 +08:00
2014-03-10 16:04:46 +08:00
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../external/lua/tolua \
$(LOCAL_PATH)/../../../external/lua/luajit/include \
$(LOCAL_PATH)/../../../external/lua \
$(LOCAL_PATH)/../../../extensions \
$(LOCAL_PATH)/../../editor-support/spine \
$(LOCAL_PATH)/../../editor-support/cocosbuilder \
$(LOCAL_PATH)/../../editor-support/cocostudio \
2014-03-12 10:46:49 +08:00
$(LOCAL_PATH)/../../ui \
$(LOCAL_PATH)/../../2d \
$(LOCAL_PATH)/../../3d \
2014-03-10 14:04:58 +08:00
$(LOCAL_PATH)/auto \
$(LOCAL_PATH)/manual \
$(LOCAL_PATH)/manual/platform/android \
$(LOCAL_PATH)/manual/platform/android/jni \
$(LOCAL_PATH)/../../../external/xxtea
2014-03-10 14:04:58 +08:00
2014-03-10 16:04:46 +08:00
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../external/lua/tolua \
$(LOCAL_PATH)/../../../external/lua/luajit/include \
2014-03-10 14:04:58 +08:00
$(LOCAL_PATH)/../external \
$(LOCAL_PATH)/auto \
$(LOCAL_PATH)/manual
LOCAL_WHOLE_STATIC_LIBRARIES := luajit_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += websockets_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_network_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosbuilder_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static
LOCAL_WHOLE_STATIC_LIBRARIES += spine_static
LOCAL_CFLAGS += -Wno-psabi
LOCAL_EXPORT_CFLAGS += -Wno-psabi
include $(BUILD_STATIC_LIBRARY)
2014-03-10 16:04:46 +08:00
$(call import-module,lua/luajit/prebuilt/android)
2014-03-10 14:04:58 +08:00
$(call import-module,extensions)
$(call import-module,.)
2014-03-10 14:04:58 +08:00
$(call import-module,websockets/prebuilt/android)
$(call import-module,network)
$(call import-module,editor-support/cocostudio)
$(call import-module,editor-support/cocosbuilder)
$(call import-module,editor-support/spine)