2002-11-24 02:45:51 +03:00
|
|
|
# $NetBSD: Makefile,v 1.26 2002/11/23 23:45:51 fvdl Exp $
|
1993-04-09 23:23:56 +04:00
|
|
|
|
1999-05-02 08:42:47 +04:00
|
|
|
SUBDIR= mbr
|
2002-11-24 02:45:51 +03:00
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "x86_64"
|
1999-09-25 08:18:20 +04:00
|
|
|
SUBDIR+= mbr_bootsel
|
|
|
|
.endif
|
1997-06-23 08:23:46 +04:00
|
|
|
|
2002-04-03 07:17:36 +04:00
|
|
|
.if (${MACHINE} == "i386" || \
|
|
|
|
${MACHINE} == "bebox" || \
|
|
|
|
${MACHINE} == "cobalt" || \
|
|
|
|
${MACHINE} == "ofppc" || \
|
2002-07-26 21:22:51 +04:00
|
|
|
${MACHINE} == "hpcarm" || \
|
2002-04-03 07:17:36 +04:00
|
|
|
${MACHINE} == "hpcmips" || \
|
2002-05-09 22:16:16 +04:00
|
|
|
${MACHINE} == "hpcsh" || \
|
2002-04-03 07:17:36 +04:00
|
|
|
${MACHINE} == "arc" || \
|
|
|
|
${MACHINE} == "prep" || \
|
|
|
|
${MACHINE} == "playstation2" || \
|
|
|
|
${MACHINE} == "mvmeppc" || \
|
2002-06-17 19:11:46 +04:00
|
|
|
${MACHINE} == "netwinder" || \
|
2002-11-24 02:45:51 +03:00
|
|
|
${MACHINE} == "macppc" || \
|
|
|
|
${MACHINE} == "x86_64")
|
1993-04-09 23:23:56 +04:00
|
|
|
PROG= fdisk
|
|
|
|
SRCS= fdisk.c
|
1997-09-25 09:08:28 +04:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
1998-10-15 19:23:23 +04:00
|
|
|
.endif
|
1997-09-14 17:52:26 +04:00
|
|
|
|
1994-12-22 13:44:04 +03:00
|
|
|
MAN= fdisk.8
|
1993-04-09 23:23:56 +04:00
|
|
|
|
2000-01-31 18:54:48 +03:00
|
|
|
.if ${MACHINE} == "arc"
|
|
|
|
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
|
|
|
|
.endif
|
|
|
|
|
2002-04-03 07:17:36 +04:00
|
|
|
.if ${MACHINE} == "netwinder"
|
|
|
|
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
|
|
|
|
.endif
|
|
|
|
|
1993-04-09 23:23:56 +04:00
|
|
|
.include <bsd.prog.mk>
|
1998-10-15 19:23:23 +04:00
|
|
|
.include <bsd.subdir.mk>
|