diff options
author | raveit65 <[email protected]> | 2020-04-10 18:05:46 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-10 18:46:34 +0200 |
commit | ce0d2a510b15ef6093a8f43aaa01ef6c84707687 (patch) | |
tree | 3d43ee21208fc2e455fc72fa45ca1c682d76cc9e | |
parent | 5c6c1e6bdbbdf3814857bf47275c700d122be7b8 (diff) | |
download | mate-netbook-ce0d2a510b15ef6093a8f43aaa01ef6c84707687.tar.bz2 mate-netbook-ce0d2a510b15ef6093a8f43aaa01ef6c84707687.tar.xz |
use MATE_COMPILE_WARNINGS from mate-common
-rw-r--r-- | configure.ac | 16 | ||||
-rw-r--r-- | mate-window-picker-applet/Makefile.am | 13 | ||||
-rw-r--r-- | maximus/Makefile.am | 13 |
3 files changed, 30 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index 5bedb2b..3ef78e7 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,8 @@ AC_CONFIG_MACRO_DIR([m4]) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE +MATE_COMPILE_WARNINGS + AC_PROG_CC AC_STDC_HEADERS AC_PROG_LIBTOOL @@ -62,3 +64,17 @@ mate-window-picker-applet/Makefile mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml po/Makefile.in ]) + +dnl --------------------------------------------------------------------------- +dnl - Show summary +dnl --------------------------------------------------------------------------- + +echo " + mate-netbook $VERSION + `echo mate-netbook $VERSION | sed "s/./=/g"` + + prefix: ${prefix} + compiler: ${CC} + cflags: ${CFLAGS} + warning flags: ${WARN_CFLAGS} +" diff --git a/mate-window-picker-applet/Makefile.am b/mate-window-picker-applet/Makefile.am index 78dd600..b5b1eb4 100644 --- a/mate-window-picker-applet/Makefile.am +++ b/mate-window-picker-applet/Makefile.am @@ -2,14 +2,15 @@ libexec_PROGRAMS=mate-window-picker-applet PKGDATADIR = $(datadir)/mate-window-picker-applet AM_CFLAGS=\ - $(MATEWINDOWPICKER_DEPS_CFLAGS) \ - $(GCC_FLAGS) \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -D_GNU_SOURCE \ + $(MATEWINDOWPICKER_DEPS_CFLAGS) \ + $(GCC_FLAGS) \ + -I$(top_builddir) \ + -I$(top_srcdir) \ + -D_GNU_SOURCE \ -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DPKGDATADIR=\"$(PKGDATADIR)\" \ - -DMATEWINDOWPICKER_MENU_UI_DIR=\""$(xmluidir)"\" + -DMATEWINDOWPICKER_MENU_UI_DIR=\""$(xmluidir)"\" \ + $(WARN_CFLAGS) mate_window_picker_applet_LDADD = \ $(MATEWINDOWPICKER_DEPS_LIBS) \ diff --git a/maximus/Makefile.am b/maximus/Makefile.am index 0ea9bad..f9f53c8 100644 --- a/maximus/Makefile.am +++ b/maximus/Makefile.am @@ -4,15 +4,16 @@ PKGDATADIR = $(datadir)/mate-maximus DATADIR = $(datadir) SYSCONFDIR = $(sysconfdir) AM_CFLAGS = \ - $(MAXIMUS_DEPS_CFLAGS) \ - $(GCC_FLAGS) \ - -I$(top_builddir) \ - -I$(top_srcdir) \ + $(MAXIMUS_DEPS_CFLAGS) \ + $(GCC_FLAGS) \ + -I$(top_builddir) \ + -I$(top_srcdir) \ -I$(top_srcdir)/tidy \ - -D_GNU_SOURCE \ + -D_GNU_SOURCE \ -DPKGDATADIR=\"$(PKGDATADIR)\" \ -DDATADIR=\"$(DATADIR)\" \ - -DSYSCONFDIR=\"$(SYSCONFDIR)\" + -DSYSCONFDIR=\"$(SYSCONFDIR)\" \ + $(WARN_CFLAGS) mate_maximus_LDADD = \ $(MAXIMUS_DEPS_LIBS) |