glib-2.0: Add missing return of Queue.remove*() and add HashTable.foreach_steal()
[vala-gnome.git] / ccode / Makefile.am
blobb0d9b1358c6f4c8275d7a09a2192ff997c62acd3
1 include $(top_srcdir)/Makefile.common
3 NULL =
5 AM_CPPFLAGS = \
6         $(COVERAGE_CFLAGS) \
7         -I$(top_srcdir)/gee \
8         -I$(top_srcdir)/vala \
9         $(GLIB_CFLAGS) \
10         $(NULL)
12 BUILT_SOURCES = ccode.vala.stamp
14 noinst_LTLIBRARIES = \
15         libvalaccode.la \
16         $(NULL)
18 libvalaccode_la_VALASOURCES = \
19         valaccodeassignment.vala \
20         valaccodebinaryexpression.vala \
21         valaccodeblock.vala \
22         valaccodebreakstatement.vala \
23         valaccodecasestatement.vala \
24         valaccodecastexpression.vala \
25         valaccodecommaexpression.vala \
26         valaccodecomment.vala \
27         valaccodeconditionalexpression.vala \
28         valaccodeconstant.vala \
29         valaccodecontinuestatement.vala \
30         valaccodedeclaration.vala \
31         valaccodedeclarator.vala \
32         valaccodedostatement.vala \
33         valaccodeemptystatement.vala \
34         valaccodeenum.vala \
35         valaccodeenumvalue.vala \
36         valaccodeexpression.vala \
37         valaccodeexpressionstatement.vala \
38         valaccodefeaturetestmacro.vala \
39         valaccodefile.vala \
40         valaccodeforstatement.vala \
41         valaccodefragment.vala \
42         valaccodefunction.vala \
43         valaccodefunctioncall.vala \
44         valaccodefunctiondeclarator.vala \
45         valaccodeggnucsection.vala \
46         valaccodegotostatement.vala \
47         valaccodeidentifier.vala \
48         valaccodeifstatement.vala \
49         valaccodeincludedirective.vala \
50         valaccodeinitializerlist.vala \
51         valaccodeinvalidexpression.vala \
52         valaccodelabel.vala \
53         valaccodelinedirective.vala \
54         valaccodeifsection.vala \
55         valaccodemacroreplacement.vala \
56         valaccodememberaccess.vala \
57         valaccodemodifiers.vala \
58         valaccodenewline.vala \
59         valaccodenode.vala \
60         valaccodeoncesection.vala \
61         valaccodeparameter.vala \
62         valaccodeparenthesizedexpression.vala \
63         valaccodereturnstatement.vala \
64         valaccodestatement.vala \
65         valaccodestruct.vala \
66         valaccodeswitchstatement.vala \
67         valaccodetypedefinition.vala \
68         valaccodeunaryexpression.vala \
69         valaccodevariabledeclarator.vala \
70         valaccodewhilestatement.vala \
71         valaccodewriter.vala \
72         valaccodeelementaccess.vala \
73         $(NULL)
75 libvalaccode_la_SOURCES = \
76         ccode.vala.stamp \
77         $(libvalaccode_la_VALASOURCES:.vala=.c) \
78         $(NULL)
80 ccode.vapi ccode.vala.stamp: $(libvalaccode_la_VALASOURCES)
81         $(VALA_V)$(VALAC) \
82                 $(COVERAGE_VALAFLAGS) \
83                 $(VALAFLAGS) \
84                 -C \
85                 --vapidir $(top_srcdir)/vapi --pkg gobject-2.0 \
86                 --vapidir $(top_srcdir)/gee --pkg gee \
87                 --vapidir $(top_srcdir)/vala --pkg vala \
88                 --pkg config \
89                 --use-header \
90                 -H valaccode.h \
91                 --library ccode \
92                 $^
93         touch $@
95 libvalaccode_la_LIBADD = \
96         $(COVERAGE_LIBS) \
97         $(GLIB_LIBS) \
98         $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
99         $(NULL)
101 EXTRA_DIST = $(libvalaccode_la_VALASOURCES) ccode.vapi ccode.vala.stamp valaccode.h
103 MAINTAINERCLEANFILES = \
104         ccode.vapi \
105         valaccode.h \
106         $(libvalaccode_la_VALASOURCES:.vala=.c) \
107         $(NULL)