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