NetBSD/sbin/disklabel/Makefile

27 lines
500 B
Makefile

# $NetBSD: Makefile,v 1.20 1997/03/09 00:14:17 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 3/17/94
PROG= disklabel
SRCS= disklabel.c dkcksum.c interact.c
MAN= disklabel.5 disklabel.8
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.if ${MACHINE} == "amiga"
CFLAGS+= -D${MACHINE}
.endif
.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>