36 lines
771 B
Bash
Executable File
36 lines
771 B
Bash
Executable File
#!/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 TCCInterface.cc TCCInterface_ip.h"
|
|
gen_links $DIR $FILES
|
|
|
|
DIR=$BASEDIR/titan.core/regression_test/ttcn2json
|
|
FILES="General_Types.ttcn"
|
|
gen_links $DIR $FILES
|
|
|
|
DIR=$BASEDIR/titan.ProtocolModules.IP/src
|
|
FILES="IP_Types.ttcn IP_EncDec.cc"
|
|
gen_links $DIR $FILES
|
|
|
|
DIR=$BASEDIR/titan.ProtocolModules.UDP/src
|
|
FILES="UDP_Types.ttcn UDP_EncDec.cc"
|
|
gen_links $DIR $FILES
|
|
|
|
DIR=$BASEDIR/titan.ProtocolModules.TCP/src
|
|
FILES="TCP_Types.ttcn TCP_EncDec.cc"
|
|
gen_links $DIR $FILES
|
|
|
|
|
|
xsd2ttcn libnetfilter_conntrack.xsd
|