mirror of https://github.com/axmolengine/axmol.git
53 lines
1.9 KiB
Makefile
53 lines
1.9 KiB
Makefile
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 \
|
|
../cocos2dx_support/LuaCocos2d.cpp \
|
|
../cocos2dx_support/CCBProxy.cpp \
|
|
../cocos2dx_support/Lua_extensions_CCB.cpp \
|
|
../cocos2dx_support/Lua_web_socket.cpp \
|
|
../cocos2dx_support/LuaOpengl.cpp \
|
|
../cocos2dx_support/LuaScrollView.cpp \
|
|
../cocos2dx_support/LuaScriptHandlerMgr.cpp \
|
|
../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
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../luajit/include \
|
|
$(LOCAL_PATH)/../tolua \
|
|
$(LOCAL_PATH)/../cocos2dx_support
|
|
|
|
|
|
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 \
|
|
$(LOCAL_PATH)/../../../CocosDenshion/include \
|
|
$(LOCAL_PATH)/../../../extensions
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := luajit_static
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
|
|
|
|
LOCAL_CFLAGS += -Wno-psabi
|
|
LOCAL_EXPORT_CFLAGS += -Wno-psabi
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
$(call import-module,scripting/lua/luajit)
|
|
$(call import-module,extensions)
|