aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 245b0f2a323a19a52e608f4c5fb401a6c2f5a176 (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
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 \
	$(SERVICE_DEPS_CFLAGS)

ayatana_indicator_bluetooth_service_LDADD = \
	$(SERVICE_DEPS_LIBS)

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