diff options
Diffstat (limited to 'bin/df/Makefile')
-rw-r--r-- | bin/df/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bin/df/Makefile b/bin/df/Makefile new file mode 100644 index 0000000000000..1a65f60a67a6f --- /dev/null +++ b/bin/df/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2012/03/17 16:33:11 jruoho Exp $ + +NOMAN= # defined + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/bin/df + +TESTS_SH= t_df + +BINDIR= ${TESTSDIR} +PROG= h_df +.PATH: ${NETBSDSRCDIR}/bin/df +SRCS= df.c getmntinfo.c + +LDADD+= -lutil +DPADD+= ${LIBUTIL} + +# 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> |