1995-04-19 02:37:46 +04:00
|
|
|
# $NetBSD: Makefile,v 1.16 1995/04/18 22:37:46 ragge 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
|
|
|
|
SRCS= disklabel.c dkcksum.c
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN= disklabel.5 disklabel.8
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1994-06-24 17:48:17 +04:00
|
|
|
.if ${MACHINE} == "amiga"
|
|
|
|
CFLAGS+= -D${MACHINE}
|
|
|
|
.endif
|
|
|
|
|
1995-04-19 02:37:46 +04:00
|
|
|
.if (${MACHINE} == "i386") || (${MACHINE} == "alpha") || (${MACHINE} == "vax")
|
1994-06-24 17:48:17 +04:00
|
|
|
CFLAGS+= -DNUMBOOT=2
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "hp300"
|
|
|
|
CFLAGS+= -DNUMBOOT=1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
CFLAGS+= -DRAWPARTITION=\'d\'
|
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|