summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-05 10:47:58 +0100
committerraveit65 <[email protected]>2020-02-06 00:37:40 +0100
commit7409da3ec2cc07e81a12825c226d5dff8f3d27d0 (patch)
tree2a14d9c63f135406bc7ba0434a1e8d0041fb170d /capplets
parent61b997c678b31041e5128c52ab1a57858f9dda30 (diff)
downloadmate-control-center-7409da3ec2cc07e81a12825c226d5dff8f3d27d0.tar.bz2
mate-control-center-7409da3ec2cc07e81a12825c226d5dff8f3d27d0.tar.xz
build: use warning flags
Diffstat (limited to 'capplets')
-rw-r--r--capplets/about-me/Makefile.am1
-rw-r--r--capplets/accessibility/at-properties/Makefile.am10
-rw-r--r--capplets/appearance/Makefile.am1
-rw-r--r--capplets/common/Makefile.am11
-rw-r--r--capplets/default-applications/Makefile.am1
-rw-r--r--capplets/display/Makefile.am12
-rw-r--r--capplets/keybindings/Makefile.am1
-rw-r--r--capplets/keyboard/Makefile.am1
-rw-r--r--capplets/mouse/Makefile.am1
-rw-r--r--capplets/network/Makefile.am1
-rw-r--r--capplets/time-admin/src/Makefile.am7
-rw-r--r--capplets/windows/Makefile.am8
12 files changed, 35 insertions, 20 deletions
diff --git a/capplets/about-me/Makefile.am b/capplets/about-me/Makefile.am
index 0ce7d84f..59b68313 100644
--- a/capplets/about-me/Makefile.am
+++ b/capplets/about-me/Makefile.am
@@ -40,6 +40,7 @@ $(desktop_DATA): $(Desktop_in_files)
include $(top_srcdir)/gla11y.mk
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
$(LIBEBOOK_CFLAGS) \
-DDATADIR="\"$(datadir)\"" \
diff --git a/capplets/accessibility/at-properties/Makefile.am b/capplets/accessibility/at-properties/Makefile.am
index d845ba31..3475536f 100644
--- a/capplets/accessibility/at-properties/Makefile.am
+++ b/capplets/accessibility/at-properties/Makefile.am
@@ -27,10 +27,12 @@ pixmap_DATA = \
include $(top_srcdir)/gla11y.mk
-AM_CPPFLAGS = $(AT_CAPPLET_CFLAGS) \
- $(MATECC_CAPPLETS_CFLAGS) \
- -DPIXMAPDIR=\""$(pixmapdir)"\" \
- -DMATECC_DATA_DIR="\"$(pkgdatadir)\""
+AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
+ $(AT_CAPPLET_CFLAGS) \
+ $(MATECC_CAPPLETS_CFLAGS) \
+ -DPIXMAPDIR=\""$(pixmapdir)"\" \
+ -DMATECC_DATA_DIR="\"$(pkgdatadir)\""
CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES)
EXTRA_DIST = \
$(ui_files) \
diff --git a/capplets/appearance/Makefile.am b/capplets/appearance/Makefile.am
index 7b44070c..93f27c95 100644
--- a/capplets/appearance/Makefile.am
+++ b/capplets/appearance/Makefile.am
@@ -52,6 +52,7 @@ wallpaperdir = $(datadir)/mate-background-properties
backgrounddir = $(datadir)/backgrounds
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MARCO_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
$(FONT_CAPPLET_CFLAGS) \
diff --git a/capplets/common/Makefile.am b/capplets/common/Makefile.am
index c0e4481c..d7e5742b 100644
--- a/capplets/common/Makefile.am
+++ b/capplets/common/Makefile.am
@@ -2,19 +2,20 @@ EXTRA_DIST =
AM_CPPFLAGS = \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\"" \
- -DMATELOCALEDIR="\"$(datadir)/locale\"" \
+ -DMATELOCALEDIR="\"$(datadir)/locale\"" \
-DGTK_ENGINE_DIR="\"$(GTK_ENGINE_DIR)\"" \
-DG_LOG_DOMAIN=\"capplet-common\" \
-DINSTALL_PREFIX=\"$(prefix)\" \
-I$(top_srcdir) \
-I$(top_srcdir)/libwindow-settings \
-DPIXMAP_DIR=\""$(datadir)/mate-control-center/pixmaps"\" \
+ $(WARN_CFLAGS) \
$(CAPPLET_CFLAGS) \
$(DBUS_CFLAGS) \
$(MATE_DESKTOP_CFLAGS) \
- $(MARCO_CFLAGS) \
+ $(MARCO_CFLAGS) \
$(GSD_DBUS_CFLAGS) \
- $(GIO_CFLAGS) \
+ $(GIO_CFLAGS) \
$(DCONF_CFLAGS)
@@ -25,8 +26,8 @@ libcommon_la_SOURCES = \
activate-settings-daemon.h \
capplet-util.c \
capplet-util.h \
- dconf-util.c \
- dconf-util.h \
+ dconf-util.c \
+ dconf-util.h \
file-transfer-dialog.c \
file-transfer-dialog.h \
mate-theme-apply.c \
diff --git a/capplets/default-applications/Makefile.am b/capplets/default-applications/Makefile.am
index d00cd389..4468fc2a 100644
--- a/capplets/default-applications/Makefile.am
+++ b/capplets/default-applications/Makefile.am
@@ -29,6 +29,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mate-default-applications.pc
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
$(DEFAULT_APPLICATIONS_CAPPLET_CFLAGS) \
-DAPPLICATIONSDIR=\""$(datadir)/applications"\"
diff --git a/capplets/display/Makefile.am b/capplets/display/Makefile.am
index c5e92882..e6fec237 100644
--- a/capplets/display/Makefile.am
+++ b/capplets/display/Makefile.am
@@ -47,11 +47,13 @@ desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
$(desktop_DATA): $(Desktop_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-AM_CPPFLAGS = $(DISPLAY_CAPPLET_CFLAGS) \
- $(MATECC_CAPPLETS_CFLAGS) \
- -DSBINDIR="\"$(sbindir)\"" \
- -DMATELOCALEDIR="\"$(datadir)/locale\"" \
- -DMATECC_DATA_DIR="\"$(pkgdatadir)\""
+AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
+ $(DISPLAY_CAPPLET_CFLAGS) \
+ $(MATECC_CAPPLETS_CFLAGS) \
+ -DSBINDIR="\"$(sbindir)\"" \
+ -DMATELOCALEDIR="\"$(datadir)/locale\"" \
+ -DMATECC_DATA_DIR="\"$(pkgdatadir)\""
foo-marshal.c: foo-marshal.list
@GLIB_GENMARSHAL@ --prefix=foo_marshal $< --header > $@
diff --git a/capplets/keybindings/Makefile.am b/capplets/keybindings/Makefile.am
index d03f0f88..29810577 100644
--- a/capplets/keybindings/Makefile.am
+++ b/capplets/keybindings/Makefile.am
@@ -38,6 +38,7 @@ mate-keybinding-properties-resources.h mate-keybinding-properties-resources.c: o
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name keybindings $<
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\""
CLEANFILES = \
diff --git a/capplets/keyboard/Makefile.am b/capplets/keyboard/Makefile.am
index 0581eee6..33a4fea3 100644
--- a/capplets/keyboard/Makefile.am
+++ b/capplets/keyboard/Makefile.am
@@ -40,6 +40,7 @@ mate-keyboard-properties-resources.h mate-keyboard-properties-resources.c: org.m
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name keyboard $<
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
$(LIBMATEKBDUI_CFLAGS) \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\""
diff --git a/capplets/mouse/Makefile.am b/capplets/mouse/Makefile.am
index 8494f986..e4e72516 100644
--- a/capplets/mouse/Makefile.am
+++ b/capplets/mouse/Makefile.am
@@ -27,6 +27,7 @@ mate-mouse-properties-resources.h mate-mouse-properties-resources.c: org.mate.mc
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name mouse $<
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\""
CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES)
diff --git a/capplets/network/Makefile.am b/capplets/network/Makefile.am
index 90abdf1a..09bf2abe 100644
--- a/capplets/network/Makefile.am
+++ b/capplets/network/Makefile.am
@@ -24,6 +24,7 @@ mate-network-properties-resources.h mate-network-properties-resources.c: org.mat
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name network $<
AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS)
CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES)
diff --git a/capplets/time-admin/src/Makefile.am b/capplets/time-admin/src/Makefile.am
index 95b930d8..4cdff4fa 100644
--- a/capplets/time-admin/src/Makefile.am
+++ b/capplets/time-admin/src/Makefile.am
@@ -4,7 +4,7 @@ bin_PROGRAMS = mate-time-admin
BUILT_SOURCES = mate-time-admin-resources.h mate-time-admin-resources.c
nodist_mate_time_admin_SOURCES = $(BUILT_SOURCES)
-mate_time_admin_SOURCES = \
+mate_time_admin_SOURCES = \
main.c time-map.c time-share.c time-tool.c time-zone.c \
time-map.h time-share.h time-tool.h time-zone.h
@@ -14,8 +14,9 @@ mate-time-admin-resources.h mate-time-admin-resources.c: org.mate.mcc.ta.gresour
mate_time_admin_LDADD = $(MATECC_CAPPLETS_LIBS)
mate_time_admin_LDFLAGS = -export-dynamic
-AM_CPPFLAGS = \
- $(MATECC_CAPPLETS_CFLAGS) \
+AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
+ $(MATECC_CAPPLETS_CFLAGS) \
-DTIMPZONEDIR="\"$(datadir)/mate-time-admin/map/\""
diff --git a/capplets/windows/Makefile.am b/capplets/windows/Makefile.am
index 4c505a11..b6f5e854 100644
--- a/capplets/windows/Makefile.am
+++ b/capplets/windows/Makefile.am
@@ -22,9 +22,11 @@ mate-window-properties-resources.h mate-window-properties-resources.c: org.mate.
$(desktop_DATA): $(Desktop_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-AM_CPPFLAGS = $(MATECC_CAPPLETS_CFLAGS) \
- -DUIDIR=\""$(uidir)"\" \
- -DPIXMAPDIR=\""$(pixmapdir)"\"
+AM_CPPFLAGS = \
+ $(WARN_CFLAGS) \
+ $(MATECC_CAPPLETS_CFLAGS) \
+ -DUIDIR=\""$(uidir)"\" \
+ -DPIXMAPDIR=\""$(pixmapdir)"\"
CLEANFILES = $(BUILT_SOURCES) $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA)
EXTRA_DIST = $(Desktop_in_files) org.mate.mcc.windows.gresource.xml window-properties.ui