gedit-2.20: Make Window.create_tab_from_uri.encoding nullable.
[vala-lang.git] / compiler / Makefile.am
blobd6e7f819b8012e6c33a558bb37a8b97ba090297d
1 NULL =
3 AM_CPPFLAGS = \
4         $(COVERAGE_CFLAGS) \
5         -I$(top_srcdir)/gee \
6         -I$(top_srcdir)/ccode \
7         -I$(top_srcdir)/vala \
8         -I$(top_srcdir)/codegen \
9         $(GLIB_CFLAGS) \
10         -DPACKAGE_DATADIR=\"$(pkgdatadir)\" \
11         $(NULL)
13 BUILT_SOURCES = valac.vala.stamp
15 bin_PROGRAMS = \
16         valac \
17         $(NULL)
19 valac_VALASOURCES = \
20         valacompiler.vala \
21         $(NULL)
23 valac_SOURCES = \
24         valac.vala.stamp \
25         $(valac_VALASOURCES:.vala=.c) \
26         $(NULL)
28 valac.vala.stamp: $(valac_VALASOURCES)
29         $(VALA_V)$(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 --vapidir $(srcdir)/../gee --pkg gee --vapidir $(srcdir)/../ccode --pkg ccode --vapidir $(srcdir)/../vala --pkg vala --vapidir $(srcdir)/../codegen --pkg codegen --pkg config $^
30         @touch $@
32 valac_LDADD = \
33         $(COVERAGE_LIBS) \
34         $(GLIB_LIBS) \
35         ../codegen/libvala@PACKAGE_SUFFIX@.la \
36         $(NULL)
38 EXTRA_DIST = $(valac_VALASOURCES) valac.vala.stamp
40 install-exec-hook:
41         cd $(DESTDIR)$(bindir) && $(LN_S) -f valac@PACKAGE_SUFFIX@$(EXEEXT) vala@PACKAGE_SUFFIX@$(EXEEXT)
42 if ENABLE_UNVERSIONED
43         cd $(DESTDIR)$(bindir) && $(LN_S) -f valac@PACKAGE_SUFFIX@$(EXEEXT) valac$(EXEEXT)
44         cd $(DESTDIR)$(bindir) && $(LN_S) -f vala@PACKAGE_SUFFIX@$(EXEEXT) vala$(EXEEXT)
45 endif
47 MAINTAINERCLEANFILES = \
48         $(valac_VALASOURCES:.vala=.c) \
49         $(NULL)
51 VALA_V = $(VALA_V_$(V))
52 VALA_V_ = $(VALA_V_$(AM_DEFAULT_VERBOSITY))
53 VALA_V_0 = @echo "  VALAC " $^;