build.info 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. LIBS=libcrypto libssl
  2. ORDINALS[libcrypto]=crypto
  3. ORDINALS[libssl]=ssl
  4. INCLUDE[libcrypto]=. crypto/include include
  5. INCLUDE[libssl]=. include
  6. DEPEND[libssl]=libcrypto
  7. # Empty DEPEND "indices" means the dependencies are expected to be built
  8. # unconditionally before anything else.
  9. DEPEND[]=include/openssl/opensslconf.h crypto/include/internal/bn_conf.h \
  10. crypto/include/internal/dso_conf.h
  11. DEPEND[include/openssl/opensslconf.h]=configdata.pm
  12. GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in
  13. DEPEND[crypto/include/internal/bn_conf.h]=configdata.pm
  14. GENERATE[crypto/include/internal/bn_conf.h]=crypto/include/internal/bn_conf.h.in
  15. DEPEND[crypto/include/internal/dso_conf.h]=configdata.pm
  16. GENERATE[crypto/include/internal/dso_conf.h]=crypto/include/internal/dso_conf.h.in
  17. IF[{- $config{target} =~ /^Cygwin/ -}]
  18. SHARED_NAME[libcrypto]=cygcrypto-{- $config{shlib_major}.".".$config{shlib_minor} -}
  19. SHARED_NAME[libssl]=cygssl-{- $config{shlib_major}.".".$config{shlib_minor} -}
  20. ELSIF[{- $config{target} =~ /^mingw/ -}]
  21. SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
  22. SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $config{target} eq "mingw64" ? "-x64" : "" -}
  23. ELSIF[{- $config{target} =~ /^VC-/ -}]
  24. SHARED_NAME[libcrypto]=libcrypto-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $target{multilib} -}
  25. SHARED_NAME[libssl]=libssl-{- $config{shlib_major}."_".$config{shlib_minor} -}{- $target{multilib} -}
  26. ENDIF
  27. # VMS has a cultural standard where all libraries are prefixed.
  28. # For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a
  29. # conversation with VSI, Tuesday January 26 2016)
  30. # Also, it seems it's usual to have the pointer size the libraries
  31. # were built for as part of the name.
  32. IF[{- $config{target} =~ /^vms/ -}]
  33. RENAME[libcrypto]=ossl$libcrypto{- $target{pointer_size} -}
  34. RENAME[libssl]=ossl$libssl{- $target{pointer_size} -}
  35. SHARED_NAME[libcrypto]=ossl$libcrypto{- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}_shr{- $target{pointer_size} -}
  36. SHARED_NAME[libssl]=ossl$libssl{- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}_shr{- $target{pointer_size} -}
  37. ENDIF