blob: 167bb41d3fbd1b1f058b59b2db7fd926c37eb77a [file] [log] [blame]
Harald Weltef6bd9802017-12-12 14:56:02 +01001#!/bin/sh
2
Harald Welte68079822017-12-12 16:30:53 +01003BASEDIR=../deps
Harald Weltef6bd9802017-12-12 14:56:02 +01004
5gen_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
18DIR=$BASEDIR/titan.Libraries.TCCUsefulFunctions/src
19FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCConversion.hh TCCInterface.cc TCCInterface_ip.h SDP_EncDec.cc"
20gen_links $DIR $FILES
21
22DIR=$BASEDIR/titan.TestPorts.Common_Components.Socket-API/src
23FILES="Socket_API_Definitions.ttcn"
24gen_links $DIR $FILES
25
26# Required by MGCP and IPA
27DIR=$BASEDIR/titan.TestPorts.IPL4asp/src
28FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh"
29gen_links $DIR $FILES
30
31# required by IPA Emulation
32DIR=../MTP3asp_CNL113337/src
33FILES="MTP3asp_PortType.ttcn MTP3asp_Types.ttcn"
34gen_links $DIR $FILES
35
36DIR=../SCCP_CNL113341/src
37FILES="SCCP_Emulation.ttcn SCCP_Mapping.ttcnpp SCCP_Types.ttcn SCCPasp_Types.ttcn"
38gen_links $DIR $FILES
39ln -sf SCCP_Mapping.ttcnpp SCCP_Mapping.ttcn
40
41DIR=$BASEDIR/titan.ProtocolModules.BSSMAP_v11.2.0/src
42FILES="BSSAP_Types.ttcn"
43gen_links $DIR $FILES
44
45DIR=$BASEDIR/titan.ProtocolModules.MobileL3_v13.4.0/src
46FILES="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"
47gen_links $DIR $ILES
48
49DIR=$BASEDIR/titan.ProtocolModules.SDP/src
50FILES="SDP_EncDec.cc SDP_Types.ttcn SDP_parse_.tab.c SDP_parse_.tab.h SDP_parse_parser.h SDP_parser.l
51SDP_parser.y lex.SDP_parse_.c"
52gen_links $DIR $FILES
53
54DIR=../library
55FILES="General_Types.ttcn Osmocom_Types.ttcn GSM_Types.ttcn IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcn L3_Templates.ttcn BSSMAP_Templates.ttcn RLCMAC_CSN1_Types.ttcn GSM_RR_Types.ttcn RSL_Types.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn BSSAP_CodecPort.ttcn Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn"
56gen_links $DIR $FILES