1995-03-18 17:54:19 +03:00
|
|
|
# $NetBSD: Makefile,v 1.15 1995/03/18 14:54:35 cgd Exp $
|
|
|
|
# @(#)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-02-11 05:42:21 +03:00
|
|
|
.if (${MACHINE} == "i386") || (${MACHINE} == "alpha")
|
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>
|