blob: 87f4231bac14491403441d2181643654ad7a9b75 (
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 = indicator-bluetooth-service
indicator_bluetooth_service_SOURCES = \
org-bluez.vala \
bluetooth.vala \
bluez.vala \
desktop.vala \
device.vala \
main.vala \
phone.vala \
profile.vala \
killswitch.vala \
service.vala
indicator_bluetooth_service_VALAFLAGS = \
--ccode \
--vapidir=$(top_srcdir)/vapi/ \
--vapidir=./ \
--pkg config \
--pkg rfkill \
--pkg posix \
--pkg glib-2.0 \
--pkg gtk+-3.0
# -w to disable warnings for vala-generated code
indicator_bluetooth_service_CFLAGS = \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
-DLOCALE_DIR=\"$(datadir)/locale\" \
-w \
$(INDICATOR_BLUETOOTH_SERVICE_CFLAGS)
indicator_bluetooth_service_LDADD = \
$(INDICATOR_BLUETOOTH_SERVICE_LIBS)
CLEANFILES = \
$(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \
*_vala.stamp
|