Add the target 'build_all_generated'
authorRichard Levitte <levitte@openssl.org>
Fri, 16 Jun 2017 01:46:41 +0000 (03:46 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 13 Feb 2018 17:58:29 +0000 (18:58 +0100)
This new target is used to build all generated files and only that.
This can be used to prepare everything that requires things like perl
for a system that lacks perl and then move everything to that system
and do the rest of the build there.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3695)

(cherry picked from commit 9b03b91b84b64c086081b87bd0a2c7d3612af6c0)

CHANGES
Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl

diff --git a/CHANGES b/CHANGES
index 0ac2f904bc8bf196bccbc27cd4ae8731b9e5b8b4..8840bd6c00e70999e5e1cd01a7db10cb47a3ad9c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -9,6 +9,12 @@
 
  Changes between 1.1.0g and 1.1.0h [xx XXX xxxx]
 
+  *) Add a build target 'build_all_generated', to build all generated files
+     and only that.  This can be used to prepare everything that requires
+     things like perl for a system that lacks perl and then move everything
+     to that system and do the rest of the build there.
+     [Richard Levitte]
+
   *) Backport SSL_OP_NO_RENGOTIATION
 
      OpenSSL 1.0.2 and below had the ability to disable renegotiation using the
index 6f6a9ace2426ca6ee642aff953daaa69b3d92aa9..7e3356f1f13bd9d65fffe63c30fc5c61efade3c5 100644 (file)
@@ -264,6 +264,10 @@ build_programs_nodep : $(PROGRAMS), $(SCRIPTS)
 # Kept around for backward compatibility
 build_apps build_tests : build_programs
 
+# Convenience target to prebuild all generated files, not just the mandatory
+# ones
+build_all_generated : $(GENERATED_MANDATORY) $(GENERATED)
+
 test : tests
 {- dependmagic('tests'); -} : build_programs_nodep, build_engines_nodep
         @ ! {- output_off() if $disabled{tests}; "" -}
index a1ef7e6e93e097f4a5784a601f178f7330dcf544..79993e3a8950c8f2efa8e56e9bd077140a94d9d2 100644 (file)
@@ -241,6 +241,10 @@ build_programs_nodep: $(PROGRAMS) $(SCRIPTS)
 # Kept around for backward compatibility
 build_apps build_tests: build_programs
 
+# Convenience target to prebuild all generated files, not just the mandatory
+# ones
+build_all_generated: $(GENERATED_MANDATORY) $(GENERATED)
+
 test: tests
 {- dependmagic('tests'); -}: build_programs_nodep build_engines_nodep link-utils
        @ : {- output_off() if $disabled{tests}; "" -}
index 29d157defffb93320c50f389b376f30c73d4cc17..e86ba27dd1d17f43a8289db3fa5b9ff4c68ebadf 100644 (file)
@@ -201,6 +201,10 @@ build_programs_nodep: $(PROGRAMS) $(SCRIPTS)
 # Kept around for backward compatibility
 build_apps build_tests: build_programs
 
+# Convenience target to prebuild all generated files, not just the mandatory
+# ones
+build_all_generated: $(GENERATED_MANDATORY) $(GENERATED)
+
 test: tests
 {- dependmagic('tests'); -}: build_programs_nodep build_engines_nodep
        @rem {- output_off() if $disabled{tests}; "" -}