1 1.30 xtraeme # $NetBSD: Makefile,v 1.30 2005/01/20 16:01:02 xtraeme Exp $ 2 1.1 cgd 3 1.12 ross SUBDIR= mbr 4 1.5 mrg 5 1.30 xtraeme WARNS= 2 6 1.30 xtraeme 7 1.22 thorpej .if (${MACHINE} == "i386" || \ 8 1.22 thorpej ${MACHINE} == "bebox" || \ 9 1.22 thorpej ${MACHINE} == "cobalt" || \ 10 1.22 thorpej ${MACHINE} == "ofppc" || \ 11 1.25 manu ${MACHINE} == "hpcarm" || \ 12 1.22 thorpej ${MACHINE} == "hpcmips" || \ 13 1.23 uch ${MACHINE} == "hpcsh" || \ 14 1.29 gavan ${MACHINE} == "iyonix" || \ 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