aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/default-source
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/default-source')
-rw-r--r--plugins/default-source/Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/plugins/default-source/Makefile.am b/plugins/default-source/Makefile.am
index dda1edfa9a..3339f1e406 100644
--- a/plugins/default-source/Makefile.am
+++ b/plugins/default-source/Makefile.am
@@ -1,22 +1,24 @@
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- $(EVOLUTION_CALENDAR_CFLAGS) \
- $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
- $(SOURCE_SEL_CFLAGS)
-
@EVO_PLUGIN_RULE@
plugin_DATA = org-gnome-default-source.eplug
+
plugin_LTLIBRARIES = liborg-gnome-default-source.la
+liborg_gnome_default_source_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ $(EVOLUTION_CALENDAR_CFLAGS) \
+ $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
+ $(SOURCE_SEL_CFLAGS)
liborg_gnome_default_source_la_SOURCES = default-source.c
+
liborg_gnome_default_source_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
+
liborg_gnome_default_source_la_LIBADD = \
$(EVOLUTION_CALENDAR_LIBS) \
$(EVOLUTION_ADDRESSBOOK_LIBS)
-
EXTRA_DIST = org-gnome-default-source.eplug.xml
BUILT_SOURCES = $(plugin_DATA)