This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: makefile dependencies
- From: "Andrew Dean via gcc" <gcc at gcc dot gnu dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 9 Oct 2019 16:38:54 +0000
- Subject: RE: makefile dependencies
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zDJs21kDqNl+DX00mwWDDj+v6w9kLcPuj/40qggmBfg=; b=Fmzj/xcVq1CRIi8lAbeY83zFFTnqd/V5uyEr/B1oXvs8ox6dLscF7MCNokooMb4ou5yuA84sVJeUwRjg9YVep9pInjI2cY3vaAXcZqatlad5taC89iG6GQ6aqWI2Canb44m96vtxZgeG5DR3JARe+K6vNnmmGAVgsxiKvSMmwfImlaULqY3fvAO3rfH5NLS9536goEiVkDE1tDHCVYCvrrd5kIBXVPjLq34/K2yHa/0BgEgxxq23JK8zPIOt/514pQc/DY8LeTmQQdaZi7VFnLLZ9YqKnrm7eeCJ7l7zICQ5CwIWgyLOVq3vhcsmDpPL+IbDlwiduyApGdlXpU3wOg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h8QPlRzmTeG8Vy2CjFmKMbERjFa4j3Xw/uV1/R+rQYcQ/wxUQ5wRzF4lW4lGaNvGP+HFmCX92e9FHcoNzG2uax3Tzvson3hfF8TDmDYpsxqPgChzIbb270BupUQinLZzMih74igEl0ypI0JOuSwtvnf+1GLy2mRV4cWds9b6+IrOZOi23MoZ19Fb+NZ/yj3xf25xJ+x36Sxj9aRFNKADMvJjv1KxDmvvI1D1QSAM+CGXH7Ucd0rx9oWd0cWi5HaEOucAW0QZ0Cs0AXKqGxk1Eb/H1feUTSq87brvG1uZ42QW9qEHdgU9e0SZC7JS6MBikdtVfPnleklwg73T0XFgqw==
- References: <CY1PR00MB0121F4B3B7C37126F6C5FEDDEA9A0@CY1PR00MB0121.namprd00.prod.outlook.com> <alpine.DEB.2.21.1910082255230.32747@digraph.polyomino.org.uk>
- Reply-to: Andrew Dean <Andrew dot Dean at microsoft dot com>
Thanks, Joseph. This is exactly what I was looking for.
-Andrew
-----Original Message-----
From: gcc-owner@gcc.gnu.org <gcc-owner@gcc.gnu.org> On Behalf Of Joseph Myers
Sent: Tuesday, October 8, 2019 3:57 PM
To: Andrew Dean <Andrew.Dean@microsoft.com>
Cc: gcc@gcc.gnu.org
Subject: Re: makefile dependencies
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