2011-06-23 12:01:02 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2012-05-02 17:29:16 +08:00
|
|
|
LOCAL_MODULE := cocos_lua_static
|
2012-02-08 11:14:47 +08:00
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := liblua
|
|
|
|
|
2011-06-23 12:01:02 +08:00
|
|
|
LOCAL_SRC_FILES :=../../lua/lapi.c \
|
|
|
|
../../lua/lauxlib.c \
|
2012-05-29 16:21:23 +08:00
|
|
|
../../lua/lbaselib.c \
|
|
|
|
../../lua/lcode.c \
|
|
|
|
../../lua/ldblib.c \
|
|
|
|
../../lua/ldebug.c \
|
|
|
|
../../lua/ldo.c \
|
|
|
|
../../lua/ldump.c \
|
|
|
|
../../lua/lfunc.c \
|
|
|
|
../../lua/lgc.c \
|
|
|
|
../../lua/linit.c \
|
|
|
|
../../lua/liolib.c \
|
|
|
|
../../lua/llex.c \
|
|
|
|
../../lua/lmathlib.c \
|
|
|
|
../../lua/lmem.c \
|
|
|
|
../../lua/loadlib.c \
|
|
|
|
../../lua/lobject.c \
|
|
|
|
../../lua/lopcodes.c \
|
|
|
|
../../lua/loslib.c \
|
|
|
|
../../lua/lparser.c \
|
|
|
|
../../lua/lstate.c \
|
|
|
|
../../lua/lstring.c \
|
|
|
|
../../lua/lstrlib.c \
|
|
|
|
../../lua/ltable.c \
|
|
|
|
../../lua/ltablib.c \
|
|
|
|
../../lua/ltm.c \
|
|
|
|
../../lua/lua.c \
|
|
|
|
../../lua/lundump.c \
|
|
|
|
../../lua/lvm.c \
|
|
|
|
../../lua/lzio.c \
|
|
|
|
../../lua/print.c \
|
|
|
|
../../tolua/tolua_event.c \
|
|
|
|
../../tolua/tolua_is.c \
|
|
|
|
../../tolua/tolua_map.c \
|
|
|
|
../../tolua/tolua_push.c \
|
2012-12-14 18:01:54 +08:00
|
|
|
../../tolua/tolua_to.c \
|
|
|
|
../../cocos2dx_support/CCLuaEngine.cpp \
|
|
|
|
../../cocos2dx_support/Cocos2dxLuaLoader.cpp \
|
|
|
|
../../cocos2dx_support/LuaCocos2d.cpp \
|
|
|
|
../../cocos2dx_support/tolua_fix.c
|
2012-05-29 16:21:23 +08:00
|
|
|
|
2012-02-08 11:14:47 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../lua \
|
|
|
|
$(LOCAL_PATH)/../../tolua \
|
2012-02-10 12:02:46 +08:00
|
|
|
$(LOCAL_PATH)/../../cocos2dx_support
|
2012-05-29 16:21:23 +08:00
|
|
|
|
|
|
|
|
2011-06-23 12:01:02 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ \
|
2012-12-14 18:01:54 +08:00
|
|
|
$(LOCAL_PATH)/../../lua \
|
|
|
|
$(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
|
2011-06-23 12:01:02 +08:00
|
|
|
|
2012-12-14 18:01:54 +08:00
|
|
|
LOCAL_CFLAGS += -Wno-psabi
|
|
|
|
LOCAL_EXPORT_CFLAGS += -Wno-psabi
|
2011-06-23 12:01:02 +08:00
|
|
|
|
2012-05-02 17:29:16 +08:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|