1 # $NetBSD: Makefile,v 1.2 2019/08/15 08:24:11 kamil Exp $ 2 3 NOMAN= # defined 4 5 .include <bsd.own.mk> 6 7 TESTSDIR= ${TESTSBASE}/bin/df 8 9 TESTS_SH= t_df 10 11 BINDIR= ${TESTSDIR} 12 PROG= h_df 13 .PATH: ${NETBSDSRCDIR}/bin/df 14 SRCS= df.c getmntinfo.c 15 16 LDADD+= -lutil 17 DPADD+= ${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 23 CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include 24 SRCS+= humanize_number.c 25 .endif 26 27 SANITIZER_RENAME_SYMBOL+= __getmntinfo13 28 29 .include <bsd.test.mk> 30