1 # $NetBSD: Makefile,v 1.22 2002/04/03 03:17:36 thorpej 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} == "arc" || \ 14 ${MACHINE} == "prep" || \ 15 ${MACHINE} == "playstation2" || \ 16 ${MACHINE} == "mvmeppc" || \ 17 ${MACHINE} == "netwinder") 18 PROG= fdisk 19 SRCS= fdisk.c 20 DPADD+= ${LIBUTIL} 21 LDADD+= -lutil 22 .endif 23 24 MAN= fdisk.8 25 26 .if ${MACHINE} == "arc" 27 CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"' 28 .endif 29 30 .if ${MACHINE} == "netwinder" 31 CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"' 32 .endif 33 34 .include <bsd.prog.mk> 35 .include <bsd.subdir.mk> 36