diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/Makefile.am | 8 |
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 \ |