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/email-custom-header/Makefile.am | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'plugins/email-custom-header') diff --git a/plugins/email-custom-header/Makefile.am b/plugins/email-custom-header/Makefile.am index 95d1a974b8..9e827eba8a 100644 --- a/plugins/email-custom-header/Makefile.am +++ b/plugins/email-custom-header/Makefile.am @@ -1,4 +1,12 @@ -AM_CPPFLAGS = -I. \ +@EVO_PLUGIN_RULE@ + +plugin_DATA = org-gnome-email-custom-header.eplug + +plugin_LTLIBRARIES = liborg-gnome-email-custom-header.la + +liborg_gnome_email_custom_header_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I. \ -I$(top_srcdir) \ -I$(top_srcdir)/widgets \ -I$(top_srcdir)/widgets/misc \ @@ -9,17 +17,10 @@ AM_CPPFLAGS = -I. \ -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ -DCONNECTOR_GLADEDIR=\""$(gladedir)"\" - -@EVO_PLUGIN_RULE@ - -plugin_DATA = \ - org-gnome-email-custom-header.eplug - -plugin_LTLIBRARIES = liborg-gnome-email-custom-header.la - liborg_gnome_email_custom_header_la_SOURCES = \ - email-custom-header.c \ + email-custom-header.c \ email-custom-header.h + liborg_gnome_email_custom_header_la_LIBADD = \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/widgets/misc/libemiscwidgets.la \ -- cgit v1.2.3