Makefile revision 1.60
1#	$NetBSD: Makefile,v 1.60 2006/12/18 13:39:10 nonaka Exp $
2#	@(#)Makefile	8.2 (Berkeley) 3/17/94
3
4PROG=	disklabel
5SRCS=	main.c dkcksum.c interact.c printlabel.c
6MAN=	disklabel.5 disklabel.8
7.if (${HOSTPROG:U} == "")
8DPADD+= ${LIBUTIL}
9LDADD+= -lutil
10.endif
11
12# these have additional requirements on the alignment of a partition
13.if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \
14	|| (${MACHINE} == "sun3")
15CPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT
16.endif
17
18.if ( 0 \
19	|| ${MACHINE} == "acorn26" \
20	|| ${MACHINE} == "acorn32" \
21	|| ${MACHINE} == "amd64" \
22	|| ${MACHINE} == "arc" \
23	|| ${MACHINE} == "cats" \
24	|| ${MACHINE} == "cobalt" \
25	|| ${MACHINE} == "evbarm" \
26	|| ${MACHINE} == "hpcarm" \
27	|| ${MACHINE} == "hpcmips" \
28	|| ${MACHINE} == "i386" \
29	|| ${MACHINE} == "iyonix" \
30	|| ${MACHINE} == "landisk" \
31	|| ${MACHINE} == "macppc" \
32	|| ${MACHINE} == "netwinder" \
33	|| ${MACHINE} == "playstation2" \
34	|| ${MACHINE} == "prep" \
35	|| ${MACHINE} == "shark" \
36	|| ${MACHINE} == "zaurus" \
37    )
38# use MBR partition info
39CPPFLAGS+= -DUSE_MBR
40# recognize old MBR partition ID for a while
41CPPFLAGS+= -DCOMPAT_386BSD_MBRPART
42.endif
43
44.if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26")
45# Support FileCore boot block
46CPPFLAGS+= -DUSE_ACORN
47.endif
48
49.include <bsd.prog.mk>
50