[gtkmm] Define {ATK,GDK,GTK}MM_BUILD macros
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkmm] Define {ATK,GDK,GTK}MM_BUILD macros
- Date: Mon, 17 Aug 2009 13:15:21 +0000 (UTC)
commit e87629219cae30d672b7ba3ec1a848475a9c81b2
Author: Daniel Elstner <danielk openismus com>
Date: Mon Aug 17 15:09:05 2009 +0200
Define {ATK,GDK,GTK}MM_BUILD macros
* atk/atkmm/Makefile.am (local_cppflags): Append -DATKMM_BUILD=1.
* gdk/gdkmm/Makefile.am (local_cppflags): Append -DGDKMM_BUILD=1.
* gtk/gtkmm/Makefile.am (local_cppflags): Append -DGTKMM_BUILD=1.
ChangeLog | 8 ++++++++
atk/atkmm/Makefile.am | 4 +++-
gdk/gdkmm/Makefile.am | 4 +++-
gtk/gtkmm/Makefile.am | 2 +-
4 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0f21cbe..74c277d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-08-17 Daniel Elstner <danielk openismus com>
+ Define {ATK,GDK,GTK}MM_BUILD macros
+
+ * atk/atkmm/Makefile.am (local_cppflags): Append -DATKMM_BUILD=1.
+ * gdk/gdkmm/Makefile.am (local_cppflags): Append -DGDKMM_BUILD=1.
+ * gtk/gtkmm/Makefile.am (local_cppflags): Append -DGTKMM_BUILD=1.
+
+2009-08-17 Daniel Elstner <danielk openismus com>
+
Make use of new MM_DISABLE_DEPRECATED_API macro
* configure.ac ({ATK,GDK,GTK}MM_DISABLE_DEPRECATED): Call the
diff --git a/atk/atkmm/Makefile.am b/atk/atkmm/Makefile.am
index b8ed624..b701b84 100644
--- a/atk/atkmm/Makefile.am
+++ b/atk/atkmm/Makefile.am
@@ -29,7 +29,9 @@ files_extra_ph = $(atkmm_files_extra_ph)
include $(top_srcdir)/build/compile-binding.am
-AM_CPPFLAGS = $(binding_includes) $(binding_cppflags) $(GTHREAD_CFLAGS) $(ATKMM_CFLAGS)
+local_cppflags = $(binding_includes) $(binding_cppflags) -DATKMM_BUILD=1
+
+AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS) $(ATKMM_CFLAGS)
AM_CXXFLAGS = $(GTKMM_WXXFLAGS)
libatkmm_1_6_la_SOURCES = $(binding_sources)
diff --git a/gdk/gdkmm/Makefile.am b/gdk/gdkmm/Makefile.am
index 7900169..d439b2e 100644
--- a/gdk/gdkmm/Makefile.am
+++ b/gdk/gdkmm/Makefile.am
@@ -29,7 +29,9 @@ files_extra_ph = $(gdkmm_files_extra_ph)
include $(top_srcdir)/build/compile-binding.am
-AM_CPPFLAGS = $(binding_includes) $(binding_cppflags) $(GTHREAD_CFLAGS) $(GDKMM_CFLAGS)
+local_cppflags = $(binding_includes) $(binding_cppflags) -DGDKMM_BUILD=1
+
+AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS) $(GDKMM_CFLAGS)
AM_CXXFLAGS = $(GTKMM_WXXFLAGS)
libgdkmm_2_4_la_SOURCES = $(binding_sources)
diff --git a/gtk/gtkmm/Makefile.am b/gtk/gtkmm/Makefile.am
index 9617559..7cb31d2 100644
--- a/gtk/gtkmm/Makefile.am
+++ b/gtk/gtkmm/Makefile.am
@@ -39,7 +39,7 @@ local_libadd = $(atkmm_libadd) $(top_builddir)/gdk/gdkmm/libgdkmm-$(GDKMM_API_
include $(top_srcdir)/build/compile-binding.am
-local_cppflags = $(binding_includes) $(local_includes) $(binding_cppflags)
+local_cppflags = $(binding_includes) $(local_includes) $(binding_cppflags) -DGTKMM_BUILD=1
AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS) $(GTKMM_CFLAGS)
AM_CXXFLAGS = $(GTKMM_WXXFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]