Makefile revision 1.47
11.47Sshin# $NetBSD: Makefile,v 1.47 2003/11/02 02:52:58 shin 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.46Sfvdl.if (${MACHINE} == "i386" || ${MACHINE} == "amd64") 111.30Sdrochner# recognize old partition ID for a while 121.30SdrochnerCPPFLAGS+= -DCOMPAT_386BSD_MBRPART 131.36Ssoda# use MBR partition info 141.36SsodaCPPFLAGS+= -DUSE_MBR 151.30Sdrochner.endif 161.9Shpeyerl 171.29Smark.if (${MACHINE} == "hp300") || (${MACHINE} == "vax") \ 181.29Smark || (${MACHINE} == "arm32") 191.28SchristosCPPFLAGS+= -DNUMBOOT=1 201.31Spk.endif 211.31Spk 221.32Skleink# these have additional requirements on the alignment of a partition 231.31Spk.if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \ 241.31Spk || (${MACHINE} == "sun3") 251.31SpkCPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT 261.33Scgd.endif 271.33Scgd 281.40Sminoura.if (${MACHINE} == "alpha") || (${MACHINE} == "x68k") 291.33Scgd# read in the old boot area even though we don't support writing the boot 301.33Scgd# area with disklabel(8). 311.33ScgdCPPFLAGS+= -DSAVEBOOTAREA 321.5Smycroft.endif 331.1Scgd 341.44Smanu.if (${MACHINE} == "hpcmips") || (${MACHINE} == "arc") \ 351.44Smanu || (${MACHINE} == "prep") || (${MACHINE} == "cobalt") \ 361.44Smanu || (${MACHINE} == "macppc") || (${MACHINE} == "acorn26") \ 371.44Smanu || (${MACHINE} == "evbarm") || (${MACHINE} == "hpcarm") \ 381.44Smanu || (${MACHINE} == "netwinder") || (${MACHINE} == "acorn32") \ 391.47Sshin || (${MACHINE} == "cats") || (${MACHINE} == "shark") \ 401.47Sshin || (${MACHINE} == "playstation2") 411.34Sshin# recognize old partition ID for a while 421.34SshinCPPFLAGS+= -DCOMPAT_386BSD_MBRPART 431.34Sshin# use MBR partition info 441.34SshinCPPFLAGS+= -DUSE_MBR 451.35Sshin# read in the old boot area even though we don't support writing the boot 461.35Sshin# area with disklabel(8). 471.35SshinCPPFLAGS+= -DSAVEBOOTAREA 481.41Sbjh21.endif 491.41Sbjh21 501.42Sbjh21.if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26") 511.41Sbjh21# Support FileCore boot block 521.41Sbjh21CPPFLAGS+= -DUSE_ACORN 531.34Sshin.endif 541.34Sshin 551.1Scgd.include <bsd.prog.mk> 56