summaryrefslogtreecommitdiff
path: root/sbin/disklabel/Makefile
blob: 697d50d257e2260f0e20de15fccd8155c9acbdd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	$OpenBSD: Makefile,v 1.4 1996/06/12 08:02:43 downsj Exp $
#	$NetBSD: Makefile,v 1.18 1995/10/17 16:34:04 cgd Exp $
#	@(#)Makefile	8.2 (Berkeley) 3/17/94

PROG=	disklabel
SRCS=	disklabel.c dkcksum.c
MAN=	disklabel.5 disklabel.8

.if ${MACHINE} == "amiga"
CFLAGS+= -D${MACHINE}
.endif

.if (${MACHINE} == "i386")
CFLAGS+= -DNUMBOOT=2 -DDOSLABEL
.endif

.if (${MACHINE} == "pica")
CFLAGS+= -DDOSLABEL
.endif

.if (${MACHINE} == "hp300") || (${MACHINE} == "vax")
CFLAGS+= -DNUMBOOT=1
.endif

.include <bsd.prog.mk>