2012-12-21 21:00:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-10-09 00:32:33 +00:00
|
|
|
.include <src.opts.mk>
|
2012-12-21 21:00:00 +00:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/mtree
|
|
|
|
|
2014-01-30 21:25:01 +00:00
|
|
|
PROG= mtree
|
2014-01-30 21:32:25 +00:00
|
|
|
MAN= mtree.5 mtree.8
|
2012-12-21 21:00:00 +00:00
|
|
|
SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
|
2013-04-09 06:50:11 +00:00
|
|
|
only.c spec.c specspec.c verify.c
|
2012-12-21 21:00:00 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/mknod
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/mknod
|
|
|
|
SRCS+= pack_dev.c
|
|
|
|
|
2014-11-25 01:12:57 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
|
2014-11-25 16:57:27 +00:00
|
|
|
LIBADD= netbsd md util
|
2012-12-21 21:00:00 +00:00
|
|
|
|
2014-01-30 21:25:01 +00:00
|
|
|
LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
|
|
|
|
MLINKS= mtree.8 nmtree.8
|
2012-12-21 21:00:00 +00:00
|
|
|
|
2014-10-09 00:32:33 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
SUBDIR+= tests
|
|
|
|
.endif
|
|
|
|
|
2012-12-21 21:00:00 +00:00
|
|
|
.include <bsd.prog.mk>
|