8ab7717e28
/usr/sbin/mtree by default. Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked as /usr/sbin/mtree as well as /usr/sbin/nmtree.
28 lines
503 B
Makefile
28 lines
503 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/cksum
|
|
|
|
PROG= fmtree
|
|
MAN= fmtree.8 mtree.5
|
|
SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
|
|
SRCS+= specspec.c
|
|
|
|
CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
|
|
DPADD= ${LIBMD}
|
|
LDADD= -lmd
|
|
|
|
.if ${MK_NMTREE} == "no"
|
|
LINKS= ${BINDIR}/fmtree ${BINDIR}/mtree
|
|
MLINKS= fmtree.8 mtree.8
|
|
.endif
|
|
|
|
CLEANFILES+= fmtree.8
|
|
|
|
fmtree.8: mtree.8
|
|
cp ${.ALLSRC} ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|