Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Harald Welte | 6807982 | 2017-12-12 16:30:53 +0100 | [diff] [blame] | 3 | BASEDIR=../deps |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [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 | |
| 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 SDP_EncDec.cc" |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [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 | |
Harald Welte | ae02669 | 2017-12-09 01:03:01 +0100 | [diff] [blame] | 26 | # Required by MGCP and IPA |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [diff] [blame] | 27 | DIR=$BASEDIR/titan.TestPorts.IPL4asp/src |
| 28 | FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh" |
| 29 | gen_links $DIR $FILES |
| 30 | |
Harald Welte | ae02669 | 2017-12-09 01:03:01 +0100 | [diff] [blame] | 31 | # required by M3UA_Emulation |
| 32 | DIR=$BASEDIR/titan.ProtocolModules.M3UA/src |
| 33 | FILES="M3UA_Types.ttcn" |
| 34 | gen_links $DIR $FILES |
| 35 | |
| 36 | # required by M3UA_Emulation |
| 37 | DIR=$BASEDIR/titan.TestPorts.SCTPasp/src |
| 38 | FILES="SCTPasp_PT.cc SCTPasp_PT.hh SCTPasp_PortType.ttcn SCTPasp_Types.ttcn" |
| 39 | gen_links $DIR $FILES |
| 40 | |
| 41 | # required by M3UA Emulation |
| 42 | DIR=../MTP3asp_CNL113337/src |
| 43 | FILES="MTP3asp_PortType.ttcn MTP3asp_Types.ttcn" |
| 44 | gen_links $DIR $FILES |
| 45 | |
| 46 | # required by SCCP Emulation |
| 47 | DIR=../M3UA_CNL113537/src |
| 48 | FILES="M3UA_Emulation.ttcn" |
| 49 | gen_links $DIR $FILES |
| 50 | |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [diff] [blame] | 51 | # required by SCCP Emulation |
| 52 | DIR=../MTP3asp_CNL113337/src |
| 53 | FILES="MTP3asp_PortType.ttcn MTP3asp_Types.ttcn" |
| 54 | gen_links $DIR $FILES |
| 55 | |
| 56 | DIR=../SCCP_CNL113341/src |
Harald Welte | ae02669 | 2017-12-09 01:03:01 +0100 | [diff] [blame] | 57 | FILES="SCCP_Emulation.ttcn SCCP_Mapping.ttcnpp SCCP_Types.ttcn SCCPasp_Types.ttcn" |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [diff] [blame] | 58 | gen_links $DIR $FILES |
| 59 | ln -sf SCCP_Mapping.ttcnpp SCCP_Mapping.ttcn |
| 60 | |
| 61 | DIR=$BASEDIR/titan.ProtocolModules.BSSMAP_v11.2.0/src |
| 62 | FILES="BSSAP_Types.ttcn" |
| 63 | gen_links $DIR $FILES |
| 64 | |
| 65 | DIR=$BASEDIR/titan.ProtocolModules.MobileL3_v13.4.0/src |
| 66 | 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" |
| 67 | gen_links $DIR $FILES |
| 68 | |
| 69 | DIR=$BASEDIR/titan.ProtocolModules.SDP/src |
| 70 | FILES="SDP_EncDec.cc SDP_Types.ttcn SDP_parse_.tab.c SDP_parse_.tab.h SDP_parse_parser.h SDP_parser.l |
| 71 | SDP_parser.y lex.SDP_parse_.c" |
| 72 | gen_links $DIR $FILES |
| 73 | |
| 74 | DIR=$BASEDIR/titan.ProtocolModules.RTP/src |
| 75 | FILES="RTP_EncDec.cc RTP_Types.ttcn" |
| 76 | gen_links $DIR $FILES |
| 77 | |
Harald Welte | bc03c76 | 2018-02-12 18:09:38 +0100 | [diff] [blame] | 78 | DIR=$BASEDIR/titan.TestPorts.TELNETasp/src |
| 79 | FILES="TELNETasp_PT.cc TELNETasp_PT.hh TELNETasp_PortType.ttcn" |
| 80 | gen_links $DIR $FILES |
| 81 | |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [diff] [blame] | 82 | DIR=../library |
Harald Welte | df27725 | 2018-02-20 15:49:30 +0100 | [diff] [blame^] | 83 | FILES="General_Types.ttcn Osmocom_Types.ttcn GSM_Types.ttcn Osmocom_VTY_Functions.ttcn Native_Functions.ttcn Native_FunctionDefs.cc IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcnpp L3_Templates.ttcn BSSMAP_Templates.ttcn BSSMAP_Emulation.ttcn RLCMAC_CSN1_Types.ttcn GSM_RR_Types.ttcn RSL_Types.ttcn RSL_Emulation.ttcn MGCP_Emulation.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunct.ttcn MGCP_CodecPort_CtrlFunctDef.cc BSSAP_CodecPort.ttcn BSSAP_Adapter.ttcn Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn Osmocom_CTRL_Adapter.ttcn RTP_CodecPort.ttcn RTP_CodecPort_CtrlFunct.ttcn RTP_CodecPort_CtrlFunctDef.cc RTP_Emulation.ttcn IuUP_Types.ttcn IuUP_EncDec.cc IuUP_Emulation.ttcn " |
Harald Welte | 28d943e | 2017-11-25 15:00:50 +0100 | [diff] [blame] | 84 | gen_links $DIR $FILES |