2017-09-13 21:27:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-11-18 12:28:07 +00:00
|
|
|
FILES="*.ttcn SDP_EncDec.cc *.c MGCP_CodecPort_CtrlFunctDef.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc RTP_EncDec.cc RTP_CodecPort_CtrlFunctDef.cc"
|
2017-09-13 21:27:17 +00:00
|
|
|
|
2017-11-19 00:47:40 +00:00
|
|
|
ttcn3_makefilegen -l -f MGCP_Test.ttcn $FILES
|
2017-09-13 21:27:17 +00:00
|
|
|
sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
|
2017-11-19 00:47:40 +00:00
|
|
|
sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan /' Makefile
|
2017-09-15 16:50:08 +00:00
|
|
|
#sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile
|
2017-09-13 21:27:17 +00:00
|
|
|
sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile
|
2017-12-08 13:03:28 +00:00
|
|
|
|
|
|
|
# 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
|