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/imap-features/Makefile.am | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'plugins/imap-features') diff --git a/plugins/imap-features/Makefile.am b/plugins/imap-features/Makefile.am index d21841f7c7..09edf33303 100644 --- a/plugins/imap-features/Makefile.am +++ b/plugins/imap-features/Makefile.am @@ -2,32 +2,31 @@ if OS_WIN32 NO_UNDEFINED_REQUIRED_LIBS = $(top_builddir)/mail/libevolution-mail.la endif -AM_CPPFLAGS = \ +@EVO_PLUGIN_RULE@ + +plugin_DATA = org-gnome-imap-features.eplug + +plugin_LTLIBRARIES = liborg-gnome-imap-features.la + +liborg_gnome_imap_features_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/mail \ $(EVOLUTION_MAIL_CFLAGS) \ $(CAMEL_IMAP_CFLAGS) \ -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ - -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" + -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" -@EVO_PLUGIN_RULE@ - -plugin_DATA = org-gnome-imap-features.eplug -plugin_LTLIBRARIES = liborg-gnome-imap-features.la - -liborg_gnome_imap_features_la_SOURCES = \ - imap-headers.c +liborg_gnome_imap_features_la_SOURCES = imap-headers.c liborg_gnome_imap_features_la_LIBADD= \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/mail/libevolution-mail.la \ $(EVOLUTION_MAIL_LIBS) - liborg_gnome_imap_features_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) -glade_DATA = \ - imap-headers.glade +glade_DATA = imap-headers.glade errordir = $(privdatadir)/errors @@ -35,7 +34,7 @@ BUILT_SOURCES = org-gnome-imap-features.eplug $(error_i18n) EXTRA_DIST = \ $(glade_DATA) \ - org-gnome-imap-features.eplug.xml + org-gnome-imap-features.eplug.xml CLEANFILES = $(BUILT_SOURCES) -- cgit v1.2.3