NetBSD/sbin/fdisk/Makefile

29 lines
510 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.42 2012/05/05 16:03:55 tsutsui Exp $
1997-06-23 08:23:46 +04:00
PROG= fdisk
SRCS= fdisk.c
1994-12-22 13:44:04 +03:00
MAN= fdisk.8
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -DBOOTSEL
.if (${HOSTPROG:U} == "")
CPPFLAGS+= -DUSE_DISKLIST
.endif
.endif
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>
.if (${HOSTPROG:U} == "")
DPADD+= ${LIBUTIL} ${LIBZ}
LDADD+= -lutil -lz
.endif