diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-19 20:17:31 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-19 20:17:31 +0200 |
commit | b2f94c4baa7f4bfdc2fd2b28d19087a2177f3df6 (patch) | |
tree | bc8537dc56a2d22f413926d56d6e1e9e151f945b /lapdm/regen_makefile.sh | |
parent | 5b1ce8c4f49004b101f794d94060f5666b532ce2 (diff) |
move lapd to lapdm (it was a mis-nomer)
Diffstat (limited to 'lapdm/regen_makefile.sh')
-rwxr-xr-x | lapdm/regen_makefile.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lapdm/regen_makefile.sh b/lapdm/regen_makefile.sh new file mode 100755 index 00000000..8d321ac4 --- /dev/null +++ b/lapdm/regen_makefile.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +FILES="*.ttcn UD_PT.cc UD_PT.hh" + +ttcn3_makefilegen -f L1CTL_Test.ttcn $FILES +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 |