Re: building without $(top_builddir) in LDADD (was Re: libtool libraries, dependencies and parallel builds)

2012-11-02 Thread Diego Elio Pettenò
On 02/11/2012 16:16, Václav Zeman wrote: > How can I make this work as you have suggested without $(top_builddir)? Okay here's my rule of thumb (Stefano can give you the informed, developer opinion): - if it's declared in the same makefile, don't use $(top_builddir); - if it's declared on a dif

building without $(top_builddir) in LDADD (was Re: libtool libraries, dependencies and parallel builds)

2012-11-02 Thread Václav Zeman
On 11/02/2012 09:43 AM, Stefano Lattarini wrote: > On 11/02/2012 09:18 AM, Václav Zeman wrote: >> On 1 November 2012 17:42, Diego Elio Pettenò wrote: >>> On 01/11/2012 09:18, Vincent Torri wrote: lib_eo_libeo_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la >>> >>> Don't use $(top_builddir)

Re: libtool libraries, dependencies and parallel builds

2012-11-02 Thread Stefano Lattarini
On 11/02/2012 09:18 AM, Václav Zeman wrote: > On 1 November 2012 17:42, Diego Elio Pettenò wrote: >> On 01/11/2012 09:18, Vincent Torri wrote: >>> lib_eo_libeo_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la >> >> Don't use $(top_builddir) and it should work just fine. > Is there a rationale be

Re: libtool libraries, dependencies and parallel builds

2012-11-02 Thread Václav Zeman
On 1 November 2012 17:42, Diego Elio Pettenò wrote: > On 01/11/2012 09:18, Vincent Torri wrote: >> lib_eo_libeo_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la > > Don't use $(top_builddir) and it should work just fine. Is there a rationale behind this? I am not saying it is wrong, I just want

Re: libtool libraries, dependencies and parallel builds

2012-11-01 Thread Diego Elio Pettenò
On 01/11/2012 09:18, Vincent Torri wrote: > lib_eo_libeo_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la Don't use $(top_builddir) and it should work just fine. -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/

libtool libraries, dependencies and parallel builds

2012-11-01 Thread Vincent Torri
Hey I want to build to libraries names eina and eo within a single Makefile.am. They are in the following tree structure: src/Makefile.am src/lib/eina/ src/lib/eo eo depends on eina. The Makefile.am file is (i've stripped the unneeded parts) AUTOMAKE_OPTIONS = subdir-objects lib_LTLIBRARIES =