>>> "Ognyan" == Ognyan Kulev <[EMAIL PROTECTED]> 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



Reply via email to