1#	$NetBSD: Makefile,v 1.4 2011/08/28 09:02:51 mbalmer Exp $
2
3NOMAN=  	# defined
4
5.include <bsd.own.mk>
6
7TESTSDIR=	${TESTSBASE}/util/df
8
9TESTS_SH=	t_df
10
11BINDIR=		${TESTSDIR}
12PROG=		h_df
13.PATH:  	${NETBSDSRCDIR}/bin/df
14SRCS=		df.c getmntinfo.c
15
16LDADD+=		-lutil
17DPADD+=		${LIBUTIL}
18
19# Pass -DINTREE to make to test using humanize_number.c in source tree
20# directly instead of the one in libc.
21.if defined(INTREE)
22.PATH:		${NETBSDSRCDIR}/lib/libc/gen
23CPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libc/include
24SRCS+=		humanize_number.c
25.endif
26
27.include <bsd.test.mk>
28