aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am.THIS
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am.THIS')
-rw-r--r--src/Makefile.am.THIS39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Makefile.am.THIS b/src/Makefile.am.THIS
new file mode 100644
index 0000000..1a82a18
--- /dev/null
+++ b/src/Makefile.am.THIS
@@ -0,0 +1,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)