>>> "Martin" == Martin MAURER <[EMAIL PROTECTED]> 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
