2012-12-21 21:00:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/mtree
|
|
|
|
|
|
|
|
PROG= nmtree
|
|
|
|
MAN= nmtree.8
|
|
|
|
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
|
|
|
LDADD+= -lmd -lutil
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/mknod
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/mknod
|
|
|
|
SRCS+= pack_dev.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
|
|
|
|
LIBNETBSDDIR= ${.OBJDIR}/../../lib/libnetbsd
|
|
|
|
LIBNETBSD= ${LIBNETBSDDIR}/libnetbsd.a
|
2012-12-22 04:53:35 +00:00
|
|
|
DPADD+= ${LIBNETBSD}
|
2012-12-21 21:00:00 +00:00
|
|
|
LDADD+= ${LIBNETBSD}
|
|
|
|
|
2013-01-09 21:07:08 +00:00
|
|
|
.if ${MK_NMTREE} != "no"
|
|
|
|
LINKS= ${BINDIR}/nmtree ${BINDIR}/mtree
|
|
|
|
MLINKS= nmtree.8 mtree.8
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CLEANFILES+= nmtree.8
|
|
|
|
|
2012-12-21 21:00:00 +00:00
|
|
|
nmtree.8: mtree.8
|
|
|
|
cp ${.ALLSRC} ${.TARGET}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|