[glib] Add $(top_builddir)/glib to includes



commit 9f6faaffb6491a8de5508b7678ab48fee4f59efa
Author: paul <ephraim_owns hotmail com>
Date:   Thu Aug 5 09:08:34 2010 -0400

    Add $(top_builddir)/glib to includes
    
    This is required to find glibconfig.h during srcdir != builddir builds

 gio/Makefile.am            |    1 +
 gio/tests/Makefile.am      |    1 +
 glib/gnulib/Makefile.am    |    3 ++-
 glib/tests/Makefile.am     |    1 +
 gmodule/Makefile.am        |    1 +
 gobject/Makefile.am        |    1 +
 gobject/tests/Makefile.am  |    2 +-
 gthread/Makefile.am        |    1 +
 tests/Makefile.am          |    1 +
 tests/gobject/Makefile.am  |    1 +
 tests/refcount/Makefile.am |    1 +
 11 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index dd6bb9e..2d82d31 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -43,6 +43,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)					\
 	-I$(top_srcdir)/glib				\
 	-I$(top_srcdir)/gmodule				\
+	-I$(top_builddir)/glib				\
 	$(GLIB_DEBUG_FLAGS)				\
 	$(THREAD_FLAGS)					\
 	-DG_DISABLE_DEPRECATED				\
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 1f3a95e..78fca6d 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES = 			\
 	-I$(top_srcdir)/gmodule	\
 	-I$(top_srcdir)/gobject	\
 	-I$(top_srcdir)/gio 	\
+	-I$(top_builddir)/glib 	\
 	$(GLIB_DEBUG_FLAGS)	\
 	-DSRCDIR=\""$(srcdir)"\"
 
diff --git a/glib/gnulib/Makefile.am b/glib/gnulib/Makefile.am
index 5f5ef06..17f8d2e 100644
--- a/glib/gnulib/Makefile.am
+++ b/glib/gnulib/Makefile.am
@@ -1,7 +1,8 @@
 ## Process this file with automake to produce Makefile.in
 include $(top_srcdir)/Makefile.decl
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -DG_LOG_DOMAIN=\"GLib\" \
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_builddir)/glib \
+	-DG_LOG_DOMAIN=\"GLib\" \
 	$(GLIB_DEBUG_FLAGS) -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION 
 
 noinst_LTLIBRARIES = libgnulib.la
diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am
index 0a137b0..5ccb57a 100644
--- a/glib/tests/Makefile.am
+++ b/glib/tests/Makefile.am
@@ -4,6 +4,7 @@ INCLUDES = 				\
 	-g 				\
 	-I$(top_srcdir) 		\
 	-I$(top_srcdir)/glib 		\
+	-I$(top_builddir)/glib		\
 	-DSRCDIR=\""$(srcdir)"\"	\
 	$(GLIB_DEBUG_FLAGS)
 
diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am
index 01cad55..0b142dd 100644
--- a/gmodule/Makefile.am
+++ b/gmodule/Makefile.am
@@ -5,6 +5,7 @@ AM_CPPFLAGS = 				\
 	-I$(top_srcdir) 		\
 	-I$(top_srcdir)/glib 		\
 	-I$(top_srcdir)/gmodule 	\
+	-I$(top_builddir)/glib 		\
 	-DG_LOG_DOMAIN=\"GModule\" 	\
 	@GLIB_DEBUG_FLAGS@ 		\
 	-DG_DISABLE_DEPRECATED
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index 872991d..0219385 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -17,6 +17,7 @@ AM_CPPFLAGS = 					\
 	-I$(top_srcdir)				\
 	-I$(top_srcdir)/glib			\
 	-I$(top_builddir)			\
+	-I$(top_builddir)/glib			\
 	$(GLIB_DEBUG_FLAGS)			\
 	$(THREAD_FLAGS)				\
 	-DG_DISABLE_DEPRECATED			\
diff --git a/gobject/tests/Makefile.am b/gobject/tests/Makefile.am
index d1735a2..28a52b2 100644
--- a/gobject/tests/Makefile.am
+++ b/gobject/tests/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Makefile.decl
 
-INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib $(GLIB_DEBUG_FLAGS)
+INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_builddir)/glib $(GLIB_DEBUG_FLAGS)
 
 noinst_PROGRAMS  = $(TEST_PROGS)
 libgobject_LDADD = ../libgobject-2.0.la $(top_builddir)/gthread/libgthread-2.0.la $(top_builddir)/glib/libglib-2.0.la
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index 29d94e1..0fa5b7c 100644
--- a/gthread/Makefile.am
+++ b/gthread/Makefile.am
@@ -8,6 +8,7 @@ AM_CPPFLAGS = 				\
 	-I$(top_srcdir) 		\
 	-I$(top_srcdir)/glib 		\
 	-I$(top_srcdir)/gthread 	\
+	-I$(top_builddir)/glib 		\
 	-DG_LOG_DOMAIN=\"GThread\" 	\
 	@GTHREAD_COMPILE_IMPL_DEFINES@ 	\
 	@GLIB_DEBUG_FLAGS@ 		\
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5eed30a..29bb299 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -6,6 +6,7 @@ AM_CPPFLAGS = 				\
 	-I$(top_srcdir) 		\
 	-I$(top_srcdir)/glib 		\
 	-I$(top_srcdir)/gmodule 	\
+	-I$(top_builddir)/glib 		\
 	$(GLIB_DEBUG_FLAGS)
 
 AM_CFLAGS = -g
diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am
index a550979..ef18168 100644
--- a/tests/gobject/Makefile.am
+++ b/tests/gobject/Makefile.am
@@ -4,6 +4,7 @@ INCLUDES =					\
 	-I$(top_srcdir)				\
 	-I$(top_srcdir)/glib			\
 	-I$(top_srcdir)/gmodule			\
+	-I$(top_builddir)/glib			\
 	$(GLIB_DEBUG_FLAGS)
 
 libglib = $(top_builddir)/glib/libglib-2.0.la
diff --git a/tests/refcount/Makefile.am b/tests/refcount/Makefile.am
index e72c964..3bbeaa3 100644
--- a/tests/refcount/Makefile.am
+++ b/tests/refcount/Makefile.am
@@ -4,6 +4,7 @@ INCLUDES =					\
 	-I$(top_srcdir)				\
 	-I$(top_srcdir)/glib			\
 	-I$(top_srcdir)/gmodule			\
+	-I$(top_builddir)/glib			\
 	$(GLIB_DEBUG_FLAGS)
 
 libglib = $(top_builddir)/glib/libglib-2.0.la



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]