blob: 1297938b80d8002e705a270f8b2fedf8f3f5444f [file] [log] [blame]
Harald Welte379d45a2017-08-03 09:55:15 +02001#!/bin/sh
2
3BASEDIR=~/projects/git
4
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
Harald Welte303c19a2017-08-19 13:06:14 +020019FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCConversion.hh TCCInterface.cc TCCInterface_ip.h"
Harald Welte379d45a2017-08-03 09:55:15 +020020gen_links $DIR $FILES
21
22DIR=$BASEDIR/titan.TestPorts.Common_Components.Socket-API/src
23FILES="Socket_API_Definitions.ttcn"
24gen_links $DIR $FILES
25
Harald Welte627c7c72017-08-03 18:17:02 +020026DIR=$BASEDIR/titan.TestPorts.IPL4asp/src
27FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh"
Harald Welte379d45a2017-08-03 09:55:15 +020028gen_links $DIR $FILES
29
Harald Weltef1471e72017-08-09 01:34:51 +020030DIR=$BASEDIR/titan.ProtocolModules.ICMPv6/src
31FILES="ICMPv6_EncDec.cc ICMPv6_Types.ttcn"
32gen_links $DIR $FILES
33
34DIR=$BASEDIR/titan.ProtocolModules.IP/src
35FILES="IP_EncDec.cc IP_Types.ttcn"
36gen_links $DIR $FILES
37
Harald Welte244cd8a2017-08-26 09:25:20 +020038DIR=$BASEDIR/titan.ProtocolModules.UDP/src
39FILES="UDP_EncDec.cc UDP_Types.ttcn"
40gen_links $DIR $FILES
41
Harald Welte379d45a2017-08-03 09:55:15 +020042DIR=../GTP_v13.5.0_CNL113843_LATEST/src
43FILES="GTPC_EncDec.cc GTPC_Types.ttcn GTPU_EncDec.cc GTPU_Types.ttcn"
44gen_links $DIR $FILES
45
46DIR=../library
Harald Welte303c19a2017-08-19 13:06:14 +020047FILES="General_Types.ttcn GSM_Types.ttcn Osmocom_Types.ttcn Native_Functions.ttcn Native_FunctionDefs.cc"
Harald Welte379d45a2017-08-03 09:55:15 +020048gen_links $DIR $FILES