aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/Makefile.am
diff options
context:
space:
mode:
authorH.Habighorst <h.habighorst@googlemail.com>2009-10-01 11:37:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-01 11:37:50 +0800
commitf62728b55e201ea92e682e07b3253ce4fb42d5af (patch)
tree2083db9702cd5068e7fc4471c47086071e366015 /widgets/misc/Makefile.am
parentda3ae4fd5fa723abc4574d0459c761e76abba080 (diff)
downloadgsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.tar.gz
gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.tar.zst
gsoc2013-evolution-f62728b55e201ea92e682e07b3253ce4fb42d5af.zip
Bug 596848 - Use per-target CPPFLAGS in automake files
Diffstat (limited to 'widgets/misc/Makefile.am')
-rw-r--r--widgets/misc/Makefile.am41
1 files changed, 29 insertions, 12 deletions
diff --git a/widgets/misc/Makefile.am b/widgets/misc/Makefile.am
index ef3eba03d2..da75d752bb 100644
--- a/widgets/misc/Makefile.am
+++ b/widgets/misc/Makefile.am
@@ -2,18 +2,7 @@ if OS_WIN32
WIN32_BOOTSTRAP_LIBS = $(top_builddir)/win32/libfilter.la
endif
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/filter \
- -I$(top_srcdir)/widgets \
- -DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
- -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
- -DG_LOG_DOMAIN=__FILE__ \
- $(EVOLUTION_MAIL_CFLAGS) \
- $(GNOME_PLATFORM_CFLAGS)
-
-privsolib_LTLIBRARIES = \
- libemiscwidgets.la
+privsolib_LTLIBRARIES = libemiscwidgets.la
widgetsincludedir = $(privincludedir)/misc
@@ -92,6 +81,17 @@ widgetsinclude_HEADERS = \
ea-cell-table.h \
ea-widgets.h
+libemiscwidgets_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/filter \
+ -I$(top_srcdir)/widgets \
+ -DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
+ -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
+ -DG_LOG_DOMAIN=__FILE__ \
+ $(EVOLUTION_MAIL_CFLAGS) \
+ $(GNOME_PLATFORM_CFLAGS)
+
libemiscwidgets_la_SOURCES = \
$(widgetsinclude_HEADERS) \
$(pilot_sources) \
@@ -172,8 +172,21 @@ noinst_PROGRAMS = \
test-dateedit \
test-preferences-window
+test_widgets_misc_CPPFLAGS= \
+ $(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/filter \
+ -I$(top_srcdir)/widgets \
+ -DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
+ -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
+ -DG_LOG_DOMAIN=__FILE__ \
+ $(EVOLUTION_MAIL_CFLAGS) \
+ $(GNOME_PLATFORM_CFLAGS)
+
# test-calendar
+test_calendar_CPPFLAGS = $(test_widgets_misc_CPPFLAGS)
+
test_calendar_SOURCES = \
test-calendar.c
@@ -185,6 +198,8 @@ test_calendar_LDADD = \
# test-dateedit
+test_dateedit_CPPFLAGS = $(test_widgets_misc_CPPFLAGS)
+
test_dateedit_SOURCES = \
test-dateedit.c
@@ -196,6 +211,8 @@ test_dateedit_LDADD = \
# test-preferences-window
+test_preferences_window_CPPFLAGS = $(test_widgets_misc_CPPFLAGS)
+
test_preferences_window_SOURCES = \
test-preferences-window.c