summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-06-13 21:57:51 +0200
committerRichard Levitte <levitte@openssl.org>2016-06-14 22:11:38 +0200
commit4f858293a9b5a5db8c8af0725b6402d21626040b (patch)
treea184fc2ba2a3084026d35aefa7564368a988d599 /Configurations
parent7c46746bf2958fd2eccc59ecb48039e4e20ce38a (diff)
Configure: Make it possible to generate mandatory header files
'DEPEND[]=file.h' becomes a special way to say that 'file.h' must be generated before anything else is built. It's likely that a number of source files depend on these header files, this provides a simple way to make sure they are always generated even it the dependency data hasn't been added to the build file yet. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/common.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Configurations/common.tmpl b/Configurations/common.tmpl
index 48b3d18716..9d7fbf2e77 100644
--- a/Configurations/common.tmpl
+++ b/Configurations/common.tmpl
@@ -213,6 +213,9 @@
}
}
+ # Build mandatory generated headers
+ foreach (@{$unified_info{depends}->{""}}) { dogenerate($_); }
+
# Build all known libraries, engines, programs and scripts.
# Everything else will be handled as a consequence.
foreach (@{$unified_info{libraries}}) { dolib($_); }