summaryrefslogtreecommitdiff
path: root/sbin/savecore
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-09-11 04:09:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-09-11 04:09:00 +0000
commit51e46c78b894a8682d979a457490194a9fcde06d (patch)
treeb41b6d0fe9ababfa80ce63c4efadecfe21de5127 /sbin/savecore
parentd85acb893b2970a07d3b3ab11527c0bc8b988ad8 (diff)
i386 is now the only port using libkvm.old
Diffstat (limited to 'sbin/savecore')
-rw-r--r--sbin/savecore/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/sbin/savecore/Makefile b/sbin/savecore/Makefile
index 0580e81bdb7..24bf4c55783 100644
--- a/sbin/savecore/Makefile
+++ b/sbin/savecore/Makefile
@@ -1,21 +1,14 @@
-# $OpenBSD: Makefile,v 1.9 1998/09/05 16:33:25 millert Exp $
+# $OpenBSD: Makefile,v 1.10 1998/09/11 04:08:59 millert Exp $
PROG= savecore
-# XXX Temporary, until other ports use new libkvm
-.if (${MACHINE} == "alpha") || \
- (${MACHINE} == "amiga") || \
- (${MACHINE} == "atari") || \
- (${MACHINE} == "powerpc") || \
- (${MACHINE} == "mvme88k") || \
- (${MACHINE} == "sparc") || \
- (${MACHINE} == "sun3") || \
- (${MACHINE} == "hp300")
+# XXX Temporary, until i386 uses new libkvm
+.if (${MACHINE} == "i386")
+SRCS= savecore_old.c
+.else
SRCS= savecore.c
LDADD= -lkvm
DPADD= ${LIBKVM}
-.else
-SRCS= savecore_old.c
.endif
SRCS+= zopen.c nlist.c
CFLAGS+=-D_NLIST_DO_GZIP