#  set_opt from ObjectProDSP 0.1
#  Copyright (C) 1994, 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
case $OPD_SYSTEM in
	linux) OPD_RANLIB=-rl
	;;
	sco)
	;;
esac
function opd_set_utility_options() {
	OPD_COM_OPT="-incm $1/scripts/Makefile_main_include \
		-makemake domakemake domakemake $OPD_ROOT/scripts/set_opt \
		$OPD_DO_MAKE_DEP"
	OPD_SET_COM_LIB=" -ext_lib_make $1/src/genlib/common/obj \
    	$1/lib/Libopdcom "
	OPD_SET_OPDGEN_LIB=" -ext_lib_make $1/src/genlib/opdgen/obj \
    	$1/lib/Libopdgen "
	OPD_SET_NO_GUI_LIB=" -ext_lib_make $1/src/genlib/nogui/obj \
    	$1/lib/Libopdnogui "
	OPD_UTIL_OPT="$OPD_SET_OPDGEN_LIB $OPD_SET_COM_LIB $OPD_SET_NO_GUI_LIB \
		$OPD_COM_OPT "
}
if [ -n "$OPD_BASE" ] ;then opd_set_utility_options $OPD_BASE ;else
opd_set_utility_options $OPD_ROOT ;fi
