Normalize libcrypto and libssl DPADD variable names and adjust Makefiles.
[dragonfly.git] / usr.sbin / mtree / Makefile
1 #       From: @(#)Makefile      8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.sbin/mtree/Makefile,v 1.15.2.5 2001/09/24 15:44:22 ru Exp $
3
4 .PATH: ${.CURDIR}/../../usr.bin/cksum
5 .PATH: ${.CURDIR}/../../sbin/md5
6
7 PROG=   mtree
8 MAN=    mtree.8
9 SRCS=   compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
10
11 .if !defined(BOOTSTRAPPING)
12 SRCS+=  sha1hl.c
13 CFLAGS+= -DUSE_MD5 -DUSE_SHA1 -DUSE_RMD160
14 DPADD=  ${LIBMD} ${LIBCRYPTO}
15 LDADD=  -lmd -lprivate_crypto
16 LDFLAGS+=       ${PRIVATELIB_LDFLAGS}
17 CFLAGS+=        -I${.CURDIR}/../../crypto/libressl/include
18 .endif
19
20 .include <bsd.prog.mk>