diff options
Diffstat (limited to 'gbproxy/regen_makefile.sh')
-rwxr-xr-x | gbproxy/regen_makefile.sh | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/gbproxy/regen_makefile.sh b/gbproxy/regen_makefile.sh index fbbd1b3f..cd17d5c4 100755 --- a/gbproxy/regen_makefile.sh +++ b/gbproxy/regen_makefile.sh @@ -1,9 +1,36 @@ -#!/bin/sh +#!/bin/bash -FILES="*.ttcn *.ttcnpp BSSGP_EncDec.cc LLC_EncDec.cc IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc NS_CodecPort_CtrlFunctDef.cc RLCMAC_EncDec.cc Native_FunctionDefs.cc TELNETasp_PT.cc IPA_CodecPort_CtrlFunctDef.cc GTPU_EncDec.cc GTPC_EncDec.cc GTP_CodecPort_CtrlFunctDef.cc SCCP_EncDec.cc SCTPasp_PT.cc " +NAME=GBProxy_Tests -export CPPFLAGS_TTCN3="-DIPA_EMULATION_GSUP -DIPA_EMULATION_CTRL -DUSE_MTP3_DISTRIBUTOR -DBSSGP_EM_L3" +FILES=" + *.ttcn + *.ttcnpp + AF_PACKET_PT.cc + AF_PACKET_PT.hh + BSSGP_EncDec.cc + GTPC_EncDec.cc + GTPU_EncDec.cc + GTPv1C_CodecPort_CtrlFunctDef.cc + GTPv1U_CodecPort_CtrlFunctDef.cc + IPA_CodecPort_CtrlFunctDef.cc + IPL4asp_PT.cc + IPL4asp_discovery.cc + LLC_EncDec.cc + Native_FunctionDefs.cc + SCCP_EncDec.cc + SCTPasp_PT.cc + TCCConversion.cc + TCCInterface.cc + TELNETasp_PT.cc +" -../regen-makefile.sh GBProxy_Tests.ttcn $FILES +export CPPFLAGS_TTCN3=" + -DBSSGP_EM_L3 + -DIPA_EMULATION_CTRL + -DNS_EMULATION_FR + -DUSE_MTP3_DISTRIBUTOR +" + +../regen-makefile.sh -e $NAME $FILES sed -i -i 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lsctp/' Makefile |