File: Makefile.am

package info (click to toggle)
zeitgeist 0.9.14-2.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,500 kB
  • ctags: 4,031
  • sloc: ansic: 16,835; sh: 11,484; xml: 8,822; python: 8,196; cpp: 2,970; sql: 1,192; makefile: 941
file content (72 lines) | stat: -rw-r--r-- 1,629 bytes parent folder | download
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 = 

bin_PROGRAMS = zeitgeist-datahub

AM_CPPFLAGS = \
	$(ZEITGEIST_DATAHUB_CFLAGS) \
	-include $(CONFIG_HEADER) \
	-I$(top_builddir)/libzeitgeist \
	-w \
	$(NULL)

AM_VALAFLAGS = \
	--target-glib=2.26 \
	--pkg gio-2.0 \
	--pkg gio-unix-2.0 \
	--pkg gtk+-3.0 \
	--pkg json-glib-1.0 \
	$(top_builddir)/libzeitgeist/zeitgeist-datamodel-2.0.vapi \
	$(top_builddir)/libzeitgeist/zeitgeist-2.0.vapi \
	$(top_srcdir)/config.vapi \
	$(srcdir)/glib-extra.vapi \
	-C \
	$(NULL)

BUILT_SOURCES = \
	zeitgeist_datahub_vala.stamp \
	$(NULL)

zeitgeist_datahub_VALASOURCES = \
	data-provider.vala \
	desktop-launch-listener.vala \
	downloads-directory-provider.vala \
	kde-recent-document-provider.vala \
	recent-manager-provider.vala \
	utils.vala \
	zeitgeist-datahub.vala \
	$(NULL)

if ENABLE_TELEPATHY
AM_VALAFLAGS += --pkg telepathy-glib
zeitgeist_datahub_VALASOURCES += telepathy-observer.vala
endif

nodist_zeitgeist_datahub_SOURCES = \
	$(BUILT_SOURCES) \
	$(zeitgeist_datahub_VALASOURCES:.vala=.c) \
	$(NULL)

zeitgeist_datahub_LDADD = $(top_builddir)/libzeitgeist/libzeitgeist-2.0.la $(ZEITGEIST_DATAHUB_LIBS)
zeitgeist_datahub_LDFLAGS = -export-dynamic -no-undefined

zeitgeist_datahub_vala.stamp: $(zeitgeist_datahub_VALASOURCES) Makefile
	$(AM_V_VALA)$(VALAC) \
		$(AM_VALAFLAGS) \
		$(filter %.vala %.c,$^)
	$(AM_V_at)touch $@

EXTRA_DIST = \
	$(zeitgeist_datahub_VALASOURCES) \
	glib-extra.vapi \
	$(NULL)

CLEANFILES = \
	$(nodist_zeitgeist_datahub_SOURCES) \
	$(NULL)

distclean-local:
	rm -f *.c *.o *.stamp *.~[0-9]~

VALA_V = $(VALA_V_$(V))
VALA_V_ = $(VALA_V_$(AM_DEFAULT_VERBOSITY))
VALA_V_0 = @echo "  VALAC " $^;