summaryrefslogtreecommitdiffstats
path: root/lapdm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-08 14:03:28 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-08 14:03:28 +0100
commit140714d89d953a5a0e716460302ce9cd8976630d (patch)
treea04ecf0c782c1f6954dfa15d483b3223104f7792 /lapdm
parent696ddb6de326080cbec722ba651f2f72e3bf5daf (diff)
regen_makefile.sh: Add Regex's for TITAN 6.3.0
The TITAN 6.3.0 makefile generator needs some new regular expressions for patching the generated makefile to work on Debian
Diffstat (limited to 'lapdm')
-rwxr-xr-xlapdm/regen_makefile.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lapdm/regen_makefile.sh b/lapdm/regen_makefile.sh
index 7a94d08..f2d1782 100755
--- a/lapdm/regen_makefile.sh
+++ b/lapdm/regen_makefile.sh
@@ -7,3 +7,7 @@ sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan `pkg-config --libs libnetfilter_conntrack`/' 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