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/pst-import/Makefile.am | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'plugins/pst-import/Makefile.am') diff --git a/plugins/pst-import/Makefile.am b/plugins/pst-import/Makefile.am index 7c4ace9a21..f120065f9a 100644 --- a/plugins/pst-import/Makefile.am +++ b/plugins/pst-import/Makefile.am @@ -6,7 +6,14 @@ NO_UNDEFINED_REQUIRED_LIBS = \ $(EVOLUTION_MAIL_LIBS) endif -AM_CPPFLAGS = \ +@EVO_PLUGIN_RULE@ + +plugin_DATA = org-gnome-pst-import.eplug + +plugin_LTLIBRARIES = liborg-gnome-pst-import.la + +liborg_gnome_pst_import_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/widgets \ -I$(top_builddir) \ @@ -17,14 +24,10 @@ AM_CPPFLAGS = \ $(EVOLUTION_MAIL_CFLAGS) \ $(LIBPST_CFLAGS) -@EVO_PLUGIN_RULE@ +liborg_gnome_pst_import_la_SOURCES = pst-importer.c -plugin_DATA = org-gnome-pst-import.eplug -plugin_LTLIBRARIES = liborg-gnome-pst-import.la +liborg_gnome_pst_import_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) -liborg_gnome_pst_import_la_SOURCES = pst-importer.c -liborg_gnome_pst_import_la_LDFLAGS = \ - -module -avoid-version $(NO_UNDEFINED) liborg_gnome_pst_import_la_LIBADD = \ $(top_builddir)/mail/libevolution-mail.la \ $(GNOME_PLATFORM_LIBS) \ -- cgit v1.2.3