This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Use $(VARRAY_H) in dependencies?
On Monday 09 May 2005 03:55, Matt Kraai wrote:
> On Sun, May 08, 2005 at 07:31:38PM -0700, Matt Kraai wrote:
> > On Mon, May 09, 2005 at 03:03:23AM +0100, Paul Brook wrote:
> > > On Monday 09 May 2005 02:26, Matt Kraai wrote:
> > > > Howdy,
> > > >
> > > > The rules for c-objc-common.o, loop-unroll.o, and tree-inline.o
> > > > include $(VARRAY_H), which is never defined, in their dependency
> > > > lists. The rest of the targets that depend on varray.h include
> > > > varray.h in their dependency list.
> > > >
> > > > varray.h includes machmode.h, system.h, coretypes.h, and tm.h, so
> > > > Makefile.in should define and use VARRAY_H, right?
> > >
> > > Already one step ahead of you :-)
> > >
> > > 2005-05-07 Paul Brook <paul@codesourcery.com>
> > >
> > > * Makefile.in: Fix dependencies.
> > > (GCOV_IO_H, VARRAY_H): Set.
> >
> > Great.
>
> The dependencies for the rules for build/genautomata.o,
> build/varray.o, and gtype-desc.o still include varray.h instead of
> $(VARRAY_H). Is this on purpose? If so, why?
That's a oversight. My dependency checking script obviously doesn't check
those entries.
Paul