[vte/vte-0-36] build: Suppress glib and gtk deprecation warnings



commit 289b9fc98442b4bf5b58b0d2f2097072a0cbf9bd
Author: Christian Persch <chpe gnome org>
Date:   Sat Nov 16 21:27:38 2013 +0100

    build: Suppress glib and gtk deprecation warnings

 src/Makefile.am |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 49474d5..dab4dab 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -98,7 +98,7 @@ libvte VTE_LIBRARY_SUFFIX_U@_la_CPPFLAGS = \
        -DDATADIR='"$(datadir)"' \
        -DLIBEXECDIR='"$(libexecdir)"' \
        -DLOCALEDIR='"$(localedir)"' \
-       -DG_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DGDK_DISABLE_DEPRECATION_WARNINGS \
        -DVTE_COMPILATION \
        $(AM_CPPFLAGS)
@@ -160,9 +160,22 @@ vteresources.c: vte.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --g
 
 bin_PROGRAMS = vte VTE_LIBRARY_SUFFIX_U@
 
-vte VTE_LIBRARY_SUFFIX_U@_SOURCES = vteapp.c
-vte VTE_LIBRARY_SUFFIX_U@_CFLAGS = $(VTE_CFLAGS)
-vte VTE_LIBRARY_SUFFIX_U@_LDADD = libvte VTE_LIBRARY_SUFFIX_U@.la $(VTE_LIBS)
+vte VTE_LIBRARY_SUFFIX_U@_SOURCES = \
+       vteapp.c \
+       $(NULL)
+
+vte VTE_LIBRARY_SUFFIX_U@_CPPFLAGS = \
+        -DGLIB_DISABLE_DEPRECATION_WARNINGS \
+        -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       $(AM_CPPFLAGS)
+
+vte VTE_LIBRARY_SUFFIX_U@_CFLAGS = \
+       $(VTE_CFLAGS) \
+       $(AM_CFLAGS)
+
+vte VTE_LIBRARY_SUFFIX_U@_LDADD = \
+       libvte VTE_LIBRARY_SUFFIX_U@.la \
+       $(VTE_LIBS)
 
 # introspection
 


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