Re: Automatic dependecy based compilation targets

2007-02-12 Thread Dizzy
On Saturday 10 February 2007 14:15, you wrote: > Hello Mihai, Hello > Well.  Neither is completely 100% portable; IIRC not even linking a > convenience library into a program is (but that is a Libtool limitation > that could be overcome, AFAIK).  I don't see a way around you making > sure you onl

Re: Automatic dependecy based compilation targets

2007-02-10 Thread Ralf Wildenhues
Hello Mihai, * Dizzy wrote on Fri, Feb 02, 2007 at 11:49:10AM CET: On Thursday 01 February 2007 19:40, Ralf Wildenhues wrote: > > If you want your libfoo and libbar to not be convenience archives, but > installable libraries, then for the EXTRA* stuff I think you need to put > "-rpath $(libdir)

Re: Automatic dependecy based compilation targets

2007-02-02 Thread Dizzy
On Thursday 01 February 2007 19:40, Ralf Wildenhues wrote: > Hello Mihai, Hello > Quote : > |As a rule of thumb, link a libtool convenience library into at most > | one libtool library, and never into a program, and link libtoo

Re: Automatic dependecy based compilation targets

2007-02-01 Thread Ralf Wildenhues
Hello Mihai, * Dizzy wrote on Thu, Feb 01, 2007 at 03:22:44PM CET: > > I get multiple definitions errors at link time for libfinal.la and symbols in > libbar.la. Now I can workarround this by "knowing" that libbar.la "provides" > libfoo.la (as LIBADD) and I shouldn't list libfoo.la too in libfi

Re: Automatic dependecy based compilation targets

2007-02-01 Thread Dizzy
On Wednesday 31 January 2007 19:38, Ralf Wildenhues wrote: > * Dizzy wrote on Wed, Jan 31, 2007 at 12:44:39PM CET: > Learn about EXTRA_noinst_LIBRARIES and other EXTRA_* thingies. Thank you very much I have done most of what I wanted with EXTRA_LTLIBRARIES (there is no EXTRA_noinst_LIBRARIES). No

Re: Automatic dependecy based compilation targets

2007-01-31 Thread Ralf Wildenhues
* Dizzy wrote on Wed, Jan 31, 2007 at 12:44:39PM CET: > I would like to somehow describe a Makefile.am file as: > > libsocket_a_SOURCES=Socket.cpp Socket.hpp > > libconnection_a_SOURCES=Connection.cpp Connection.hpp > libconnection_a_LIBADD=libsocket.a > > And then, if I have a sbin_PROGRAMS lik

Automatic dependecy based compilation targets

2007-01-31 Thread Dizzy
Hi there I would like to somehow describe a Makefile.am file as: libsocket_a_SOURCES=Socket.cpp Socket.hpp libconnection_a_SOURCES=Connection.cpp Connection.hpp libconnection_a_LIBADD=libsocket.a And then, if I have a sbin_PROGRAMS like sbin_PROGRAMS=prog1 prog1_SOURCES=... prog1_LDADD=libconn