1# This version of openssl(1) is from LibreSSL 2PROG= openssl 3WARNS?= 2 4MAN= openssl.1 openssl.cnf.5 5 6.include "${.CURDIR}/../../lib/librecrypto/Makefile.inc" 7 8CFLAGS+= -DLIBRESSL_INTERNAL 9CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include 10CFLAGS+= -I${.CURDIR} 11 12DPADD+= ${LIBSSL} ${LIBCRYPTO} 13LDADD+= -lprivate_ssl -lprivate_crypto 14LDFLAGS+= ${PRIVATELIB_LDFLAGS} 15 16SRCS= apps_posix.c apps.c asn1pars.c ca.c certhash.c ciphers.c crl2p7.c crl.c \ 17 dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c errstr.c \ 18 gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c openssl.c \ 19 passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c pkeyutl.c \ 20 prime.c rand.c req.c rsa.c rsautl.c \ 21 s_cb.c s_client.c s_server.c s_socket.c s_time.c sess_id.c \ 22 smime.c speed.c spkac.c ts.c verify.c version.c x509.c 23 24.include <bsd.prog.mk> 25 26.PATH: ${LIBRESSL_SRC}/apps/openssl ${LIBRESSL_SRC}/man 27