[glib] Define SRCDIR



commit ee89ed241c5b386bf8d846f4496e46059d0a686b
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jul 6 00:01:15 2010 -0400

    Define SRCDIR

 glib/tests/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am
index a9c3d76..a34669e 100644
--- a/glib/tests/Makefile.am
+++ b/glib/tests/Makefile.am
@@ -1,6 +1,11 @@
 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 		\
+	-DSRCDIR=\""$(srcdir)"\"	\
+	$(GLIB_DEBUG_FLAGS)
 
 noinst_PROGRAMS = $(TEST_PROGS)
 progs_ldadd     = $(top_builddir)/glib/libglib-2.0.la 



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