1998-03-02 19:26:47 +03:00
|
|
|
# $NetBSD: Makefile,v 1.30 1998/03/02 16:26:47 drochner Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= disklabel
|
1997-03-09 02:46:08 +03:00
|
|
|
SRCS= disklabel.c dkcksum.c interact.c
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN= disklabel.5 disklabel.8
|
1997-03-09 03:14:17 +03:00
|
|
|
LDADD+= -lutil
|
|
|
|
DPADD+= ${LIBUTIL}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1998-03-02 19:26:47 +03:00
|
|
|
# recognize old partition ID for a while
|
|
|
|
.if (${MACHINE} == "i386")
|
|
|
|
CPPFLAGS+= -DCOMPAT_386BSD_MBRPART
|
|
|
|
.endif
|
1994-06-24 17:48:17 +04:00
|
|
|
|
1997-10-18 11:28:47 +04:00
|
|
|
.if (${MACHINE} == "hp300") || (${MACHINE} == "vax") \
|
|
|
|
|| (${MACHINE} == "arm32")
|
1997-10-10 23:47:50 +04:00
|
|
|
CPPFLAGS+= -DNUMBOOT=1
|
1994-06-24 17:48:17 +04:00
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|