NetBSD/tests/util/df/Makefile
2011-08-17 16:57:13 +00:00

28 lines
598 B
Makefile

# $NetBSD: Makefile,v 1.3 2011/08/17 17:08:59 christos Exp $
NOMAN= # defined
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/util/df
TESTS_SH= t_df
BINDIR= ${TESTSDIR}
PROG= h_df
.PATH: ${NETBSDSRCDIR}/bin/df
.PATH: ${NETBSDSRCDIR}/bin/csh
SRCS= df.c strpct.c getmntinfo.c
# 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
COPTS.strpct.c += -Wno-format-nonliteral
.include <bsd.test.mk>