[Xfce4-commits] <xfce4-mixer:gber/improvements> Use CPPFLAGS in Makefiles
Guido Berhoerster
noreply at xfce.org
Fri Sep 21 17:18:27 CEST 2012
Updating branch refs/heads/gber/improvements
to 7d7a0be13c09457d40fb27e5161bc1dd14cacc4e (commit)
from f89cede2c468f683f3c99593f320073d99f19c1e (commit)
commit 7d7a0be13c09457d40fb27e5161bc1dd14cacc4e
Author: Guido Berhoerster <guido+xfce at berhoerster.name>
Date: Fri Sep 21 12:00:36 2012 +0200
Use CPPFLAGS in Makefiles
libxfce4mixer/Makefile.am | 6 ++++--
panel-plugin/Makefile.am | 6 ++++--
xfce4-mixer/Makefile.am | 8 +++++---
3 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/libxfce4mixer/Makefile.am b/libxfce4mixer/Makefile.am
index 4107cdd..792a95e 100644
--- a/libxfce4mixer/Makefile.am
+++ b/libxfce4mixer/Makefile.am
@@ -19,13 +19,15 @@ libxfce4mixer_la_SOURCES = \
xfce-mixer-debug.h \
xfce-mixer-debug.c
-libxfce4mixer_la_CFLAGS = \
+libxfce4mixer_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir) \
-DDATADIR=\"$(datadir)\" \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-DG_LOG_DOMAIN=\"libxfce4mixer\" \
- -DMIXER_DATADIR=\"$(pkgdatadir)\" \
+ -DMIXER_DATADIR=\"$(pkgdatadir)\"
+
+libxfce4mixer_la_CFLAGS = \
$(PLATFORM_CFLAGS) \
$(GLIB_CFLAGS) \
$(GTK_FLAGS) \
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index fa27e29..a494682 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -12,12 +12,14 @@ libmixer_la_SOURCES = \
xfce-mixer-plugin.h \
xfce-mixer-plugin.c
-libmixer_la_CFLAGS = \
+libmixer_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir) \
-DDATADIR=\"$(datadir)\" \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
- -DG_LOG_DOMAIN=\"xfce4-mixer-plugin\" \
+ -DG_LOG_DOMAIN=\"xfce4-mixer-plugin\"
+
+libmixer_la_CFLAGS = \
$(PLATFORM_CFLAGS) \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
diff --git a/xfce4-mixer/Makefile.am b/xfce4-mixer/Makefile.am
index 8735737..819ab28 100644
--- a/xfce4-mixer/Makefile.am
+++ b/xfce4-mixer/Makefile.am
@@ -18,13 +18,15 @@ xfce4_mixer_SOURCES = \
xfce-mixer-window.h \
xfce-mixer-window.c
-xfce4_mixer_CFLAGS = \
+xfce4_mixer_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir) \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-DDATADIR=\"$(datadir)\" \
-DMIXER_DATADIR=\"$(pkgdatadir)\" \
- -DG_LOG_DOMAIN=\"xfce4-mixer\" \
+ -DG_LOG_DOMAIN=\"xfce4-mixer\"
+
+xfce4_mixer_CFLAGS = \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
$(UNIQUE_CFLAGS) \
@@ -35,7 +37,7 @@ xfce4_mixer_CFLAGS = \
xfce4_mixer_DEPENDENCIES = \
$(top_builddir)/libxfce4mixer/libxfce4mixer.la
-
+
xfce4_mixer_LDFLAGS = \
$(top_builddir)/libxfce4mixer/libxfce4mixer.la \
$(GLIB_LIBS) \
More information about the Xfce4-commits
mailing list