summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-05-24 17:20:52 +0200
committerRichard Levitte <levitte@openssl.org>2022-05-25 22:41:06 +0200
commitef8040bce02758de86fc55412ee4ac9102f9ffab (patch)
tree3c9c33dd2489a8c70adcccd875506661e4b910b3 /Configurations
parentcb0c36d124991e35a9e778056ec8fce23a14dad5 (diff)
Remove include/openssl/configuration.h from mandatory dependencies
Since this file is generated by configdata.pm, there's no need to include it among the mandatory dependencies (which end up in the `GENERATE_MANDATORY` Makefile variable). In fact, it shouldn't be there any more, as that would also cause it to be removed by `make clean`. To compensate, we add an explicit removal of that file in the `distclean` target on all platform families. Fixes #18396 Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18398)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/descrip.mms.tmpl1
-rw-r--r--Configurations/unix-Makefile.tmpl1
-rw-r--r--Configurations/windows-makefile.tmpl1
3 files changed, 3 insertions, 0 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl
index eb00587528..b7d1df2592 100644
--- a/Configurations/descrip.mms.tmpl
+++ b/Configurations/descrip.mms.tmpl
@@ -549,6 +549,7 @@ clean : libclean
- DELETE []vmsconfig.pm;*
distclean : clean
+ - DELETE [.include.openssl]configuration.h;*
- DELETE configdata.pm;*
- DELETE descrip.mms;*
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 5b8340dfaa..110ba0687d 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -594,6 +594,7 @@ clean: libclean
-find . -type l \! -name '.*' -exec $(RM) {} \;
distclean: clean
+ $(RM) include/openssl/configuration.h
$(RM) configdata.pm
$(RM) Makefile
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl
index 5d874455f3..47c10d79df 100644
--- a/Configurations/windows-makefile.tmpl
+++ b/Configurations/windows-makefile.tmpl
@@ -478,6 +478,7 @@ clean: libclean
-rd /Q /S test\test-runs
distclean: clean
+ -del /Q /F include\openssl\configuration.h
-del /Q /F configdata.pm
-del /Q /F makefile