1# $NetBSD: Makefile,v 1.1 2012/03/17 16:33:11 jruoho Exp $ 2 3NOMAN= # defined 4 5.include <bsd.own.mk> 6 7TESTSDIR= ${TESTSBASE}/bin/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