diff options
Diffstat (limited to 'ThirdParty/tolua_runtime/android/jni/Android.mk')
-rw-r--r-- | ThirdParty/tolua_runtime/android/jni/Android.mk | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ThirdParty/tolua_runtime/android/jni/Android.mk b/ThirdParty/tolua_runtime/android/jni/Android.mk new file mode 100644 index 0000000..673d73b --- /dev/null +++ b/ThirdParty/tolua_runtime/android/jni/Android.mk @@ -0,0 +1,40 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := libluajit +LOCAL_SRC_FILES := libluajit.a +include $(PREBUILT_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_FORCE_STATIC_EXECUTABLE := true +LOCAL_MODULE := tolua +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../luajit-2.1/src +LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../ + +LOCAL_CPPFLAGS := -O2 +LOCAL_CFLAGS := -O2 -std=gnu99 +LOCAL_SRC_FILES := ../../tolua.c \ + ../../int64.c \ + ../../uint64.c \ + ../../pb.c \ + ../../lpeg.c \ + ../../struct.c \ + ../../cjson/strbuf.c \ + ../../cjson/lua_cjson.c \ + ../../cjson/fpconv.c \ + ../../luasocket/auxiliar.c \ + ../../luasocket/buffer.c \ + ../../luasocket/except.c \ + ../../luasocket/inet.c \ + ../../luasocket/io.c \ + ../../luasocket/luasocket.c \ + ../../luasocket/mime.c \ + ../../luasocket/options.c \ + ../../luasocket/select.c \ + ../../luasocket/tcp.c \ + ../../luasocket/timeout.c \ + ../../luasocket/udp.c \ + ../../luasocket/usocket.c \ + +LOCAL_WHOLE_STATIC_LIBRARIES += libluajit +include $(BUILD_SHARED_LIBRARY)
\ No newline at end of file |