LIBPRIV: Add common PRIVATELIB_LDFLAGS definitions.
[dragonfly.git] / usr.bin / openssl / Makefile
blob464bd9275499615c36610fce2f821159a60804f4
1 # $FreeBSD: src/secure/usr.bin/openssl/Makefile,v 1.11.2.6 2003/02/14 22:38:22 nectar Exp $
3 PROG= openssl
4 WARNS?= 2
6 .include "Makefile.man"
7 .include "${.CURDIR}/../../lib/librecrypto/Makefile.inc"
9 DPADD+= ${LIBRESSL} ${LIBRECRYPTO}
10 LDADD+= -lprivate_ssl -lprivate_crypto
11 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
12 CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include
13 CFLAGS+= -DMONOLITH -I${.CURDIR}
15 SRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c cms.c crl.c \
16 crl2p7.c dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c \
17 errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c \
18 openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c \
19 pkeyutl.c prime.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \
20 s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c spkac.c ts.c \
21 verify.c version.c x509.c
23 .include <bsd.prog.mk>
25 .PATH: ${LIBRESSL_SRC}/apps/openssl \
26 ${.CURDIR}/man