1998-07-25 00:18:22 -04:00
|
|
|
--- Makefile.orig Mon Mar 18 20:44:33 1996
|
|
|
|
+++ Makefile Fri Jul 24 21:01:06 1998
|
1997-11-14 19:04:24 -05:00
|
|
|
@@ -27,16 +27,16 @@
|
|
|
|
# LIBDIR and SHAREDIR. All others must already exist.
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
-TMPDIR = /usr/tmp
|
|
|
|
+TMPDIR = /var/tmp
|
|
|
|
RECDIR = /usr/preserve
|
|
|
|
|
|
|
|
-JOVEHOME = /usr/local
|
|
|
|
-SHAREDIR = $(JOVEHOME)/lib/jove
|
|
|
|
-LIBDIR = $(JOVEHOME)/lib/jove
|
|
|
|
+JOVEHOME = ${PREFIX}
|
|
|
|
+SHAREDIR = $(JOVEHOME)/share/jove
|
|
|
|
+LIBDIR = $(JOVEHOME)/libexec/jove
|
|
|
|
BINDIR = $(JOVEHOME)/bin
|
|
|
|
MANDIR = $(JOVEHOME)/man/man$(MANEXT)
|
|
|
|
MANEXT = 1
|
|
|
|
-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)
|
1998-07-25 00:18:22 -04:00
|
|
|
@@ -50,12 +50,12 @@
|
|
|
|
INSTALLFLAGS = # -g bin -o root
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
# to install executable files
|
1998-07-25 00:18:22 -04:00
|
|
|
-XINSTALL=cp
|
1997-11-14 19:04:24 -05:00
|
|
|
-#XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
|
1998-07-25 00:18:22 -04:00
|
|
|
+#XINSTALL=cp
|
|
|
|
+XINSTALL=${BSD_INSTALL_PROGRAM}
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
# to install text files
|
1998-07-25 00:18:22 -04:00
|
|
|
-TINSTALL=cp
|
1997-11-14 19:04:24 -05:00
|
|
|
-#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
|
1998-07-25 00:18:22 -04:00
|
|
|
+#TINSTALL=cp
|
|
|
|
+TINSTALL=${BSD_INSTALL_DATA}
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
# These should all just be right if the above ones are.
|
|
|
|
# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
|
1998-07-25 00:18:22 -04:00
|
|
|
@@ -79,7 +79,7 @@
|
|
|
|
# compiler, adding -Xa -v will increase compiler checking.
|
|
|
|
# On DEC OSF/1, -std1 -O
|
|
|
|
|
|
|
|
-OPTFLAGS = -O
|
|
|
|
+OPTFLAGS = -O2
|
|
|
|
|
|
|
|
# For making dependencies under BSD systems
|
|
|
|
DEPENDFLAG = -M
|
1997-11-14 19:04:24 -05:00
|
|
|
@@ -163,7 +163,7 @@
|
|
|
|
#
|
|
|
|
# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
|
|
|
|
|
|
|
|
-SYSDEFS =
|
|
|
|
+SYSDEFS = -DBSDPOSIX
|
|
|
|
|
|
|
|
# for SCO Xenix, set
|
|
|
|
# MEMFLAGS = -Mle
|
1998-07-25 00:18:22 -04:00
|
|
|
@@ -329,8 +329,12 @@
|
|
|
|
$(TEACH-JOVE) $(CMDS.DOC) $(TERMSDIR)docs \
|
|
|
|
$(PORTSRVINST) $(RECOVER) $(JOVE) $(TEACHJOVE) $(MANUALS)
|
|
|
|
$(TINSTALL) doc/jove.rc $(JOVERC)
|
|
|
|
- @echo See the README about changes to /etc/rc or /etc/rc.local
|
|
|
|
- @echo so that the system recovers jove files on reboot after a crash
|
|
|
|
+ $(TINSTALL) README $(SHAREDIR)
|
|
|
|
+ @echo ""
|
|
|
|
+ @echo "*** See $(SHAREDIR)/README about changes to /etc/rc or"
|
|
|
|
+ @echo "*** /etc/rc.local so that the system recovers jove files"
|
|
|
|
+ @echo "*** on reboot after a system crash"
|
|
|
|
+ @echo ""
|
|
|
|
|
|
|
|
$(LIBDIR)::
|
|
|
|
test -d $(LIBDIR) || mkdir $(LIBDIR)
|