summaryrefslogtreecommitdiffstats
path: root/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2023-06-02 14:32:07 +0200
committerRichard Levitte <levitte@openssl.org>2023-06-08 07:53:10 +0200
commitb684ee2ce4bbf2c877d2cdc39e095d52ea3fe2a3 (patch)
treeffac760438fbbe091d921e0637029b43b78d8715 /build.info
parentb8fa5be5506e43b405c9a3ecc3d65c77044777be (diff)
build.info: Introduce special syntax for dependencies on script modules
The DEPEND statement, when applied on files generated with GENERATE, may be used to specify script modules that the template to be generated from depends on. In short, this sort of depend: DEPEND[generated]=util/perl/OpenSSL/something.pm ... would generate a perl run that has the inclusion directory 'util/perl/OpenSSL' and 'something' as the module to be loaded. However, the package name for this module is 'OpenSSL::something', so to load it the way it's expected, the inclusion directory should be 'util/perl', and the module to be loaded should be specified as 'OpenSSL/something' (to be massaged into a proper module name by the build file template). To allow this, we introduce a file syntax, where a single '|' is used as a directory separator, to delineate what part should be used as the inclustion directory, and which part the module name to be loaded should be derived from: DEPEND[generated]=util/perl|OpenSSL/something.pm Fixes #21112 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21117)
Diffstat (limited to 'build.info')
-rw-r--r--build.info3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.info b/build.info
index a8bd48e540..d9e3c904b2 100644
--- a/build.info
+++ b/build.info
@@ -75,6 +75,9 @@ GENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in
GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in
GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in
+DEPEND[crypto/params_idx.c \
+ include/internal/param_names.h \
+ include/openssl/core_names.h]=util/perl|OpenSSL/paramnames.pm
GENERATE[crypto/params_idx.c]=crypto/params_idx.c.in
GENERATE[include/internal/param_names.h]=include/internal/param_names.h.in
GENERATE[include/openssl/core_names.h]=include/openssl/core_names.h.in