This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Computed _SOURCES
- To: automake at gnu dot org
- Subject: Computed _SOURCES
- From: John Levon <moz at compsoc dot man dot ac dot uk>
- Date: Sun, 19 Aug 2001 01:12:50 +0100
- List-Id: Discussion list for automake <automake.gnu.org>
Is it at all possible to have a libblah_la_SOURCES that is partly
composed of variables computed ?
In my example, I want to compute this variable from a canonical list of variables like :
Character
Ref
Url
which after some manipulation, will name various different source files in several
Makefile.am's, for example :
QCharacter.C
QCharacter.h
Now using libblah_la_SOURCES = $(patsubst...) doesn't work as _OBJECTS doesn't (obviously)
calculate the right .lo files
Is this possible or must I repeat myself in the four Makefile.am's that could have _SOURCES
computed from the canonical list ?
thanks,
john
--
"If it is "all Greek to you", perhaps a trip to Athens is in order."
- jjohn, /.