]> git.ipfire.org Git - thirdparty/openssl.git/blame - build.info
Fixes #7879: AES-SIV to use EVP_MAC APIs
[thirdparty/openssl.git] / build.info
CommitLineData
75d47db4
RL
1# Note that some of these directories are filtered in Configure. Look for
2# %skipdir there for further explanations.
9654924f
RL
3SUBDIRS=crypto ssl apps test util tools fuzz engines
4
d4453024 5{-
3a63dbef
RL
6 my @sover = split(/\./, $config{shlib_version});
7 our $sover_filename;
8 $sover_filename = join('.', @sover)
d4453024 9 if $config{target} =~ /^mingw/ || $config{target} =~ /^VC-/;
3a63dbef 10 $sover_filename = join('', map { sprintf "%02d", $_ } @sover)
d4453024
RL
11 if $config{target} =~ /^vms/;
12 "";
13-}
777a2882 14LIBS=libcrypto libssl
0483f586
RL
15INCLUDE[libcrypto]=. crypto/include include
16INCLUDE[libssl]=. include
777a2882 17DEPEND[libssl]=libcrypto
fcf80c46 18
27ffb86c
RL
19# Empty DEPEND "indices" means the dependencies are expected to be built
20# unconditionally before anything else.
21DEPEND[]=include/openssl/opensslconf.h crypto/include/internal/bn_conf.h \
547a3320 22 crypto/include/internal/dso_conf.h doc/man7/openssl_user_macros.pod
27ffb86c
RL
23DEPEND[include/openssl/opensslconf.h]=configdata.pm
24GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in
25DEPEND[crypto/include/internal/bn_conf.h]=configdata.pm
26GENERATE[crypto/include/internal/bn_conf.h]=crypto/include/internal/bn_conf.h.in
27DEPEND[crypto/include/internal/dso_conf.h]=configdata.pm
28GENERATE[crypto/include/internal/dso_conf.h]=crypto/include/internal/dso_conf.h.in
547a3320
RL
29DEPEND[doc/man7/openssl_user_macros.pod]=configdata.pm
30GENERATE[doc/man7/openssl_user_macros.pod]=doc/man7/openssl_user_macros.pod.in
27ffb86c 31
7a061312 32IF[{- defined $target{shared_defflag} -}]
ef2dfc99
RL
33 SHARED_SOURCE[libcrypto]=libcrypto.ld
34 SHARED_SOURCE[libssl]=libssl.ld
7a061312 35
8effd8fa
RL
36 GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
37 GENERATE[libssl.ld]=util/libssl.num libssl
7a061312
RL
38ENDIF
39
40IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
41 GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
42 GENERATE[libssl.rc]=util/mkrc.pl libssl
43
44 SHARED_SOURCE[libcrypto]=libcrypto.rc
45 SHARED_SOURCE[libssl]=libssl.rc
46ENDIF
27ffb86c 47
fcf80c46 48IF[{- $config{target} =~ /^Cygwin/ -}]
d4453024
RL
49 SHARED_NAME[libcrypto]=cygcrypto-{- $sover_filename -}
50 SHARED_NAME[libssl]=cygssl-{- $sover_filename -}
fcf80c46 51ELSIF[{- $config{target} =~ /^mingw/ -}]
d4453024
RL
52 SHARED_NAME[libcrypto]=libcrypto-{- $sover_filename -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
53 SHARED_NAME[libssl]=libssl-{- $sover_filename -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
08479bbb 54ELSIF[{- $config{target} =~ /^VC-/ -}]
d4453024
RL
55 SHARED_NAME[libcrypto]=libcrypto-{- $sover_filename -}{- $target{multilib} -}
56 SHARED_NAME[libssl]=libssl-{- $sover_filename -}{- $target{multilib} -}
fcf80c46 57ENDIF
e84193e4
RL
58
59# VMS has a cultural standard where all libraries are prefixed.
60# For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a
61# conversation with VSI, Tuesday January 26 2016)
8842005e
RL
62# Also, it seems it's usual to have the pointer size the libraries
63# were built for as part of the name.
e84193e4 64IF[{- $config{target} =~ /^vms/ -}]
8842005e
RL
65 RENAME[libcrypto]=ossl$libcrypto{- $target{pointer_size} -}
66 RENAME[libssl]=ossl$libssl{- $target{pointer_size} -}
d4453024
RL
67 SHARED_NAME[libcrypto]=ossl$libcrypto{- $sover_filename -}_shr{- $target{pointer_size} -}
68 SHARED_NAME[libssl]=ossl$libssl{- $sover_filename -}_shr{- $target{pointer_size} -}
e84193e4 69ENDIF