summaryrefslogtreecommitdiff
path: root/core/src/lua-cjson
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-24 17:18:19 +0800
committerruki <[email protected]>2022-12-24 17:18:19 +0800
commit984307d5445ddbc65a97dd42e37215737c686a40 (patch)
treebf2b6046ec66b9fd48e8527c697bf74cf8b7b766 /core/src/lua-cjson
parent025b307d3b801fa67d1c087d398289f76ff607dc (diff)
remove makefile
Diffstat (limited to 'core/src/lua-cjson')
-rw-r--r--core/src/lua-cjson/makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/core/src/lua-cjson/makefile b/core/src/lua-cjson/makefile
deleted file mode 100644
index 4a2c4ffeb..000000000
--- a/core/src/lua-cjson/makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# prefix
-include $(PRO_DIR)/prefix.mak
-
-# module name
-NAMES = lua-cjson
-
-# module type
-lua-cjson_TYPE = LIB
-
-# config
-lua-cjson_CONFIG = n
-
-# core files
-lua-cjson_C_FILES += \
- lua-cjson/dtoa \
- lua-cjson/g_fmt \
- lua-cjson/strbuf \
- lua-cjson/lua_cjson
-
-# cflags
-# Use internal strtod() / g_fmt() code for performance and disable multi-thread
-lua-cjson_CFLAGS += -DNDEBUG -DUSE_INTERNAL_FPCONV
-
-# includes
-ifeq ($(RUNTIME),luajit)
-lua-cjson_INC_DIRS += ../luajit/luajit/src
-lua-cjson_CXFLAGS += -DUSE_LUAJIT
-endif
-ifeq ($(RUNTIME),lua)
-lua-cjson_INC_DIRS += ../lua/lua
-lua-cjson_CXFLAGS += -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_3
-endif
-
-# use given system library?
-lua-cjson_C_FILES := $(if $(findstring cjson,$(base_LIBNAMES)),,$(lua-cjson_C_FILES))
-lua-cjson_INC_FILES := $(if $(findstring cjson,$(base_LIBNAMES)),,$(lua-cjson_INC_FILES))
-
-# suffix
-include $(PRO_DIR)/suffix.mak
-