automake
[Top][All Lists]
Advanced

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

Re: Libraries with sources in subdirectories?


From: Steven G. Johnson
Subject: Re: Libraries with sources in subdirectories?
Date: Tue, 29 May 2001 23:29:57 -0400 (EDT)

On 29 May 2001, Tom Tromey wrote:
> Steven> In src/Makefile.am, putting lib_foo_la_SOURCES = bar/baz.c,
> Steven> etcetera, does not seem to be supported.  Is there, or will
> Steven> there be at some point, a proper way of going about this sort
> Steven> of thing?  Or at least a moderately clean hack?  =)
> 
> With the most recent automake prerelease, this works fine.

Great!  I really appreciate your quick response, thanks!

> You can even arrange to have the objects kept in subdirectories using:
>     AUTOMAKE_OPTIONS = subdir-objects
> This option isn't really documented yet, but it is on my to-do list.

I assume you mean that bar/baz.c is normally built as bar/baz.o, but if I
include foobar-objects in AUTOMAKE_OPTIONS, then *all* objects will be
kept in foobar/.  That's a nice feature, too.

> Documentation and bug fixing are the only things delaying automake 1.5.
> And right now I know of no bugs that must be fixed for the release.

That's good to hear; coming on the heels of autoconf 2.50 and libtool 1.4,
the GNU toolchain is getting a much-needed overhaul.  I would love to see
the new release within the next couple of months.

Cordially,
Steven G. Johnson





reply via email to

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