[gnome-dictionary] build: Do not use INCLUDES



commit 04094b065da9c0eeebeebca6fe3d7d8e8c615557
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 23 12:15:28 2015 +0000

    build: Do not use INCLUDES
    
    It's deprecated. We should be using AM_CPPFLAGS, in this case, since we
    share the same pre-processor flags with the introspection scanner.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745022

 libgdict/Makefile.am |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libgdict/Makefile.am b/libgdict/Makefile.am
index e421c20..bc09bea 100644
--- a/libgdict/Makefile.am
+++ b/libgdict/Makefile.am
@@ -1,6 +1,7 @@
 NULL =
 
-INCLUDES = -DG_LOG_DOMAIN=\"Gdict\"                            \
+AM_CPPFLAGS = \
+       -DG_LOG_DOMAIN=\"Gdict\"                                \
        -DDATADIR=\""$(datadir)"\"                              \
        -DLIBDIR=\""$(libdir)"\"                                \
        -DSYSCONFDIR=\""$(sysconfdir)"\"                        \
@@ -58,7 +59,7 @@ libgdict_1_0_la_SOURCES = \
        $(sources_h_priv)       \
        $(sources_c)
 
-libgdict_1_0_la_CPPFLAGS = \
+libgdict_1_0_la_CFLAGS = \
        $(GDICT_CFLAGS)         \
        $(GDICT_DEBUG_CFLAGS)   \
        $(MAINTAINER_CFLAGS)
@@ -113,7 +114,7 @@ Gdict-1.0.gir: libgdict-1.0.la
 Gdict_1_0_gir_NAMESPACE = Gdict
 Gdict_1_0_gir_VERSION = 1.0
 Gdict_1_0_gir_INCLUDES = Gtk-3.0
-Gdict_1_0_gir_CFLAGS = $(INCLUDES)
+Gdict_1_0_gir_CFLAGS = $(AM_CPPFLAGS)
 Gdict_1_0_gir_LIBS = libgdict-1.0.la
 Gdict_1_0_gir_FILES = $(libgdict_1_0_la_SOURCES)
 


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