Harald Welte | 164a28c | 2017-07-14 19:25:31 +0200 | [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.Libraries.TCCUsefulFunctions/src |
| 15 | FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCConversion.hh TCCInterface.cc TCCInterface_ip.h" |
| 16 | gen_links $DIR $FILES |
| 17 | |
| 18 | DIR=$BASEDIR/titan.TestPorts.Common_Components.Socket-API/src |
| 19 | FILES="Socket_API_Definitions.ttcn" |
| 20 | gen_links $DIR $FILES |
| 21 | |
| 22 | DIR=$BASEDIR/titan.TestPorts.IPL4asp/src |
| 23 | FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh" |
| 24 | gen_links $DIR $FILES |
| 25 | |
Harald Welte | 9a907b3 | 2017-07-15 10:34:27 +0200 | [diff] [blame] | 26 | DIR=$BASEDIR/titan.TestPorts.TELNETasp/src |
| 27 | FILES="TELNETasp_PT.cc TELNETasp_PT.hh TELNETasp_PortType.ttcn" |
| 28 | gen_links $DIR $FILES |