Ticket #6698: patch-Makefile.diff
File patch-Makefile.diff, 2.6 KB (added by blair (Blair Zajac), 19 years ago) |
---|
-
Makefile
old new 21 21 # If they don't exist, this makefile will try to create the directories 22 22 # LIBDIR and SHAREDIR. All others must already exist. 23 23 24 JOVEHOME = /usr/local25 SHAREDIR = $(JOVEHOME)/ lib/jove26 LIBDIR = $(JOVEHOME)/lib /jove24 JOVEHOME = __PREFIX 25 SHAREDIR = $(JOVEHOME)/share/jove 26 LIBDIR = $(JOVEHOME)/libexec/jove 27 27 BINDIR = $(JOVEHOME)/bin 28 28 XEXT= 29 MANDIR = $(JOVEHOME)/ man/man$(MANEXT)29 MANDIR = $(JOVEHOME)/share/man/man$(MANEXT) 30 30 MANEXT = 1 31 31 32 32 # TMPDIR is where the tmp files get stored, usually /tmp, /var/tmp, or … … 38 38 # (in case the system startup salvages tempfiles by moving them, 39 39 # which is probably a good idea). 40 40 41 TMPDIR = / tmp41 TMPDIR = /var/tmp 42 42 RECDIR = /var/preserve 43 43 44 44 # DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE. 45 DFLTSHELL = /bin/ csh45 DFLTSHELL = /bin/sh 46 46 47 47 # The install commands of BSD and System V differ in unpleasant ways: 48 48 # -c: copy (BSD); -c dir: destination directory (SysV) … … 53 53 # "cp" will work reasonably well, but be aware that any links continue 54 54 # referencing the old file with new contents. 55 55 56 INSTALL=/usr/bin/install 56 57 INSTALLFLAGS = # -g bin -o root 57 58 58 59 # to install executable files 59 XINSTALL=cp60 #XINSTALL=cp 60 61 #XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s 61 62 #CYGWIN32: XINSTALL=install $(INSTALLFLAGS) -c -m 755 63 XINSTALL=$(INSTALL) $(INSTALLFLAGS) -c -m 755 62 64 63 65 # to install text files 64 TINSTALL=cp66 #TINSTALL=cp 65 67 #TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644 66 68 #CYGWIN32: TINSTALL=install $(INSTALLFLAGS) -c -m 644 69 TINSTALL=$(INSTALL) $(INSTALLFLAGS) -c -m 644 67 70 68 71 # These should all just be right if the above ones are. 69 72 # You will confuse JOVE if you move anything from LIBDIR or SHAREDIR. … … 73 76 RECOVER = $(LIBDIR)/recover$(XEXT) 74 77 PORTSRV = $(LIBDIR)/portsrv$(XEXT) 75 78 JOVERC = $(SHAREDIR)/jove.rc 79 JOVELOCALRC = $(SHAREDIR)/jove-local.rc 76 80 TERMSDIR = $(SHAREDIR) 77 81 CMDS.DOC = $(SHAREDIR)/cmds.doc 78 82 TEACH-JOVE = $(SHAREDIR)/teach-jove … … 146 150 # On DEC OSF/1 and Digital UNIX VV4.0, add -std1 to enable ANSI C features 147 151 # and perhaps -g3 for more debugging info with optimization. 148 152 149 OPTFLAGS = -O 153 OPTFLAGS = -Os 150 154 151 155 # For making dependencies under BSD systems 152 156 DEPENDFLAG = -M … … 361 365 $(TEACH-JOVE) $(CMDS.DOC) $(TERMSDIR)docs \ 362 366 $(PORTSRVINST) $(RECOVER) $(JOVE) $(TEACHJOVE) $(MANUALS) 363 367 $(TINSTALL) doc/jove.rc $(JOVERC) 368 $(TINSTALL) doc/jove-local.rc $(JOVELOCALRC) 364 369 @echo See the README about changes to /etc/rc or /etc/rc.local 365 370 @echo so that the system recovers jove files on reboot after a crash 366 371