mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
27 lines
563 B
Makefile
27 lines
563 B
Makefile
# $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 \
|
|
spec.c specspec.c verify.c
|
|
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}
|
|
|
|
nmtree.8: mtree.8
|
|
cp ${.ALLSRC} ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|