1997-03-15 01:49:51 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 1997/03/14 22:49:51 perry 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
|
|
|
|
1995-10-17 19:34:04 +03:00
|
|
|
.if (${MACHINE} == "i386")
|
1994-06-24 17:48:17 +04:00
|
|
|
CFLAGS+= -DNUMBOOT=2
|
|
|
|
.endif
|
|
|
|
|
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>
|