5 .PATH: ${SRCTOP}/contrib/mtree
11 SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
12 only.c spec.c specspec.c verify.c
14 CFLAGS+= -I${SRCTOP}/contrib/mknod
15 .PATH: ${SRCTOP}/contrib/mknod
18 CFLAGS+= -I${SRCTOP}/lib/libnetbsd
19 LIBADD= netbsd md util
21 LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
22 MLINKS= mtree.8 nmtree.8
25 SUBDIR.${MK_TESTS}+= tests
27 .if defined(BOOTSTRAPPING)
28 # Linux glibc has a dummy lchmod that always fails. Don't fail due to
29 # the linker warning that it emits.
33 .include <bsd.prog.mk>