summaryrefslogtreecommitdiff
path: root/ccode/Makefile.am
blob: fb4c66a71014cc7d29347afa9156dac801613176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
include $(top_srcdir)/Makefile.common

NULL =

AM_CPPFLAGS = \
	$(COVERAGE_CFLAGS) \
	-I$(top_srcdir)/gee \
	$(GLIB_CFLAGS) \
	$(NULL)

BUILT_SOURCES = ccode.vala.stamp

noinst_LTLIBRARIES = \
	libvalaccode.la \
	$(NULL)

libvalaccode_la_VALASOURCES = \
	valaccodeassignment.vala \
	valaccodebinaryexpression.vala \
	valaccodeblock.vala \
	valaccodebreakstatement.vala \
	valaccodecasestatement.vala \
	valaccodecastexpression.vala \
	valaccodecommaexpression.vala \
	valaccodecomment.vala \
	valaccodeconditionalexpression.vala \
	valaccodeconstant.vala \
	valaccodecontinuestatement.vala \
	valaccodedeclaration.vala \
	valaccodedeclarator.vala \
	valaccodedostatement.vala \
	valaccodeemptystatement.vala \
	valaccodeenum.vala \
	valaccodeenumvalue.vala \
	valaccodeexpression.vala \
	valaccodeexpressionstatement.vala \
	valaccodefile.vala \
	valaccodeforstatement.vala \
	valaccodefragment.vala \
	valaccodefunction.vala \
	valaccodefunctioncall.vala \
	valaccodefunctiondeclarator.vala \
	valaccodeggnucsection.vala \
	valaccodegotostatement.vala \
	valaccodeidentifier.vala \
	valaccodeifstatement.vala \
	valaccodeincludedirective.vala \
	valaccodeinitializerlist.vala \
	valaccodeinvalidexpression.vala \
	valaccodelabel.vala \
	valaccodelinedirective.vala \
	valaccodeifsection.vala \
	valaccodemacroreplacement.vala \
	valaccodememberaccess.vala \
	valaccodemodifiers.vala \
	valaccodenewline.vala \
	valaccodenode.vala \
	valaccodeoncesection.vala \
	valaccodeparameter.vala \
	valaccodeparenthesizedexpression.vala \
	valaccodereturnstatement.vala \
	valaccodestatement.vala \
	valaccodestruct.vala \
	valaccodeswitchstatement.vala \
	valaccodetypedefinition.vala \
	valaccodeunaryexpression.vala \
	valaccodevariabledeclarator.vala \
	valaccodewhilestatement.vala \
	valaccodewriter.vala \
	valaccodeelementaccess.vala \
	$(NULL)

libvalaccode_la_SOURCES = \
	ccode.vala.stamp \
	$(libvalaccode_la_VALASOURCES:.vala=.c) \
	$(NULL)

ccode.vapi ccode.vala.stamp: $(libvalaccode_la_VALASOURCES)
	$(VALA_V)$(VALAC) \
		$(COVERAGE_VALAFLAGS) \
		$(VALAFLAGS) \
		-C \
		--vapidir $(top_srcdir)/vapi --pkg gobject-2.0 \
		--vapidir $(top_srcdir)/gee --pkg gee \
		--pkg config \
		--use-header \
		-H valaccode.h \
		--library ccode \
		$^
	touch $@

libvalaccode_la_LIBADD = \
	$(COVERAGE_LIBS) \
	$(GLIB_LIBS) \
	$(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
	$(NULL)

EXTRA_DIST = $(libvalaccode_la_VALASOURCES) ccode.vapi ccode.vala.stamp

MAINTAINERCLEANFILES = \
	ccode.vapi \
	valaccode.h \
	$(libvalaccode_la_VALASOURCES:.vala=.c) \
	$(NULL)