xref: /netbsd-src/sbin/savecore/Makefile (revision 3fe138c1461e710931a50b66f08982c5f52c371f)
1#	$NetBSD: Makefile,v 1.20 1997/05/08 21:11:33 gwr Exp $
2#	@(#)Makefile	8.2 (Berkeley) 4/17/94
3
4PROG=	savecore
5
6# XXX Temporary, until other ports use new libkvm
7.if	(${MACHINE} == "alpha")   || \
8	(${MACHINE} == "amiga")   || \
9	(${MACHINE} == "atari")   || \
10	(${MACHINE} == "hp300")   || \
11	(${MACHINE} == "mac68k")  || \
12	(${MACHINE} == "mvme68k") || \
13	(${MACHINE} == "pc532")   || \
14	(${MACHINE} == "powerpc") || \
15	(${MACHINE} == "sparc")   || \
16	(${MACHINE} == "sun3")    || \
17	(${MACHINE} == "sun3x")
18SRCS=	savecore.c
19LDADD=	-lkvm
20DPADD=	${LIBKVM}
21.else
22SRCS=	savecore_old.c
23.endif
24SRCS+=	zopen.c
25MAN=	savecore.8
26.PATH:	${.CURDIR}/../../usr.bin/compress
27
28.include <bsd.prog.mk>
29