This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Default source file names
- From: "Gary V. Vaughan" <gary at gnu dot org>
- To: automake at gnu dot org
- Date: Tue, 18 Nov 2003 17:54:24 +0000
- Subject: Default source file names
- Organization: FSF
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Currently m4 builds a dozen or so modules with the LTLIBRARIES primary. I had
hoped that the default source file name would be set appropriately so that I
could replace a whole lot of:
~ pkglibexec_LTLIBRARIES = gnu.la ..... traditional.la
~ AM_LDFLAGS = -module
~ gnu_la_SOURCES = gnu.c
~ ...
~ traditional_la_SOURCES = traditional.c
with the simpler:
~ pkglibexec_LTLIBRARIES = gnu.la ..... traditional.la
~ AM_LDFLAGS = -module
but unfortunately Automake wants to build `gnu.la' from `gnu.la.c', so the
repetitive sources declarations are necessary, unless I rename all my source
files.
Can we have more realistic defaulting on names like this?
Cheers,
Gary.
- --
~ ())_. Gary V. Vaughan gary@(lilith.warpmail.net|gnu.org)
~ ( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
~ / )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/ulzQFRMICSmD1gYRAuFEAKC+Qe9cmj2boXY6teIDA5XhyiGRFACcDV1/
+wrAgZP0Pjk4qJlsXTC3/uE=
=xIkf
-----END PGP SIGNATURE-----