Don't negotiate TLSv1.3 if our EC cert isn't TLSv1.3 capable
[openssl.git] / build.info
1 # Note that some of these directories are filtered in Configure.  Look for
2 # %skipdir there for further explanations.
3 SUBDIRS=crypto ssl apps test util tools fuzz engines
4
5 {-
6      use File::Spec::Functions;
7
8      our $sover = $config{shlib_version_number};
9      our $sover_filename = $sover;
10      $sover_filename =~ s|\.|_|g
11          if $config{target} =~ /^mingw/ || $config{target} =~ /^VC-/;
12      $sover_filename =
13          sprintf "%02d%02d", split m|\.|, $config{shlib_version_number}
14          if $config{target} =~ /^vms/;
15      "";
16 -}
17 LIBS=libcrypto libssl
18 INCLUDE[libcrypto]=. crypto/include include
19 INCLUDE[libssl]=. include
20 DEPEND[libssl]=libcrypto
21
22 # Empty DEPEND "indices" means the dependencies are expected to be built
23 # unconditionally before anything else.
24 DEPEND[]=include/openssl/opensslconf.h crypto/include/internal/bn_conf.h \
25          crypto/include/internal/dso_conf.h
26 DEPEND[include/openssl/opensslconf.h]=configdata.pm
27 GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in
28 DEPEND[crypto/include/internal/bn_conf.h]=configdata.pm
29 GENERATE[crypto/include/internal/bn_conf.h]=crypto/include/internal/bn_conf.h.in
30 DEPEND[crypto/include/internal/dso_conf.h]=configdata.pm
31 GENERATE[crypto/include/internal/dso_conf.h]=crypto/include/internal/dso_conf.h.in
32
33 IF[{- defined $target{shared_defflag} -}]
34   SHARED_SOURCE[libcrypto]=libcrypto.ld
35   SHARED_SOURCE[libssl]=libssl.ld
36
37   GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
38   GENERATE[libssl.ld]=util/libssl.num libssl
39 ENDIF
40
41 IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
42   GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
43   GENERATE[libssl.rc]=util/mkrc.pl libssl
44
45   SHARED_SOURCE[libcrypto]=libcrypto.rc
46   SHARED_SOURCE[libssl]=libssl.rc
47 ENDIF
48
49 IF[{- $config{target} =~ /^Cygwin/ -}]
50  SHARED_NAME[libcrypto]=cygcrypto-{- $sover_filename -}
51  SHARED_NAME[libssl]=cygssl-{- $sover_filename -}
52 ELSIF[{- $config{target} =~ /^mingw/ -}]
53  SHARED_NAME[libcrypto]=libcrypto-{- $sover_filename -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
54  SHARED_NAME[libssl]=libssl-{- $sover_filename -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
55 ELSIF[{- $config{target} =~ /^VC-/ -}]
56  SHARED_NAME[libcrypto]=libcrypto-{- $sover_filename -}{- $target{multilib} -}
57  SHARED_NAME[libssl]=libssl-{- $sover_filename -}{- $target{multilib} -}
58 ENDIF
59
60 # VMS has a cultural standard where all libraries are prefixed.
61 # For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a
62 # conversation with VSI, Tuesday January 26 2016)
63 # Also, it seems it's usual to have the pointer size the libraries
64 # were built for as part of the name.
65 IF[{- $config{target} =~ /^vms/ -}]
66  RENAME[libcrypto]=ossl$libcrypto{- $target{pointer_size} -}
67  RENAME[libssl]=ossl$libssl{- $target{pointer_size} -}
68  SHARED_NAME[libcrypto]=ossl$libcrypto{- $sover_filename -}_shr{- $target{pointer_size} -}
69  SHARED_NAME[libssl]=ossl$libssl{- $sover_filename -}_shr{- $target{pointer_size} -}
70 ENDIF