summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
author杨威 <[email protected]>2023-06-20 16:01:35 +0800
committer杨威 <[email protected]>2023-06-26 20:18:26 +0800
commit096bbda71ea301fe6dbdc603b5cbf06bfc0d73ed (patch)
tree7009752d8a71c4f7f4aafcce6263464d5277be80 /src/config
parentacc0ee76193f032c64dca379acad9c7256d6e13f (diff)
🦄 refactor(Remove obsolete code): makefile and dictator
Diffstat (limited to 'src/config')
-rw-r--r--src/config/Makefile52
-rw-r--r--src/config/config_parse.cpp2
2 files changed, 0 insertions, 54 deletions
diff --git a/src/config/Makefile b/src/config/Makefile
deleted file mode 100644
index d76eaaf..0000000
--- a/src/config/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-#opt: OPTFLAGS = -O2
-#export OPTFLAGS
-
-CC = g++
-CCC = g++
-CFLAGS += -Wall
-CFLAGS += -fPIC -shared -D_DEFAULT_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-CFLAGS += $(OPTFLAGS)
-CFLAGS += $(PACKET_TAG_863)
-CFLAGS += -DPLATFORM_NSDPF_PAPP=1
-
-LIBPATH = ../lib
-
-H_DIR += $(INC)
-H_DIR += -I../../include
-H_DIR += -I../../include/private
-H_DIR += -I../../include/public
-H_DIR += -I../../include/support
-
-H_DIR += -I/opt/MESA/include
-H_DIR += -I/opt/MESA/include/MESA
-
-TARGET = libconfig.a
-
-OBJS=cmd_args.o config_parse.o
-
-ifeq ($(IIEFD_DUAL_STACK), $(YES))
-CFLAGS += -g -DIIEFD_DUAL_STACK=1
-endif
-
-ifeq ($(USE_MEM_POOL), 1)
-CFLAGS += -DUSE_MEMPOOL=1
-endif
-
-
-all: $(TARGET)
-
-$(TARGET): $(OBJS)
- rm -f $@ ;ar -r $@ $^;
- cp $(TARGET) $(LIBPATH)
-
-.c.o:
- $(CC) -c $(CFLAGS) -I. $(H_DIR) $<
-
-.cpp.o:
- $(CCC) -c $(CFLAGS) -I. $(H_DIR) $<
-
-clean:
- rm -f *.o $(TARGET) *~
-
-opt:
- $(MAKE) all
diff --git a/src/config/config_parse.cpp b/src/config/config_parse.cpp
index 8c9fecb..a469111 100644
--- a/src/config/config_parse.cpp
+++ b/src/config/config_parse.cpp
@@ -1756,8 +1756,6 @@ int sapp_parse_config(void)
}
- /******************************* MEM *********************************/
- tomlc99_wrap_load_int_def(ABBR_CFG_FILE_MAIN_ENTRY, (char *)"MEM", (char *)"dictator_enable", (int *)&pconfig->mem.dictator_enable, 1);
/******************************* PACKET_IO ******************************/