automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: back to directory dependencies


From: Ralf Wildenhues
Subject: Re: back to directory dependencies
Date: Tue, 7 Jun 2005 16:16:26 +0200
User-agent: Mutt/1.4.1i

Hi Baurzhan,

* Baurzhan Ismagulov wrote on Tue, Jun 07, 2005 at 01:12:45PM CEST:
> 
> Now I want to integrate several project into the build system. The
> directory hierarchy looks like this:
> 
> doc
> drv
> drv/d1
> drv/d2
> lib
> lib/l1
> lib/l2
> src1
> src2
> 
> d1, d2, l1, l2, src1, src2 are existing projects with Makefile or
> configure.ac / Makefile.am. I want to leave them as they are and write a
> Makefile that would build them in the necessary order according to the
> dependencies.
> 
> So, how can I specify the build dependencies?

Put
  AC_CONFIG_SUBDIRS([d1 d2 l1 l2 src1 src2])
in toplevel configure.ac and
  SUBDIRS = d1 d2 l1 l2 src1 src2
in toplevel Makefile.am, in the order in which you want them configured
resp. built.

Read
  info Autoconf Subdirectories
  info Automake Subpackages
and more generally
  info Automake Directories.

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]