NetBSD/sbin/fdisk/Makefile
dsl 8defedc8ba Don't descend into mbr_bootsel.
i386/and64 mbr code is built in arch i386/stand/mbr
2003-04-30 19:49:01 +00:00

37 lines
814 B
Makefile

# $NetBSD: Makefile,v 1.28 2003/04/30 19:49:01 dsl Exp $
SUBDIR= mbr
.if (${MACHINE} == "i386" || \
${MACHINE} == "bebox" || \
${MACHINE} == "cobalt" || \
${MACHINE} == "ofppc" || \
${MACHINE} == "hpcarm" || \
${MACHINE} == "hpcmips" || \
${MACHINE} == "hpcsh" || \
${MACHINE} == "arc" || \
${MACHINE} == "prep" || \
${MACHINE} == "playstation2" || \
${MACHINE} == "mvmeppc" || \
${MACHINE} == "netwinder" || \
${MACHINE} == "macppc" || \
${MACHINE} == "amd64")
PROG= fdisk
SRCS= fdisk.c
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.endif
MAN= fdisk.8
.if ${MACHINE} == "arc"
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
.endif
.if ${MACHINE} == "netwinder"
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
.endif
.include <bsd.prog.mk>
.include <bsd.subdir.mk>