1# $FreeBSD: head/usr.sbin/nmtree/Makefile 274998 2014-11-25 00:07:56Z delphij $
2
3.include <src.opts.mk>
4
5.PATH: ${.CURDIR}/../../contrib/mtree
6
7PROG= mtree
8MAN= mtree.5 mtree.8
9SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
10 only.c spec.c specspec.c verify.c
11DPADD+= ${LIBMD} ${LIBUTIL}
12LDADD+= -lmd -lutil
13
14CFLAGS+= -I${.CURDIR}/../../contrib/mknod
15.PATH: ${.CURDIR}/../../contrib/mknod
16SRCS+= pack_dev.c
17
18LIBADD= netbsd
19
20LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
21MLINKS= mtree.8 nmtree.8
22
23.if ${MK_TESTS} != "no"
24SUBDIR+= tests
25.endif
26
27.include <bsd.prog.mk>
2
3.include <src.opts.mk>
4
5.PATH: ${.CURDIR}/../../contrib/mtree
6
7PROG= mtree
8MAN= mtree.5 mtree.8
9SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \
10 only.c spec.c specspec.c verify.c
11DPADD+= ${LIBMD} ${LIBUTIL}
12LDADD+= -lmd -lutil
13
14CFLAGS+= -I${.CURDIR}/../../contrib/mknod
15.PATH: ${.CURDIR}/../../contrib/mknod
16SRCS+= pack_dev.c
17
18LIBADD= netbsd
19
20LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
21MLINKS= mtree.8 nmtree.8
22
23.if ${MK_TESTS} != "no"
24SUBDIR+= tests
25.endif
26
27.include <bsd.prog.mk>