From: Andy Polyakov Date: Sun, 26 Jun 2016 16:20:39 +0000 (+0200) Subject: unix-Makefile.tmpl: omit lib.a updates from directory targets. X-Git-Tag: OpenSSL_1_1_0-pre6~325 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=dbbb6a87a716765f4f9ef9fe48b634c23bbe8636 unix-Makefile.tmpl: omit lib.a updates from directory targets. Since corresponding rule was removed from windows-makefile.tmpl out of necessity, question popped if it's appropriate to harmonize even unix-Makefile.tmpl. Note that as long as you work on single directory 'make lib.a' is effectively equivalent to 'make ' prior this modification. Reviewed-by: Rich Salz Reviewed-by: Richard Levitte --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 34971a9872..2ec50769c9 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -1086,10 +1086,7 @@ EOF next unless defined($unified_info{dirinfo}->{$dir}->{products}->{$type}); if ($type eq "lib") { foreach my $lib (@{$unified_info{dirinfo}->{$dir}->{products}->{$type}}) { - push @actions, <<"EOF"; - \$(AR) $lib$libext \$\? - \$(RANLIB) $lib$libext || echo Never mind. -EOF + push @actions, ""; } } else { foreach my $prod (@{$unified_info{dirinfo}->{$dir}->{products}->{$type}}) {