Hello Vincent, * Vincent Torri wrote on Mon, Mar 28, 2011 at 06:40:51AM CEST: > On Mon, Mar 28, 2011 at 1:10 AM, Bob Friesenhahn < > [email protected]> wrote: > > On Sun, 27 Mar 2011, Vincent Torri wrote: > >> I have a library that depends on several libraries, these latter ones > >> must be built first: > >> > >> pkg_LTLIBRARIES = pdf.la > >> > >> noinst_LTLIBRARIES = libfitz.la libdraw.la libcmaps.la libfonts.la > >> libmupdf.la > >> > >> Does someone know what i should do to enable parallel compilation ? > > > > Maybe you should make pdf.la dependent on ibfitz.la libdraw.la ...? > you mean: > > pdf_la_DEPENDENCIES = libfitz.la libdraw.la ... ? > > I thought that adding libfitz.la libdraw.la to pdf_la_LIBADD was sufficient
It is sufficient, but you may not spell the dependency as pdf_la_LIBADD = $(top_builddir)/.../foo.la ... but should spell it as pdf_la_LIBADD = foo.la ... because 'make' does not flatten or normalize names when comparing targets or dependencies. Cheers, Ralf
