[giggle] build: Use CFLAGS instead CPPFLAGS to pass additional C compiler flags
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] build: Use CFLAGS instead CPPFLAGS to pass additional C compiler flags
- Date: Mon, 2 Apr 2012 12:28:56 +0000 (UTC)
commit 31296ae19253c29f9ccd738b1fdae6bd20eb6e02
Author: Javier JardÃn <jjardon gnome org>
Date: Mon Apr 2 13:09:10 2012 +0100
build: Use CFLAGS instead CPPFLAGS to pass additional C compiler flags
libgiggle-git/Makefile.am | 4 +++-
libgiggle/Makefile.am | 4 +++-
plugins/Makefile.am | 4 +++-
src/Makefile.am | 4 +++-
4 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/libgiggle-git/Makefile.am b/libgiggle-git/Makefile.am
index 320df49..2cb50be 100644
--- a/libgiggle-git/Makefile.am
+++ b/libgiggle-git/Makefile.am
@@ -3,7 +3,9 @@ libgiggle_gitdir = $(pkgincludedir)/libgiggle-git
AM_CPPFLAGS = \
-I$(top_srcdir) \
-DGLADEDIR='"$(pkgdatadir)/glade"' \
- $(GIGGLE_CFLAGS) \
+ $(GIGGLE_CFLAGS)
+
+AM_CFLAGS = \
$(WARNINGFLAGS_C)
lib_LTLIBRARIES = libgiggle-git.la
diff --git a/libgiggle/Makefile.am b/libgiggle/Makefile.am
index 592ba8d..684266c 100644
--- a/libgiggle/Makefile.am
+++ b/libgiggle/Makefile.am
@@ -4,7 +4,9 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-DGLADEDIR='"$(pkgdatadir)/glade"' \
-DPLUGINDIR='"$(pkglibdir)/plugins/$(VERSION)"' \
- $(GIGGLE_CFLAGS) \
+ $(GIGGLE_CFLAGS)
+
+AM_CFLAGS = \
$(WARNINGFLAGS_C)
lib_LTLIBRARIES = libgiggle.la
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index ee38e24..d26e2da 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -4,7 +4,9 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-DGLADEDIR='"$(pkgdatadir)/glade"' \
-DPLUGINDIR='"$(plugindir)"' \
- $(GIGGLE_CFLAGS) \
+ $(GIGGLE_CFLAGS)
+
+AM_CFLAGS = \
$(WARNINGFLAGS_C)
AM_LDFLAGS = \
diff --git a/src/Makefile.am b/src/Makefile.am
index 38c0472..d6c7e54 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,9 @@ AM_CPPFLAGS = \
-DICONDIR='"$(datadir)/icons"' \
-DGLADEDIR='"$(pkgdatadir)/glade"' \
-DLOCALEDIR=\"$(localedir)\" \
- $(GIGGLE_CFLAGS) \
+ $(GIGGLE_CFLAGS)
+
+AM_CFLAGS = \
$(WARNINGFLAGS_C)
AM_LDFLAGS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]