Have makedepend output to stdout and redirect it
This gives us better control of what files are produced. Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
d57611ea1f
commit
f3e5948af6
@ -858,9 +858,8 @@ EOF
|
|||||||
if (!$disabled{makedepend} && $makedepprog =~ /\/makedepend/) {
|
if (!$disabled{makedepend} && $makedepprog =~ /\/makedepend/) {
|
||||||
$recipe .= <<"EOF";
|
$recipe .= <<"EOF";
|
||||||
$obj$depext: $deps
|
$obj$depext: $deps
|
||||||
rm -f \$\@.tmp; touch \$\@.tmp
|
-\$(MAKEDEPEND) -f- -o"|$obj$objext" -- \$(CFLAGS) $ecflags$incs -- $srcs \\
|
||||||
-\$(MAKEDEPEND) -f\$\@.tmp -o"|$obj$objext" -- \$(CFLAGS) $ecflags$incs -- $srcs \\
|
>\$\@.tmp 2>/dev/null
|
||||||
2>/dev/null
|
|
||||||
-\$(PERL) -i -pe 's/^.*\\|//; s/ \\/(\\\\.|[^ ])*//; \$\$_ = undef if (/: *\$\$/ || /^(#.*| *)\$\$/); \$\$_.="\\n" unless !defined(\$\$_) or /\\R\$\$/g;' \$\@.tmp
|
-\$(PERL) -i -pe 's/^.*\\|//; s/ \\/(\\\\.|[^ ])*//; \$\$_ = undef if (/: *\$\$/ || /^(#.*| *)\$\$/); \$\$_.="\\n" unless !defined(\$\$_) or /\\R\$\$/g;' \$\@.tmp
|
||||||
\@if cmp \$\@.tmp \$\@ > /dev/null 2> /dev/null; then \\
|
\@if cmp \$\@.tmp \$\@ > /dev/null 2> /dev/null; then \\
|
||||||
rm -f \$\@.tmp; \\
|
rm -f \$\@.tmp; \\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user