Stephen Torri <[EMAIL PROTECTED]> writes:

> On Mon, 2002-11-18 at 08:23, Earnie Boyd wrote:
> > As long as the sub-project didn't have dependencies on the other parts, 
> > your sound developer should be able to configure, cd Z and make.  You 
> > could even create a configure.ac for Z that would just configure that 
> > portion.  If Z does have dependencies on other parts then make sure 
> > they're satisfiable via the generated makefile.
> > 
> > Earnie.
> 
> How would you make sure that dependencies on other parts are satisified?

Just add a dependency on a relative filename, and a rule to make that
subdir:

bin_PROGRAMS = foo
foo_SOURCES = bar.c
foo_LDADD = $(top_builddir)/mylib/mylib.la

$(top_builddir)/mylib/mylib.la:
        cd $(top_builddir)/mylib; \
        make mylib


-- 
Roger Leigh
                "Liberty and Livelihood" - Support the Countryside Alliance
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848 available on public keyservers


Reply via email to