mirror of https://github.com/axmolengine/axmol.git
66 lines
2.4 KiB
Makefile
66 lines
2.4 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := cocos_lua_static
|
|
|
|
LOCAL_MODULE_FILENAME := liblua
|
|
|
|
LOCAL_SRC_FILES := CCLuaBridge.cpp \
|
|
CCLuaEngine.cpp \
|
|
CCLuaStack.cpp \
|
|
CCLuaValue.cpp \
|
|
Cocos2dxLuaLoader.cpp \
|
|
CCBProxy.cpp \
|
|
Lua_web_socket.cpp \
|
|
LuaOpengl.cpp \
|
|
LuaScriptHandlerMgr.cpp \
|
|
LuaBasicConversions.cpp \
|
|
../../auto-generated/lua-bindings/lua_cocos2dx_auto.cpp \
|
|
../../auto-generated/lua-bindings/lua_cocos2dx_extension_auto.cpp \
|
|
../../auto-generated/lua-bindings/lua_cocos2dx_studio_auto.cpp \
|
|
lua_cocos2dx_manual.cpp \
|
|
lua_cocos2dx_extension_manual.cpp \
|
|
lua_cocos2dx_deprecated.cpp \
|
|
lua_xml_http_request.cpp \
|
|
platform/android/CCLuaJavaBridge.cpp \
|
|
platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.cpp \
|
|
../../../../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 \
|
|
tolua_fix.c
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../external/lua/tolua \
|
|
$(LOCAL_PATH)/../../auto-generated/lua-bindings \
|
|
$(LOCAL_PATH)/platform/android \
|
|
$(LOCAL_PATH)/platform/android/jni \
|
|
$(LOCAL_PATH)/../../../../extensions \
|
|
$(LOCAL_PATH)/../../../editor-support/cocosbuilder \
|
|
$(LOCAL_PATH)/../../../editor-support/cocostudio
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
|
|
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_CFLAGS += -Wno-psabi
|
|
LOCAL_EXPORT_CFLAGS += -Wno-psabi
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,lua/luajit/prebuilt/android)
|
|
$(call import-module,extensions)
|
|
$(call import-module,2d)
|
|
$(call import-module,websockets/prebuilt/android)
|
|
$(call import-module,network)
|
|
$(call import-module,editor-support/cocostudio)
|
|
$(call import-module,editor-support/cocosbuilder)
|