Harald Welte | 56db5fd | 2017-07-14 18:25:59 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Harald Welte | 9a907b3 | 2017-07-15 10:34:27 +0200 | [diff] [blame] | 3 | FILES="*.ttcn IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc IPL4_GSMTAP_CtrlFunctDef.cc TELNETasp_PT.cc" |
Harald Welte | 56db5fd | 2017-07-14 18:25:59 +0200 | [diff] [blame] | 4 | |
Harald Welte | 0b7545d | 2017-08-20 22:59:13 +0200 | [diff] [blame] | 5 | ttcn3_makefilegen -l -f Test.ttcn $FILES |
Harald Welte | 56db5fd | 2017-07-14 18:25:59 +0200 | [diff] [blame] | 6 | sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile |
Harald Welte | 0b7545d | 2017-08-20 22:59:13 +0200 | [diff] [blame] | 7 | sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan /' Makefile |
Harald Welte | 5fe11cd | 2017-08-20 23:08:57 +0200 | [diff] [blame] | 8 | #sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile |
Harald Welte | 56db5fd | 2017-07-14 18:25:59 +0200 | [diff] [blame] | 9 | sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile |
Harald Welte | 140714d | 2017-12-08 14:03:28 +0100 | [diff] [blame] | 10 | |
| 11 | # for TITAN 6.3.0 |
Harald Welte | 9fbe93f | 2017-12-13 00:39:44 +0100 | [diff] [blame] | 12 | sed -i -e 's/TTCN3_DIR = $/TTCN3_DIR = \/usr/' Makefile |
Harald Welte | 140714d | 2017-12-08 14:03:28 +0100 | [diff] [blame] | 13 | sed -i -e 's/\/bin\/compiler/\/bin\/ttcn3_compiler/' Makefile |