aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile.am7
-rw-r--r--mail/importers/Makefile.am4
2 files changed, 7 insertions, 4 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am
index d15e7b050d..80777de7a5 100644
--- a/mail/Makefile.am
+++ b/mail/Makefile.am
@@ -1,8 +1,11 @@
SUBDIRS = . default importers
+privsolib_LTLIBRARIES = libevolution-mail.la
+
mailincludedir = $(privincludedir)/mail
-AM_CPPFLAGS = \
+libevolution_mail_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
-I$(top_srcdir)/widgets \
-I$(top_srcdir)/widgets/misc \
-I$(top_srcdir) \
@@ -33,8 +36,6 @@ AM_CPPFLAGS = \
-DPREFIX=\""$(prefix)"\" \
-DG_LOG_DOMAIN=\"evolution-mail\"
-privsolib_LTLIBRARIES = libevolution-mail.la
-
mailinclude_HEADERS = \
e-mail-attachment-bar.h \
e-mail-browser.h \
diff --git a/mail/importers/Makefile.am b/mail/importers/Makefile.am
index 19499a612c..885198107e 100644
--- a/mail/importers/Makefile.am
+++ b/mail/importers/Makefile.am
@@ -5,7 +5,9 @@ endif
privsolib_LTLIBRARIES = libevolution-mail-importers.la
-AM_CPPFLAGS = -I.. \
+libevolution_mail_importers_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -I.. \
-I$(srcdir)/.. \
-I$(top_srcdir) \
-I$(top_srcdir)/widgets \