aboutsummaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-05-16 14:54:39 +0200
committerRichard Levitte <levitte@openssl.org>2016-05-25 00:46:00 +0200
commit05a7aee0e2b9102c8b2ececdc1dfdb727c453c95 (patch)
treea0135f1be79c3f1b0afd6691fb3733f53a82ff64 /Configure
parent73b61c7e14115ae98c174bfdd7c7733d6cc7e909 (diff)
downloadopenssl-05a7aee0e2b9102c8b2ececdc1dfdb727c453c95.tar.gz
Communicate Configure generated header files to build files
Add Configure generated header files to $unified_info{generate}. This makes sure the build files will pick them up with the rest for the GENERATED macro, and thereby make sure they get cleaned away by 'make clean' Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/Configure b/Configure
index 215ffb87f2..95d457c171 100755
--- a/Configure
+++ b/Configure
@@ -1731,6 +1731,13 @@ EOF
}
}
+ ### Add information about files generated by Configure
+ foreach (map { abs2rel($_) } @generated_headers) {
+ die "Configure gerenerated header file $_ has a GENERATE in a build.info\n"
+ if $unified_info{generate}->{$_};
+ $unified_info{generate}->{$_} = "Generated by Configure";
+ }
+
### Make unified_info a bit more efficient
# One level structures
foreach (("programs", "libraries", "engines", "scripts", "extra", "overrides")) {