Hi John,

* John Darrington wrote on Mon, Feb 20, 2006 at 03:42:37AM CET:
> I've been trying to convert a rather largish automake controlled
> project from a recursive style build system, to a non-recursive one.
> I was rather suprised to see that automake decides to put all the
> object files in the root directory; not only ugly, but destroys the
> namespaces afforded by each directory.

Read up on the Automake option subdir-objects in the documentation.
To specify per-package like this:

AC_INIT([foo-package], [1.23], [EMAIL PROTECTED])
AM_INIT_AUTOMAKE([subdir-objects ...])

or per-Makefile.am in `AUTOMAKE_OPTIONS = ...'.  I prefer the first
usually.

Cheers,
Ralf


Reply via email to