NetBSD/sbin/fdisk/Makefile

38 lines
805 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2002/06/17 15:11:46 itojun Exp $
SUBDIR= mbr
.if ${MACHINE} == "i386"
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" || \
${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" || \
${MACHINE} == "netwinder" || \
${MACHINE} == "macppc")
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
2002-04-03 07:17:36 +04:00
.if ${MACHINE} == "netwinder"
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
.endif
.include <bsd.prog.mk>
1998-10-15 19:23:23 +04:00
.include <bsd.subdir.mk>