aboutsummaryrefslogtreecommitdiffstats
path: root/sysinfo/gen_links.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-14 19:25:31 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-14 19:26:12 +0200
commit164a28cbfbe0ec64e23a2a44eed2be122810f1d8 (patch)
tree35fb753583179f469b461363662a7939c84b1a23 /sysinfo/gen_links.sh
parentddeaa5769c7ba11aa3519186be0c701260132029 (diff)
"import" IPL4asp so we can use UDP/TCP/SCTP sockets
Importing in the Titan context apparently seems to mean symlinking the source files into the current project. I haven't found a concept of linking against libraries yet.
Diffstat (limited to 'sysinfo/gen_links.sh')
-rwxr-xr-xsysinfo/gen_links.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysinfo/gen_links.sh b/sysinfo/gen_links.sh
new file mode 100755
index 00000000..510f7021
--- /dev/null
+++ b/sysinfo/gen_links.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+BASEDIR=~/projects/git
+
+gen_links() {
+ DIR=$1
+ FILES=$*
+ for f in $FILES; do
+ echo "Linking $f"
+ ln -sf $DIR/$f $f
+ done
+}
+
+DIR=$BASEDIR/titan.Libraries.TCCUsefulFunctions/src
+FILES="TCCInterface_Functions.ttcn TCCConversion_Functions.ttcn TCCConversion.cc TCCConversion.hh TCCInterface.cc TCCInterface_ip.h"
+gen_links $DIR $FILES
+
+DIR=$BASEDIR/titan.TestPorts.Common_Components.Socket-API/src
+FILES="Socket_API_Definitions.ttcn"
+gen_links $DIR $FILES
+
+DIR=$BASEDIR/titan.TestPorts.IPL4asp/src
+FILES="IPL4asp_Functions.ttcn IPL4asp_PT.cc IPL4asp_PT.hh IPL4asp_PortType.ttcn IPL4asp_Types.ttcn IPL4asp_discovery.cc IPL4asp_protocol_L234.hh"
+gen_links $DIR $FILES
+