14f235820e02425ec6ed3832d3ef42a4b42a2fa6
[platform/upstream/folks.git] / tests / lib / tracker / Makefile.am
1 AM_VALAFLAGS += \
2         $(ERROR_VALAFLAGS) \
3         --library=tracker-test \
4         --header=tracker-test.h \
5         --vapidir=$(top_srcdir)/folks \
6         --vapidir=$(top_srcdir)/backends/tracker/lib \
7         --vapidir=$(abs_top_srcdir)/tests/lib \
8         --vapidir=$(abs_top_builddir)/tests/lib \
9         --vapidir=. \
10         --pkg gobject-2.0 \
11         --pkg gio-2.0 \
12         --pkg gee-0.8 \
13         --pkg folks \
14         --pkg tracker-sparql-$(TRACKER_SPARQL_MAJOR) \
15         --pkg folks-tracker \
16         --pkg folks-test \
17         -g \
18         $(NULL)
19
20 noinst_LTLIBRARIES = libtracker-test.la
21
22 libtracker_test_la_SOURCES = \
23         backend.vala \
24         test-case.vala \
25         $(NULL)
26
27 libtracker_test_la_CFLAGS = \
28         $(AM_CFLAGS) \
29         $(ERROR_CFLAGS) \
30         $(GLIB_CFLAGS) \
31         $(GEE_CFLAGS) \
32         $(TRACKER_SPARQL_CFLAGS) \
33         -I$(top_srcdir) \
34         -I$(top_srcdir)/folks \
35         -I$(top_srcdir)/backends/tracker/lib \
36         -I$(top_srcdir)/backends/tracker/lib/folks \
37         -I$(top_srcdir)/tests/lib \
38         $(NULL)
39
40 libtracker_test_la_LIBADD = \
41         $(GLIB_LIBS) \
42         $(GEE_LIBS) \
43         $(TRACKER_SPARQL_LIBS) \
44         $(top_builddir)/folks/libfolks.la \
45         $(top_builddir)/backends/tracker/lib/libfolks-tracker.la \
46         $(top_builddir)/tests/lib/libfolks-test.la \
47         $(NULL)
48
49 # XXX: automake's Vala support should make these unnecessary
50 tracker-test.vapi: libtracker_test_la_vala.stamp
51 tracker-test.h: libtracker_test_la_vala.stamp
52
53 dist_noinst_DATA = \
54         tracker-test.vapi \
55         $(NULL)
56
57 MAINTAINERCLEANFILES = \
58         tracker-test.vapi \
59         tracker-test.h \
60         $(NULL)
61
62 EXTRA_DIST = \
63         tracker-test.vapi \
64         tracker-test.h \
65         $(NULL)
66
67 -include $(top_srcdir)/git.mk