Makefile revision 1.48
11.48Sdsl# $NetBSD: Makefile,v 1.48 2003/11/08 09:25:01 dsl Exp $ 21.15Scgd# @(#)Makefile 8.2 (Berkeley) 3/17/94 31.1Scgd 41.1ScgdPROG= disklabel 51.39SlukemSRCS= disklabel.c dkcksum.c interact.c printlabel.c 61.12ScgdMAN= disklabel.5 disklabel.8 71.20SchristosLDADD+= -lutil 81.20SchristosDPADD+= ${LIBUTIL} 91.9Shpeyerl 101.32Skleink# these have additional requirements on the alignment of a partition 111.31Spk.if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \ 121.31Spk || (${MACHINE} == "sun3") 131.31SpkCPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT 141.33Scgd.endif 151.33Scgd 161.40Sminoura.if (${MACHINE} == "alpha") || (${MACHINE} == "x68k") 171.33Scgd# read in the old boot area even though we don't support writing the boot 181.33Scgd# area with disklabel(8). 191.33ScgdCPPFLAGS+= -DSAVEBOOTAREA 201.5Smycroft.endif 211.1Scgd 221.44Smanu.if (${MACHINE} == "hpcmips") || (${MACHINE} == "arc") \ 231.44Smanu || (${MACHINE} == "prep") || (${MACHINE} == "cobalt") \ 241.44Smanu || (${MACHINE} == "macppc") || (${MACHINE} == "acorn26") \ 251.44Smanu || (${MACHINE} == "evbarm") || (${MACHINE} == "hpcarm") \ 261.44Smanu || (${MACHINE} == "netwinder") || (${MACHINE} == "acorn32") \ 271.47Sshin || (${MACHINE} == "cats") || (${MACHINE} == "shark") \ 281.48Sdsl || (${MACHINE} == "i386") || (${MACHINE} == "amd64") \ 291.47Sshin || (${MACHINE} == "playstation2") 301.34Sshin# recognize old partition ID for a while 311.34SshinCPPFLAGS+= -DCOMPAT_386BSD_MBRPART 321.34Sshin# use MBR partition info 331.34SshinCPPFLAGS+= -DUSE_MBR 341.35Sshin# read in the old boot area even though we don't support writing the boot 351.35Sshin# area with disklabel(8). 361.35SshinCPPFLAGS+= -DSAVEBOOTAREA 371.41Sbjh21.endif 381.41Sbjh21 391.42Sbjh21.if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26") 401.41Sbjh21# Support FileCore boot block 411.41Sbjh21CPPFLAGS+= -DUSE_ACORN 421.34Sshin.endif 431.34Sshin 441.1Scgd.include <bsd.prog.mk> 45