diff options
author | Richard Levitte <levitte@openssl.org> | 2018-03-15 18:06:18 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-03-16 09:33:53 +0100 |
commit | c39785d4e64587d3a07a8ce8f25046f407107e71 (patch) | |
tree | da3c07a3cf22c0d530feb5dbd4a1a0a1bd766397 /Configurations/windows-makefile.tmpl | |
parent | ca1ed2904e9235deb8bf2d32629c6a49b61bf7c0 (diff) |
Move all dependency post-processing to util/add-depends.pl
In the end, it's more efficient to only have one perl instance (that
loads configdata.pm) dealing with dependency files than running one
(that still loads configdata.pm) for each such file.
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5631)
Diffstat (limited to 'Configurations/windows-makefile.tmpl')
-rw-r--r-- | Configurations/windows-makefile.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index dde22fb217..ca2e75e1f1 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -382,7 +382,7 @@ distclean: clean depend: @ rem {- output_off() if $disabled{makedepend}; "" -} - @ "$(PERL)" "$(SRCDIR)\util\add-depends.pl" + @ "$(PERL)" "$(SRCDIR)\util\add-depends.pl" "VC" @ rem {- output_on() if $disabled{makedepend}; "" -} # Install helper targets ############################################# @@ -599,9 +599,7 @@ EOF } return <<"EOF" if (!$disabled{makedepend}); $obj$depext: $deps - \$(CC) $cflags /Zs /showIncludes $srcs 2>&1 \\ - | "\$(PERL)" "\$(SRCDIR)\\util\\postprocess-makedepend.pl" \\ - "VC" "$obj$objext" > $obj$depext + \$(CC) $cflags /Zs /showIncludes $srcs 2>&1 > $obj$depext $obj$objext: $obj$depext \$(CC) $cflags -c \$(COUTFLAG)\$\@ $srcs EOF |