2009-11-27 18:37:32 +03:00
|
|
|
# $NetBSD: Makefile,v 1.41 2009/11/27 15:37:32 tsutsui Exp $
|
1997-06-23 08:23:46 +04:00
|
|
|
|
1993-04-09 23:23:56 +04:00
|
|
|
PROG= fdisk
|
|
|
|
SRCS= fdisk.c
|
1997-09-14 17:52:26 +04:00
|
|
|
|
1994-12-22 13:44:04 +03:00
|
|
|
MAN= fdisk.8
|
1993-04-09 23:23:56 +04:00
|
|
|
|
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
|
|
|
|
|
1993-04-09 23:23:56 +04:00
|
|
|
.include <bsd.prog.mk>
|
2006-05-12 03:16:28 +04:00
|
|
|
|
2005-06-12 23:14:10 +04:00
|
|
|
.if (${HOSTPROG:U} == "")
|
2009-06-01 23:57:33 +04:00
|
|
|
DPADD+= ${LIBUTIL} ${LIBZ}
|
|
|
|
LDADD+= -lutil -lz
|
2005-06-12 23:14:10 +04:00
|
|
|
.endif
|