summaryrefslogtreecommitdiffstats
path: root/bsc-nat/regen_makefile.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-11-25 02:32:50 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-25 02:32:50 +0100
commit79feba5ed43f98b3be2a2e0b8f77ad69ec8c3c50 (patch)
treec2a0aadce2ed56fb794974c1aca7703a613cdfde /bsc-nat/regen_makefile.sh
parent92632e1dce118ded7488398757a7bf3d4ea2c58a (diff)
rename 'ipa' directory to 'bsc-nat'
Diffstat (limited to 'bsc-nat/regen_makefile.sh')
-rwxr-xr-xbsc-nat/regen_makefile.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/bsc-nat/regen_makefile.sh b/bsc-nat/regen_makefile.sh
new file mode 100755
index 0000000..b6f6bb5
--- /dev/null
+++ b/bsc-nat/regen_makefile.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+MAIN=IPA_Test.ttcn
+
+FILES="*.ttcn SCCP_EncDec.cc IPA_CodecPort_CtrlFunctDef.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc RTP_EncDec.cc SDP_EncDec.cc *.c MGCP_CodecPort_CtrlFunctDef.cc"
+
+ttcn3_makefilegen -l -f $MAIN $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