51 lines
1.4 KiB
Text
51 lines
1.4 KiB
Text
$NetBSD: patch-ac,v 1.6 2009/04/25 23:46:47 gdt Exp $
|
|
|
|
--- makefile.orig 1991-07-16 17:52:08.000000000 +0200
|
|
+++ makefile
|
|
@@ -18,13 +18,12 @@
|
|
|
|
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)
|
|
|
|
#List of all object files created for Zoo
|
|
ZOOOBJS = addbfcrc.o addfname.o basename.o comment.o crcdefs.o \
|
|
@@ -67,7 +67,7 @@ help :
|
|
@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 @@ inst_beta:
|
|
mv zoo $(DESTDIR)/bzoo
|
|
|
|
# install production zoo as "zoo"
|
|
-inst_prod:
|
|
- mv zoo $(DESTDIR)/zoo
|
|
+install:
|
|
+ $(BSD_INSTALL_PROGRAM) $(TARGETS) ${DESTDIR}$(PREFIX)/bin
|
|
+ $(BSD_INSTALL_DATA) zoo.1 fiz.1 ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1
|
|
|
|
# executable targets
|
|
TARGETS = zoo fiz
|
|
@@ -235,7 +236,7 @@ parse.o: /usr/include/stdio.h assert.h o
|
|
parse.o: zoofns.h zooio.h
|
|
portable.o: /usr/include/stdio.h assert.h debug.h machine.h options.h
|
|
portable.o: portable.h various.h zoo.h zoofns.h zooio.h
|
|
-prterror.o: /usr/include/stdio.h /usr/include/varargs.h options.h various.h
|
|
+prterror.o: /usr/include/stdio.h options.h various.h
|
|
prterror.o: zoofns.h zooio.h
|
|
sysv.o: /usr/include/sys/stat.h /usr/include/sys/types.h /usr/include/time.h
|
|
sysv.o: nixmode.i nixtime.i
|