From 47e40dc610e38ac2c6eb0010564d84f7bf65283d Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Tue, 27 Nov 2007 20:11:22 +0000 Subject: replace deprecated INCLUDES by AM_CPPFLAGS 2007-11-27 Juerg Billeter * ccode/Makefile.am, compiler/Makefile.am, gee/Makefile.am, gen-project/Makefile.am, gobject-introspection/Makefile.am, gobject/Makefile.am, tests/Makefile.am, vala/Makefile.am, vapigen/Makefile.am: replace deprecated INCLUDES by AM_CPPFLAGS svn path=/trunk/; revision=727 --- ChangeLog | 7 +++++++ ccode/Makefile.am | 2 +- compiler/Makefile.am | 8 +++----- gee/Makefile.am | 2 +- gen-project/Makefile.am | 8 +++----- gobject-introspection/Makefile.am | 2 +- gobject/Makefile.am | 2 +- tests/Makefile.am | 2 +- vala/Makefile.am | 2 +- vapigen/Makefile.am | 2 +- 10 files changed, 20 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 07ab851b4..13e2bdcfb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-11-27 Jürg Billeter + + * ccode/Makefile.am, compiler/Makefile.am, gee/Makefile.am, + gen-project/Makefile.am, gobject-introspection/Makefile.am, + gobject/Makefile.am, tests/Makefile.am, vala/Makefile.am, + vapigen/Makefile.am: replace deprecated INCLUDES by AM_CPPFLAGS + 2007-11-27 Jürg Billeter * gobject-introspection/cparser.y: concatenate adjacent string literal diff --git a/ccode/Makefile.am b/ccode/Makefile.am index 8162dee66..348d8c6fd 100644 --- a/ccode/Makefile.am +++ b/ccode/Makefile.am @@ -1,6 +1,6 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ $(GLIB_CFLAGS) \ $(NULL) diff --git a/compiler/Makefile.am b/compiler/Makefile.am index bc1954303..275546581 100644 --- a/compiler/Makefile.am +++ b/compiler/Makefile.am @@ -1,8 +1,10 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ $(GLIB_CFLAGS) \ + -include config.h \ + -DPACKAGE_DATADIR=\"$(pkgdatadir)\" \ $(NULL) BUILT_SOURCES = valac.vala.stamp @@ -22,10 +24,6 @@ valac.vala.stamp: $(filter %.vala,$(valac_SOURCES)) $(VALAC) --vapidir $(srcdir)/../vapi --vapidir ../gee --pkg gee --vapidir ../ccode --pkg ccode --vapidir ../vala --pkg vala --vapidir ../gobject --pkg gobject --pkg config --basedir $(top_srcdir) $^ touch $@ -valac_CPPFLAGS = \ - -include config.h \ - -DPACKAGE_DATADIR=\"$(pkgdatadir)\" - valac_LDADD = \ $(GLIB_LIBS) \ ../gobject/libvala.la \ diff --git a/gee/Makefile.am b/gee/Makefile.am index ae085dad3..0681f0829 100644 --- a/gee/Makefile.am +++ b/gee/Makefile.am @@ -1,6 +1,6 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ $(GLIB_CFLAGS) \ $(NULL) diff --git a/gen-project/Makefile.am b/gen-project/Makefile.am index e36538f16..246b41ce0 100644 --- a/gen-project/Makefile.am +++ b/gen-project/Makefile.am @@ -1,9 +1,11 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ $(GLIB_CFLAGS) \ $(GTK_CFLAGS) \ + -include config.h \ + -DPACKAGE_DATADIR=\"$(pkgdatadir)\" \ $(NULL) BUILT_SOURCES = vala-gen-project.vala.stamp @@ -23,10 +25,6 @@ vala-gen-project.vala.stamp: $(filter %.vala,$(vala_gen_project_SOURCES)) $(VALAC) --vapidir $(srcdir)/../vapi --pkg config --pkg gtk+-2.0 --basedir $(top_srcdir) $^ touch $@ -vala_gen_project_CPPFLAGS = \ - -include config.h \ - -DPACKAGE_DATADIR=\"$(pkgdatadir)\" - vala_gen_project_LDADD = \ $(GLIB_LIBS) \ $(GTK_LIBS) \ diff --git a/gobject-introspection/Makefile.am b/gobject-introspection/Makefile.am index 4b97a25f8..47e771fe8 100644 --- a/gobject-introspection/Makefile.am +++ b/gobject-introspection/Makefile.am @@ -1,6 +1,6 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(NULL) diff --git a/gobject/Makefile.am b/gobject/Makefile.am index 005aa0d58..d07c76b69 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -1,6 +1,6 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ $(GLIB_CFLAGS) \ $(NULL) diff --git a/tests/Makefile.am b/tests/Makefile.am index 6f3edf74a..6e7ddc1b0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,6 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(ENCHANT_CFLAGS) \ $(NULL) diff --git a/vala/Makefile.am b/vala/Makefile.am index 9174b16e4..413586ddd 100644 --- a/vala/Makefile.am +++ b/vala/Makefile.am @@ -1,6 +1,6 @@ NULL = -INCLUDES = \ +AM_CPPFLAGS = \ -I$(top_srcdir) \ $(GLIB_CFLAGS) \ $(NULL) diff --git a/vapigen/Makefile.am b/vapigen/Makefile.am index b1394b99b..e2477d996 100644 --- a/vapigen/Makefile.am +++ b/vapigen/Makefile.am @@ -4,7 +4,7 @@ SUBDIRS = \ vala-gen-introspect \ $(NULL) -INCLUDES = \ +AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/gobject-introspection \ -- cgit v1.2.1