1# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
2# $FreeBSD: head/usr.sbin/mtree/Makefile 245241 2013-01-09 21:07:08Z brooks $
3
4.include <bsd.own.mk>
5
6.PATH: ${.CURDIR}/../../usr.bin/cksum
7
8PROG= fmtree
9MAN= fmtree.8 mtree.5
10SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
11SRCS+= specspec.c
12
13CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
14DPADD= ${LIBMD}
15LDADD= -lmd
16
17.if ${MK_NMTREE} == "no"
18LINKS= ${BINDIR}/fmtree ${BINDIR}/mtree
19MLINKS= fmtree.8 mtree.8
20.endif
21
22CLEANFILES+= fmtree.8
23
24fmtree.8: mtree.8
25 cp ${.ALLSRC} ${.TARGET}
26
27.include <bsd.prog.mk>
2# $FreeBSD: head/usr.sbin/mtree/Makefile 245241 2013-01-09 21:07:08Z brooks $
3
4.include <bsd.own.mk>
5
6.PATH: ${.CURDIR}/../../usr.bin/cksum
7
8PROG= fmtree
9MAN= fmtree.8 mtree.5
10SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
11SRCS+= specspec.c
12
13CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
14DPADD= ${LIBMD}
15LDADD= -lmd
16
17.if ${MK_NMTREE} == "no"
18LINKS= ${BINDIR}/fmtree ${BINDIR}/mtree
19MLINKS= fmtree.8 mtree.8
20.endif
21
22CLEANFILES+= fmtree.8
23
24fmtree.8: mtree.8
25 cp ${.ALLSRC} ${.TARGET}
26
27.include <bsd.prog.mk>