| @@ -1,29 +1,27 @@ | | | @@ -1,29 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.4 2011/08/28 09:02:51 mbalmer Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2011/08/28 09:39:44 christos Exp $ |
2 | | | 2 | |
3 | NOMAN= # defined | | 3 | NOMAN= # defined |
4 | | | 4 | |
5 | .include <bsd.own.mk> | | 5 | .include <bsd.own.mk> |
6 | | | 6 | |
7 | TESTSDIR= ${TESTSBASE}/util/df | | 7 | TESTSDIR= ${TESTSBASE}/util/df |
8 | | | 8 | |
9 | TESTS_SH= t_df | | 9 | TESTS_SH= t_df |
10 | | | 10 | |
11 | BINDIR= ${TESTSDIR} | | 11 | BINDIR= ${TESTSDIR} |
12 | PROG= h_df | | 12 | PROG= h_df |
13 | .PATH: ${NETBSDSRCDIR}/bin/df | | 13 | .PATH: ${NETBSDSRCDIR}/bin/df |
14 | SRCS= df.c getmntinfo.c | | 14 | SRCS= df.c getmntinfo.c |
15 | | | 15 | |
16 | LDADD+= -lutil | | 16 | LDADD+= -lutil |
17 | DPADD+= ${LIBUTIL} | | 17 | DPADD+= ${LIBUTIL} |
18 | | | 18 | |
19 | # Pass -DINTREE to make to test using humanize_number.c in source tree | | 19 | # Pass -DINTREE to make to test using humanize_number.c in source tree |
20 | # directly instead of the one in libc. | | 20 | # directly instead of the one in libc. |
21 | .if defined(INTREE) | | 21 | .if defined(INTREE) |
22 | .PATH: ${NETBSDSRCDIR}/lib/libc/gen | | 22 | .PATH: ${NETBSDSRCDIR}/lib/libc/gen |
23 | CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include | | 23 | CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include |
24 | SRCS+= humanize_number.c | | 24 | SRCS+= humanize_number.c |
25 | .endif | | 25 | .endif |
26 | | | 26 | |
27 | COPTS.strpct.c += -Wno-format-nonliteral | | | |
28 | | | | |
29 | .include <bsd.test.mk> | | 27 | .include <bsd.test.mk> |