#ident	"@(#)mk:i386at/build/xenv/i386osenv	1.3"
#
#
#	Template for the i386 cross environment setup script
#	The purpose of this shell script is to put the user's cross bin
#	first in the user's path and to define environment variables used
#	when building the cross-libraries.
#
PATH=${TOOLS}/usr/ccs/bin:${TOOLS}/bin:${TOOLS}/usr/bin:$PATH
PS1="i386oscrossenv: "
CCSTYPE=ELF
LIBRULES=${TOOLS}/etc/lib.rulefile
CMDRULES=${TOOLS}/etc/cmd.rulefile
XCMDRULES=${TOOLS}/etc/xcmd.rulefile
UTSRULES=${ROOT}/usr/src/${WORK}/uts/uts.rulefile
UTSDEPEND=${ROOT}/usr/src/${WORK}/uts/depend.rules
SGSROOT=$TOOLS
export CCSTYPE PATH PS1 TOOLS
export CMDRULES XCMDRULES LIBRULES UTSRULES UTSDEPEND SGSROOT
if [ $# = 0 ]
then
	exec /bin/sh
else
	exec "$@"
fi
