40 lines
895 B
Makefile
40 lines
895 B
Makefile
# $NetBSD: Makefile,v 1.26 2002/11/23 23:45:51 fvdl Exp $
|
|
|
|
SUBDIR= mbr
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "x86_64"
|
|
SUBDIR+= mbr_bootsel
|
|
.endif
|
|
|
|
.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} == "x86_64")
|
|
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>
|