Harald Welte | f6bd980 | 2017-12-12 14:56:02 +0100 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | MAIN=Selftest.ttcn |
| 4 | |
| 5 | FILES="*.ttcn IPA_CodecPort_CtrlFunctDef.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc SDP_EncDec.cc *.c" |
| 6 | |
| 7 | ttcn3_makefilegen -l -f $MAIN $FILES |
Harald Welte | 2a83b0f | 2017-12-13 00:49:32 +0100 | [diff] [blame] | 8 | sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile |
Harald Welte | f6bd980 | 2017-12-12 14:56:02 +0100 | [diff] [blame] | 9 | sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan /' Makefile |
| 10 | #sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile |
| 11 | sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile |
| 12 | |
| 13 | # for TITAN 6.3.0 |
| 14 | sed -i -e 's/TTCN3_DIR = $/TTCN3_DIR = \/usr/' Makefile |
| 15 | sed -i -e 's/\/bin\/compiler/\/bin\/ttcn3_compiler/' Makefile |