#! /bin/sh
BUILD_ARGS="$@"
PARSE="--enable-parse-clocks"
STD="--with-sntp --enable-simulator"
c_d=${PWD:-`pwd`}
SIG=`perl -e 'print rand'`
echo $SIG > .buildkey
case "$LIST" in
'') LIST="albert bunnylou churchy cowbird pogo porkypine rackety" ;;
esac
for i in $LIST
do
echo $i
case "1" in
0)
ssh $i "cd $c_d ; ./build $SIG $PARSE $STD $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $PARSE $STD --without-crypto $BUILD_ARGS" &
ssh $i "cd $c_d ; ./build $SIG $STD --disable-all-clocks $BUILD_ARGS" &
;;
1) ssh $i "cd $c_d ; \
./build $SIG $PARSE $STD $BUILD_ARGS ; \
./build $SIG $PARSE $STD --without-crypto $BUILD_ARGS ; \
./build $SIG $STD --disable-all-clocks $BUILD_ARGS" \
&
;;
esac
done