X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=build.info;h=fa136dc43143622549631299e1cd82c1d04c062b;hp=ab941f8ce467d3da680b5c66f61748e5ac63b3f9;hb=b3c42fc2503a685a9e51427c1a83c8f09487389d;hpb=6ddb62a575a31940785fdf3db8a24ca6006e5d2a diff --git a/build.info b/build.info index ab941f8ce4..fa136dc431 100644 --- a/build.info +++ b/build.info @@ -1,11 +1,22 @@ -{- 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 +INCLUDE[libcrypto]=. crypto/include include +INCLUDE[libssl]=. include DEPEND[libssl]=libcrypto +# Empty DEPEND "indices" means the dependencies are expected to be built +# unconditionally before anything else. +DEPEND[]=include/openssl/opensslconf.h crypto/include/internal/bn_conf.h \ + crypto/include/internal/dso_conf.h +DEPEND[include/openssl/opensslconf.h]=configdata.pm +GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in +DEPEND[crypto/include/internal/bn_conf.h]=configdata.pm +GENERATE[crypto/include/internal/bn_conf.h]=crypto/include/internal/bn_conf.h.in +DEPEND[crypto/include/internal/dso_conf.h]=configdata.pm +GENERATE[crypto/include/internal/dso_conf.h]=crypto/include/internal/dso_conf.h.in + + IF[{- $config{target} =~ /^Cygwin/ -}] SHARED_NAME[libcrypto]=cygcrypto-{- $config{shlib_major}.".".$config{shlib_minor} -} SHARED_NAME[libssl]=cygssl-{- $config{shlib_major}.".".$config{shlib_minor} -} @@ -20,11 +31,11 @@ ENDIF # VMS has a cultural standard where all libraries are prefixed. # For OpenSSL, the choice is 'ossl$' (this prefix was claimed in a # conversation with VSI, Tuesday January 26 2016) -# Also, it seems it's usual to have a suffix to the shared library name -# for the different pointer sizes that were built for. +# Also, it seems it's usual to have the pointer size the libraries +# were built for as part of the name. IF[{- $config{target} =~ /^vms/ -}] - RENAME[libcrypto]=ossl$libcrypto - RENAME[libssl]=ossl$libssl - SHARED_NAME[libcrypto]=ossl$libcrypto_shr{- $target{pointer_size} -} - SHARED_NAME[libssl]=ossl$libssl_shr{- $target{pointer_size} -} + RENAME[libcrypto]=ossl$libcrypto{- $target{pointer_size} -} + RENAME[libssl]=ossl$libssl{- $target{pointer_size} -} + SHARED_NAME[libcrypto]=ossl$libcrypto{- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}_shr{- $target{pointer_size} -} + SHARED_NAME[libssl]=ossl$libssl{- sprintf "%02d%02d", $config{shlib_major}, $config{shlib_minor} -}_shr{- $target{pointer_size} -} ENDIF