unix-Makefile.tmpl: omit lib<rary>.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<rary>.a' is effectively equivalent to 'make <dir/ectory>'
prior this modification.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Andy Polyakov 2016-06-26 18:20:39 +02:00
parent cfef7e9e68
commit dbbb6a87a7

View File

@ -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}}) {