automake
[Top][All Lists]
Advanced

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

Re: Alternative to configure substitution in _SOURCES


From: Murray Cumming
Subject: Re: Alternative to configure substitution in _SOURCES
Date: 09 Oct 2001 17:26:57 +0200

On Tue, 2001-10-09 at 13:15, Murray Cumming wrote:
> With automake 1.5, when I use a configure variable in the list of
> sources in a Makefile.am here:
> http://cvs.gnome.org/lxr/source/gtkmm-root/gtk-build/Makefile.am#32
> 
> I get this error:
> 
> gtk/gtkmm/Makefile.am:32: libgtkmm_la_SOURCES includes configure
> substitution address@hidden@
> 
> and the list of files is not added to libgtkmm_la_SOURCES.
> 
> However, we need to use the same list of sources in several Makefile.am
> files, and we would like to generate that list automatically based on
> file extensions. So what is the best way to do this?

I decided to manually list the files in an automake fragment that's
included with the new automake include feature. That seems like a pretty
good solution.

-- 
Murray Cumming
address@hidden
www.murrayc.com




reply via email to

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