[vino] Make all targets use compiler warning flags



commit 56c5b5fe125b9397b68a692a85a2c07aea597a53
Author: David King <amigadave amigadave com>
Date:   Mon Sep 5 18:16:10 2011 +0200

    Make all targets use compiler warning flags
    
    Additionally, make sure that the warnings are set to maxmium severity
    during a distcheck.

 Makefile.am |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ce56ae8..e5567af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,19 @@
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 SUBDIRS = po
 
-DISTCHECK_CONFIGURE_FLAGS = --with-avahi --with-libnotify --with-gnome-keyring --with-network-manager --with-telepathy --with-gnutls --with-gcrypt --with-zlib --with-jpeg --enable-debug --enable-http-server
+DISTCHECK_CONFIGURE_FLAGS = \
+	--with-avahi \
+	--with-libnotify \
+	--with-gnome-keyring \
+	--with-network-manager \
+	--with-telepathy \
+	--with-gnutls \
+	--with-gcrypt \
+	--with-zlib \
+	--with-jpeg \
+	--enable-debug \
+	--enable-http-server \
+	--enable-compile-warnings=maximum
 
 noinst_LTLIBRARIES = \
 	libeggsmclient.la
@@ -11,6 +23,8 @@ libeggsmclient_la_CPPFLAGS = \
 	-DEGG_SM_CLIENT_BACKEND_XSMP \
 	$(smclient_platform_defines) \
 	$(EGG_SMCLIENT_CFLAGS) \
+	$(WARN_CFLAGS) \
+	$(DISABLE_DEPRECATED) \
 	-I$(top_builddir)
 
 libeggsmclient_la_LIBADD = \



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