Hello. I have a project that uses automake and libtool to build a library and a number of tests for it (http://hdf.ncsa.uiuc.edu/HDF5). The main library can be either a static or a shared library; when a shared library, it has a libtool version number.
Since all of the tests include the main library (using LDADD), they all depend on that library. Thus, when the main library is changed, all of the tests must be recompiled. It would be nice if, when the library is configured as a shared library, the tests only needed to re-link rather than being completely recompiled. I can't figure out a way to do this short of editing automake itself. Any ideas? Thanks very much, James Laird Please CC me on replies.