summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-11-27 20:11:22 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-11-27 20:11:22 +0000
commit47e40dc610e38ac2c6eb0010564d84f7bf65283d (patch)
tree29553f3921d947b87a8df6544517b09fd7900efc /compiler
parent815f47ef3075e9cae6f7dbdd283c3d19bd90d198 (diff)
downloadvala-47e40dc610e38ac2c6eb0010564d84f7bf65283d.tar.gz
replace deprecated INCLUDES by AM_CPPFLAGS
2007-11-27 Juerg Billeter <j@bitron.ch> * 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
Diffstat (limited to 'compiler')
-rw-r--r--compiler/Makefile.am8
1 files changed, 3 insertions, 5 deletions
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 \