From f62728b55e201ea92e682e07b3253ce4fb42d5af Mon Sep 17 00:00:00 2001 From: "H.Habighorst" Date: Wed, 30 Sep 2009 23:37:50 -0400 Subject: Bug 596848 - Use per-target CPPFLAGS in automake files --- plugins/default-source/Makefile.am | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'plugins/default-source/Makefile.am') 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) -- cgit