Generate dependency information
authorTanzinul Islam <tanzinul.islam@gmail.com>
Thu, 10 Dec 2020 14:53:07 +0000 (14:53 +0000)
committerDmitry Belyavskiy <beldmit@gmail.com>
Mon, 19 Apr 2021 09:05:55 +0000 (11:05 +0200)
commit16f2a44435fccbd7466b0659220c765a17e5d0c0
tree0cd711a3618e0935b5a48a5b037802d83b17a6cd
parent96d4ec6724a9ecc5d193172d0cf1a347f428372a
Generate dependency information

The Clang-based `bcc32c.exe` doesn't implement the `-Hp` option, so we
have to use [`cpp32.exe`][1] instead.  Therefore, change the dependency-
emitting command to use `$(CPP)` instead of `$(CC)`, which which also
uncovered the [existing bug of `2>&1` before `> $dep`][2].  Also
C++Builder's `make.exe` doesn't implement `2>&1` in its command runner,
so wrap the whole line in a `cmd /C`.

[1]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/CPP32.EXE,_the_C_Compiler_Preprocessor
[2]: https://ss64.com/nt/syntax-redirection.html

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
Configurations/10-main.conf
Configurations/50-cppbuilder.conf
Configurations/windows-makefile.tmpl
Configure
util/add-depends.pl