Big rename fest of MingW shared libraries
[openssl.git] / build.info
1 {- use File::Spec::Functions qw/catdir rel2abs/; -}
2 LIBS=libcrypto libssl
3 ORDINALS[libcrypto]=crypto
4 ORDINALS[libssl]=ssl
5 INCLUDE[libcrypto]={- rel2abs(catdir($builddir,"include")) -} . crypto/include include
6 INCLUDE[libssl]={- rel2abs(catdir($builddir,"include")) -} . include
7 DEPEND[libssl]=libcrypto
8
9 IF[{- $config{target} =~ /^Cygwin/ -}]
10  SHARED_NAME[libcrypto]=cygcrypto-{- $config{shlib_major}.".".$config{shlib_minor} -}
11  SHARED_NAME[libssl]=cygssl-{- $config{shlib_major}.".".$config{shlib_minor} -}
12 ELSIF[{- $config{target} =~ /^mingw/ -}]
13  SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
14  SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
15 ENDIF
16
17 # VMS has a cultural standard where all libraries are prefixed.
18 # For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a
19 # conversation with VSI, Tuesday January 26 2016)
20 # Also, it seems it's usual to have a suffix to the shared library name
21 # for the different pointer sizes that were built for.
22 IF[{- $config{target} =~ /^vms/ -}]
23  RENAME[libcrypto]=ossl$libcrypto
24  RENAME[libssl]=ossl$libssl
25  SHARED_NAME[libcrypto]=ossl$libcrypto_shr{- $target{pointer_size} -}
26  SHARED_NAME[libssl]=ossl$libssl_shr{- $target{pointer_size} -}
27 ENDIF