This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix inclusion of generated files
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 20 Nov 2002 15:29:08 -0500
- Subject: Re: Fix inclusion of generated files
- References: <20021029151656.GA14913@nevyn.them.org> <20021101102804.GC967@bubble.sa.bigpond.net.au>
On Fri, Nov 01, 2002 at 08:58:04PM +1030, Alan Modra wrote:
> On Tue, Oct 29, 2002 at 10:16:56AM -0500, Daniel Jacobowitz wrote:
> > * ld/emultempl/aix.em: Use include <> for generated headers.
>
> Breaks "make dep-am". Better would be to distribute the generated
> files renamed (or in a subdir), then move-if-change to the build dir.
Blech. That's ridiculously hard with automake. Here's a compromise,
pulled out of a hat: if you use GCC 3.2 to run 'make dep-am', it will
do the right thing even with my changes.
And conveniently, for some reason I don't quite understand, you get an
error at make dep-am time if you use GCC 2.95 now. The #include <>
confuses it to start putting $(shell pwd) at the beginning of
dependencies.
Is this OK with you? If so, want me to add to the error output of make
dep-am mentioning this?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer