: Run this script through /bin/sh

if [ ${2-"def"} = "yes" ]
then
	ar ruv libsecude.a IMPORTS/*.o
fi

if [ ${1-"def"} = "static" ]
then
	version.sh secude > secudevrsn.c
	cc -c secudevrsn.c
	ar ruv libsecude.a secudevrsn.o
	ranlib libsecude.a
        exit
fi


if [ "$MAKE" = "" ]; then
    MAKE=/bin/make
if [ -f /usr/bin/make ]; then
    MAKE=/usr/bin/make
fi
fi

exec $MAKE MODULE=lib -f ../src/config/CONFIG.make -f lib.make ${1}
