Home | History | Annotate | Line # | Download | only in disklabel
Makefile revision 1.50
      1  1.50     lukem #	$NetBSD: Makefile,v 1.50 2004/01/18 22:34:22 lukem Exp $
      2  1.15       cgd #	@(#)Makefile	8.2 (Berkeley) 3/17/94
      3   1.1       cgd 
      4   1.1       cgd PROG=	disklabel
      5  1.39     lukem SRCS=	disklabel.c dkcksum.c interact.c printlabel.c
      6  1.12       cgd MAN=	disklabel.5 disklabel.8
      7  1.20  christos LDADD+= -lutil
      8  1.20  christos DPADD+= ${LIBUTIL}
      9   1.9   hpeyerl 
     10  1.49      fvdl .if (${MACHINE} == "hp300") || (${MACHINE} == "vax") \
     11  1.49      fvdl 	|| (${MACHINE} == "arm32")
     12  1.49      fvdl CPPFLAGS+= -DNUMBOOT=1
     13  1.49      fvdl .endif
     14  1.49      fvdl 
     15  1.32    kleink # these have additional requirements on the alignment of a partition
     16  1.31        pk .if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \
     17  1.31        pk 	|| (${MACHINE} == "sun3")
     18  1.31        pk CPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT
     19  1.33       cgd .endif
     20  1.33       cgd 
     21  1.40   minoura .if (${MACHINE} == "alpha") || (${MACHINE} == "x68k")
     22  1.50     lukem # preserve the non-disklabel portions of the first 8KB of the disk
     23  1.33       cgd CPPFLAGS+= -DSAVEBOOTAREA
     24   1.5   mycroft .endif
     25   1.1       cgd 
     26  1.50     lukem .if ( 0 \
     27  1.50     lukem 	|| ${MACHINE} == "acorn26" \
     28  1.50     lukem 	|| ${MACHINE} == "acorn32" \
     29  1.50     lukem 	|| ${MACHINE} == "amd64" \
     30  1.50     lukem 	|| ${MACHINE} == "arc" \
     31  1.50     lukem 	|| ${MACHINE} == "cats" \
     32  1.50     lukem 	|| ${MACHINE} == "cobalt" \
     33  1.50     lukem 	|| ${MACHINE} == "evbarm" \
     34  1.50     lukem 	|| ${MACHINE} == "hpcarm" \
     35  1.50     lukem 	|| ${MACHINE} == "hpcmips" \
     36  1.50     lukem 	|| ${MACHINE} == "i386" \
     37  1.50     lukem 	|| ${MACHINE} == "macppc" \
     38  1.50     lukem 	|| ${MACHINE} == "netwinder" \
     39  1.50     lukem 	|| ${MACHINE} == "playstation2" \
     40  1.50     lukem 	|| ${MACHINE} == "prep" \
     41  1.50     lukem 	|| ${MACHINE} == "shark" \
     42  1.50     lukem     )
     43  1.34      shin # use MBR partition info
     44  1.34      shin CPPFLAGS+= -DUSE_MBR
     45  1.50     lukem # preserve the non-disklabel portions of the first 8KB of the disk
     46  1.35      shin CPPFLAGS+= -DSAVEBOOTAREA
     47  1.50     lukem # recognize old MBR partition ID for a while
     48  1.50     lukem CPPFLAGS+= -DCOMPAT_386BSD_MBRPART
     49  1.41     bjh21 .endif
     50  1.41     bjh21 
     51  1.42     bjh21 .if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26")
     52  1.41     bjh21 # Support FileCore boot block
     53  1.41     bjh21 CPPFLAGS+= -DUSE_ACORN
     54  1.34      shin .endif
     55  1.34      shin 
     56   1.1       cgd .include <bsd.prog.mk>
     57