modified demo script and Make file to include new .awk files, and .gifs
[keystone-rtos/netapi.git] / ti / runtime / netapi / demo / build / Makefile
index 7194cc4aadca58e66a48e129ab5338758f98bbcf..c85ee5b930346cb33c93688c7d8b28598157dcf3 100755 (executable)
@@ -32,7 +32,7 @@ endif
 
 NT_RM_OBJS = $(ARMV7OBJDIR)/netapi/utils/sockutils.o  $(ARMV7OBJDIR)/netapi/utils/netapi_util_rm.o
 
-DPI_DEMO_OBJS= $(ARMV7OBJDIR)/netapi/demo/src/netapi_dpi_demo.o $(ARMV7OBJDIR)/netapi/demo/src/navl_wrapper.o $(ARMV7OBJDIR)/netapi/demo/src/navl_external_posix.o
+DPI_DEMO_OBJS= $(ARMV7OBJDIR)/netapi/demo/src/transport_dpi_demo.o $(ARMV7OBJDIR)/netapi/demo/src/navl_wrapper.o $(ARMV7OBJDIR)/netapi/demo/src/navl_external_posix.o
 
 # Support Libraries used by dpi-demo 
 CSL_DEVICE ?= -DDEVICE_K2E -DNSS_GEN2
@@ -75,7 +75,7 @@ CFLAGS += $(DEBUG_FLAG) -D__ARMv7 -D_VIRTUAL_ADDR_SUPPORT -D__LINUX_USER_SPACE -
 # Linker options
 INTERNALLINKDEFS = -Wl,--start-group $(LIBS) -Wl,--end-group -lrt -pthread  -L$(ARMV7LIBDIR) -L$(ARMV7SALIBDIR) -L$(NAVL_LIB_DIR)
 
-EXE_NAME=netapi_dpi_demo_$(DEVICE)
+EXE_NAME=transport_dpi_demo
 BIN_DIR = $(ARMV7BINDIR)/netapi/demo
 all: demo install
 
@@ -111,3 +111,17 @@ $(ARMV7OBJDIR)/netapi/utils/.created:
 install:
        install -d $(INSTALL_BIN_BASE_DIR)
        install -c -m 755 $(BIN_DIR)/$(EXE_NAME) $(INSTALL_BIN_BASE_DIR)/$(EXE_NAME)
+       install -d $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/transport_dpi_demo_setup.sh    $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/index.html               $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/dpicgi1.sh               $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/dpicgi2.sh               $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/dpicgi3.sh               $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/dpicgi4.sh               $(SYSCONFDIR)/transportnetlib
+       install -c -m 755 demo/demo_setup_files/dpicgi5.sh               $(SYSCONFDIR)/transportnetlib
+       install -c demo/demo_setup_files/stats1.awk                      $(SYSCONFDIR)/transportnetlib
+       install -c demo/demo_setup_files/stats2.awk                      $(SYSCONFDIR)/transportnetlib
+       install -c demo/demo_setup_files/stats3.awk                      $(SYSCONFDIR)/transportnetlib
+       install -c demo/demo_setup_files/stats4.awk                      $(SYSCONFDIR)/transportnetlib
+       install -c demo/demo_setup_files/tilogo.gif                      $(SYSCONFDIR)/transportnetlib
+       install -c demo/demo_setup_files/titagline.gif                      $(SYSCONFDIR)/transportnetlib