diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2011-10-12 18:45:34 +0100 |
---|---|---|
committer | Alban Crequy <alban.crequy@collabora.co.uk> | 2011-10-28 16:44:11 +0100 |
commit | f4b4768caabf44f0c2955e97bf8c8af592ff23b1 (patch) | |
tree | bd138e1121a1cb4891a419a94809a1ede1fa45f2 /plugins | |
parent | 49925bb583375e19b2d0fa0aeda7902f79fca370 (diff) | |
download | telepathy-gabble-f4b4768caabf44f0c2955e97bf8c8af592ff23b1.tar.gz |
Install the test plugin for the installed tests
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index a303d95cd..97f87a4c5 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -3,9 +3,29 @@ plugindir = $(libdir)/telepathy/gabble-0 installable_plugins = \ gateways.la +test_only_plugins = \ + test.la + # testing-only plugins +if ENABLE_INSTALLED_TESTS noinst_LTLIBRARIES = \ - test.la + $(NULL) + +testplugindir = $(gabbletestsdir)/plugins +testplugin_LTLIBRARIES = \ + $(test_only_plugins) \ + $(NULL) + +test_la_LDFLAGS = $(AM_LDFLAGS) +else +noinst_LTLIBRARIES = \ + $(test_only_plugins) \ + $(NULL) + +# because test.la is not installed, libtool will want to compile it as static +# despite -shared (a convenience library), unless we also use -rpath +test_la_LDFLAGS = $(AM_LDFLAGS) -rpath $(plugindir) +endif if ENABLE_PLUGINS plugin_LTLIBRARIES = $(installable_plugins) @@ -21,10 +41,6 @@ test_la_SOURCES = \ test.c \ test.h -# because test.la is not installed, libtool will want to compile it as static -# despite -shared (a convenience library), unless we also use -rpath -test_la_LDFLAGS = $(AM_LDFLAGS) -rpath $(plugindir) - gateways_la_SOURCES = \ gateways.c \ gateways.h |