2012-03-17 20:33:10 +04:00
|
|
|
# $NetBSD: Makefile,v 1.1 2012/03/17 16:33:11 jruoho Exp $
|
2007-11-12 18:13:58 +03:00
|
|
|
|
|
|
|
NOMAN= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2012-03-17 20:33:10 +04:00
|
|
|
TESTSDIR= ${TESTSBASE}/bin/df
|
2007-11-21 18:39:33 +03:00
|
|
|
|
2007-11-12 18:13:58 +03:00
|
|
|
TESTS_SH= t_df
|
|
|
|
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
PROG= h_df
|
|
|
|
.PATH: ${NETBSDSRCDIR}/bin/df
|
2011-08-28 13:02:51 +04:00
|
|
|
SRCS= df.c getmntinfo.c
|
|
|
|
|
|
|
|
LDADD+= -lutil
|
|
|
|
DPADD+= ${LIBUTIL}
|
2007-11-12 18:13:58 +03:00
|
|
|
|
|
|
|
# Pass -DINTREE to make to test using humanize_number.c in source tree
|
|
|
|
# directly instead of the one in libc.
|
|
|
|
.if defined(INTREE)
|
|
|
|
.PATH: ${NETBSDSRCDIR}/lib/libc/gen
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include
|
|
|
|
SRCS+= humanize_number.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.test.mk>
|