Lines 1-75
Link Here
|
1 |
--- Makefile.orig 1996-03-19 04:44:33 UTC |
|
|
2 |
+++ Makefile |
3 |
@@ -27,16 +27,16 @@ |
4 |
# LIBDIR and SHAREDIR. All others must already exist. |
5 |
|
6 |
SHELL = /bin/sh |
7 |
-TMPDIR = /usr/tmp |
8 |
+TMPDIR = /var/tmp |
9 |
RECDIR = /usr/preserve |
10 |
|
11 |
-JOVEHOME = /usr/local |
12 |
-SHAREDIR = $(JOVEHOME)/lib/jove |
13 |
-LIBDIR = $(JOVEHOME)/lib/jove |
14 |
+JOVEHOME = ${DESTDIR}${PREFIX} |
15 |
+SHAREDIR = $(JOVEHOME)/share/jove |
16 |
+LIBDIR = $(JOVEHOME)/libexec/jove |
17 |
BINDIR = $(JOVEHOME)/bin |
18 |
MANDIR = $(JOVEHOME)/man/man$(MANEXT) |
19 |
MANEXT = 1 |
20 |
-DFLTSHELL = /bin/csh |
21 |
+DFLTSHELL = /bin/sh |
22 |
|
23 |
# The install commands of BSD and System V differ in unpleasant ways: |
24 |
# -c: copy (BSD); -c dir: destination directory (SysV) |
25 |
@@ -50,12 +50,12 @@ DFLTSHELL = /bin/csh |
26 |
INSTALLFLAGS = # -g bin -o root |
27 |
|
28 |
# to install executable files |
29 |
-XINSTALL=cp |
30 |
-#XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s |
31 |
+#XINSTALL=cp |
32 |
+XINSTALL=${BSD_INSTALL_PROGRAM} |
33 |
|
34 |
# to install text files |
35 |
-TINSTALL=cp |
36 |
-#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644 |
37 |
+#TINSTALL=cp |
38 |
+TINSTALL=${BSD_INSTALL_DATA} |
39 |
|
40 |
# These should all just be right if the above ones are. |
41 |
# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR. |
42 |
@@ -79,7 +79,7 @@ JOVETOOLM = $(MANDIR)/jovetool.$(MANEXT) |
43 |
# compiler, adding -Xa -v will increase compiler checking. |
44 |
# On DEC OSF/1, -std1 -O |
45 |
|
46 |
-OPTFLAGS = -O |
47 |
+#OPTFLAGS = -O |
48 |
|
49 |
# For making dependencies under BSD systems |
50 |
DEPENDFLAG = -M |
51 |
@@ -163,13 +163,13 @@ LDFLAGS = |
52 |
# |
53 |
# You can just say 'make SYSDEFS=-Dwhatever' on these systems. |
54 |
|
55 |
-SYSDEFS = |
56 |
+SYSDEFS = -DBSDPOSIX |
57 |
|
58 |
# for SCO Xenix, set |
59 |
# MEMFLAGS = -Mle |
60 |
# CFLAGS = -LARGE -O -F 3000 -K -Mle (say -Mle2 for an 80286) |
61 |
|
62 |
-CFLAGS = $(OPTFLAGS) $(SYSDEFS) |
63 |
+CFLAGS += $(OPTFLAGS) $(SYSDEFS) |
64 |
|
65 |
# For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h): |
66 |
# CC = /usr/bin/cc |
67 |
@@ -213,7 +213,7 @@ NROFF = nroff |
68 |
TROFF = troff -Tpost |
69 |
TROFFPOST = | /usr/lib/lp/postscript/dpost - >troff.out.ps |
70 |
|
71 |
-MANUALS = $(JOVEM) $(TEACHJOVEM) $(XJOVEM) $(JOVETOOLM) |
72 |
+MANUALS = $(JOVEM) $(TEACHJOVEM) # $(XJOVEM) $(JOVETOOLM) |
73 |
|
74 |
C_SRC = commands.c commands.tab abbrev.c argcount.c ask.c buf.c c.c case.c jctype.c \ |
75 |
delete.c disp.c extend.c fp.c fmt.c insert.c io.c iproc.c \ |