blob: dad0d5d6ddcb25b1a42696112c781e762c2abbbd (
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
|
NULL =
VALAC = $(top_builddir)/compiler/valac
SUBDIRS = \
vala-gen-introspect \
$(NULL)
AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/gee \
-I$(top_srcdir)/ccode \
-I$(top_srcdir)/vala \
-I$(top_srcdir)/gobject-introspection \
$(NULL)
bin_PROGRAMS = \
vapigen \
vapicheck \
$(NULL)
BUILT_SOURCES = vapigen.vala.stamp vapicheck.vala.stamp
vapigen_VALASOURCES = \
valagidlparser.vala \
valavapigen.vala \
$(NULL)
vapigen_SOURCES = \
vapigen.vala.stamp \
$(vapigen_VALASOURCES:.vala=.c) \
$(NULL)
vapicheck_VALASOURCES = \
valavapicheck.vala \
$(NULL)
vapicheck_SOURCES = \
vapicheck.vala.stamp \
$(vapicheck_VALASOURCES:.vala=.c) \
$(NULL)
vapigen.vala.stamp: $(vapigen_VALASOURCES)
$(VALA_V)$(VALAC) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --vapidir $(srcdir)/../gee --pkg gee --vapidir $(srcdir)/../ccode --pkg ccode --vapidir $(srcdir)/../vala --pkg vala --vapidir $(srcdir)/../gobject-introspection --pkg gidl --pkg config $^
@touch $@
vapicheck.vala.stamp: $(vapicheck_VALASOURCES)
$(VALA_V)$(VALAC) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --vapidir $(srcdir)/../gee --pkg gee --vapidir $(srcdir)/../ccode --pkg ccode --vapidir $(srcdir)/../vala --pkg vala --vapidir $(srcdir)/../gobject-introspection --pkg gidl --pkg config $^
@touch $@
vapigen_LDADD = \
$(GLIB_LIBS) \
../codegen/libvala.la \
../gobject-introspection/libgidl.la \
$(NULL)
vapicheck_LDADD = \
$(GLIB_LIBS) \
../codegen/libvala.la \
../gobject-introspection/libgidl.la \
$(NULL)
EXTRA_DIST = $(vapigen_VALASOURCES) $(vapicheck_VALASOURCES) vapigen.vala.stamp vapicheck.vala.stamp
MAINTAINERCLEANFILES = \
$(vapigen_VALASOURCES:.vala=.c) \
$(vapicheck_VALASOURCES:.vala=.c) \
$(NULL)
VALA_V = $(VALA_V_$(V))
VALA_V_ = $(VALA_V_$(AM_DEFAULT_VERBOSITY))
VALA_V_0 = @echo " VALAC " $^;
|