Home | History | Annotate | Line # | Download | only in fdisk
Makefile revision 1.24
      1 #	$NetBSD: Makefile,v 1.24 2002/06/17 15:11:46 itojun 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} == "hpcmips" || \
     13      ${MACHINE} == "hpcsh" || \
     14      ${MACHINE} == "arc" || \
     15      ${MACHINE} == "prep" || \
     16      ${MACHINE} == "playstation2" || \
     17      ${MACHINE} == "mvmeppc" || \
     18      ${MACHINE} == "netwinder" || \
     19      ${MACHINE} == "macppc")
     20 PROG=	fdisk 
     21 SRCS=	fdisk.c
     22 DPADD+=	${LIBUTIL}
     23 LDADD+=	-lutil
     24 .endif
     25 
     26 MAN=	fdisk.8
     27 
     28 .if ${MACHINE} == "arc"
     29 CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
     30 .endif
     31 
     32 .if ${MACHINE} == "netwinder"
     33 CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
     34 .endif
     35 
     36 .include <bsd.prog.mk>
     37 .include <bsd.subdir.mk>
     38