NetBSD/sbin/disklabel/Makefile

25 lines
528 B
Makefile

# $NetBSD: Makefile,v 1.25 1997/06/30 22:51:27 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 3/17/94
WARNS= 1
PROG= disklabel
SRCS= disklabel.c dkcksum.c interact.c
MAN= disklabel.5 disklabel.8
LDADD+= -lutil
DPADD+= ${LIBUTIL}
# XXX new boot blocks don't need this; we'll leave it for a while. --pm
#.if (${MACHINE} == "i386")
#CFLAGS+= -DNUMBOOT=2
#.endif
.if (${MACHINE} == "hp300") || (${MACHINE} == "vax")
CFLAGS+= -DNUMBOOT=1
.endif
.if ${MACHINE} == "i386"
CFLAGS+= -DRAWPARTITION=\'d\'
.endif
.include <bsd.prog.mk>