1997-07-01 02:51:27 +04:00
|
|
|
# $NetBSD: Makefile,v 1.25 1997/06/30 22:51:27 christos Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-07-01 02:51:27 +04:00
|
|
|
WARNS= 1
|
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
|
|
|
|
1997-06-07 04:47:27 +04:00
|
|
|
# XXX new boot blocks don't need this; we'll leave it for a while. --pm
|
|
|
|
#.if (${MACHINE} == "i386")
|
|
|
|
#CFLAGS+= -DNUMBOOT=2
|
|
|
|
#.endif
|
1994-06-24 17:48:17 +04:00
|
|
|
|
1995-04-23 23:27:59 +04:00
|
|
|
.if (${MACHINE} == "hp300") || (${MACHINE} == "vax")
|
1994-06-24 17:48:17 +04:00
|
|
|
CFLAGS+= -DNUMBOOT=1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
CFLAGS+= -DRAWPARTITION=\'d\'
|
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|