NetBSD/sbin/fdisk/Makefile

38 lines
851 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2005/01/20 16:39:23 xtraeme Exp $
SUBDIR= mbr
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" || \
2002-07-26 21:22:51 +04:00
${MACHINE} == "hpcarm" || \
2002-04-03 07:17:36 +04:00
${MACHINE} == "hpcmips" || \
2002-05-09 22:16:16 +04:00
${MACHINE} == "hpcsh" || \
${MACHINE} == "iyonix" || \
2002-04-03 07:17:36 +04:00
${MACHINE} == "arc" || \
${MACHINE} == "prep" || \
${MACHINE} == "playstation2" || \
${MACHINE} == "mvmeppc" || \
${MACHINE} == "netwinder" || \
2002-11-24 02:45:51 +03:00
${MACHINE} == "macppc" || \
2003-04-26 23:02:50 +04:00
${MACHINE} == "amd64")
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>