automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: appending to DEPENDENCIES


From: Ralf Wildenhues
Subject: Re: appending to DEPENDENCIES
Date: Sat, 2 Oct 2010 20:30:09 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

Hello Eric, Steffen,

long ago:

* Eric Blake wrote on Mon, May 17, 2010 at 08:08:05PM CEST:
> On 05/17/2010 12:02 PM, Ralf Wildenhues wrote:
> > * Eric Blake wrote on Sat, May 15, 2010 at 01:41:08AM CEST:
> >> Right now, either you use foo_DEPENDENCIES and have to list everything
> >> yourself, or you omit it, and automake does a good job.  But what about
> >> the case where you want automake to do its automatic dependencies, and
> >> then you add one more file?  It seems like it would be nice to support
> >> foo_DEPENDENCIES += other_file, without requiring that foo_DEPENDENCIES=
> >> previously occur in the file.
> > 
> > Yes, such a mechanism would be nice.  The Automake way wouldn't be to
> > allow 'foo_DEPENDENCIES +=' without prior initialization though (that
> > would defeat typo detection, and probably complicate the internal logic
> > wrt. conditionals), but adding of another variable to the default list
> > of foo_DEPENDENCIES.  I guess.  Suggestions for naming such a variable?
> 
> How about 'foo_EXTRA_DEPENDENCIES'?

* Steffen Dettmer wrote on Tue, May 18, 2010 at 12:08:19PM CEST:
> 
> foo_EXTRA_DEPS?

EXTRA_foo_DEPENDENCIES would fit even better with the Uniform naming
scheme, it fits right in with EXTRA_foo_SOURCES.

Thanks everyone for the suggestions, sorry for the delay.  I'm following
up on automake-patches with the implementation.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]