build.info 1.6 KB

123456789101112131415161718192021222324252627282930
  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. IF[{- $config{target} =~ /^Cygwin/ -}]
  9. SHARED_NAME[libcrypto]=cygcrypto-{- $config{shlib_major}.".".$config{shlib_minor} -}
  10. SHARED_NAME[libssl]=cygssl-{- $config{shlib_major}.".".$config{shlib_minor} -}
  11. ELSIF[{- $config{target} =~ /^mingw/ -}]
  12. SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
  13. SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
  14. ELSIF[{- $config{target} =~ /^VC-/ -}]
  15. SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $target{multilib} -}
  16. SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $target{multilib} -}
  17. ENDIF
  18. # VMS has a cultural standard where all libraries are prefixed.
  19. # For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a
  20. # conversation with VSI, Tuesday January 26 2016)
  21. # Also, it seems it's usual to have a suffix to the shared library name
  22. # for the different pointer sizes that were built for.
  23. IF[{- $config{target} =~ /^vms/ -}]
  24. RENAME[libcrypto]=ossl$libcrypto
  25. RENAME[libssl]=ossl$libssl
  26. SHARED_NAME[libcrypto]=ossl$libcrypto_shr{- $target{pointer_size} -}
  27. SHARED_NAME[libssl]=ossl$libssl_shr{- $target{pointer_size} -}
  28. ENDIF