summaryrefslogtreecommitdiffstats
path: root/ggsn_tests/regen_makefile.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-13 01:04:42 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-13 01:04:42 +0100
commit20a58c6d6f4bb80814e2ff89d4f0ac0e45ea41cc (patch)
tree488901d2bb205bc77c461ba8ba4d716f47d4eb6f /ggsn_tests/regen_makefile.sh
parente65d40e4dbea5b7d7f5ffd2bb9bde4d4dcd38d27 (diff)
generalize shared code from regen_makefile.sh into shared helper script
Diffstat (limited to 'ggsn_tests/regen_makefile.sh')
-rwxr-xr-xggsn_tests/regen_makefile.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/ggsn_tests/regen_makefile.sh b/ggsn_tests/regen_makefile.sh
index cd2d95a..3970187 100755
--- a/ggsn_tests/regen_makefile.sh
+++ b/ggsn_tests/regen_makefile.sh
@@ -2,12 +2,4 @@
FILES="*.ttcn IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc GTPC_EncDec.cc GTPU_EncDec.cc GTP_CodecPort_CtrlFunctDef.cc ICMPv6_EncDec.cc IP_EncDec.cc Native_FunctionDefs.cc UDP_EncDec.cc"
-ttcn3_makefilegen -l -f GGSN_Tests.ttcn $FILES
-sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
-sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan /' Makefile
-#sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile
-sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile
-
-# for TITAN 6.3.0
-sed -i -e 's/TTCN3_DIR = $/TTCN3_DIR = \/usr/' Makefile
-sed -i -e 's/\/bin\/compiler/\/bin\/ttcn3_compiler/' Makefile
+../regen-makefile.sh GGSN_Tests.ttcn $FILES