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