aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/default-source
diff options
context:
space:
mode:
authorH.Habighorst <h.habighorst@googlemail.com>2009-10-01 11:37:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-01 11:37:50 +0800
commitf62728b55e201ea92e682e07b3253ce4fb42d5af (patch)
tree2083db9702cd5068e7fc4471c47086071e366015 /plugins/default-source
parentda3ae4fd5fa723abc4574d0459c761e76abba080 (diff)
downloadgsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.tar.gz
gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.tar.zst
gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.zip
Bug 596848 - Use per-target CPPFLAGS in automake files
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)