1995-10-17 19:34:04 +03:00
|
|
|
# $NetBSD: Makefile,v 1.18 1995/10/17 16:34:04 cgd 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-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>
|