Home | History | Annotate | Line # | Download | only in fdisk
Makefile revision 1.25
      1 #	$NetBSD: Makefile,v 1.25 2002/07/26 17:22:51 manu Exp $
      2 
      3 SUBDIR=	mbr
      4 .if ${MACHINE} == "i386"
      5 SUBDIR+= mbr_bootsel
      6 .endif
      7 
      8 .if (${MACHINE} == "i386" || \
      9      ${MACHINE} == "bebox" || \
     10      ${MACHINE} == "cobalt" || \
     11      ${MACHINE} == "ofppc" || \
     12      ${MACHINE} == "hpcarm" || \
     13      ${MACHINE} == "hpcmips" || \
     14      ${MACHINE} == "hpcsh" || \
     15      ${MACHINE} == "arc" || \
     16      ${MACHINE} == "prep" || \
     17      ${MACHINE} == "playstation2" || \
     18      ${MACHINE} == "mvmeppc" || \
     19      ${MACHINE} == "netwinder" || \
     20      ${MACHINE} == "macppc")
     21 PROG=	fdisk 
     22 SRCS=	fdisk.c
     23 DPADD+=	${LIBUTIL}
     24 LDADD+=	-lutil
     25 .endif
     26 
     27 MAN=	fdisk.8
     28 
     29 .if ${MACHINE} == "arc"
     30 CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
     31 .endif
     32 
     33 .if ${MACHINE} == "netwinder"
     34 CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
     35 .endif
     36 
     37 .include <bsd.prog.mk>
     38 .include <bsd.subdir.mk>
     39