Re: Depend on a local library in a different source directory

2008-10-12 Thread Ralf Wildenhues
Hello Sylvain, Thomas, Please don't top-post, and please keep the list in Cc:, thanks. * Sylvain Beucler wrote on Sun, Oct 12, 2008 at 08:44:45PM CEST: > > Is there also a way to automatically (re)build '../mylib.la' when I > issue 'make' in 'lib/python/'? put this in lib/python/Makefile.am: .

Re: Depend on a local library in a different source directory

2008-10-12 Thread Sylvain Beucler
Hi, Thanks, this works. Is there also a way to automatically (re)build '../mylib.la' when I issue 'make' in 'lib/python/'? -- Sylvain On Sun, Oct 12, 2008 at 01:21:39PM -0500, Thomas Epperson wrote: > Try placing this in the makefile.am for the lib folder. > SUBDIRS = . python > > That shoul

Depend on a local library in a different source directory

2008-10-12 Thread Sylvain Beucler
Hi, I have the following layout: lib/ lib/Makefile.am lib/mylib.la lib/python/ lib/python/Makefile.am lib/python/_pymylib.la When building, 'make' enters 'lib/python/' first without building 'mylib.la'. Since '_pymylib.la' depends on it, compilation fails. Another example: I have