2013-04-16 17:34:58 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := cocos_lua_static
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := liblua
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := ../cocos2dx_support/CCLuaBridge.cpp \
|
|
|
|
../cocos2dx_support/CCLuaEngine.cpp \
|
|
|
|
../cocos2dx_support/CCLuaStack.cpp \
|
|
|
|
../cocos2dx_support/CCLuaValue.cpp \
|
|
|
|
../cocos2dx_support/Cocos2dxLuaLoader.cpp \
|
2013-06-03 13:47:12 +08:00
|
|
|
../cocos2dx_support/CCBProxy.cpp \
|
|
|
|
../cocos2dx_support/Lua_extensions_CCB.cpp \
|
2013-06-07 12:54:39 +08:00
|
|
|
../cocos2dx_support/Lua_web_socket.cpp \
|
2013-06-20 10:19:46 +08:00
|
|
|
../cocos2dx_support/LuaOpengl.cpp \
|
2013-06-21 10:43:02 +08:00
|
|
|
../cocos2dx_support/LuaScrollView.cpp \
|
2013-07-11 13:38:25 +08:00
|
|
|
../cocos2dx_support/LuaScriptHandlerMgr.cpp \
|
2013-08-22 13:39:05 +08:00
|
|
|
../cocos2dx_support/LuaBasicConversions.cpp \
|
2013-08-27 16:21:06 +08:00
|
|
|
../../auto-generated/lua-bindings/lua_cocos2dx_auto.cpp \
|
|
|
|
../../auto-generated/lua-bindings/lua_cocos2dx_extension_auto.cpp \
|
2013-08-22 13:39:05 +08:00
|
|
|
../cocos2dx_support/lua_cocos2dx_manual.cpp \
|
|
|
|
../cocos2dx_support/lua_cocos2dx_extension_manual.cpp \
|
2013-08-26 18:45:50 +08:00
|
|
|
../cocos2dx_support/lua_cocos2dx_deprecated.cpp \
|
2013-04-16 17:34:58 +08:00
|
|
|
../tolua/tolua_event.c \
|
|
|
|
../tolua/tolua_is.c \
|
|
|
|
../tolua/tolua_map.c \
|
|
|
|
../tolua/tolua_push.c \
|
|
|
|
../tolua/tolua_to.c \
|
|
|
|
../cocos2dx_support/tolua_fix.c
|
2013-08-27 16:21:06 +08:00
|
|
|
|
2013-04-16 17:34:58 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../luajit/include \
|
|
|
|
$(LOCAL_PATH)/../tolua \
|
2013-08-27 16:21:06 +08:00
|
|
|
$(LOCAL_PATH)/../cocos2dx_support \
|
|
|
|
$(LOCAL_PATH)/../../auto-generated/lua-bindings
|
|
|
|
|
|
|
|
|
2013-04-16 17:34:58 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ \
|
|
|
|
$(LOCAL_PATH)/../luajit/include \
|
|
|
|
$(LOCAL_PATH)/../tolua \
|
|
|
|
$(LOCAL_PATH)/../../../cocos2dx \
|
|
|
|
$(LOCAL_PATH)/../../../cocos2dx/include \
|
|
|
|
$(LOCAL_PATH)/../../../cocos2dx/platform \
|
|
|
|
$(LOCAL_PATH)/../../../cocos2dx/platform/android \
|
|
|
|
$(LOCAL_PATH)/../../../cocos2dx/kazmath/include \
|
2013-05-24 11:42:27 +08:00
|
|
|
$(LOCAL_PATH)/../../../CocosDenshion/include \
|
2013-08-22 15:06:34 +08:00
|
|
|
$(LOCAL_PATH)/../../../extensions \
|
|
|
|
$(LOCAL_PATH)/../cocos2dx_support \
|
2013-08-27 16:21:06 +08:00
|
|
|
$(LOCAL_PATH)/../../auto-generated/lua-bindings
|
2013-08-22 15:06:34 +08:00
|
|
|
|
2013-04-16 17:34:58 +08:00
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := luajit_static
|
2013-06-07 12:54:39 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
|
2013-04-16 17:34:58 +08:00
|
|
|
|
|
|
|
LOCAL_CFLAGS += -Wno-psabi
|
|
|
|
LOCAL_EXPORT_CFLAGS += -Wno-psabi
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,scripting/lua/luajit)
|
2013-06-07 12:54:39 +08:00
|
|
|
$(call import-module,extensions)
|