1 1.24 itojun # $NetBSD: Makefile,v 1.24 2002/06/17 15:11:46 itojun Exp $ 2 1.1 cgd 3 1.12 ross SUBDIR= mbr 4 1.14 enami .if ${MACHINE} == "i386" 5 1.14 enami SUBDIR+= mbr_bootsel 6 1.14 enami .endif 7 1.5 mrg 8 1.22 thorpej .if (${MACHINE} == "i386" || \ 9 1.22 thorpej ${MACHINE} == "bebox" || \ 10 1.22 thorpej ${MACHINE} == "cobalt" || \ 11 1.22 thorpej ${MACHINE} == "ofppc" || \ 12 1.22 thorpej ${MACHINE} == "hpcmips" || \ 13 1.23 uch ${MACHINE} == "hpcsh" || \ 14 1.22 thorpej ${MACHINE} == "arc" || \ 15 1.22 thorpej ${MACHINE} == "prep" || \ 16 1.22 thorpej ${MACHINE} == "playstation2" || \ 17 1.22 thorpej ${MACHINE} == "mvmeppc" || \ 18 1.24 itojun ${MACHINE} == "netwinder" || \ 19 1.24 itojun ${MACHINE} == "macppc") 20 1.1 cgd PROG= fdisk 21 1.1 cgd SRCS= fdisk.c 22 1.9 lukem DPADD+= ${LIBUTIL} 23 1.9 lukem LDADD+= -lutil 24 1.10 ws .endif 25 1.5 mrg 26 1.3 cgd MAN= fdisk.8 27 1.17 soda 28 1.17 soda .if ${MACHINE} == "arc" 29 1.17 soda CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"' 30 1.22 thorpej .endif 31 1.22 thorpej 32 1.22 thorpej .if ${MACHINE} == "netwinder" 33 1.22 thorpej CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"' 34 1.17 soda .endif 35 1.1 cgd 36 1.1 cgd .include <bsd.prog.mk> 37 1.10 ws .include <bsd.subdir.mk> 38