NetBSD/sbin/fdisk/Makefile

25 lines
548 B
Makefile
Raw Normal View History

2001-10-15 20:22:50 +04:00
# $NetBSD: Makefile,v 1.20 2001/10/15 16:22:53 uch Exp $
SUBDIR= mbr
.if ${MACHINE} == "i386"
SUBDIR+= mbr_bootsel
.endif
1997-06-23 08:23:46 +04:00
2000-03-20 02:01:07 +03:00
.if (${MACHINE} == "i386" || ${MACHINE} == "bebox" || ${MACHINE} == "cobalt" ||\
2000-05-02 22:20:41 +04:00
${MACHINE} == "ofppc" || ${MACHINE} == "hpcmips" || ${MACHINE} == "arc" ||\
2001-10-15 20:22:50 +04:00
${MACHINE} == "prep" || ${MACHINE} == "playstation2")
PROG= fdisk
SRCS= fdisk.c
DPADD+= ${LIBUTIL}
LDADD+= -lutil
1998-10-15 19:23:23 +04:00
.endif
1994-12-22 13:44:04 +03:00
MAN= fdisk.8
2000-01-31 18:54:48 +03:00
.if ${MACHINE} == "arc"
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
.endif
.include <bsd.prog.mk>
1998-10-15 19:23:23 +04:00
.include <bsd.subdir.mk>