]>
Commit | Line | Data |
---|---|---|
e8461ee1 | 1 | {- use File::Spec::Functions qw/catdir rel2abs/; -} |
777a2882 RL |
2 | LIBS=libcrypto libssl |
3 | ORDINALS[libcrypto]=crypto | |
4 | ORDINALS[libssl]=ssl | |
7030e35d RL |
5 | INCLUDE[libcrypto]="{- rel2abs(catdir($builddir,"include")) -}" . crypto/include include |
6 | INCLUDE[libssl]="{- rel2abs(catdir($builddir,"include")) -}" . include | |
777a2882 | 7 | DEPEND[libssl]=libcrypto |
fcf80c46 | 8 | |
27ffb86c RL |
9 | # Empty DEPEND "indices" means the dependencies are expected to be built |
10 | # unconditionally before anything else. | |
11 | DEPEND[]=include/openssl/opensslconf.h crypto/include/internal/bn_conf.h \ | |
12 | crypto/include/internal/dso_conf.h | |
13 | DEPEND[include/openssl/opensslconf.h]=configdata.pm | |
14 | GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in | |
15 | DEPEND[crypto/include/internal/bn_conf.h]=configdata.pm | |
16 | GENERATE[crypto/include/internal/bn_conf.h]=crypto/include/internal/bn_conf.h.in | |
17 | DEPEND[crypto/include/internal/dso_conf.h]=configdata.pm | |
18 | GENERATE[crypto/include/internal/dso_conf.h]=crypto/include/internal/dso_conf.h.in | |
19 | ||
20 | ||
fcf80c46 RL |
21 | IF[{- $config{target} =~ /^Cygwin/ -}] |
22 | SHARED_NAME[libcrypto]=cygcrypto-{- $config{shlib_major}.".".$config{shlib_minor} -} | |
23 | SHARED_NAME[libssl]=cygssl-{- $config{shlib_major}.".".$config{shlib_minor} -} | |
24 | ELSIF[{- $config{target} =~ /^mingw/ -}] | |
520f434b RL |
25 | SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -} |
26 | SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -} | |
08479bbb | 27 | ELSIF[{- $config{target} =~ /^VC-/ -}] |
6ddb62a5 AP |
28 | SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $target{multilib} -} |
29 | SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $target{multilib} -} | |
fcf80c46 | 30 | ENDIF |
e84193e4 RL |
31 | |
32 | # VMS has a cultural standard where all libraries are prefixed. | |
33 | # For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a | |
34 | # conversation with VSI, Tuesday January 26 2016) | |
35 | # Also, it seems it's usual to have a suffix to the shared library name | |
36 | # for the different pointer sizes that were built for. | |
37 | IF[{- $config{target} =~ /^vms/ -}] | |
38 | RENAME[libcrypto]=ossl$libcrypto | |
39 | RENAME[libssl]=ossl$libssl | |
40 | SHARED_NAME[libcrypto]=ossl$libcrypto_shr{- $target{pointer_size} -} | |
41 | SHARED_NAME[libssl]=ossl$libssl_shr{- $target{pointer_size} -} | |
42 | ENDIF |