Release 0.41.92
[vala-gnome.git] / codegen / Makefile.am
blob036652ef3c4732ea39fb4878afd993784f5d6631
1 include $(top_srcdir)/Makefile.common
3 NULL =
5 AM_CPPFLAGS = \
6         $(COVERAGE_CFLAGS) \
7         -I$(top_srcdir)/gee \
8         -I$(top_srcdir)/ccode \
9         -I$(top_srcdir)/vala \
10         $(GLIB_CFLAGS) \
11         $(NULL)
13 BUILT_SOURCES = codegen.vala.stamp
15 libvalaccodegen_la_LTLIBRARIES = \
16         libvalaccodegen.la \
17         $(NULL)
19 libvalaccodegen_ladir = $(pkglibdir)
21 libvalaccodegen_la_LDFLAGS = \
22         -avoid-version \
23         $(NULL)
25 libvalaccodegen_la_VALASOURCES = \
26         valaccode.vala \
27         valaccodearraymodule.vala \
28         valaccodeassignmentmodule.vala \
29         valaccodeattribute.vala \
30         valaccodebasemodule.vala \
31         valaccodecompiler.vala \
32         valaccodecontrolflowmodule.vala \
33         valaccodedelegatemodule.vala \
34         valaccodememberaccessmodule.vala \
35         valaccodemethodcallmodule.vala \
36         valaccodemethodmodule.vala \
37         valaccodestructmodule.vala \
38         valaclassregisterfunction.vala \
39         valactype.vala \
40         valaenumregisterfunction.vala \
41         valagasyncmodule.vala \
42         valagdbusclientmodule.vala \
43         valagdbusmodule.vala \
44         valagdbusservermodule.vala \
45         valagerrormodule.vala \
46         valagirwriter.vala \
47         valagobjectmodule.vala \
48         valagtkmodule.vala \
49         valagsignalmodule.vala \
50         valagtypemodule.vala \
51         valagvariantmodule.vala \
52         valainterfaceregisterfunction.vala \
53         valastructregisterfunction.vala \
54         valatyperegisterfunction.vala \
55         $(NULL)
57 libvalaccodegen_la_SOURCES = \
58         codegen.vala.stamp \
59         $(libvalaccodegen_la_VALASOURCES:.vala=.c) \
60         $(NULL)
62 codegen.vapi codegen.vala.stamp: $(libvalaccodegen_la_VALASOURCES)
63         $(VALA_V)$(VALAC) \
64                 $(COVERAGE_VALAFLAGS) \
65                 $(VALAFLAGS) \
66                 -C \
67                 --vapidir $(top_srcdir)/vapi --pkg gobject-2.0 \
68                 --vapidir $(top_srcdir)/gee --pkg gee \
69                 --vapidir $(top_srcdir)/ccode --pkg ccode \
70                 --vapidir $(top_srcdir)/vala --pkg vala \
71                 --use-header \
72                 -H valacodegen.h \
73                 --library codegen \
74                 $^
75         @touch $@
77 libvalaccodegen_la_LIBADD = \
78         $(COVERAGE_LIBS) \
79         $(GLIB_LIBS) \
80         $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
81         $(top_builddir)/ccode/libvalaccode.la \
82         $(NULL)
84 EXTRA_DIST = $(libvalaccodegen_la_VALASOURCES) codegen.vapi codegen.vala.stamp valacodegen.h
86 MAINTAINERCLEANFILES = \
87         codegen.vapi \
88         valacodegen.h \
89         $(libvalaccodegen_la_VALASOURCES:.vala=.c) \
90         $(NULL)