56695221dd
In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
32 lines
676 B
Makefile
32 lines
676 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../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
|
|
DPADD+= ${LIBMD} ${LIBUTIL}
|
|
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
|
|
DPADD+= ${LIBNETBSD}
|
|
LDADD+= ${LIBNETBSD}
|
|
|
|
LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree
|
|
MLINKS= mtree.8 nmtree.8
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|