diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-11 04:09:00 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-11 04:09:00 +0000 |
commit | 51e46c78b894a8682d979a457490194a9fcde06d (patch) | |
tree | b41b6d0fe9ababfa80ce63c4efadecfe21de5127 | |
parent | d85acb893b2970a07d3b3ab11527c0bc8b988ad8 (diff) |
i386 is now the only port using libkvm.old
-rw-r--r-- | lib/Makefile | 17 | ||||
-rw-r--r-- | sbin/savecore/Makefile | 17 |
2 files changed, 10 insertions, 24 deletions
diff --git a/lib/Makefile b/lib/Makefile index c0ed158c4d7..d7affad8e22 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,24 +1,17 @@ -# $OpenBSD: Makefile,v 1.27 1998/07/23 21:15:50 millert Exp $ +# $OpenBSD: Makefile,v 1.28 1998/09/11 04:08:58 millert Exp $ # $NetBSD: Makefile,v 1.20.4.1 1996/06/14 17:22:38 cgd Exp $ SUBDIR= csu libarch libc libcom_err libcompat libcurses libdes libedit \ libform libl libm libmenu libocurses libossaudio libpanel libpcap \ libresolv librpcsvc libskey libtelnet libutil libwrap liby libz -# XXX Temporarely until all ports are able to use libkvm (leo) +# XXX Temporarely until all i386 is able to use libkvm .if make(obj) SUBDIR+= libkvm libkvm.old -.elif (${MACHINE} == "alpha") || \ - (${MACHINE} == "amiga") || \ - (${MACHINE} == "atari") || \ - (${MACHINE} == "powerpc") || \ - (${MACHINE} == "mvme88k") || \ - (${MACHINE} == "sparc") || \ - (${MACHINE} == "sun3") || \ - (${MACHINE} == "hp300") -SUBDIR+= libkvm -.else +.elif (${MACHINE} == "i386") SUBDIR+= libkvm.old +.else +SUBDIR+= libkvm .endif .include <bsd.subdir.mk> 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 |