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/prefer-plain/Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'plugins/prefer-plain') diff --git a/plugins/prefer-plain/Makefile.am b/plugins/prefer-plain/Makefile.am index c8abf81ab8..61222e990e 100644 --- a/plugins/prefer-plain/Makefile.am +++ b/plugins/prefer-plain/Makefile.am @@ -1,14 +1,18 @@ -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(EVOLUTION_MAIL_CFLAGS) - @EVO_PLUGIN_RULE@ plugin_DATA = org-gnome-prefer-plain.eplug + plugin_LTLIBRARIES = liborg-gnome-prefer-plain.la +liborg_gnome_prefer_plain_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I$(top_srcdir) \ + $(EVOLUTION_MAIL_CFLAGS) + liborg_gnome_prefer_plain_la_SOURCES = prefer-plain.c + liborg_gnome_prefer_plain_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) + liborg_gnome_prefer_plain_la_LIBADD = \ $(top_builddir)/mail/libevolution-mail.la \ $(top_builddir)/em-format/libemformat.la \ -- cgit v1.2.3