This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: makefile dependencies
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Andrew Dean <Andrew dot Dean at microsoft dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 8 Oct 2019 22:57:02 +0000
- Subject: Re: makefile dependencies
- Ironport-sdr: OvHwWnuDx20PpRivKpuM2Z/PfplUSnYhtWI7fnf7ii7lkXFLDHKtzsZbQAguP3HvvLo870Uyhs ttm+fMPHZLNZIQcbwGCiC6DEsIqWwCLwqOIAconETktSk/B85ufUM1rnNXdf9eQh10l3Mpkxnv V75SRpNW9cS7V5W+eQD8OzQ7lccFF26oFpf+aPzs4sSgcAjr3VAmjD6dlh5wrHxz/BvoUY3M9r wJghI/l9Pt5l4QQl4OIvEYmodNcZT9T3ei7NqeiYINEYmJTfylJ1TJQIUNQAst5vmJJExgoNMt sxQ=
- Ironport-sdr: 6xA6WiDb9gOOHQQCPKjf7gcn1E+h0S3CTbO/HZEqfE6aEUK2yJkzfS1/1uaO0MQCJL+aTr0/R2 Di7Pyw3FZLor1DRkqGSLzkm6rS9qmstHSS9oBxX7GCQKWSFmfGWjPGdqdOl9cgzkY02ULEai9D bghq77ZBX648kwULCATjj/YD2lSnDwIi+937R2JEUxoL2FJMM1Y4Bj7Pv+QKBwe8BoXtrVY+6o dwJglJVcA60cM18igVqJ3b/61J2gIwees7lz2hK8YAdmSaZgVxWxtemsd6WBW4Rc8t/s4/zciM g8Y=
- References: <CY1PR00MB0121F4B3B7C37126F6C5FEDDEA9A0@CY1PR00MB0121.namprd00.prod.outlook.com>
On Tue, 8 Oct 2019, Andrew Dean via gcc wrote:
> But I can see that aarch64-builtins.c also includes headers not listed
> here. (function.h, basic-block.h, for example) Are we supposed to
> manually keep track of the transitive header dependencies and keep the
> makefiles up to date, or is there some sort of automatic dependency
> management that is happening on our behalf? Something along the lines of
> some of the answers provided here:
> https://stackoverflow.com/questions/2394609/makefile-header-dependencies
The automatic dependency patch series
<https://gcc.gnu.org/ml/gcc-patches/2013-09/msg01662.html> did not
generally address target-specific files (though it updated t-i386 as an
example); see <https://gcc.gnu.org/ml/gcc-patches/2013-07/msg01218.html>
for more discussion of what it did not include. It is quite possible that
some places are specifying dependencies manually unnecessarily.
--
Joseph S. Myers
joseph@codesourcery.com