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 --- addressbook/printing/Makefile.am | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'addressbook/printing/Makefile.am') diff --git a/addressbook/printing/Makefile.am b/addressbook/printing/Makefile.am index 5304e21c01..2c0d824c93 100644 --- a/addressbook/printing/Makefile.am +++ b/addressbook/printing/Makefile.am @@ -4,7 +4,8 @@ ecps_DATA = \ medbook.ecps \ phonelist.ecps -AM_CPPFLAGS = \ +libecontactprint_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ -DG_LOG_DOMAIN=\"addressbook-printing\" \ -I$(top_srcdir)/addressbook \ -I$(top_srcdir) \ @@ -12,8 +13,7 @@ AM_CPPFLAGS = \ -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\" \ $(EVOLUTION_ADDRESSBOOK_CFLAGS) -noinst_LTLIBRARIES = \ - libecontactprint.la +noinst_LTLIBRARIES = libecontactprint.la libecontactprint_la_SOURCES = \ e-contact-print-types.h \ @@ -24,11 +24,18 @@ libecontactprint_la_LIBADD = \ $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/widgets/misc/libemiscwidgets.la -noinst_PROGRAMS = \ - contact-print-test +noinst_PROGRAMS = contact-print-test -contact_print_test_SOURCES = \ - test-print.c +contact_print_test_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -DG_LOG_DOMAIN=\"addressbook-printing\" \ + -I$(top_srcdir)/addressbook \ + -I$(top_srcdir) \ + -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ + -DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\" \ + $(EVOLUTION_ADDRESSBOOK_CFLAGS) + +contact_print_test_SOURCES = test-print.c contact_print_test_LDADD = \ libecontactprint.la \ -- cgit