2000-01-31 18:54:48 +03:00
|
|
|
# $NetBSD: Makefile,v 1.17 2000/01/31 15:54:48 soda Exp $
|
1993-04-09 23:23:56 +04:00
|
|
|
|
1999-05-02 08:42:47 +04:00
|
|
|
SUBDIR= mbr
|
1999-09-25 08:18:20 +04:00
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
SUBDIR+= mbr_bootsel
|
|
|
|
.endif
|
1997-06-23 08:23:46 +04:00
|
|
|
|
1999-09-25 08:27:55 +04:00
|
|
|
.if (${MACHINE} == "i386" || ${MACHINE} == "bebox" || \
|
2000-01-31 18:54:48 +03:00
|
|
|
${MACHINE} == "ofppc" || ${MACHINE} == "hpcmips" || ${MACHINE} == "arc")
|
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
|
|
|
|
|
1993-04-09 23:23:56 +04:00
|
|
|
.include <bsd.prog.mk>
|
1998-10-15 19:23:23 +04:00
|
|
|
.include <bsd.subdir.mk>
|