Release 0.41.92
[vala-gnome.git] / vala / Makefile.am
blob585f10426e401d460d40e8e45c3443036e61ca59
1 include $(top_srcdir)/Makefile.common
3 NULL =
5 AM_CPPFLAGS = \
6         $(COVERAGE_CFLAGS) \
7         -I$(top_srcdir)/gee \
8         $(GLIB_CFLAGS) \
9         $(GMODULE_CFLAGS) \
10         -DPACKAGE_DATADIR=\"$(pkgdatadir)\" \
11         $(NULL)
13 BUILT_SOURCES = vala.vala.stamp $(srcdir)/valaversion.vala
15 $(srcdir)/valaversion.vala:
16         sed -e "s#\@VALA_MAJOR_VERSION\@#$(VALA_MAJOR_VERSION)#g" \
17                 -e "s#\@VALA_MINOR_VERSION\@#$(VALA_MINOR_VERSION)#g" \
18                 -e "s#\@VALA_MICRO_VERSION\@#$(VALA_MICRO_VERSION)#g" \
19                 -e "s#\@API_VERSION\@#$(API_VERSION)#g" \
20                 -e "s#\@PACKAGE_VERSION\@#$(PACKAGE_VERSION)#g" \
21                 < $@.in > $@
23 lib_LTLIBRARIES = \
24         libvala@PACKAGE_SUFFIX@.la \
25         $(NULL)
27 libvala_la_VALASOURCES = \
28         valaaddressofexpression.vala \
29         valaarraycopymethod.vala \
30         valaarraycreationexpression.vala \
31         valaarraylengthfield.vala \
32         valaarraymovemethod.vala \
33         valaarrayresizemethod.vala \
34         valaarraytype.vala \
35         valaassignment.vala \
36         valaattribute.vala \
37         valabaseaccess.vala \
38         valabasicblock.vala \
39         valabinaryexpression.vala \
40         valablock.vala \
41         valabooleanliteral.vala \
42         valabooleantype.vala \
43         valabreakstatement.vala \
44         valacallable.vala \
45         valacallabletype.vala \
46         valacastexpression.vala \
47         valacatchclause.vala \
48         valacharacterliteral.vala \
49         valaclass.vala \
50         valaclasstype.vala \
51         valacodecontext.vala \
52         valacodegenerator.vala \
53         valacodenode.vala \
54         valacodevisitor.vala \
55         valacodewriter.vala \
56         valacomment.vala \
57         valagircomment.vala \
58         valaconditionalexpression.vala \
59         valaconstant.vala \
60         valaconstructor.vala \
61         valacontinuestatement.vala \
62         valacreationmethod.vala \
63         valadatatype.vala \
64         valadeclarationstatement.vala \
65         valadelegate.vala \
66         valadelegatetype.vala \
67         valadeletestatement.vala \
68         valadestructor.vala \
69         valadostatement.vala \
70         valadynamicmethod.vala \
71         valadynamicproperty.vala \
72         valadynamicsignal.vala \
73         valaelementaccess.vala \
74         valaemptystatement.vala \
75         valaenum.vala \
76         valaenumvalue.vala \
77         valaenumvaluetype.vala \
78         valaerrorcode.vala \
79         valaerrordomain.vala \
80         valaerrortype.vala \
81         valaexpression.vala \
82         valaexpressionstatement.vala \
83         valafield.vala \
84         valafieldprototype.vala \
85         valafloatingtype.vala \
86         valaflowanalyzer.vala \
87         valaforeachstatement.vala \
88         valaforstatement.vala \
89         valagirparser.vala \
90         valagenerictype.vala \
91         valagenieparser.vala \
92         valageniescanner.vala \
93         valagenietokentype.vala \
94         valaifstatement.vala \
95         valainitializerlist.vala \
96         valaintegerliteral.vala \
97         valaintegertype.vala \
98         valainterface.vala \
99         valainterfacetype.vala \
100         valainvalidtype.vala \
101         valalambdaexpression.vala \
102         valaliteral.vala \
103         valalocalvariable.vala \
104         valalockable.vala \
105         valalockstatement.vala \
106         valaloop.vala \
107         valamarkupreader.vala \
108         valamemberaccess.vala \
109         valamemberinitializer.vala \
110         valamethod.vala \
111         valamethodcall.vala \
112         valamethodtype.vala \
113         valanamedargument.vala \
114         valanamespace.vala \
115         valanullliteral.vala \
116         valanulltype.vala \
117         valaobjectcreationexpression.vala \
118         valaobjecttype.vala \
119         valaobjecttypesymbol.vala \
120         valaparameter.vala \
121         valaparser.vala \
122         valaphifunction.vala \
123         valapointerindirection.vala \
124         valapointertype.vala \
125         valapostfixexpression.vala \
126         valaprofile.vala \
127         valapropertyaccessor.vala \
128         valaproperty.vala \
129         valarealliteral.vala \
130         valareferencetransferexpression.vala \
131         valareferencetype.vala \
132         valaregexliteral.vala \
133         valareport.vala \
134         valareturnstatement.vala \
135         valascanner.vala \
136         valascope.vala \
137         valasemanticanalyzer.vala \
138         valasignal.vala \
139         valasignaltype.vala \
140         valasizeofexpression.vala \
141         valasliceexpression.vala \
142         valasourcefile.vala \
143         valasourcelocation.vala \
144         valasourcereference.vala \
145         valastatement.vala \
146         valastatementlist.vala \
147         valastringliteral.vala \
148         valastruct.vala \
149         valastructvaluetype.vala \
150         valasubroutine.vala \
151         valaswitchlabel.vala \
152         valaswitchsection.vala \
153         valaswitchstatement.vala \
154         valasymbol.vala \
155         valasymbolresolver.vala \
156         valatargetvalue.vala \
157         valatemplate.vala \
158         valathrowstatement.vala \
159         valatokentype.vala \
160         valatrystatement.vala \
161         valatuple.vala \
162         valatypecheck.vala \
163         valatypeofexpression.vala \
164         valatypeparameter.vala \
165         valatypesymbol.vala \
166         valaunaryexpression.vala \
167         valaunlockstatement.vala \
168         valaunresolvedsymbol.vala \
169         valaunresolvedtype.vala \
170         valausedattr.vala \
171         valausingdirective.vala \
172         valavaluetype.vala \
173         valavariable.vala \
174         valaversion.vala \
175         valaversionattribute.vala \
176         valavoidtype.vala \
177         valawhilestatement.vala \
178         valayieldstatement.vala \
179         $(NULL)
181 libvala@PACKAGE_SUFFIX@_la_SOURCES = \
182         vala.vala.stamp \
183         $(libvala_la_VALASOURCES:.vala=.c) \
184         $(NULL)
186 valaincludedir = $(includedir)/vala@PACKAGE_SUFFIX@
188 valainclude_HEADERS = \
189         vala.h \
190         $(NULL)
192 vala.vapi vala.vala.stamp: $(libvala_la_VALASOURCES)
193         $(VALA_V)$(VALAC) \
194                 $(COVERAGE_VALAFLAGS) \
195                 $(VALAFLAGS) \
196                 -C \
197                 --vapidir $(top_srcdir)/vapi --pkg gmodule-2.0 --pkg gobject-2.0 \
198                 --vapidir $(top_srcdir)/gee --pkg gee \
199                 --pkg config \
200                 --use-header \
201                 -H vala.h \
202                 --library vala \
203                 $^
204         @touch $@
206 libvala@PACKAGE_SUFFIX@_la_LDFLAGS = \
207         -no-undefined \
208         $(NULL)
210 libvala@PACKAGE_SUFFIX@_la_LIBADD = \
211         $(COVERAGE_LIBS) \
212         $(GLIB_LIBS) \
213         $(GMODULE_LIBS) \
214         $(top_builddir)/gee/libgee.la \
215         $(NULL)
217 vapidir = $(datadir)/vala/vapi
218 dist_vapi_DATA = libvala@PACKAGE_SUFFIX@.vapi
220 libvala@PACKAGE_SUFFIX@.vapi: $(top_srcdir)/gee/gee.vapi $(top_srcdir)/vala/vala.vapi
221         cat $^ > $@
223 EXTRA_DIST = $(libvala_la_VALASOURCES) vala.vapi vala.vala.stamp vala.h valaversion.vala.in
225 MAINTAINERCLEANFILES = \
226         vala.vapi \
227         vala.h \
228         $(libvala_la_VALASOURCES:.vala=.c) \
229         $(NULL)