Make generation of dependency files more efficient when possible
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2016 23:20:50 +0000 (00:20 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 28 Feb 2016 00:16:44 +0000 (01:16 +0100)
commit340da949ccde13f6506177e327ccc21f49f56d3b
treece06693229bacd727fc7c1ce7cf5a93614ef1eaf
parente0b5108c605b541252e601608ff70e8fb57d256f
Make generation of dependency files more efficient when possible

When building with GNU C, clang or VMS C, it's more efficient to
generate dependency file and object file in one call rather than two.
Have the dependency output in a temporary file and compare it with the
previous one if available to see if replacement is waranted, thereby
avoiding unnecessary reconstruction of Makefile / descrip.mms.

Github issue #750

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl