freebsd-dev/usr.sbin/nmtree/Makefile
Enji Cooper 4b330699f8 Convert traditional ${MK_TESTS} conditional idiom for including test
directories to SUBDIR.${MK_TESTS} idiom

This is being done to pave the way for future work (and homogenity) in
^/projects/make-check-sandbox .

No functional change intended.

MFC after:	1 weeks
2017-08-02 08:35:51 +00:00

25 lines
475 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
.PATH: ${SRCTOP}/contrib/mtree
PROG= mtree
MAN= mtree.5 mtree.8
SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
only.c spec.c specspec.c verify.c
CFLAGS+= -I${SRCTOP}/contrib/mknod
.PATH: ${SRCTOP}/contrib/mknod
SRCS+= pack_dev.c
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
LIBADD= netbsd md util
LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
MLINKS= mtree.8 nmtree.8
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>