summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-29 12:44:36 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-29 12:44:36 +0000
commit7ed4b195ef3abd857fad098fbb79136353702dfa (patch)
treed1e7b51f6d2969b0fda61d7fb7bbb2003b59d827 /usr.bin/gcore
parenta2fb8fa112875354d06999e4d5876dcc42efd6d5 (diff)
downloadFreeBSD-src-7ed4b195ef3abd857fad098fbb79136353702dfa.zip
FreeBSD-src-7ed4b195ef3abd857fad098fbb79136353702dfa.tar.gz
Corrected to work without symbolic links for md-${MACHINE}.c.
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/gcore/Makefile b/usr.bin/gcore/Makefile
index c7bf6e0..175f1fc 100644
--- a/usr.bin/gcore/Makefile
+++ b/usr.bin/gcore/Makefile
@@ -1,7 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= gcore
-SRCS= gcore.c md-${MACHINE}.c
+SRCS= gcore.c
LDADD= -lkvm
+.if ${MACHINE} != "sparc"
+SRCS+= md-nop.c
+.else
+SRCS+= md-${MACHINDE}.c
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud