This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Alternative to configure substitution in _SOURCES
- To: murrayc at usa dot net
- Subject: Re: Alternative to configure substitution in _SOURCES
- From: murrayc at t-online dot de (Murray Cumming)
- Date: 09 Oct 2001 17:26:57 +0200
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <1002626117.9058.27.camel@localhost.localdomain>
- Reply-To: murrayc at usa dot net
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