This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: libtool compilation of files
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: Ognyan Kulev <ogi at fmi dot uni-sofia dot bg>
- Cc: automake at gnu dot org
- Date: Fri, 24 Oct 2003 22:30:48 +0200
- Subject: Re: libtool compilation of files
- References: <3F96DB8B.202@fmi.uni-sofia.bg>
>>> "Ognyan" == Ognyan Kulev <ogi@fmi.uni-sofia.bg> writes:
Ognyan> Hi,
Ognyan> I'm using automake 1.7.8 and libtool 1.5. My Makefile.am (somewhat
Ognyan> long) is:
Ognyan> (In short, memory_objectServer.c and notifyServer.c are generated
Ognyan> files that must not be distributed, i.e. put in _SOURCES.)
[...]
Ognyan> libe3pager_la_LIBADD = memory_objectServer.o notifyServer.o
Replace this by
nodist_libe3pager_la_SOURCES = memory_objectServer.c notifyServer.c
and Automake should output Libtool-compliant rules to compile
these files.
More examples about building built sources are given in
the 'Built sources example' section of the Automake manual.
[...]
Ognyan> My problem is that the following message is generated during linking:
Ognyan> *** Warning: Linking the shared library libe3pager.la against the
Ognyan> non-libtool
Ognyan> *** objects memory_objectServer.o notifyServer.o is not portable!
Libtool objects ends with `.lo', not `.o'. Further discussion
about this are in the 'Libtool Concept' node of the manual.
--
Alexandre Duret-Lutz