1# This version of libressl is from LibreSSL 2.include "../librecrypto/Makefile.inc" 3 4LIB= private_ssl 5SHLIB_MAJOR= 48 6PRIVATELIB= shpub 7 8SHLIBDIR?= /lib 9WARNS?= 2 10 11CFLAGS+= -DLIBRESSL_INTERNAL 12 13# from vendor makefile 14SRCS= bio_ssl.c bs_cbb.c bs_cbs.c \ 15 d1_both.c d1_clnt.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_kex.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 \ 23 tls12_record_layer.c \ 24 tls13_buffer.c tls13_client.c tls13_error.c \ 25 tls13_handshake.c tls13_handshake_msg.c tls13_key_schedule.c \ 26 tls13_key_share.c tls13_legacy.c tls13_lib.c tls13_record.c \ 27 tls13_record_layer.c tls13_server.c 28 29# not referenced: 30# bs_ber.c 31 32INCS= cms.h dtls1.h srtp.h ssl.h ssl2.h ssl23.h ssl3.h tls1.h 33INCSDIR= ${INCLUDEDIR}/priv/openssl 34 35LDADD= -lprivate_crypto 36DPADD= ${LIBCRYPTO} 37LDFLAGS+= ${PRIVATELIB_LDFLAGS} 38 39.PATH: ${LSSL_SRC} ${LIBRESSL_SRC}/include/openssl 40 41.include <bsd.lib.mk> 42