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 12PCFILES= libssl.pc openssl.pc 13 14.include "../libcrypto/Makefile.inc" 15 16SRCS= bio_ssl.c d1_lib.c d1_msg.c d1_srtp.c methods.c packet.c pqueue.c 17SRCS+= s3_cbc.c s3_enc.c s3_lib.c s3_msg.c ssl_asn1.c ssl_cert.c ssl_ciph.c 18SRCS+= ssl_conf.c ssl_err.c ssl_init.c ssl_lib.c ssl_mcnf.c ssl_rsa.c 19SRCS+= ssl_sess.c ssl_stat.c ssl_txt.c t1_enc.c t1_lib.c tls_srp.c 20SRCS+= tls13_enc.c 21 22# record 23SRCS+= dtls1_bitmap.c rec_layer_d1.c rec_layer_s3.c ssl3_buffer.c 24SRCS+= ssl3_record.c ssl3_record_tls13.c 25 26# statem 27SRCS+= extensions.c extensions_clnt.c extensions_cust.c extensions_srvr.c 28SRCS+= statem.c statem_clnt.c statem_dtls.c statem_lib.c statem_srvr.c 29 30.if ${MK_OPENSSL_KTLS} != "no" 31SRCS+= ktls.c 32.endif 33 34SRCS+= dummy_abi.c 35 36LIBADD= crypto 37 38CFLAGS+= -I${LCRYPTO_SRC}/ssl 39CFLAGS+= -I${.OBJDIR:H}/libcrypto 40 41.include <bsd.lib.mk> 42 43PICFLAG+= -DOPENSSL_PIC 44 45.PATH: ${LCRYPTO_SRC}/ssl \ 46 ${LCRYPTO_SRC}/ssl/record \ 47 ${LCRYPTO_SRC}/ssl/statem 48