Harald Welte | 12000e2 | 2017-09-14 22:43:08 +0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | BASEDIR=~/projects/git |
| 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 | 2c6dba1 | 2017-09-16 00:50:08 +0800 | [diff] [blame] | 18 | DIR=$BASEDIR/titan.Libraries.TCCUsefulFunctions/src |
| 19 | FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCConversion.hh 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 | |
Harald Welte | 12000e2 | 2017-09-14 22:43:08 +0800 | [diff] [blame] | 30 | DIR=$BASEDIR/titan.ProtocolModules.SDP/src |
| 31 | FILES="SDP_EncDec.cc SDP_Types.ttcn SDP_parse_.tab.c SDP_parse_.tab.h SDP_parse_parser.h SDP_parser.l |
| 32 | SDP_parser.y lex.SDP_parse_.c" |
| 33 | gen_links $DIR $FILES |
Harald Welte | a7261d7 | 2017-11-18 13:28:07 +0100 | [diff] [blame] | 34 | |
| 35 | DIR=$BASEDIR/titan.ProtocolModules.RTP/src |
| 36 | FILES="RTP_EncDec.cc RTP_Types.ttcn" |
| 37 | gen_links $DIR $FILES |
| 38 | |
| 39 | DIR=../library |
Harald Welte | 4029e8c | 2017-11-23 22:00:42 +0100 | [diff] [blame^] | 40 | FILES="General_Types.ttcn Osmocom_Types.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn" |
Harald Welte | a7261d7 | 2017-11-18 13:28:07 +0100 | [diff] [blame] | 41 | gen_links $DIR $FILES |