summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-10 20:21:39 +0200
committerraveit65 <[email protected]>2019-10-11 17:09:43 +0200
commit1f714672693f637f81ac55cf4f4618c74d10e229 (patch)
tree4b0608984141ac3918fde87e64eea77983a5ff86 /src
parent2aa513e98b1e3ab11a8ed8b3421cc47780f62101 (diff)
downloadmate-notification-daemon-1f714672693f637f81ac55cf4f4618c74d10e229.tar.bz2
mate-notification-daemon-1f714672693f637f81ac55cf4f4618c74d10e229.tar.xz
Use WARN_CFLAGS which are only set with --enable-compiler-warnings
It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum It updates configure summary. It removes c++ checks as there is no c++ code.
Diffstat (limited to 'src')
-rw-r--r--src/capplet/Makefile.am2
-rw-r--r--src/daemon/Makefile.am2
-rw-r--r--src/themes/coco/Makefile.am6
-rw-r--r--src/themes/nodoka/Makefile.am2
-rw-r--r--src/themes/slider/Makefile.am2
-rw-r--r--src/themes/standard/Makefile.am1
6 files changed, 9 insertions, 6 deletions
diff --git a/src/capplet/Makefile.am b/src/capplet/Makefile.am
index dfd31f2..12110b1 100644
--- a/src/capplet/Makefile.am
+++ b/src/capplet/Makefile.am
@@ -4,7 +4,7 @@ bin_PROGRAMS = mate-notification-properties
mate_notification_properties_LDADD = $(NOTIFICATION_CAPPLET_LIBS)
mate_notification_properties_SOURCES = mate-notification-properties.c
-
+mate_notification_properties_CFLAGS = $(WARN_CFLAGS)
uidir = $(datadir)/mate-notification-daemon
ui_DATA = mate-notification-properties.ui
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index db1f6be..179e964 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -14,6 +14,8 @@ mate_notification_daemon_SOURCES = \
mate_notification_daemon_LDADD = $(NOTIFICATION_DAEMON_LIBS)
+mate_notification_daemon_CFLAGS = $(WARN_CFLAGS)
+
mate_notification_daemon_built_sources = \
mnd-dbus-generated.h \
mnd-dbus-generated.c \
diff --git a/src/themes/coco/Makefile.am b/src/themes/coco/Makefile.am
index 52f7a6f..78eccbb 100644
--- a/src/themes/coco/Makefile.am
+++ b/src/themes/coco/Makefile.am
@@ -1,9 +1,9 @@
-AM_CPPFLAGS = $(THEME_CFLAGS) -Wall
+AM_CPPFLAGS = $(THEME_CFLAGS)
enginedir = $(libdir)/mate-notification-daemon/engines
engine_LTLIBRARIES = libcoco.la
libcoco_la_SOURCES = coco-theme.c
-
+libcoco_la_CFLAGS = $(WARN_CFLAGS)
libcoco_la_LDFLAGS = -module -avoid-version -no-undefined
-libcoco_la_LIBADD = $(THEME_LIBS)
+libcoco_la_LIBADD = $(THEME_LIBS)
diff --git a/src/themes/nodoka/Makefile.am b/src/themes/nodoka/Makefile.am
index 38b797c..b49bdcf 100644
--- a/src/themes/nodoka/Makefile.am
+++ b/src/themes/nodoka/Makefile.am
@@ -4,6 +4,6 @@ enginedir = $(libdir)/mate-notification-daemon/engines
engine_LTLIBRARIES = libnodoka.la
libnodoka_la_SOURCES = nodoka-theme.c
-
+libnodoka_la_CFLAGS = $(WARN_CFLAGS)
libnodoka_la_LDFLAGS = -module -avoid-version -no-undefined
libnodoka_la_LIBADD = $(THEME_LIBS)
diff --git a/src/themes/slider/Makefile.am b/src/themes/slider/Makefile.am
index 46dcdd2..fc8d7eb 100644
--- a/src/themes/slider/Makefile.am
+++ b/src/themes/slider/Makefile.am
@@ -6,7 +6,7 @@ engine_LTLIBRARIES = libslider.la
AM_CPPFLAGS = $(THEME_CFLAGS)
libslider_la_SOURCES = theme.c
-
+libslider_la_CFLAGS = $(WARN_CFLAGS)
libslider_la_LDFLAGS = -module -avoid-version -no-undefined
libslider_la_LIBADD = \
$(THEME_LIBS) \
diff --git a/src/themes/standard/Makefile.am b/src/themes/standard/Makefile.am
index c31098c..7f82f54 100644
--- a/src/themes/standard/Makefile.am
+++ b/src/themes/standard/Makefile.am
@@ -3,6 +3,7 @@ enginedir = $(libdir)/mate-notification-daemon/engines
engine_LTLIBRARIES = libstandard.la
libstandard_la_SOURCES = theme.c
+libstandard_la_CFLAGS = $(WARN_CFLAGS)
libstandard_la_LDFLAGS = -module -avoid-version -no-undefined
libstandard_la_LIBADD = $(NOTIFICATION_DAEMON_LIBS)