summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile61
1 files changed, 0 insertions, 61 deletions
diff --git a/test/Makefile b/test/Makefile
deleted file mode 100644
index 124fb04..0000000
--- a/test/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-CC = gcc
-CCC = g++
-
-INCLUDES += -I/opt/MESA/include/
-LIB = -L./opt/MESA/lib/ -lpthread
-CFLAGS = -g3 -Wall -fPIC
-CFLAGS += $(INCLUDES)
-
-TARGET = dpkt_plug_gquic.so
-INF = dpkt_plug_gquic.inf
-INSTALL_TARGET=$(TARGET)
-LIB_FILE = $(wildcard ../lib/*.a)
-SOURCES = $(wildcard *.cpp)
-OBJECTS = $(SOURCES:.cpp=.o)
-DEPS = $(SOURCES:.cpp=.d)
-
-INF=dpkt_plug_gquic.inf
-INSTALL_TARGET=dpkt_plug_gquic.so
-# $(CONF)
-INSTALL_DIR=/home/mesasoft/sapp/plug/business/dpkt_plug_gquic/
-
-all:$(TARGET)
-$(TARGET):$(OBJECTS) $(LIB_FILE)
- $(CCC) -shared $(CFLAGS) $(OBJECTS) $(LIB) -o $@
- mkdir -p $(INSTALL_DIR)
- cp -r $(INSTALL_TARGET) $(INF) $(INSTALL_DIR) -f
-# cp $(TARGET) ../bin/
-
-.c.o:
-%.d:%.c
- $(CCC) $< -MM $(INCLUDES) > $@
-
-%.o:%.cpp
- $(CCC) -c -o $@ $(CFLAGS) $< $(INCLUDES)
-
--include $(DEPS)
-
-clean :
- rm -f $(OBJECTS) $(DEPS) $(TARGET)
-
-PLUGIN_PATH=./plug/business
-CONFLIST_NAME=conflist_business.inf
-PLUGIN_DIR_NAME=dpkt_plug_gquic
-PLUGIN_INF_NAME=dpkt_plug_gquic.inf
-PAPP_PATH=/home/dk/gitFile/ceiec/sapp
-
-TARGET_DIR=$(PAPP_PATH)/$(PLUGIN_PATH)/$(PLUGIN_DIR_NAME)/
-INSERT_FILE=$(PAPP_PATH)/$(PLUGIN_PATH)/$(CONFLIST_NAME)
-INSERT_CONTENT=$(PLUGIN_PATH)/$(PLUGIN_DIR_NAME)/$(PLUGIN_INF_NAME)
-install:
- mkdir -p $(TARGET_DIR)
- cp -r ../bin/*.inf $(TARGET_DIR)
- cp -r ../bin/*.so $(TARGET_DIR)
- cp -r ../bin/*.conf $(TARGET_DIR)
- @ret=`cat $(INSERT_FILE)|grep $(INSERT_CONTENT)|wc -l`;if [ $$ret -eq 0 ];then echo $(INSERT_CONTENT) >>$(INSERT_FILE);fi
-
-CONF_DIR=$(PAPP_PATH)/conf/
-conf:
- mkdir -p $(CONF_DIR)
- cp -r ../bin/quic $(CONF_DIR)
-