aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-02-06 09:52:09 +0000
committerGuy Harris <guy@alum.mit.edu>2013-02-06 09:52:09 +0000
commitde2db00f040728696b609302a1a18b65ded97a74 (patch)
tree3d75d4a89ea1418b170ea4a6dbac716af8be1fff /plugins/mate
parentc0afc1df765007e451ee1a06410111b7346b01f0 (diff)
Add -Werror if enabled.
Sort EXTRA_DIST. svn path=/trunk/; revision=47515
Diffstat (limited to 'plugins/mate')
-rw-r--r--plugins/mate/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/mate/Makefile.am b/plugins/mate/Makefile.am
index 0b692fcd51..b387a3408d 100644
--- a/plugins/mate/Makefile.am
+++ b/plugins/mate/Makefile.am
@@ -28,6 +28,10 @@ INCLUDES = -I$(top_srcdir)
include Makefile.common
+if HAVE_WARNINGS_AS_ERRORS
+AM_CFLAGS = -Werror
+endif
+
plugindir = @plugindir@
plugin_LTLIBRARIES = mate.la
@@ -132,8 +136,8 @@ MAINTAINERCLEANFILES = \
EXTRA_DIST = \
mate_grammar.lemon \
mate_parser.l \
- Makefile.nmake \
Makefile.common \
+ Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in \
CMakeLists.txt