From 70d9675342efbc9fe518e082c44f3ad80a1e4671 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 13 Oct 2019 12:33:15 +0200 Subject: Building: Add modules with DEPENDs to GENERATEd files For files GENERATEd from templates (.in files), any perl module (.pm file) that the file depends on will automatically be used. This means that these two lines: GENERATE[foo]=foo.in DEPEND[foo]=whatever.pm will emit this command in a Makefile (or corresponding): foo: foo.in whatever.pm configdata.pm $(PERL) -I. -Ipathto -Mwhatever -Mconfigdata $(SRCDIR)/util/dofile.pl \\ foo.in > foo Note that configdata.pm is automatically added, since util/dofile.pl itself depends on it. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10162) --- build.info | 4 ---- 1 file changed, 4 deletions(-) (limited to 'build.info') diff --git a/build.info b/build.info index 83dc6ed164..5e63b440df 100644 --- a/build.info +++ b/build.info @@ -11,13 +11,9 @@ DEPEND[libssl]=libcrypto # unconditionally before anything else. DEPEND[]=include/openssl/opensslconf.h include/crypto/bn_conf.h \ include/crypto/dso_conf.h doc/man7/openssl_user_macros.pod -DEPEND[include/openssl/opensslconf.h]=configdata.pm GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in -DEPEND[include/crypto/bn_conf.h]=configdata.pm GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in -DEPEND[include/crypto/dso_conf.h]=configdata.pm GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in -DEPEND[doc/man7/openssl_user_macros.pod]=configdata.pm GENERATE[doc/man7/openssl_user_macros.pod]=doc/man7/openssl_user_macros.pod.in IF[{- defined $target{shared_defflag} -}] -- cgit v1.2.1