Hello Jan, (I'll try to get to your pending patch soon)
* Jan Engelhardt wrote on Tue, Dec 09, 2008 at 12:10:51AM CET: > > at the moment, the pam_mount project uses the following hack to > workaround a libtool warning message: > > # Makefile.am (abridged) > bin_PROGRAMS = mount.crypt > mount_crypt_SOURCES = nlt-loop.c ... > lib_LTLIBRARYES = pam_mount.la Typo lib_LTLIBRARIES. > pam_mount_la_SOURCES = loop.c ... > pam_mount_la_LDFLAGS = -module -avoid-version > > /* nlt-loop.c */ > #include "loop.c" > > Warning message that is avoided by doing so: > > src/Makefile.am: object `loop.$(OBJEXT)' created both with > libtool and without There is a FAQ entry on this, see 'info Automake "Libtool Issues"'. > Because it is a bit tiring of updating two _SOURCES lists, There should never be a need for that. foo_2_SOURCES = $(foo_1_SOURCES) Hope that helps. Cheers, Ralf
