summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-04 19:16:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-04 19:16:55 +0000
commit2f00c1f7755b7f9b5e716eae74189647625b823f (patch)
tree3aa78ce8adce58f9371c1a02d7348f1f01d0d10c /usr.bin
parent1fcd63a658fd37ebb7f92d69dc3a391771461e1e (diff)
let gprof docs still get installed on mips/alpha
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile7
-rw-r--r--usr.bin/gprof/Makefile6
2 files changed, 9 insertions, 4 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 9b8689595da..5f2153b8c37 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.27 1996/10/02 21:52:31 pefo Exp $
+# $OpenBSD: Makefile,v 1.28 1996/10/04 19:16:51 deraadt Exp $
# $NetBSD: Makefile,v 1.62 1996/03/10 05:45:43 thorpej Exp $
# from: @(#)Makefile 5.8.1.1 (Berkeley) 5/8/91
@@ -22,7 +22,8 @@ SUBDIR= apply apropos arch asa at awk banner basename bdes biff cal calendar \
unifdef uniq units unvis users uudecode uuencode \
vacation vgrind vi vim vis vmstat w wall wc what whatis whereis \
which who whois window write \
- xargs xinstall xlint xstr yacc yes
+ xargs xinstall xlint xstr yacc yes \
+ gprof
.if defined(YP)
SUBDIR+=ypcat ypmatch ypwhich
@@ -30,7 +31,7 @@ SUBDIR+=ypcat ypmatch ypwhich
# Don't use the standard tool chain on the alpha or mips.
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips")
-SUBDIR+= ar gprof nm ranlib size strip strings
+SUBDIR+= ar nm ranlib size strip strings
.endif
.if make(clean) || make(cleandir) || make(obj)
diff --git a/usr.bin/gprof/Makefile b/usr.bin/gprof/Makefile
index 6d83d9d6dba..ce55ec52e6f 100644
--- a/usr.bin/gprof/Makefile
+++ b/usr.bin/gprof/Makefile
@@ -1,10 +1,14 @@
-# $OpenBSD: Makefile,v 1.2 1996/06/26 05:33:46 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 1996/10/04 19:16:54 deraadt Exp $
# $NetBSD: Makefile,v 1.14 1995/04/19 07:24:08 cgd Exp $
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "mips")
+NOPROG=
+.else
PROG= gprof
SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
printgprof.c printlist.c
CFLAGS+= -D${MACHINE_ARCH}
+.endif
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \