#!/bin/sh
# $URL: http://subversion:8080/svn/gsc/trunk/drivers/LINUX/SIO4%20and%20SIO8/SIO4_Linux_1.x.x_GSC_DN/make_all $
# $Rev: 11345 $
# $Date: 2011-07-27 16:25:00 -0500 (Wed, 27 Jul 2011) $

echo driver ===================================================================
cd driver
make ${1}
./start
cd ..

if [ -d docsrc/ ]
then
echo docsrc ===================================================================
cd docsrc
make ${1}
cd ..
fi

if [ -d utils/ ]
then
echo utils ====================================================================
cd utils
make ${1}
cd ..
fi

if [ -d async/lib/ ]
then
echo async/lib ================================================================
cd async/lib
make ${1}
cd ../..
fi

if [ -d id/ ]
then
echo id =======================================================================
cd id
make ${1}
cd ..
fi

if [ -d irq/ ]
then
echo irq ======================================================================
cd irq
make ${1}
cd ..
fi

if [ -d async/asyncc2c/ ]
then
echo async/asyncc2c ===========================================================
cd async/asyncc2c
make ${1}
cd ../..
fi

if [ -d async/rxasync/ ]
then
echo async/rxasync ============================================================
cd async/rxasync
make ${1}
cd ../..
fi

if [ -d async/txasync/ ]
then
echo async/txasync ============================================================
cd async/txasync
make ${1}
cd ../..
fi

if [ -d sync/lib/ ]
then
echo sync/lib =================================================================
cd sync/lib
make ${1}
cd ../..
fi

if [ -d sync/docsrc/ ]
then
echo sync/docsrc ==============================================================
cd sync/docsrc
make ${1}
cd ../..
fi

if [ -d sync/utils/ ]
then
echo sync/utils ===============================================================
cd sync/utils
make ${1}
cd ../..
fi

if [ -d sync/synctest/ ]
then
echo sync/synctest ============================================================
cd sync/synctest
make ${1}
cd ../..
fi

if [ -d sync/syncc2c/ ]
then
echo sync/syncc2c =============================================================
cd sync/syncc2c
make ${1}
cd ../..
fi

if [ -d sync/txrate/ ]
then
echo sync/txrate ==============================================================
cd sync/txrate
make ${1}
cd ../..
fi

if [ -d sbtest/ ]
then
echo sbtest ===================================================================
cd sbtest
make ${1}
cd ..
fi

if [ -d regs/ ]
then
echo regs =====================================================================
cd regs
make ${1}
cd ..
fi

