1# $FreeBSD: head/usr.sbin/nmtree/Makefile 275002 2014-11-25 01:12:57Z bapt $
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
18CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
19LIBADD= netbsd
20
21LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
22MLINKS= mtree.8 nmtree.8
23
24.if ${MK_TESTS} != "no"
25SUBDIR+= tests
26.endif
27
28.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
18CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
19LIBADD= netbsd
20
21LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
22MLINKS= mtree.8 nmtree.8
23
24.if ${MK_TESTS} != "no"
25SUBDIR+= tests
26.endif
27
28.include <bsd.prog.mk>