blob: 72fc632baae026ac2e3e89317c89a270eb6b3deb [file] [log] [blame]
Harald Welte3a194402017-07-22 17:07:51 +02001#!/bin/sh
2
Harald Welte244cd8a2017-08-26 09:25:20 +02003FILES="*.ttcn BSSGP_Helper.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc NS_CodecPort_CtrlFunctDef.cc UD_PT.cc RLCMAC_EncDec.cc"
Harald Welte3a194402017-07-22 17:07:51 +02004
5ttcn3_makefilegen -f Test.ttcn $FILES
6sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
Harald Welte244cd8a2017-08-26 09:25:20 +02007sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan/' Makefile
Harald Welte6e594f22017-07-23 16:19:35 +02008#sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile
Harald Welte3a194402017-07-22 17:07:51 +02009sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile
Harald Welte140714d2017-12-08 14:03:28 +010010
11# for TITAN 6.3.0
Harald Welte9fbe93f2017-12-13 00:39:44 +010012sed -i -e 's/TTCN3_DIR = $/TTCN3_DIR = \/usr/' Makefile
Harald Welte140714d2017-12-08 14:03:28 +010013sed -i -e 's/\/bin\/compiler/\/bin\/ttcn3_compiler/' Makefile