xref: /freebsd/crypto/openssl/ssl/build.info (revision 7899f917b1c0ea178f1d2be0cfb452086d079d23)
1LIBS=../libssl
2
3#Needed for the multiblock code in rec_layer_s3.c
4IF[{- !$disabled{asm} -}]
5  $AESDEF_x86=AES_ASM
6  $AESDEF_x86_64=AES_ASM
7
8  IF[$AESDEF_{- $target{asm_arch} -}]
9    $AESDEF=$AESDEF_{- $target{asm_arch} -}
10  ENDIF
11ENDIF
12
13$KTLSSRC=
14IF[{- !$disabled{ktls} -}]
15  $KTLSSRC=ktls.c
16ENDIF
17
18SOURCE[../libssl]=\
19        pqueue.c \
20        statem/statem_srvr.c statem/statem_clnt.c  s3_lib.c  s3_enc.c record/rec_layer_s3.c \
21        statem/statem_lib.c statem/extensions.c statem/extensions_srvr.c \
22        statem/extensions_clnt.c statem/extensions_cust.c s3_msg.c \
23        methods.c   t1_lib.c  t1_enc.c tls13_enc.c \
24        d1_lib.c  record/rec_layer_d1.c d1_msg.c \
25        statem/statem_dtls.c d1_srtp.c \
26        ssl_lib.c ssl_cert.c ssl_sess.c \
27        ssl_ciph.c ssl_stat.c ssl_rsa.c \
28        ssl_asn1.c ssl_txt.c ssl_init.c ssl_conf.c  ssl_mcnf.c \
29        bio_ssl.c ssl_err.c ssl_err_legacy.c tls_srp.c t1_trce.c ssl_utst.c \
30        record/ssl3_buffer.c record/ssl3_record.c record/dtls1_bitmap.c \
31        statem/statem.c record/ssl3_record_tls13.c \
32        tls_depr.c $KTLSSRC
33# For shared builds we need to include the libcrypto packet.c and sources
34# needed in providers (s3_cbc.c and record/tls_pad.c) in libssl as well.
35SHARED_SOURCE[../libssl]=record/tls_pad.c ../crypto/packet.c
36IF[{- !$disabled{'deprecated-3.0'} -}]
37  SHARED_SOURCE[../libssl]=s3_cbc.c
38  SOURCE[../libssl]=ssl_rsa_legacy.c
39ENDIF
40
41DEFINE[../libssl]=$AESDEF
42
43SOURCE[../providers/libcommon.a]=record/tls_pad.c
44SOURCE[../providers/libdefault.a ../providers/libfips.a]=s3_cbc.c
45