1# $NetBSD: Makefile,v 1.2 2019/08/15 08:24:11 kamil 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 27SANITIZER_RENAME_SYMBOL+= __getmntinfo13 28 29.include <bsd.test.mk> 30