[tests/tools] Don't install libdisable-npots.so
authorNeil Roberts <neil@linux.intel.com>
Tue, 24 Feb 2009 16:44:30 +0000 (16:44 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 24 Feb 2009 17:04:05 +0000 (17:04 +0000)
commit3425331cc167f029bc4b86a66d95d3e498f52514
tree4b394b78da5dcbe794906b4cbc484df9d79c2f77
parentbff6ce414af6cc3e5d12d9eaed36ff64e5e16fc0
[tests/tools] Don't install libdisable-npots.so

The libdisable-npots library is just used as a helper as part of
make test so it should not be installed.

If noinst_* is used then automake will generate a static library but
this won't work with LD_PRELOAD so we then need an extra custom rule
to link that into a shared library. The custom rule uses the $(LINK)
Makefile var which gets put in the Makefile because of the static
library. We pass libtool a stub -rpath option which causes it to
generate a shared library.
tests/tools/Makefile.am