#!/bin/sh

if test $1 = "clean"
then

echo Cleaning up Auxilliary Libraries
echo =============================
echo

echo CLEANING LIBORB
(cd ../AuxLibs/liborb;make clean )
echo CLEANING PARTICLE
(cd ../AuxLibs/particle;make -f Makefile.linux clean)
echo CLEANING TD
(cd ../AuxLibs/td;make -f Makefile.linux clean)

echo
echo Finished cleaning Auxilliary Libraries
echo ======================================

else





echo Building Auxilliary Libraries
echo =============================
echo

echo BUILDING LIBORB
(cd ../AuxLibs/liborb;make )
echo BUILDING PARTICLE
(cd ../AuxLibs/particle;make -f Makefile.linux lib)
echo BUILDING TD
(cd ../AuxLibs/td;make -f Makefile.linux)

echo
echo Finished building Auxilliary Libraries
echo ======================================

fi
