Harald Welte | 7076738 | 2018-02-21 12:16:40 +0100 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | BASEDIR=../deps |
| 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 | |
| 18 | DIR=$BASEDIR/titan.Libraries.TCCUsefulFunctions/src |
| 19 | FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCInterface.cc TCCInterface_ip.h" |
| 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 | |
| 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 |
| 33 | |
| 34 | DIR=$BASEDIR/titan.ProtocolModules.MobileL3_v13.4.0/src |
| 35 | 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" |
| 36 | gen_links $DIR $FILES |
| 37 | |
| 38 | DIR=../library |
| 39 | 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 LAPDm_RAW_PT.ttcn LAPDm_Types.ttcn " |
| 40 | #FILES+="NS_Emulation.ttcn NS_CodecPort.ttcn NS_CodecPort_CtrlFunct.ttcn NS_CodecPort_CtrlFunctDef.cc " |
| 41 | #FILES+="BSSGP_Emulation.ttcn Osmocom_Gb_Types.ttcn " |
| 42 | FILES+="IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcnpp IPA_CodecPort.ttcn RSL_Types.ttcn RSL_Emulation.ttcn " |
| 43 | FILES+="Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn Osmocom_CTRL_Adapter.ttcn " |
| 44 | FILES+="L3_Templates.ttcn L3_Common.ttcn " |
| 45 | FILES+="Native_Functions.ttcn Native_FunctionDefs.cc " |
| 46 | FILES+="TRXC_Types.ttcn TRXC_CodecPort.ttcn TRXC_CodecPort_CtrlFunct.ttcn TRXC_CodecPort_CtrlFunctDef.cc " |
| 47 | gen_links $DIR $FILES |