[Top][All Lists]

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

Re: some usage questions

From: Alexandre Duret-Lutz
Subject: Re: some usage questions
Date: Tue, 07 Sep 2004 21:58:42 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Martin" == Martin MAURER <address@hidden> writes:


 Martin> I thought about a noinst library, and this might be an option. 

It is.

 Martin> what i would like to have is a configure file in the
 Martin> toplevel directory, which then checks the dependencies
 Martin> for all the clients and enables building those clients,
 Martin> which can be built.

See `Conditional subdirectories' is the Automake manual.

 Martin> it would be nice if changes in sharedc++ would be
 Martin> discovered, when i try to rebuild (for example) the
 Martin> server thus rebuilding the sharedc++ code first.

The easiest way for this is to list sharedc++ first in SUBDIRS,
so it is always recursed first.  That way the library will
always be up to date when the client are built.

If you use xxx_LDADD = ../sharedc++/libwhatever.a when building
client xxx, the client will be relinked whenever libwhatever.a
has changed.
Alexandre Duret-Lutz

reply via email to

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