From 9b03b91b84b64c086081b87bd0a2c7d3612af6c0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 16 Jun 2017 03:46:41 +0200 Subject: [PATCH] Add the target 'build_all_generated' 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 (Merged from https://github.com/openssl/openssl/pull/3695) --- CHANGES | 6 ++++++ Configurations/descrip.mms.tmpl | 4 ++++ Configurations/unix-Makefile.tmpl | 4 ++++ Configurations/windows-makefile.tmpl | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/CHANGES b/CHANGES index 97bfa55484..7cb2717452 100644 --- a/CHANGES +++ b/CHANGES @@ -9,6 +9,12 @@ Changes between 1.1.0f and 1.1.1 [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] + *) In the UI interface, make it possible to duplicate the user data. This can be used by engines that need to retain the data for a longer time than just the call where this user data is passed. diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index f9fc6d928d..b1e5d70b14 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -269,6 +269,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}; "" -} diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 3faeec8347..23d1e4f7f7 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -251,6 +251,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}; "" -} diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index f3c0529b9a..427c27d5ed 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -206,6 +206,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}; "" -} -- GitLab