NetBSD/sbin/fdisk/Makefile
tsutsui fcf4b7e0c1 Remove fdisk/mbr for macppc which was blindly pulled from OpenBSD.
It just fakes MBR partition map which contains 1MB FAT16B partition
and ~1GB OpenBSD partition, and we can always create necessary
MBR partitions for OpenFirmware by the fdisk(8) command itself.
2009-11-27 15:37:32 +00:00

22 lines
361 B
Makefile

# $NetBSD: Makefile,v 1.41 2009/11/27 15:37:32 tsutsui Exp $
PROG= fdisk
SRCS= fdisk.c
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>
.if (${HOSTPROG:U} == "")
DPADD+= ${LIBUTIL} ${LIBZ}
LDADD+= -lutil -lz
.endif