1 # $NetBSD: Makefile,v 1.65 2009/12/05 16:29:11 pooka Exp $
2 # @(#)Makefile 8.2 (Berkeley) 3/17/94
5 SRCS
= main.c dkcksum.c interact.c printlabel.c
6 MAN
= disklabel
.5 disklabel
.8
7 .if
(${HOSTPROG
:U
} == "")
12 # these have additional requirements on the alignment of a partition
13 .if
(${MACHINE} == "sparc") ||
(${MACHINE} == "sparc64") \
14 ||
(${MACHINE} == "sun3")
15 CPPFLAGS
+= -DSTRICT_CYLINDER_ALIGNMENT
19 ||
${MACHINE} == "acorn26" \
20 ||
${MACHINE} == "acorn32" \
21 ||
${MACHINE} == "amd64" \
22 ||
${MACHINE} == "arc" \
23 ||
${MACHINE} == "cats" \
24 ||
${MACHINE} == "cobalt" \
25 ||
${MACHINE} == "dreamcast" \
26 ||
${MACHINE} == "evbarm" \
27 ||
${MACHINE} == "evbsh3" \
28 ||
${MACHINE} == "hpcarm" \
29 ||
${MACHINE} == "hpcmips" \
30 ||
${MACHINE} == "hpcsh" \
31 ||
${MACHINE} == "i386" \
32 ||
${MACHINE} == "iyonix" \
33 ||
${MACHINE} == "landisk" \
34 ||
${MACHINE} == "macppc" \
35 ||
${MACHINE} == "mmeye" \
36 ||
${MACHINE} == "netwinder" \
37 ||
${MACHINE} == "prep" \
38 ||
${MACHINE} == "shark" \
39 ||
${MACHINE} == "zaurus" \
41 # use MBR partition info
43 # recognize old MBR partition ID for a while
44 CPPFLAGS
+= -DCOMPAT_386BSD_MBRPART
47 .if
(${MACHINE} == "acorn32" ||
${MACHINE} == "acorn26")
48 # Support FileCore boot block
49 CPPFLAGS
+= -DUSE_ACORN
52 .if
(${MACHINE_ARCH} == "alpha")
53 # alpha requires boot block checksum
54 CPPFLAGS
+= -DALPHA_BOOTBLOCK_CKSUM
57 .if
(${MACHINE_ARCH} == "vax")
58 # vax requires labels in alternative sectors on SMD disk
59 CPPFLAGS
+= -DVAX_ALTLABELS
62 .
include <bsd.prog.mk
>