[evince] build: Don't use INCLUDES



commit d4216cc576296081571627a74ce4a23efeeb7e02
Author: Christian Persch <chpe gnome org>
Date:   Fri Jul 26 21:26:35 2013 +0200

    build: Don't use INCLUDES
    
    It's deprecated. Instead use *_CPPFLAGS.

 Makefile.am                                    |    5 ---
 backend/comics/Makefile.am                     |   22 ++++++-----
 backend/djvu/Makefile.am                       |   24 +++++++------
 backend/dvi/Makefile.am                        |   24 +++++++------
 backend/dvi/mdvi-lib/Makefile.am               |    1 -
 backend/pdf/Makefile.am                        |   22 ++++++-----
 backend/ps/Makefile.am                         |   22 ++++++-----
 backend/tiff/Makefile.am                       |   20 ++++++-----
 backend/xps/Makefile.am                        |    3 +-
 configure.ac                                   |    4 ++-
 cut-n-paste/gimpcellrenderertoggle/Makefile.am |    3 +-
 cut-n-paste/smclient/Makefile.am               |    2 -
 cut-n-paste/synctex/Makefile.am                |    3 +-
 help/reference/libdocument/Makefile.am         |    4 +--
 help/reference/libview/Makefile.am             |    4 +--
 help/reference/shell/Makefile.am               |    2 -
 libdocument/Makefile.am                        |    2 -
 libmisc/Makefile.am                            |    4 +--
 libview/Makefile.am                            |    2 -
 previewer/Makefile.am                          |    2 -
 properties/Makefile.am                         |   28 ++++++++++-----
 shell/Makefile.am                              |   46 +++++++++++++----------
 thumbnailer/Makefile.am                        |    2 -
 23 files changed, 127 insertions(+), 124 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a971ede..fd3ab97 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,10 +1,5 @@
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
-# Set the minimum required Windows version to Windows 2000 (0x0500).
-if PLATFORM_WIN32
-AM_CPPFLAGS = -D_WIN32_WINNT=0x0500
-endif
-
 SUBDIRS = \
        cut-n-paste \
        data \
diff --git a/backend/comics/Makefile.am b/backend/comics/Makefile.am
index 5a36f1d..6890211 100644
--- a/backend/comics/Makefile.am
+++ b/backend/comics/Makefile.am
@@ -1,19 +1,21 @@
-INCLUDES =                                     \
-       -I$(top_srcdir)                         \
-       -I$(top_srcdir)/libdocument             \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
-       -DEVINCE_COMPILATION                    \
-       $(BACKEND_CFLAGS)                       \
-       $(LIB_CFLAGS)                           \
-       $(WARN_CFLAGS)                          \
-       $(DISABLE_DEPRECATED)
-
 backend_LTLIBRARIES = libcomicsdocument.la
 
 libcomicsdocument_la_SOURCES = \
        comics-document.c      \
        comics-document.h
 
+libcomicsdocument_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/libdocument \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+libcomicsdocument_la_CFLAGS = \
+       $(BACKEND_CFLAGS) \
+       $(LIB_CFLAGS) \
+       $(AM_CFLAGS)
+
 libcomicsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libcomicsdocument_la_LIBADD =                          \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/backend/djvu/Makefile.am b/backend/djvu/Makefile.am
index 1232601..d0179f9 100644
--- a/backend/djvu/Makefile.am
+++ b/backend/djvu/Makefile.am
@@ -1,14 +1,3 @@
-INCLUDES = \
-       -I$(top_srcdir)                                         \
-       -I$(top_srcdir)/libdocument                             \
-       -DGNOMEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\"   \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\"                  \
-       -DEVINCE_COMPILATION                    \
-       $(BACKEND_CFLAGS)                                       \
-       $(DJVU_CFLAGS)                                          \
-       $(WARN_CFLAGS)                                          \
-       $(DISABLE_DEPRECATED)
-
 backend_LTLIBRARIES = libdjvudocument.la
 
 libdjvudocument_la_SOURCES =   \
@@ -20,6 +9,19 @@ libdjvudocument_la_SOURCES =  \
        djvu-text-page.c        \
        djvu-text-page.h
 
+libdjvudocument_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/libdocument \
+       -DGNOMEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\" \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+libdjvudocument_la_CFLAGS = \
+       $(BACKEND_CFLAGS) \
+       $(DJVU_CFLAGS) \
+       $(AM_CFLAGS)
+
 libdjvudocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libdjvudocument_la_LIBADD =                            \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am
index 37665bc..eedf921 100644
--- a/backend/dvi/Makefile.am
+++ b/backend/dvi/Makefile.am
@@ -1,16 +1,5 @@
 SUBDIRS = mdvi-lib
 
-INCLUDES =                                     \
-       -I$(top_srcdir)                         \
-       -I$(top_srcdir)/libdocument             \
-       -I$(srcdir)/mdvi-lib                    \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
-       -DEVINCE_COMPILATION                    \
-       $(WARN_CFLAGS)                          \
-       $(BACKEND_CFLAGS)                       \
-       $(SPECTRE_CFLAGS)                       \
-       $(DISABLE_DEPRECATED)
-
 backend_LTLIBRARIES = libdvidocument.la
 
 libdvidocument_la_SOURCES =    \
@@ -23,6 +12,19 @@ libdvidocument_la_SOURCES =  \
        fonts.c                 \
        fonts.h
 
+libdvidocument_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/libdocument \
+       -I$(srcdir)/mdvi-lib \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+libdvidocument_la_CFLAGS = \
+       $(BACKEND_CFLAGS) \
+       $(SPECTRE_CFLAGS) \
+       $(AM_CFLAGS)
+
 libdvidocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libdvidocument_la_LIBADD =                             \
        mdvi-lib/libmdvi.la                             \
diff --git a/backend/dvi/mdvi-lib/Makefile.am b/backend/dvi/mdvi-lib/Makefile.am
index e976aa6..b13cb57 100644
--- a/backend/dvi/mdvi-lib/Makefile.am
+++ b/backend/dvi/mdvi-lib/Makefile.am
@@ -1,4 +1,3 @@
-INCLUDES = $(WARN_CFLAGS)
 noinst_LTLIBRARIES = libmdvi.la
 
 libmdvi_la_SOURCES = \
diff --git a/backend/pdf/Makefile.am b/backend/pdf/Makefile.am
index 4cec068..b91939c 100644
--- a/backend/pdf/Makefile.am
+++ b/backend/pdf/Makefile.am
@@ -1,19 +1,21 @@
-INCLUDES =                                     \
-       -I$(top_srcdir)                         \
-       -I$(top_srcdir)/libdocument             \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
-       -DEVINCE_COMPILATION                    \
-       $(BACKEND_CFLAGS)                       \
-       $(POPPLER_CFLAGS)                       \
-       $(WARN_CXXFLAGS)                        \
-       $(DISABLE_DEPRECATED)
-
 backend_LTLIBRARIES = libpdfdocument.la
 
 libpdfdocument_la_SOURCES =                    \
        ev-poppler.cc                           \
        ev-poppler.h
 
+libpdfdocument_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/libdocument \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+libpdfdocument_la_CXXFLAGS = \
+       $(BACKEND_CFLAGS) \
+       $(POPPLER_CFLAGS) \
+       $(AM_CXXFLAGS)
+
 libpdfdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libpdfdocument_la_LIBADD =                             \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am
index 6126364..31bb8d7 100644
--- a/backend/ps/Makefile.am
+++ b/backend/ps/Makefile.am
@@ -1,19 +1,21 @@
-INCLUDES =                                     \
-       -I$(top_srcdir)                         \
-       -I$(top_srcdir)/libdocument             \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
-       -DEVINCE_COMPILATION                    \
-       $(BACKEND_CFLAGS)                       \
-       $(SPECTRE_CFLAGS)                       \
-       $(WARN_CFLAGS)                          \
-       $(DISABLE_DEPRECATED)
-
 backend_LTLIBRARIES = libpsdocument.la
 
 libpsdocument_la_SOURCES =     \
        ev-spectre.c            \
        ev-spectre.h
 
+libpsdocument_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/libdocument \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+libpsdocument_la_CFLAGS = \
+       $(BACKEND_CFLAGS) \
+       $(SPECTRE_CFLAGS) \
+       $(AM_CFLAGS)
+
 libpsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libpsdocument_la_LIBADD =                              \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/backend/tiff/Makefile.am b/backend/tiff/Makefile.am
index efba565..d9bc53f 100644
--- a/backend/tiff/Makefile.am
+++ b/backend/tiff/Makefile.am
@@ -1,12 +1,3 @@
-INCLUDES =                                     \
-       -I$(top_srcdir)                         \
-       -I$(top_srcdir)/libdocument             \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
-       -DEVINCE_COMPILATION                    \
-       $(BACKEND_CFLAGS)                       \
-       $(WARN_CFLAGS)                          \
-       $(DISABLE_DEPRECATED)
-
 backend_LTLIBRARIES = libtiffdocument.la
 
 libtiffdocument_la_SOURCES =   \
@@ -15,6 +6,17 @@ libtiffdocument_la_SOURCES =  \
        tiff2ps.c               \
        tiff2ps.h
 
+libtiffdocument_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_srcdir)/libdocument \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+libtiffdocument_la_CFLAGS = \
+       $(BACKEND_CFLAGS) \
+       $(AM_CFLAGS)
+
 libtiffdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libtiffdocument_la_LIBADD =                            \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/backend/xps/Makefile.am b/backend/xps/Makefile.am
index b1250c1..c94fb60 100644
--- a/backend/xps/Makefile.am
+++ b/backend/xps/Makefile.am
@@ -13,8 +13,7 @@ libxpsdocument_la_CPPFLAGS =                  \
 libxpsdocument_la_CFLAGS =     \
        $(BACKEND_CFLAGS)       \
        $(GXPS_CFLAGS)          \
-       $(WARN_CFLAGS)          \
-       $(DISABLE_DEPRECATED)
+       $(AM_CFLAGS)
 
 libxpsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
 libxpsdocument_la_LIBADD =                             \
diff --git a/configure.ac b/configure.ac
index bc4c16b..967afc3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,8 @@ if test "$with_platform" = "win32"; then
       ;;
   esac
   AC_MSG_RESULT([$os_win32])
+
+  AM_CFLAGS="$AM_CFLAGS -D_WIN32_WINNT=0x0500"
 fi
 
 AM_CONDITIONAL([PLATFORM_WIN32],[test "$with_platform" = "win32"])
@@ -316,7 +318,7 @@ AC_ARG_ENABLE([dbus],
 if test "$enable_dbus" = "yes"; then
   AC_DEFINE([ENABLE_DBUS],[1],[Define if DBUS support is enabled])
 
-   PKG_CHECK_MODULES([EV_DAEMON], [gio-2.0 >= $GLIB_REQUIRED])
+   PKG_CHECK_MODULES([EV_DAEMON], [gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0])
 fi
 
 AM_CONDITIONAL([ENABLE_DBUS], [test "$enable_dbus" = "yes"])
diff --git a/cut-n-paste/gimpcellrenderertoggle/Makefile.am b/cut-n-paste/gimpcellrenderertoggle/Makefile.am
index fffeffa..a594660 100644
--- a/cut-n-paste/gimpcellrenderertoggle/Makefile.am
+++ b/cut-n-paste/gimpcellrenderertoggle/Makefile.am
@@ -6,8 +6,7 @@ libgimpcellrenderertoggle_la_sources =  \
 
 libgimpcellrenderertoggle_la_CFLAGS =  \
        $(SHELL_CORE_CFLAGS)            \
-       $(WARNING_CFLAGS)               \
-       $(DISABLE_DEPRECATED)
+       $(AM_CFLAGS)
 
 libgimpcellrenderertoggle_la_built_sources =   \
        gimpwidgetsmarshal.h                    \
diff --git a/cut-n-paste/smclient/Makefile.am b/cut-n-paste/smclient/Makefile.am
index 498ed75..f9e7ecc 100644
--- a/cut-n-paste/smclient/Makefile.am
+++ b/cut-n-paste/smclient/Makefile.am
@@ -11,12 +11,10 @@ libsmclient_la_SOURCES = \
 
 libsmclient_la_CPPFLAGS = \
        -DG_LOG_DOMAIN=\""EggSMClient"\" \
-       $(DISABLE_DEPRECATED) \
        $(AM_CPPFLAGS)
 
 libsmclient_la_CFLAGS = \
        $(SMCLIENT_CFLAGS) \
-       $(WARNING_CFLAGS) \
        $(AM_CFLAGS)
 
 libsmclient_la_LIBADD = \
diff --git a/cut-n-paste/synctex/Makefile.am b/cut-n-paste/synctex/Makefile.am
index 881ef4a..c4fa672 100644
--- a/cut-n-paste/synctex/Makefile.am
+++ b/cut-n-paste/synctex/Makefile.am
@@ -8,7 +8,6 @@ libsynctex_la_SOURCES =         \
 
 libsynctex_la_CFLAGS = \
        $(SHELL_CORE_CFLAGS)    \
-       $(WARNING_CFLAGS)       \
-       $(DISABLE_DEPRECATED)
+       $(AM_CFLAGS)
 
 -include $(top_srcdir)/git.mk
diff --git a/help/reference/libdocument/Makefile.am b/help/reference/libdocument/Makefile.am
index 2a03812..e0f2a2a 100644
--- a/help/reference/libdocument/Makefile.am
+++ b/help/reference/libdocument/Makefile.am
@@ -103,9 +103,7 @@ GTKDOC_CFLAGS = \
        -DEV_BACKENDSDIR=\"$(backenddir)\"              \
        -DEVINCE_COMPILATION                            \
        $(AM_CFLAGS)                                    \
-       $(LIBDOCUMENT_CFLAGS)                           \
-       $(WARN_CFLAGS)                                  \
-       $(DISABLE_DEPRECATED)
+       $(LIBDOCUMENT_CFLAGS)
 
 GTKDOC_LIBS = \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/help/reference/libview/Makefile.am b/help/reference/libview/Makefile.am
index af39bb3..deb5bd1 100644
--- a/help/reference/libview/Makefile.am
+++ b/help/reference/libview/Makefile.am
@@ -109,9 +109,7 @@ GTKDOC_CFLAGS = \
        -DEV_BACKENDSDIR=\"$(backenddir)\"              \
        -DEVINCE_COMPILATION                            \
        $(AM_CFLAGS)                                    \
-       $(LIBVIEW_CFLAGS)                               \
-       $(WARN_CFLAGS)                                  \
-       $(DISABLE_DEPRECATED)
+       $(LIBVIEW_CFLAGS)
 
 GTKDOC_LIBS = \
        $(top_builddir)/libdocument/libevdocument3.la \
diff --git a/help/reference/shell/Makefile.am b/help/reference/shell/Makefile.am
index 498389a..f120d27 100644
--- a/help/reference/shell/Makefile.am
+++ b/help/reference/shell/Makefile.am
@@ -102,8 +102,6 @@ GTKDOC_CFLAGS = \
        -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"         \
        -DEVINCE_COMPILATION                            \
        $(SHELL_CFLAGS)                                 \
-       $(WARN_CFLAGS)                                  \
-       $(DISABLE_DEPRECATED)                           \
        $(GTK_PRINT_CFLAGS)
 
 FILTER_OUT = \
diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index 957d504..59f5cdd 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -104,8 +104,6 @@ libevdocument3_la_CPPFLAGS = \
 libevdocument3_la_CFLAGS = \
        $(LIBDOCUMENT_CFLAGS)                   \
        -I$(top_srcdir)/cut-n-paste/synctex     \
-       $(WARN_CFLAGS)                          \
-       $(DISABLE_DEPRECATED)                   \
        $(AM_CFLAGS)
 
 libevdocument3_la_LDFLAGS = \
diff --git a/libmisc/Makefile.am b/libmisc/Makefile.am
index 3d9a95f..5877c5b 100644
--- a/libmisc/Makefile.am
+++ b/libmisc/Makefile.am
@@ -11,9 +11,7 @@ libevmisc_la_CFLAGS = \
        -I$(top_srcdir)                 \
        -I$(top_srcdir)/libdocument     \
        -I$(top_srcdir)/libview         \
-       $(SHELL_CORE_CFLAGS)            \
-       $(WARNING_CFLAGS)               \
-       $(DISABLE_DEPRECATED)
+       $(SHELL_CORE_CFLAGS)
 
 libevmisc_la_LIBADD = \
        $(top_builddir)/libdocument/libevdocument3.la \
diff --git a/libview/Makefile.am b/libview/Makefile.am
index baa3514..a548477 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -66,8 +66,6 @@ libevview3_la_CPPFLAGS = \
 
 libevview3_la_CFLAGS = \
        $(LIBVIEW_CFLAGS)       \
-       $(WARN_CFLAGS)          \
-       $(DISABLE_DEPRECATED)   \
        $(AM_CFLAGS)
 
 libevview3_la_LDFLAGS = \
diff --git a/previewer/Makefile.am b/previewer/Makefile.am
index 252bfc9..1558cb9 100644
--- a/previewer/Makefile.am
+++ b/previewer/Makefile.am
@@ -22,8 +22,6 @@ evince_previewer_CPPFLAGS = \
 
 evince_previewer_CFLAGS = \
        $(PREVIEWER_CFLAGS)                     \
-        $(WARN_CFLAGS)                          \
-        $(DISABLE_DEPRECATED)                  \
        $(AM_CFLAGS)
 
 evince_previewer_LDFLAGS = $(AM_LDFLAGS)
diff --git a/properties/Makefile.am b/properties/Makefile.am
index df0c74c..3a15953 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -1,26 +1,36 @@
-INCLUDES=                                      \
-       -I$(top_srcdir)                         \
-       -I$(top_builddir)                       \
-       $(FRONTEND_CFLAGS)                      \
-       $(NAUTILUS_CFLAGS)                      \
-       $(DISABLE_DEPRECATED)                   \
-       $(WARN_CFLAGS)
-
 noinst_LTLIBRARIES = libevproperties.la
 
 libevproperties_la_SOURCES=                    \
        ev-properties-view.c                    \
        ev-properties-view.h
 
+libevproperties_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_builddir) \
+       $(AM_CPPFLAGS)
+
+libevproperties_la_CFLAGS = \
+       $(FRONTEND_CFLAGS) \
+       $(AM_CFLAGS)
+
 if ENABLE_NAUTILUS
 
 nautilusextensiondir=$(libdir)/$(NAUTILUS_EXTENSION_DIR)
 nautilusextension_LTLIBRARIES = libevince-properties-page.la
 
-libevince_properties_page_la_CFLAGS = -I$(top_srcdir)
 libevince_properties_page_la_SOURCES =         \
        ev-properties-main.c
 
+libevince_properties_page_la_CPPFLAGS = \
+       -I$(top_srcdir) \
+       -I$(top_builddir) \
+       $(AM_CPPFLAGS)
+
+libevince_properties_page_la_CFLAGS = \
+       $(FRONTEND_CFLAGS) \
+       $(NAUTILUS_CFLAGS) \
+       $(AM_CFLAGS)
+
 libevince_properties_page_la_LIBADD =          \
        libevproperties.la                      \
        $(top_builddir)/libdocument/libevdocument3.la   \
diff --git a/shell/Makefile.am b/shell/Makefile.am
index ae6ed16..5106511 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -1,23 +1,5 @@
 NULL =
 
-INCLUDES=                                                      \
-       -DGNOMEDATADIR=\"$(datadir)\"                           \
-       -I$(top_srcdir)                                         \
-       -I$(top_builddir)                                       \
-       -I$(top_srcdir)/cut-n-paste/gimpcellrenderertoggle/     \
-       -I$(top_srcdir)/cut-n-paste/smclient/                   \
-       -I$(top_srcdir)/libdocument                             \
-       -I$(top_builddir)/libdocument                           \
-       -I$(top_srcdir)/libview                                 \
-       -I$(top_builddir)/libview                               \
-       -I$(top_srcdir)/libmisc                                 \
-       -I$(top_srcdir)/properties                              \
-       -DBINDIR=\""$(bindir)"\"                                \
-       -DEVINCE_COMPILATION                                    \
-       $(SHELL_CFLAGS)                                         \
-       $(WARN_CFLAGS)                                          \
-       $(DISABLE_DEPRECATED)
-
 bin_PROGRAMS=evince
 
 if ENABLE_DBUS
@@ -110,6 +92,26 @@ nodist_evince_SOURCES += \
        $(NULL)
 endif
 
+evince_CPPFLAGS = \
+       -DGNOMEDATADIR=\"$(datadir)\" \
+       -I$(top_srcdir) \
+       -I$(top_builddir) \
+       -I$(top_srcdir)/cut-n-paste/gimpcellrenderertoggle \
+       -I$(top_srcdir)/cut-n-paste/smclient \
+       -I$(top_srcdir)/libdocument \
+       -I$(top_builddir)/libdocument \
+       -I$(top_srcdir)/libview \
+       -I$(top_builddir)/libview \
+       -I$(top_srcdir)/libmisc \
+       -I$(top_srcdir)/properties \
+       -DBINDIR=\""$(bindir)"\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
+evince_CFLAGS = \
+       $(SHELL_CFLAGS) \
+       $(AM_CFLAGS)
+
 evince_LDFLAGS = $(AM_LDFLAGS)
 
 if PLATFORM_WIN32
@@ -152,13 +154,17 @@ nodist_evinced_SOURCES = \
        ev-daemon-gdbus-generated.h
        $(NULL)
 
+evinced_CPPFLAGS = \
+       -DBINDIR=\""$(bindir)"\" \
+       -DEVINCE_COMPILATION \
+       $(AM_CPPFLAGS)
+
 evinced_CFLAGS=                                \
        -I$(top_srcdir)                                         \
        -I$(top_builddir)                                       \
        -DEVINCE_COMPILATION                                    \
        $(EV_DAEMON_CFLAGS)                                     \
-       $(WARN_CFLAGS)                                          \
-       $(DISABLE_DEPRECATED)
+       $(AM_CFLAGS)
 
 evinced_LDADD=                         \
        $(EV_DAEMON_LIBS)
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am
index d3dea79..721ca5e 100644
--- a/thumbnailer/Makefile.am
+++ b/thumbnailer/Makefile.am
@@ -11,8 +11,6 @@ evince_thumbnailer_CPPFLAGS = \
 
 evince_thumbnailer_CFLAGS = \
        $(FRONTEND_CFLAGS)      \
-       $(DISABLE_DEPRECATED)   \
-       $(WARN_CFLAGS)          \
        $(AM_CFLAGS)
 
 evince_thumbnailer_LDFLAGS = $(AM_LDFLAGS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]