aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 44d6406967aa4de5d34a4ccf8fe45f4afd53456c (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
pkglibexec_PROGRAMS = ayatana-indicator-bluetooth-service

ayatana_indicator_bluetooth_service_SOURCES = \
	bluetooth.vala \
	bluez.vala \
	desktop.vala \
	device.vala \
	main.vala \
	phone.vala \
	profile.vala \
	killswitch.vala \
	service.vala

ayatana_indicator_bluetooth_service_VALAFLAGS = \
	--ccode \
	--vapidir=$(top_srcdir)/vapi/ \
	--vapidir=./ \
	--pkg config \
	--pkg rfkill \
	--pkg url-dispatcher \
	--pkg posix \
	--pkg glib-2.0 \
	--pkg gio-2.0

# -w to disable warnings for vala-generated code
ayatana_indicator_bluetooth_service_CFLAGS = \
	-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
	-DLOCALE_DIR=\"$(datadir)/locale\" \
	-w \
	$(URL_DISPATCHER_CFLAGS) \
	$(SERVICE_DEPS_CFLAGS)

ayatana_indicator_bluetooth_service_LDADD = \
	$(URL_DISPATCHER_LIBS) \
	$(SERVICE_DEPS_LIBS)

CLEANFILES = \
	$(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \
	*_vala.stamp