summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-10 18:05:46 +0200
committerraveit65 <[email protected]>2020-04-10 18:48:45 +0200
commit1a926e96a8dcc6afdbc1f4c225206d0eae653020 (patch)
treeb59a09c9313c84eebb358cb5aac70888b3e65dfc
parentdde3064d8276dbd90e1e26a991a3ff4916832dbd (diff)
downloadmate-netbook-1a926e96a8dcc6afdbc1f4c225206d0eae653020.tar.bz2
mate-netbook-1a926e96a8dcc6afdbc1f4c225206d0eae653020.tar.xz
use MATE_COMPILE_WARNINGS from mate-common
-rw-r--r--configure.ac16
-rw-r--r--mate-window-picker-applet/Makefile.am13
-rw-r--r--maximus/Makefile.am13
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)