mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
fcf80c469a
Cygwin and Mingw name their libraries a bit differently from the rest of the POSIXly universe, we need to adapt to that. In Makefile.tmpl, it means that some hunks will only be output conditionally. This also means that shared_extension for the Cygwin and Mingw configurations in Configurations/10-main.conf are changing from .dll.a to .dll. Makefile.shared does a fine job without having them specified, and it's much easier to work with tucking an extra .a at the end of files in the installation recipes than any amount of name rewrites, especially with the support of the SHARED_NAME in the top build.info. Reviewed-by: Rich Salz <rsalz@openssl.org>
16 lines
619 B
Plaintext
16 lines
619 B
Plaintext
{- use File::Spec::Functions qw/catdir rel2abs/; -}
|
|
LIBS=libcrypto libssl
|
|
ORDINALS[libcrypto]=crypto
|
|
ORDINALS[libssl]=ssl
|
|
INCLUDE[libcrypto]={- rel2abs(catdir($builddir,"include")) -} . crypto/include include
|
|
INCLUDE[libssl]={- rel2abs(catdir($builddir,"include")) -} . include
|
|
DEPEND[libssl]=libcrypto
|
|
|
|
IF[{- $config{target} =~ /^Cygwin/ -}]
|
|
SHARED_NAME[libcrypto]=cygcrypto-{- $config{shlib_major}.".".$config{shlib_minor} -}
|
|
SHARED_NAME[libssl]=cygssl-{- $config{shlib_major}.".".$config{shlib_minor} -}
|
|
ELSIF[{- $config{target} =~ /^mingw/ -}]
|
|
SHARED_NAME[libcrypto]=libeay32
|
|
SHARED_NAME[libssl]=ssleay32
|
|
ENDIF
|