aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 1a82a18a8d2c7f19252fc2eabd3d82352b313e04 (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 = indicator-sound-service

indicator_sound_service_SOURCES = \
	service.vala \
	main.vala \
	volume-control.vala \
	media-player.vala \
	media-player-list.vala \
	mpris2-interfaces.vala \
	freedesktop-interfaces.vala \
	sound-menu.vala \
	bus-watch-namespace.c \
	bus-watch-namespace.h

indicator_sound_service_VALAFLAGS = \
  --ccode \
  --vapidir=$(top_srcdir)/vapi/ \
  --vapidir=./ \
  --thread \
  --pkg config \
  --pkg gio-2.0 \
  --pkg gio-unix-2.0 \
  --pkg libxml-2.0 \
  --pkg libpulse \
  --pkg libpulse-mainloop-glib \
  --pkg bus-watcher \
  --target-glib=2.36

# -w to disable warnings for vala-generated code
indicator_sound_service_CFLAGS = $(PULSEAUDIO_CFLAGS) \
	$(SOUNDSERVICE_CFLAGS) \
	$(GCONF_CFLAGS) \
	$(COVERAGE_CFLAGS) \
	-DLIBEXECDIR=\"$(libexecdir)\" \
	-w \
	-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"

indicator_sound_service_LDADD = $(PULSEAUDIO_LIBS) $(SOUNDSERVICE_LIBS) $(GCONF_LIBS)
indicator_sound_service_LDFLAGS = $(COVERAGE_LDFLAGS)