aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1994-05-29 12:44:36 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1994-05-29 12:44:36 +0000
commit17917d67f832fcf69a7065b303ca1c21852656c6 (patch)
treed1e7b51f6d2969b0fda61d7fb7bbb2003b59d827 /usr.bin/gcore
parent5b3d56346b988f5fa9f0b1059c2b07a4ab8519b2 (diff)
downloadsrc-17917d67f832fcf69a7065b303ca1c21852656c6.tar.gz
src-17917d67f832fcf69a7065b303ca1c21852656c6.zip
Corrected to work without symbolic links for md-${MACHINE}.c.
Notes
Notes: svn path=/head/; revision=1626
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 c7bf6e04215c..175f1fc9c74a 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>