blob: 536fb8367516d2afdd4902350f637a19ca03f05a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
$NetBSD: patch-ac,v 1.2 2003/01/19 06:46:24 salo Exp $
--- ./makefile Tue Jul 16 17:52:08 1991
+++ /usr/pkgsrc/archivers/zoo/work.i386.unpatched/makefile Fri Nov 12 06:19:40 1999
@@ -18,13 +18,13 @@
MAKE = make # needed for some systems e.g. older BSD
-CC = cc
-CFLAGS =
+#CC = cc
+#CFLAGS =
MODEL =
EXTRA = -DBIG_MEM -DNDEBUG
LINTFLAGS = -DLINT
-OPTIM = -O
-DESTDIR = /usr/local/bin
+OPTIM = $(CFLAGS)
+DESTDIR = $(PREFIX)/bin
#List of all object files created for Zoo
ZOOOBJS = addbfcrc.o addfname.o basename.o comment.o crcdefs.o \
@@ -67,7 +67,7 @@
@echo "lint_turboc: Run lint under **IX for checking Turbo C/MSDOS code"
# install alpha zoo as "tzoo"
-install:
+inst_test:
mv zoo $(DESTDIR)/tzoo
# install beta zoo as "bzoo"
@@ -75,8 +75,9 @@
mv zoo $(DESTDIR)/bzoo
# install production zoo as "zoo"
-inst_prod:
- mv zoo $(DESTDIR)/zoo
+install:
+ $(BSD_INSTALL_PROGRAM) $(TARGETS) $(DESTDIR)
+ $(BSD_INSTALL_DATA) zoo.1 fiz.1 $(PREFIX)/man/man1
# executable targets
TARGETS = zoo fiz
|