#!/bin/sh #Tag 0x006A0020 # # Change ACADBASE to AutoCAD Installation directory # ACADBASE=/opt/acad13 # ACAD="$ACADBASE/bin;$ACADBASE/support;$ACADBASE/fonts" ACADDRV=$ACADBASE/drv ACADCFG=$ACADBASE/bin BIN=bin case `/bin/uname -s` in SunOS) # Determine which CPU type we're using cputype=`/bin/uname -m` # If not recognized, use "sun4c" if [ "$cputype" != "sun4m" -a "$cputype" != "sun4u" ] ; then cputype="sun4c" fi BIN="bin_$cputype" ACAD="$ACADBASE/$BIN;$ACAD" LD_LIBRARY_PATH="$ACADBASE/$BIN:$ACADBASE/bin:/usr/openwin/lib:/usr/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH ;; HP-UX) SHLIB_PATH="$ACADBASE/bin:$SHLIB_PATH" export SHLIB_PATH ;; AIX) if [ "$LIBPATH" = "" ] ; then LIBPATH="$ACADBASE/bin:/usr/lib:/lib" else LIBPATH="$ACADBASE/bin:$LIBPATH" fi export LIBPATH ;; IRIX*) # Add AutoCAD and CDE library directories to the search path. if [ "$LD_LIBRARY_PATH" = "" ] ; then LD_LIBRARY_PATH="/usr/dt/lib:$ACADBASE/$BIN" else LD_LIBRARY_PATH="/usr/dt/lib:$ACADBASE/$BIN:$LD_LIBRARY_PATH" fi export LD_LIBRARY_PATH if [ "$RENDERCFG" = "" ] ; then RENDERCFG=$ACADCFG; export RENDERCFG fi # Default to (only) rendering hardcopy driver if not set if [ "$RHUADI" = "" ] ; then RHUADI=$ACADBASE/drv/rhprtl; export RHUADI fi # This line sets the default MTEXT editor if [ "$EDITOR" = "" ] ; then EDITOR="jot -fx"; export EDITOR fi # Sets ACADSERVER to localhost of not set if [ "$ACADSERVER" = "" ] ; then ACADSERVER=`uname -n`; export ACADSERVER fi ;; *) Echo "Not supported on `/bin/uname -s` platform" ;; esac export ACAD ACADDRV ACADCFG $ACADBASE/$BIN/acad $*