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/attachment-reminder/Makefile.am | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'plugins/attachment-reminder') diff --git a/plugins/attachment-reminder/Makefile.am b/plugins/attachment-reminder/Makefile.am index 94e433795f..1db3b79dad 100644 --- a/plugins/attachment-reminder/Makefile.am +++ b/plugins/attachment-reminder/Makefile.am @@ -1,16 +1,6 @@ -AM_CPPFLAGS = \ - -I$(top_builddir)/composer \ - -I$(top_srcdir) \ - -I$(top_srcdir)/widgets \ - $(GNOME_PLATFORM_CFLAGS) \ - $(EVOLUTION_MAIL_CFLAGS) \ - -DEVOLUTION_PLUGINDIR="\"$(plugindir)\"" - @EVO_PLUGIN_RULE@ -error_DATA = \ - org-gnome-attachment-reminder.error - +error_DATA = org-gnome-attachment-reminder.error errordir = $(privdatadir)/errors @@ -20,8 +10,19 @@ plugin_DATA = \ plugin_LTLIBRARIES = liborg-gnome-evolution-attachment-reminder.la +liborg_gnome_evolution_attachment_reminder_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I$(top_builddir)/composer \ + -I$(top_srcdir) \ + -I$(top_srcdir)/widgets \ + $(GNOME_PLATFORM_CFLAGS) \ + $(EVOLUTION_MAIL_CFLAGS) \ + -DEVOLUTION_PLUGINDIR="\"$(plugindir)\"" + liborg_gnome_evolution_attachment_reminder_la_SOURCES = attachment-reminder.c + liborg_gnome_evolution_attachment_reminder_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) + liborg_gnome_evolution_attachment_reminder_la_LIBADD = \ $(top_builddir)/composer/libcomposer.la \ $(top_builddir)/shell/libeshell.la \ -- cgit