From: Richard Levitte Date: Tue, 24 May 2022 15:20:52 +0000 (+0200) Subject: Remove include/openssl/configuration.h from mandatory dependencies X-Git-Tag: openssl-3.2.0-alpha1~2615 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8040bce02758de86fc55412ee4ac9102f9ffab;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18398) --- diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index eb00587528e..b7d1df25928 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 5b8340dfaab..110ba0687d8 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 5d874455f33..47c10d79df2 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 diff --git a/build.info b/build.info index 76284cb70f1..5a8421623b9 100644 --- a/build.info +++ b/build.info @@ -22,7 +22,6 @@ DEPEND[]=include/openssl/asn1.h \ include/openssl/cmp.h \ include/openssl/cms.h \ include/openssl/conf.h \ - include/openssl/configuration.h \ include/openssl/crmf.h \ include/openssl/crypto.h \ include/openssl/ct.h \