SUN make and gcc 3.0: committed changes to branch

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed May 30 22:48:00 GMT 2001


> From: Alexandre Oliva <aoliva@redhat.com>
> Date: 31 May 2001 02:33:14 -0300

> On May 31, 2001, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> 
> > The question is what to actually do.  Do we just punt and say
> > "use GNU make", or do we fix this?  I think automake should
> > cater to this misfeature in the automatic rule generation
> 
> automake doesn't support VPATH-based set-ups.  In fact, it doesn't
> recommend it precisely because it's not portable and, when you start
> using it, you get into all kind of oddities like this.
> 
> In an correct automake-based setup, each directory containing headers
> would have its own Makefile.am with rules to install the headers in
> it.

I don't see how that canned reply applies here.  I suggest
having a look at the actual instance.  The VPATH is generated by
automake *itself*, and the headers *are* included in the same
source directory.  I believe the generated single VPATH is
necessary for srcdir != objdir builds such as what we recommend.

brgds, H-P



More information about the Gcc-patches mailing list