Replace -I with $(glib_INCLUDES) and friends

Stop using ad hoc -I in all of our Makefile.am.  Use the new variables
instead.
This commit is contained in:
Ryan Lortie
2010-08-06 13:09:26 -04:00
parent 8ad9d9dbe3
commit b3b7ea8e22
23 changed files with 23 additions and 84 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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