NetBSD/sbin/fdisk/Makefile

25 lines
390 B
Makefile

# $NetBSD: Makefile,v 1.38 2007/11/29 23:19:25 dsl Exp $
WARS= 4
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} == "")
SUBDIR= mbr
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.include <bsd.subdir.mk>
.endif