diff options
-rw-r--r-- | applets/battery/Makefile.am | 11 | ||||
-rw-r--r-- | applets/brightness/Makefile.am | 11 | ||||
-rw-r--r-- | applets/clock/Makefile.am | 8 | ||||
-rw-r--r-- | applets/launcher/Makefile.am | 8 | ||||
-rw-r--r-- | applets/notify/Makefile.am | 8 | ||||
-rw-r--r-- | applets/showdesktop/Makefile.am | 8 | ||||
-rw-r--r-- | applets/startup-notify/Makefile.am | 11 | ||||
-rw-r--r-- | applets/startup/Makefile.am | 12 | ||||
-rw-r--r-- | applets/systray/Makefile.am | 7 | ||||
-rw-r--r-- | applets/windowselector/Makefile.am | 8 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | matchbox-panel/Makefile.am | 7 |
12 files changed, 60 insertions, 41 deletions
diff --git a/applets/battery/Makefile.am b/applets/battery/Makefile.am index d6faab5..64dbe9c 100644 --- a/applets/battery/Makefile.am +++ b/applets/battery/Makefile.am @@ -1,8 +1,9 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \ - -DGETTEXT_PACKAGE=\"matchbox-panel\" \ - -DDATADIR=\"$(pkgdatadir)/battery/\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + -DDATADIR=\"$(pkgdatadir)/battery/\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libbattery.la diff --git a/applets/brightness/Makefile.am b/applets/brightness/Makefile.am index e26fa42..695380f 100644 --- a/applets/brightness/Makefile.am +++ b/applets/brightness/Makefile.am @@ -1,10 +1,11 @@ SUBDIRS = data -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \ - -DGETTEXT_PACKAGE=\"matchbox-panel\" \ - -DDATADIR=\"$(pkgdatadir)/brightness/\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + -DDATADIR=\"$(pkgdatadir)/brightness/\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libbrightness.la diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am index 94dae12..68dec47 100644 --- a/applets/clock/Makefile.am +++ b/applets/clock/Makefile.am @@ -1,6 +1,8 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libclock.la diff --git a/applets/launcher/Makefile.am b/applets/launcher/Makefile.am index 0989600..49d0697 100644 --- a/applets/launcher/Makefile.am +++ b/applets/launcher/Makefile.am @@ -1,6 +1,8 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) $(SN_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) $(SN_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = liblauncher.la diff --git a/applets/notify/Makefile.am b/applets/notify/Makefile.am index 04578ec..4347fca 100644 --- a/applets/notify/Makefile.am +++ b/applets/notify/Makefile.am @@ -1,6 +1,8 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) $(DBUS_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) $(DBUS_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libnotify.la diff --git a/applets/showdesktop/Makefile.am b/applets/showdesktop/Makefile.am index 7db88ad..e65d65d 100644 --- a/applets/showdesktop/Makefile.am +++ b/applets/showdesktop/Makefile.am @@ -1,6 +1,8 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libshowdesktop.la diff --git a/applets/startup-notify/Makefile.am b/applets/startup-notify/Makefile.am index 550606a..81aa203 100644 --- a/applets/startup-notify/Makefile.am +++ b/applets/startup-notify/Makefile.am @@ -1,8 +1,9 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \ - -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror \ - $(SN_CFLAGS) $(DBUS_CFLAGS) +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + $(DBUS_CFLAGS) $(SN_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libstartup-notify.la diff --git a/applets/startup/Makefile.am b/applets/startup/Makefile.am index 86b068a..5eaf709 100644 --- a/applets/startup/Makefile.am +++ b/applets/startup/Makefile.am @@ -1,11 +1,11 @@ SUBDIRS = data -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \ - -DGETTEXT_PACKAGE=\"matchbox-panel\" \ - -DDATADIR=\"$(pkgdatadir)/startup/\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror \ - $(SN_CFLAGS) +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + -DDATADIR=\"$(pkgdatadir)/startup/\" \ + $(MATCHBOX_PANEL_CFLAGS) $(SN_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libstartup.la diff --git a/applets/systray/Makefile.am b/applets/systray/Makefile.am index 979ffd8..82a815c 100644 --- a/applets/systray/Makefile.am +++ b/applets/systray/Makefile.am @@ -1,5 +1,8 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) -I$(top_srcdir) -I$(top_builddir) +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libsystray.la diff --git a/applets/windowselector/Makefile.am b/applets/windowselector/Makefile.am index c9f7e35..98d879e 100644 --- a/applets/windowselector/Makefile.am +++ b/applets/windowselector/Makefile.am @@ -1,6 +1,8 @@ -AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DGETTEXT_PACKAGE=\"matchbox-panel\" \ + $(MATCHBOX_PANEL_CFLAGS) $(SN_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) appletdir = $(pkglibdir) applet_LTLIBRARIES = libwindowselector.la diff --git a/configure.ac b/configure.ac index c3eed9f..4b56685 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,8 @@ AC_PROG_CC AC_STDC_HEADERS AC_PROG_LIBTOOL +GNOME_COMPILE_WARNINGS + # base deps PKG_CHECK_MODULES(MATCHBOX_PANEL, glib-2.0 diff --git a/matchbox-panel/Makefile.am b/matchbox-panel/Makefile.am index 81e62c5..8cb2c13 100644 --- a/matchbox-panel/Makefile.am +++ b/matchbox-panel/Makefile.am @@ -1,8 +1,9 @@ AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \ -DGETTEXT_PACKAGE=\"matchbox-panel\" \ - -DDEFAULT_APPLET_PATH=\"$(pkglibdir)\" -AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) \ - -I$(top_srcdir) -I$(top_builddir) -Werror + -DDEFAULT_APPLET_PATH=\"$(pkglibdir)\" \ + $(MATCHBOX_PANEL_CFLAGS) \ + -I$(top_srcdir) -I$(top_builddir) +AM_CFLAGS = $(WARN_CFLAGS) matchbox_panelincdir = $(pkgincludedir) |