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