xref: /netbsd/sbin/fdisk/Makefile (revision bf9ec67e)
1#	$NetBSD: Makefile,v 1.23 2002/05/09 18:16:16 uch Exp $
2
3SUBDIR=	mbr
4.if ${MACHINE} == "i386"
5SUBDIR+= mbr_bootsel
6.endif
7
8.if (${MACHINE} == "i386" || \
9     ${MACHINE} == "bebox" || \
10     ${MACHINE} == "cobalt" || \
11     ${MACHINE} == "ofppc" || \
12     ${MACHINE} == "hpcmips" || \
13     ${MACHINE} == "hpcsh" || \
14     ${MACHINE} == "arc" || \
15     ${MACHINE} == "prep" || \
16     ${MACHINE} == "playstation2" || \
17     ${MACHINE} == "mvmeppc" || \
18     ${MACHINE} == "netwinder")
19PROG=	fdisk
20SRCS=	fdisk.c
21DPADD+=	${LIBUTIL}
22LDADD+=	-lutil
23.endif
24
25MAN=	fdisk.8
26
27.if ${MACHINE} == "arc"
28CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
29.endif
30
31.if ${MACHINE} == "netwinder"
32CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
33.endif
34
35.include <bsd.prog.mk>
36.include <bsd.subdir.mk>
37