--- ./Makefile.orig 2003-03-03 22:05:28.000000000 -0800 +++ ./Makefile 2003-03-03 22:08:31.000000000 -0800 @@ -21,7 +21,7 @@ # If they don't exist, this makefile will try to create the directories # LIBDIR and SHAREDIR. All others must already exist. -JOVEHOME = /usr/local +JOVEHOME = /usr SHAREDIR = $(JOVEHOME)/lib/jove LIBDIR = $(JOVEHOME)/lib/jove BINDIR = $(JOVEHOME)/bin @@ -38,11 +38,11 @@ # (in case the system startup salvages tempfiles by moving them, # which is probably a good idea). -TMPDIR = /tmp +TMPDIR = /var/tmp RECDIR = /var/preserve # DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE. -DFLTSHELL = /bin/csh +DFLTSHELL = /bin/sh # The install commands of BSD and System V differ in unpleasant ways: # -c: copy (BSD); -c dir: destination directory (SysV) @@ -56,14 +56,16 @@ INSTALLFLAGS = # -g bin -o root # to install executable files -XINSTALL=cp +#XINSTALL=cp #XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s #CYGWIN32: XINSTALL=install $(INSTALLFLAGS) -c -m 755 +XINSTALL=install -c -m 755 # to install text files -TINSTALL=cp +#TINSTALL=cp #TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644 #CYGWIN32: TINSTALL=install $(INSTALLFLAGS) -c -m 644 +TINSTALL=install -c -m 644 # These should all just be right if the above ones are. # You will confuse JOVE if you move anything from LIBDIR or SHAREDIR. @@ -146,7 +148,7 @@ # On DEC OSF/1 and Digital UNIX VV4.0, add -std1 to enable ANSI C features # and perhaps -g3 for more debugging info with optimization. -OPTFLAGS = -O +OPTFLAGS = -O2 -march=i386 -mcpu=i686 # For making dependencies under BSD systems DEPENDFLAG = -M @@ -197,6 +199,7 @@ # CC = /opt/SUNWspro/bin/cc # For DG AViiON, expect compile errors unless you use the GNU C compiler: # CC=gcc +CC=gcc # Load invocation of cc. # to use Purify(TM): LDCC = purify $(CC)