1 1.27 fvdl # $NetBSD: Makefile,v 1.27 2003/04/26 19:10:09 fvdl Exp $ 2 1.1 cgd 3 1.12 ross SUBDIR= mbr 4 1.27 fvdl .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 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.25 manu ${MACHINE} == "hpcarm" || \ 13 1.22 thorpej ${MACHINE} == "hpcmips" || \ 14 1.23 uch ${MACHINE} == "hpcsh" || \ 15 1.22 thorpej ${MACHINE} == "arc" || \ 16 1.22 thorpej ${MACHINE} == "prep" || \ 17 1.22 thorpej ${MACHINE} == "playstation2" || \ 18 1.22 thorpej ${MACHINE} == "mvmeppc" || \ 19 1.24 itojun ${MACHINE} == "netwinder" || \ 20 1.26 fvdl ${MACHINE} == "macppc" || \ 21 1.27 fvdl ${MACHINE} == "amd64") 22 1.1 cgd PROG= fdisk 23 1.1 cgd SRCS= fdisk.c 24 1.9 lukem DPADD+= ${LIBUTIL} 25 1.9 lukem LDADD+= -lutil 26 1.10 ws .endif 27 1.5 mrg 28 1.3 cgd MAN= fdisk.8 29 1.17 soda 30 1.17 soda .if ${MACHINE} == "arc" 31 1.17 soda CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"' 32 1.22 thorpej .endif 33 1.22 thorpej 34 1.22 thorpej .if ${MACHINE} == "netwinder" 35 1.22 thorpej CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"' 36 1.17 soda .endif 37 1.1 cgd 38 1.1 cgd .include <bsd.prog.mk> 39 1.10 ws .include <bsd.subdir.mk> 40