blob: d016249993e6263f364ff834d196f707dbd5994c (
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
|
$NetBSD: patch-ac,v 1.5 1999/03/17 10:47:42 agc Exp $
Add UVM definition for NetBSD
Correct the install commands
--- Makefile.X.orig Wed Nov 20 02:19:24 1996
+++ Makefile.X Wed Mar 17 10:21:02 1999
@@ -55,6 +55,12 @@
TERMCAP = %termcap%
CFLAGS = %cflgs% $(CDEFS)
+.ifndef UVM
+UVM=
+.endif
+.if ${UVM} != ""
+CFLAGS+= -DUVM
+.endif
LINTFLAGS = -x $(CDEFS)
all: Makefile top.local.h top
@@ -100,10 +106,10 @@
install: top top.1 install-top install-$(MANSTY)
install-top:
- $(INSTALL) -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)
+ ${INSTALL} ${COPY} ${STRIPFLAG} -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)
install-man:
- $(INSTALL) top.1 $(MANDIR)/top.$(MANEXT)
+ ${INSTALL_MAN} top.1 $(MANDIR)/top.$(MANEXT)
install-catman:
tbl top.1 | nroff -man > $(MANDIR)/top.$(MANEXT)
|