This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SUN make and gcc 3.0: committed changes to branch


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.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]