This is the mail archive of the automake@gnu.org mailing list for the automake project.


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

Re: Alternative to configure substitution in _SOURCES


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 `@GTKMM_H_FILES@
> 
> 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
murrayc@usa.net
www.murrayc.com



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