1 2.include <src.opts.mk> 3 4LIB= ssl 5SHLIB_MAJOR= 30 6VERSION_MAP= ${.CURDIR}/Version.map 7PACKAGE= openssl-lib 8 9NO_LINT= 10 11PCFILES= libssl.pc openssl.pc 12 13.include "../libcrypto/Makefile.inc" 14 15SRCS= bio_ssl.c d1_lib.c d1_msg.c d1_srtp.c methods.c pqueue.c 16SRCS+= s3_cbc.c s3_enc.c s3_lib.c s3_msg.c ssl_asn1.c ssl_cert.c ssl_ciph.c 17SRCS+= ssl_conf.c ssl_err.c ssl_err_legacy.c ssl_init.c ssl_lib.c ssl_mcnf.c 18SRCS+= ssl_rsa.c ssl_rsa_legacy.c ssl_sess.c ssl_stat.c ssl_txt.c ssl_utst.c 19SRCS+= t1_enc.c t1_lib.c t1_trce.c tls_depr.c tls_srp.c tls13_enc.c 20 21# crypto 22SRCS+= packet.c sparse_array.c 23 24# record 25SRCS+= dtls1_bitmap.c rec_layer_d1.c rec_layer_s3.c ssl3_buffer.c 26SRCS+= ssl3_record.c ssl3_record_tls13.c tls_pad.c 27 28# statem 29SRCS+= extensions.c extensions_clnt.c extensions_cust.c extensions_srvr.c 30SRCS+= statem.c statem_clnt.c statem_dtls.c statem_lib.c statem_srvr.c 31 32.if ${MK_OPENSSL_KTLS} != "no" 33SRCS+= ktls.c 34.else 35CFLAGS+=-DOPENSSL_NO_KTLS 36.endif 37 38LIBADD= crypto 39 40CFLAGS+= -I${LCRYPTO_SRC}/ssl 41CFLAGS+= -I${.OBJDIR:H}/libcrypto 42 43.include <bsd.lib.mk> 44 45PICFLAG+= -DOPENSSL_PIC 46 47.PATH: ${LCRYPTO_SRC}/crypto \ 48 ${LCRYPTO_SRC}/ssl \ 49 ${LCRYPTO_SRC}/ssl/record \ 50 ${LCRYPTO_SRC}/ssl/statem 51