LIB_VERSION:=lua-5.3.3-src
SRC_ROOT_PATH:= ../../$(LIB_VERSION)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := liblua
LOCAL_CFLAGS := -D"lua_getlocaledecpoint() ='.'" -DLUA_USE_C89
LOCAL_SRC_FILES := \
$(SRC_ROOT_PATH)/src/lapi.c \
$(SRC_ROOT_PATH)/src/lauxlib.c \
$(SRC_ROOT_PATH)/src/lbaselib.c \
$(SRC_ROOT_PATH)/src/lbitlib.c \
$(SRC_ROOT_PATH)/src/lcode.c \
$(SRC_ROOT_PATH)/src/lcorolib.c \
$(SRC_ROOT_PATH)/src/lctype.c \
$(SRC_ROOT_PATH)/src/ldblib.c \
$(SRC_ROOT_PATH)/src/ldebug.c \
$(SRC_ROOT_PATH)/src/ldo.c \
$(SRC_ROOT_PATH)/src/ldump.c \
$(SRC_ROOT_PATH)/src/lfunc.c \
$(SRC_ROOT_PATH)/src/lgc.c \
$(SRC_ROOT_PATH)/src/linit.c \
$(SRC_ROOT_PATH)/src/liolib.c \
$(SRC_ROOT_PATH)/src/llex.c \
$(SRC_ROOT_PATH)/src/lmathlib.c \
$(SRC_ROOT_PATH)/src/lmem.c \
$(SRC_ROOT_PATH)/src/loadlib.c \
$(SRC_ROOT_PATH)/src/lobject.c \
$(SRC_ROOT_PATH)/src/lopcodes.c \
$(SRC_ROOT_PATH)/src/loslib.c \
$(SRC_ROOT_PATH)/src/lparser.c \
$(SRC_ROOT_PATH)/src/lstate.c \
$(SRC_ROOT_PATH)/src/lstring.c \
$(SRC_ROOT_PATH)/src/lstrlib.c \
$(SRC_ROOT_PATH)/src/ltable.c \
$(SRC_ROOT_PATH)/src/ltablib.c \
$(SRC_ROOT_PATH)/src/ltm.c \
$(SRC_ROOT_PATH)/src/lua.c \
$(SRC_ROOT_PATH)/src/lundump.c \
$(SRC_ROOT_PATH)/src/lvm.c \
$(SRC_ROOT_PATH)/src/lzio.c \
$(SRC_ROOT_PATH)/src/lutf8lib.c\
include $(BUILD_SHARED_LIBRARY)
#include $(BUILD_STATIC_LIBRARY)
#include $(BUILD_EXECUTABLE)