aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 8f8d7eb1246fe9dcd62f633e40bad104a6f7cf04 (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
40
41
42
43
44
45
46
47
48
49
50
pkglibexec_PROGRAMS = indicator-bluetooth-service
indicatordir = ${libdir}/indicators3/7
indicator_LTLIBRARIES = libbluetooth.la

indicator_bluetooth_service_SOURCES = 	\
	config.vapi \
	indicator3-0.4.vapi \
	gnome-bluetooth-1.0.vapi \
	indicator-bluetooth-service.vala

indicator_bluetooth_service_VALAFLAGS = \
	--pkg posix \
	--pkg glib-2.0 \
	--pkg gtk+-3.0 \
	--pkg Dbusmenu-0.4

indicator_bluetooth_service_CFLAGS = \
	-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
	-DLOCALE_DIR=\"$(datadir)/locale\" \
	$(INDICATOR_BLUETOOTH_SERVICE_CFLAGS)

indicator_bluetooth_service_LDADD = \
	$(INDICATOR_BLUETOOTH_SERVICE_LIBS)

libbluetooth_la_SOURCES = 	\
	config.vapi \
	indicator3-0.4.vapi \
	indicator-bluetooth.vala \
	libido3-0.1.vapi

libbluetooth_la_VALAFLAGS = \
	--pkg posix \
	--pkg glib-2.0 \
	--pkg gtk+-3.0 \
	--pkg Dbusmenu-0.4 \
	--pkg DbusmenuGtk3-0.4

libbluetooth_la_CFLAGS = \
	-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
	$(INDICATOR_BLUETOOTH_CFLAGS)

libbluetooth_la_LIBADD = \
	$(INDICATOR_BLUETOOTH_LIBS)

libbluetooth_la_LDFLAGS = \
	-module -avoid-version

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