#  set_opt_sys from ObjectProDSP 0.2
#  Copyright (C) 1994 1995, Mountain Math Software, All rights reserved.
#  Licensed for free use and distribution under version 2 of the Gnu General
#  Public License. Please see file COPYING for details and restrictions.
#  
#  ObjectProDSP is a trademark of Mountain Math Software.
#  
read OPD_SYSTEM < $OPD_ROOT/scripts/SYSTEM
#OPD_SYSTEM=windows_nt-3.5
case $OPD_SYSTEM in
	linux)
#   OPD_CC='g++ --static'
    OPD_CC=g++
	OPD_RANLIB=-rl
	OPD_SHELL=/bin/bash
	OPD_MAKE=make
	OPD_OBJ=o
	OPD_LIB_SUF=
	OPD_EXE_SUF=
	OPD_LIB="ar r "
	;;
	sun-sparc-4.1)
	OPD_CC=g++
	OPD_RANLIB=-rl
	OPD_SHELL=/usr/local/bin/bash
	OPD_MAKE=/usr/local/bin/make
	OPD_OBJ=o
	OPD_LIB_SUF=
	OPD_EXE_SUF=
	OPD_LIB="ar r "
	;;
	windows_nt-3.5)
	OPD_CC=${OPD_ROOT}/bin/cpp
	OPD_RANLIB=
	OPD_SHELL=/usr/local/bin/bash
	OPD_MAKE=/usr/local/bin/make
	OPD_OBJ=obj
	OPD_LIB_SUF=.lib
	OPD_EXE_SUF=.exe
	OPD_LIB="lib -OUT:"
	;;
	*)
	echo "Unsuported target \`$OPD_SYSTEM'."
	exit
	;;
esac
export OPD_SYSTEM
export OPD_SHELL
export OPD_MAKE
export OPD_CC
export OPD_OBJ
export OPD_RANLIB
export OPD_LIB_SUF
export OPD_EXE_SUF
export OPD_LIB
