:	'(c) Copyright	Empress Software Inc.	1983, 2000'

if test "$EMPRESSPATH" = "" 
then
	echo "EMPRESSPATH not set"
	exit 1

elif test ! -d $EMPRESSPATH
then
	echo "invalid EMPRESSPATH"
	exit 1
else
	RDBMSPATH=$EMPRESSPATH/rdbms
	export RDBMSPATH
fi

. $RDBMSPATH/util_bin/banner

TMP=TMP$$
rm -fr emptutdb
$EMPRESSPATH/bin/empmkdb -n emptutdb

exec $EMPRESSPATH/bin/empimpt -p $RDBMSPATH/gui/emptutdb.ex emptutdb

echo "Compiling and linking applications."

$EMPRESSPATH/bin/empgui -l emptutdb employee_example nyi_example simple_example

echo "Finished mktutor."
