Home | History | Annotate | Line # | Download | only in disklabel
Makefile revision 1.64
      1  1.64   tsutsui #	$NetBSD: Makefile,v 1.64 2009/11/28 12:14:53 tsutsui Exp $
      2  1.15       cgd #	@(#)Makefile	8.2 (Berkeley) 3/17/94
      3   1.1       cgd 
      4   1.1       cgd PROG=	disklabel
      5  1.55    dyoung SRCS=	main.c dkcksum.c interact.c printlabel.c
      6  1.12       cgd MAN=	disklabel.5 disklabel.8
      7  1.57      fvdl .if (${HOSTPROG:U} == "")
      8  1.57      fvdl DPADD+= ${LIBUTIL}
      9  1.20  christos LDADD+= -lutil
     10  1.57      fvdl .endif
     11   1.9   hpeyerl 
     12  1.32    kleink # these have additional requirements on the alignment of a partition
     13  1.62       abs .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") \
     14  1.31        pk 	|| (${MACHINE} == "sun3")
     15  1.31        pk CPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT
     16  1.33       cgd .endif
     17  1.33       cgd 
     18  1.50     lukem .if ( 0 \
     19  1.50     lukem 	|| ${MACHINE} == "acorn26" \
     20  1.50     lukem 	|| ${MACHINE} == "acorn32" \
     21  1.50     lukem 	|| ${MACHINE} == "amd64" \
     22  1.50     lukem 	|| ${MACHINE} == "arc" \
     23  1.50     lukem 	|| ${MACHINE} == "cats" \
     24  1.50     lukem 	|| ${MACHINE} == "cobalt" \
     25  1.63   tsutsui 	|| ${MACHINE} == "dreamcast" \
     26  1.50     lukem 	|| ${MACHINE} == "evbarm" \
     27  1.63   tsutsui 	|| ${MACHINE} == "evbsh3" \
     28  1.50     lukem 	|| ${MACHINE} == "hpcarm" \
     29  1.50     lukem 	|| ${MACHINE} == "hpcmips" \
     30  1.61   aymeric 	|| ${MACHINE} == "hpcsh" \
     31  1.50     lukem 	|| ${MACHINE} == "i386" \
     32  1.52     gavan 	|| ${MACHINE} == "iyonix" \
     33  1.59       uwe 	|| ${MACHINE} == "landisk" \
     34  1.50     lukem 	|| ${MACHINE} == "macppc" \
     35  1.63   tsutsui 	|| ${MACHINE} == "mmeye" \
     36  1.50     lukem 	|| ${MACHINE} == "netwinder" \
     37  1.50     lukem 	|| ${MACHINE} == "playstation2" \
     38  1.50     lukem 	|| ${MACHINE} == "prep" \
     39  1.50     lukem 	|| ${MACHINE} == "shark" \
     40  1.60    nonaka 	|| ${MACHINE} == "zaurus" \
     41  1.50     lukem     )
     42  1.34      shin # use MBR partition info
     43  1.34      shin CPPFLAGS+= -DUSE_MBR
     44  1.50     lukem # recognize old MBR partition ID for a while
     45  1.50     lukem CPPFLAGS+= -DCOMPAT_386BSD_MBRPART
     46  1.41     bjh21 .endif
     47  1.41     bjh21 
     48  1.42     bjh21 .if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26")
     49  1.41     bjh21 # Support FileCore boot block
     50  1.41     bjh21 CPPFLAGS+= -DUSE_ACORN
     51  1.34      shin .endif
     52  1.34      shin 
     53  1.64   tsutsui .if (${MACHINE_ARCH} == "alpha")
     54  1.64   tsutsui # alpha requires boot block checksum
     55  1.64   tsutsui CPPFLAGS+= -DALPHA_BOOTBLOCK_CKSUM
     56  1.64   tsutsui .endif
     57  1.64   tsutsui 
     58  1.64   tsutsui .if (${MACHINE_ARCH} == "vax")
     59  1.64   tsutsui # vax requires labels in alternative sectors on SMD disk
     60  1.64   tsutsui CPPFLAGS+= -DVAX_ALTLABELS
     61  1.64   tsutsui .endif
     62  1.64   tsutsui 
     63   1.1       cgd .include <bsd.prog.mk>
     64