1# This version of libressl is from LibreSSL 2.include "../librecrypto/Makefile.inc" 3 4LIB= private_ssl 5SHLIB_MAJOR= 47 6PRIVATELIB= shpub 7 8SHLIBDIR?= /lib 9WARNS?= 2 10 11CFLAGS+= -DLIBRESSL_INTERNAL -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS= 12 13# from vendor makefile 14SRCS= bio_ssl.c bs_cbb.c bs_cbs.c \ 15 d1_both.c d1_clnt.c d1_enc.c d1_lib.c d1_pkt.c d1_srtp.c d1_srvr.c \ 16 pqueue.c s3_cbc.c s3_lib.c \ 17 ssl_algs.c ssl_asn1.c ssl_both.c ssl_cert.c ssl_ciph.c ssl_ciphers.c \ 18 ssl_clnt.c ssl_err.c ssl_init.c \ 19 ssl_lib.c ssl_methods.c ssl_packet.c ssl_pkt.c ssl_rsa.c \ 20 ssl_sess.c ssl_sigalgs.c ssl_srvr.c ssl_stat.c \ 21 ssl_tlsext.c ssl_transcript.c ssl_txt.c ssl_versions.c \ 22 t1_enc.c t1_lib.c tls13_key_schedule.c 23 24# not referenced: 25# bs_ber.c tls13_buffer.c tls13_client.c 26# tls13_handshake.c tls13_handshake_msg.c tls13_lib.c 27# tls13_record.c tls13_record_layer.c 28 29INCS= dtls1.h srtp.h ssl.h ssl2.h ssl23.h ssl3.h tls1.h 30INCSDIR= ${INCLUDEDIR}/priv/openssl 31 32LDADD= -lprivate_crypto 33DPADD= ${LIBCRYPTO} 34LDFLAGS+= ${PRIVATELIB_LDFLAGS} 35 36.PATH: ${LSSL_SRC} ${LIBRESSL_SRC}/include/openssl 37 38.include <bsd.lib.mk> 39