[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-recursive automake
From: |
Robert Collins |
Subject: |
Re: Non-recursive automake |
Date: |
Sun, 18 Oct 2009 18:00:14 +1100 |
On Sun, 2009-10-18 at 08:39 +0200, Ralf Wildenhues wrote:
> > http://sources.redhat.com/ml/automake/2001-08/msg00112.html
> >
> > This added a new directive 'subdir_include' which does an include but
> > adjusts all the paths in the make/automake rules in the included
> > fragment to the relative path to the included rules.
>
> The devil is in the details. What about -I paths in *_CPPFLAGS? What
> with substituted variables? What about rewritten variable names, such
> as: libfoo_la_SOURCES becomes sub_libfoo_la_SOURCES, and what if the
> user references $(libfoo_la_SOURCES) elsewhere, say, in
> libbar_la_SOURCES?
>
> No. Search for several prior discussions on the Automake lists for why
> this cannot be done safely without highly altering the set of allowed
> semantics, and things the user can expect.
I'll take it on faith; I must have missed those discussions (there was a
period while I didn't receive forwarded mail from my old cygwin address
before I resubscribed). Regardless, if something usable is added, +1.
-Rob
signature.asc
Description: This is a digitally signed message part