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