1 # $NetBSD: Makefile,v 1.33 1999/06/03 01:58:51 cgd Exp $ 2 # @(#)Makefile 8.2 (Berkeley) 3/17/94 3 4 PROG= disklabel 5 SRCS= disklabel.c dkcksum.c interact.c 6 MAN= disklabel.5 disklabel.8 7 LDADD+= -lutil 8 DPADD+= ${LIBUTIL} 9 10 # recognize old partition ID for a while 11 .if (${MACHINE} == "i386") 12 CPPFLAGS+= -DCOMPAT_386BSD_MBRPART 13 .endif 14 15 .if (${MACHINE} == "hp300") || (${MACHINE} == "vax") \ 16 || (${MACHINE} == "arm32") 17 CPPFLAGS+= -DNUMBOOT=1 18 .endif 19 20 # these have additional requirements on the alignment of a partition 21 .if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \ 22 || (${MACHINE} == "sun3") 23 CPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT 24 .endif 25 26 .if (${MACHINE} == "alpha") 27 # read in the old boot area even though we don't support writing the boot 28 # area with disklabel(8). 29 CPPFLAGS+= -DSAVEBOOTAREA 30 .endif 31 32 .include <bsd.prog.mk> 33