summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gcore/Makefile')
-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