Harald Welte | fc5e1c8 | 2018-02-03 21:48:52 +0100 | [diff] [blame] | 1 | #!/bin/bash |
Harald Welte | 3a19440 | 2017-07-22 17:07:51 +0200 | [diff] [blame] | 2 | |
Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 3 | BASEDIR=../deps |
Harald Welte | 3a19440 | 2017-07-22 17:07:51 +0200 | [diff] [blame] | 4 | |
| 5 | gen_links() { |
| 6 | DIR=$1 |
| 7 | FILES=$* |
| 8 | for f in $FILES; do |
| 9 | echo "Linking $f" |
| 10 | ln -sf $DIR/$f $f |
| 11 | done |
| 12 | } |
| 13 | |
| 14 | #DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src |
| 15 | #FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn" |
| 16 | #gen_links $DIR $FILES |
| 17 | |
Harald Welte | 6fff364 | 2017-07-22 21:36:13 +0200 | [diff] [blame] | 18 | DIR=$BASEDIR/titan.Libraries.TCCUsefulFunctions/src |
Max | 6367d7b | 2018-02-05 16:58:27 +0100 | [diff] [blame] | 19 | FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCInterface.cc TCCInterface_ip.h" |
Harald Welte | 6fff364 | 2017-07-22 21:36:13 +0200 | [diff] [blame] | 20 | gen_links $DIR $FILES |
| 21 | |
| 22 | DIR=$BASEDIR/titan.TestPorts.Common_Components.Socket-API/src |
| 23 | FILES="Socket_API_Definitions.ttcn" |
| 24 | gen_links $DIR $FILES |
| 25 | |
| 26 | DIR=$BASEDIR/titan.TestPorts.IPL4asp/src |
| 27 | FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh" |
| 28 | gen_links $DIR $FILES |
| 29 | |
Harald Welte | 244cd8a | 2017-08-26 09:25:20 +0200 | [diff] [blame] | 30 | DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src |
| 31 | FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn" |
| 32 | gen_links $DIR $FILES |
Harald Welte | 3a19440 | 2017-07-22 17:07:51 +0200 | [diff] [blame] | 33 | |
Harald Welte | e0abc47 | 2018-02-05 09:13:31 +0100 | [diff] [blame] | 34 | DIR=$BASEDIR/titan.ProtocolModules.NS_v7.3.0/src |
| 35 | FILES="NS_Types.ttcn" |
| 36 | gen_links $DIR $FILES |
| 37 | |
| 38 | DIR=$BASEDIR/titan.ProtocolModules.BSSGP_v13.0.0/src |
| 39 | FILES="BSSGP_EncDec.cc BSSGP_Types.ttcn" |
| 40 | gen_links $DIR $FILES |
| 41 | |
Harald Welte | 5ac3149 | 2018-02-15 20:39:13 +0100 | [diff] [blame] | 42 | DIR=$BASEDIR/titan.ProtocolModules.MobileL3_v13.4.0/src |
| 43 | FILES="MobileL3_CC_Types.ttcn MobileL3_CommonIE_Types.ttcn MobileL3_GMM_SM_Types.ttcn MobileL3_MM_Types.ttcn MobileL3_RRM_Types.ttcn MobileL3_SMS_Types.ttcn MobileL3_SS_Types.ttcn MobileL3_Types.ttcn" |
| 44 | gen_links $DIR $FILES |
| 45 | |
| 46 | DIR=$BASEDIR/titan.ProtocolModules.LLC_v7.1.0/src |
| 47 | FILES="LLC_EncDec.cc LLC_Types.ttcn" |
| 48 | gen_links $DIR $FILES |
Harald Welte | e0abc47 | 2018-02-05 09:13:31 +0100 | [diff] [blame] | 49 | |
Harald Welte | a2526a8 | 2018-02-18 19:03:36 +0100 | [diff] [blame] | 50 | DIR=$BASEDIR/titan.ProtocolModules.SNDCP_v7.0.0/src |
| 51 | FILES="SNDCP_Types.ttcn" |
| 52 | gen_links $DIR $FILES |
| 53 | |
| 54 | |
Harald Welte | 3a19440 | 2017-07-22 17:07:51 +0200 | [diff] [blame] | 55 | DIR=../library |
Harald Welte | 6fc784e | 2018-02-25 23:31:37 +0100 | [diff] [blame^] | 56 | FILES="General_Types.ttcn GSM_Types.ttcn GSM_RR_Types.ttcn Osmocom_Types.ttcn RLCMAC_Types.ttcn RLCMAC_CSN1_Types.ttcn RLCMAC_EncDec.cc L1CTL_Types.ttcn L1CTL_PortType.ttcn L1CTL_PortType_CtrlFunct.ttcn L1CTL_PortType_CtrlFunctDef.cc LAPDm_RAW_PT.ttcn LAPDm_Types.ttcn " |
Harald Welte | e0abc47 | 2018-02-05 09:13:31 +0100 | [diff] [blame] | 57 | FILES+="NS_Emulation.ttcn NS_CodecPort.ttcn NS_CodecPort_CtrlFunct.ttcn NS_CodecPort_CtrlFunctDef.cc " |
| 58 | FILES+="BSSGP_Emulation.ttcn Osmocom_Gb_Types.ttcn " |
Harald Welte | 5ac3149 | 2018-02-15 20:39:13 +0100 | [diff] [blame] | 59 | FILES+="LLC_Templates.ttcn L3_Templates.ttcn L3_Common.ttcn " |
Harald Welte | 3a19440 | 2017-07-22 17:07:51 +0200 | [diff] [blame] | 60 | gen_links $DIR $FILES |