Changeset View
Changeset View
Standalone View
Standalone View
bin/df/Makefile
# $NetBSD: Makefile,v 1.1 2012/03/17 16:33:11 jruoho Exp $ | # $NetBSD: Makefile,v 1.2 2019/08/15 08:24:11 kamil Exp $ | ||||
NOMAN= # defined | NOMAN= # defined | ||||
.include <bsd.own.mk> | .include <bsd.own.mk> | ||||
TESTSDIR= ${TESTSBASE}/bin/df | TESTSDIR= ${TESTSBASE}/bin/df | ||||
TESTS_SH= t_df | TESTS_SH= t_df | ||||
BINDIR= ${TESTSDIR} | BINDIR= ${TESTSDIR} | ||||
PROG= h_df | PROG= h_df | ||||
.PATH: ${NETBSDSRCDIR}/bin/df | .PATH: ${NETBSDSRCDIR}/bin/df | ||||
SRCS= df.c getmntinfo.c | SRCS= df.c getmntinfo.c | ||||
LDADD+= -lutil | LDADD+= -lutil | ||||
DPADD+= ${LIBUTIL} | DPADD+= ${LIBUTIL} | ||||
# Pass -DINTREE to make to test using humanize_number.c in source tree | # Pass -DINTREE to make to test using humanize_number.c in source tree | ||||
# directly instead of the one in libc. | # directly instead of the one in libc. | ||||
.if defined(INTREE) | .if defined(INTREE) | ||||
.PATH: ${NETBSDSRCDIR}/lib/libc/gen | .PATH: ${NETBSDSRCDIR}/lib/libc/gen | ||||
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include | CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include | ||||
SRCS+= humanize_number.c | SRCS+= humanize_number.c | ||||
.endif | .endif | ||||
SANITIZER_RENAME_SYMBOL+= __getmntinfo13 | |||||
.include <bsd.test.mk> | .include <bsd.test.mk> |