summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-08-06 13:09:26 -0400
committerRyan Lortie <desrt@desrt.ca>2010-08-06 13:10:34 -0400
commitb3b7ea8e227035ae27d6ac62595478d27b8152e8 (patch)
tree80470fc7280b077fe0b10d72ee3f2276d839509e /tests
parent8ad9d9dbe35973951faaf595b1fe847b6b180159 (diff)
Replace -I with $(glib_INCLUDES) and friends
Stop using ad hoc -I in all of our Makefile.am. Use the new variables instead.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
-rw-r--r--tests/gobject/Makefile.am5
-rw-r--r--tests/refcount/Makefile.am5
3 files changed, 3 insertions, 12 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 29bb299f2..f6f527f64 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,10 +3,7 @@ include $(top_srcdir)/Makefile.decl
SUBDIRS=gobject refcount
AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/glib \
- -I$(top_srcdir)/gmodule \
- -I$(top_builddir)/glib \
+ $(gmodule_INCLUDES) \
$(GLIB_DEBUG_FLAGS)
AM_CFLAGS = -g
diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am
index ef1816842..cf97ac3cf 100644
--- a/tests/gobject/Makefile.am
+++ b/tests/gobject/Makefile.am
@@ -1,10 +1,7 @@
include $(top_srcdir)/Makefile.decl
INCLUDES = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/glib \
- -I$(top_srcdir)/gmodule \
- -I$(top_builddir)/glib \
+ $(gmodule_INCLUDES) \
$(GLIB_DEBUG_FLAGS)
libglib = $(top_builddir)/glib/libglib-2.0.la
diff --git a/tests/refcount/Makefile.am b/tests/refcount/Makefile.am
index 3bbeaa391..f904c1f77 100644
--- a/tests/refcount/Makefile.am
+++ b/tests/refcount/Makefile.am
@@ -1,10 +1,7 @@
include $(top_srcdir)/Makefile.decl
INCLUDES = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/glib \
- -I$(top_srcdir)/gmodule \
- -I$(top_builddir)/glib \
+ $(gmodule_INCLUDES) \
$(GLIB_DEBUG_FLAGS)
libglib = $(top_builddir)/glib/libglib-2.0.la