# install script for nts 

echo "compile master"
cd master
./install1
./install2
cd ..

echo "compile router"
cd router
./install1
./install2
cd ..

echo "compile library"
cd library
./install1
./install2
cd ..

echo "compile example"
cd example
./install1
./install2
cd ..

echo "compile graph"
cd graph
./install1
./install2
cd ..

echo "make links"
rm $PVM_ROOT/bin/$PVM_ARCH/ntsRouter
rm $PVM_ROOT/bin/$PVM_ARCH/ntsExample
ln -s $nts_ROOT/bin/ntsRouter $PVM_ROOT/bin/$PVM_ARCH/ntsRouter
ln -s $nts_ROOT/bin/ntsExample $PVM_ROOT/bin/$PVM_ARCH/ntsExample

echo "Ok."

exit 0
