summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-11-26 20:29:17 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2009-11-27 12:44:50 +0000
commit5c61965eed786193f7f1cc636127e38421a05843 (patch)
treec081536c0a14b3bb05ac7a3254f021d1cae4385c /plugins
parentb9549d801527f1411e992987eab13f4693c8d83f (diff)
Make test plugin build out of tree.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 43dfd3877..00117e712 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -3,8 +3,14 @@ plugindir = $(libdir)/telepathy/gabble-0
noinst_LTLIBRARIES = \
test.la
+test_la_SOURCES = \
+ test.c \
+ test.h
+
test_la_LDFLAGS = -module -avoid-version -rpath $(plugindir) -lm
AM_CFLAGS = $(ERROR_CFLAGS) @DBUS_CFLAGS@ @GLIB_CFLAGS@ @WOCKY_CFLAGS@ \
@TP_GLIB_CFLAGS@ \
- -I $(top_srcdir)/src -I $(top_builddir)/src
+ -I $(top_srcdir)/src -I $(top_builddir)/src \
+ -I $(top_srcdir) -I $(top_builddir) \
+ -I $(top_srcdir)/plugins