summaryrefslogtreecommitdiffstats
path: root/audio/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-19 21:44:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-19 21:44:34 +0000
commit028a55862c3a2d0cb789430ce33ac52c80147ca7 (patch)
tree1c199dfa2b8d9d6ca965bc3f04b18923529dc102 /audio/Makefile.am
parent23875e5b1b633dcfddfe7cbc560d25e306bc9e41 (diff)
Rename services and install the audio service
Diffstat (limited to 'audio/Makefile.am')
-rw-r--r--audio/Makefile.am13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am
index f7d6b50c..b6d39c61 100644
--- a/audio/Makefile.am
+++ b/audio/Makefile.am
@@ -1,4 +1,6 @@
+servicedir = $(libdir)/bluetooth
+
if GLIB
glib_cflags = @GLIB_CFLAGS@
glib_ldadd = @GLIB_LIBS@
@@ -7,15 +9,16 @@ glib_cflags =
glib_ldadd =
endif
-noinst_PROGRAMS = bt.audiod bt.headsetd
+service_PROGRAMS = bluetoothd-service-audio
-bt_audiod_SOURCES = main.c
+noinst_PROGRAMS = bluetoothd-service-headset
-bt_audiod_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
+bluetoothd_service_audio_SOURCES = main.c
-bt_headsetd_SOURCES = headset.c
+bluetoothd_service_headset_SOURCES = headset.c
-bt_headsetd_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
+LDADD = $(top_builddir)/common/libhelper.a $(glib_ldadd) \
+ @DBUS_LIBS@ @BLUEZ_LIBS@
AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ $(glib_cflags)