From ea2ce187004a42c26d22701f6212e1698052f24c Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 26 Sep 2019 13:47:49 +0200 Subject: Add WARN_CFLAGS to CFLAGS --- baobab/src/Makefile.am | 1 + gsearchtool/src/Makefile.am | 6 +++++- logview/src/Makefile.am | 1 + mate-dictionary/libgdict/Makefile.am | 8 +++++++- mate-dictionary/src/Makefile.am | 2 ++ mate-screenshot/src/Makefile.am | 6 +++++- 6 files changed, 21 insertions(+), 3 deletions(-) diff --git a/baobab/src/Makefile.am b/baobab/src/Makefile.am index 8bd165c7..a5af080e 100644 --- a/baobab/src/Makefile.am +++ b/baobab/src/Makefile.am @@ -41,6 +41,7 @@ mate_disk_usage_analyzer_CFLAGS = \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ $(LIBGTOP_CFLAGS) \ + $(WARN_CFLAGS) \ $(NULL) mate_disk_usage_analyzer_LDFLAGS = -export-dynamic diff --git a/gsearchtool/src/Makefile.am b/gsearchtool/src/Makefile.am index dfe68e01..7091e0f1 100644 --- a/gsearchtool/src/Makefile.am +++ b/gsearchtool/src/Makefile.am @@ -1,3 +1,5 @@ +NULL = + AM_CPPFLAGS = \ -I$(top_srcdir)/gsearchtool/libeggsmclient \ -I$(top_srcdir)/gsearchtool/libmateui-deprecated \ @@ -23,7 +25,9 @@ mate_search_tool_CFLAGS = \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GIO_UNIX_CFLAGS) \ - $(GTK_CFLAGS) + $(GTK_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) mate_search_tool_LDADD = \ $(GLIB_LIBS) \ diff --git a/logview/src/Makefile.am b/logview/src/Makefile.am index e5b61d7c..b270678e 100644 --- a/logview/src/Makefile.am +++ b/logview/src/Makefile.am @@ -44,6 +44,7 @@ mate_system_log_CFLAGS = \ $(GTHREAD_CFLAGS) \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ + $(WARN_CFLAGS) \ $(NULL) mate_system_log_LDADD = \ diff --git a/mate-dictionary/libgdict/Makefile.am b/mate-dictionary/libgdict/Makefile.am index 6c0e23a0..110496e3 100644 --- a/mate-dictionary/libgdict/Makefile.am +++ b/mate-dictionary/libgdict/Makefile.am @@ -48,7 +48,13 @@ lib_LTLIBRARIES = libmatedict.la # MATE Dictionary shared library libmatedict_la_SOURCES = $(sources_h) $(sources_h_priv) $(sources_c) -libmatedict_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBGDICT_CFLAGS) $(GDICT_DEBUG_CFLAGS) $(MAINTAINER_CFLAGS) +libmatedict_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(LIBGDICT_CFLAGS) \ + $(GDICT_DEBUG_CFLAGS) \ + $(MAINTAINER_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) libmatedict_la_LIBADD = $(LIBGDICT_LIBS) libmatedict_la_LDFLAGS = \ -version-info $(LIBGDICT_LT_VERSION) \ diff --git a/mate-dictionary/src/Makefile.am b/mate-dictionary/src/Makefile.am index fd5b490f..31e91340 100644 --- a/mate-dictionary/src/Makefile.am +++ b/mate-dictionary/src/Makefile.am @@ -41,6 +41,7 @@ mate_dictionary_CFLAGS = \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ + $(WARN_CFLAGS) \ $(NULL) mate_dictionary_LDADD = \ @@ -79,6 +80,7 @@ mate_dictionary_applet_CFLAGS = \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GTK_CFLAGS) \ + $(WARN_CFLAGS) \ $(NULL) mate_dictionary_applet_LDADD = \ diff --git a/mate-screenshot/src/Makefile.am b/mate-screenshot/src/Makefile.am index e05f69e0..9ae05a73 100644 --- a/mate-screenshot/src/Makefile.am +++ b/mate-screenshot/src/Makefile.am @@ -1,3 +1,5 @@ +NULL = + AM_CPPFLAGS = \ -I. \ -I$(srcdir) \ @@ -24,7 +26,9 @@ mate_screenshot_CFLAGS = \ $(GIO_CFLAGS) \ $(LIBCANBERRA_GTK_CFLAGS) \ $(GTHREAD_CFLAGS) \ - $(GTK_CFLAGS) + $(GTK_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) mate_screenshot_LDFLAGS = -export-dynamic -- cgit v1.2.1