diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-27 23:07:19 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-27 23:07:19 +0000 |
commit | 7299869ac79b76564cd68411acb18f4233ddbbb7 (patch) | |
tree | 6773d52943cb4e6cf04e51f5ed0702bd37dc8169 /audio/Makefile.am | |
parent | bec69df1c6672579961d96b718b8703650d01322 (diff) |
Convert audio service into a plugin.
Diffstat (limited to 'audio/Makefile.am')
-rw-r--r-- | audio/Makefile.am | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am index e36c2c2d..239d78be 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -1,23 +1,20 @@ if AUDIOSERVICE -if CONFIGFILES -confdir = $(sysconfdir)/bluetooth +plugindir = $(libdir)/bluetooth/plugins -conf_DATA = audio.service audio.conf -endif - -servicedir = $(libdir)/bluetooth - -service_PROGRAMS = bluetoothd-service-audio +plugin_LTLIBRARIES = libaudio.la -bluetoothd_service_audio_SOURCES = main.c \ - manager.h manager.c headset.h headset.c ipc.h ipc.c unix.h unix.c \ +libaudio_la_SOURCES = main.c \ + manager.h manager.c headset.h headset.c \ + ipc.h ipc.c unix.h unix.c \ device.h device.c gateway.h gateway.c \ - sink.c sink.h avdtp.c avdtp.h a2dp.c a2dp.h control.c control.h - -bluetoothd_service_audio_LDADD = $(top_builddir)/common/libhelper.a \ - @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ + sink.c sink.h avdtp.c avdtp.h \ + a2dp.c a2dp.h control.c control.h +libaudio_la_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc +libaudio_la_LIBADD = $(top_builddir)/common/libhelper.a \ + @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ +libaudio_la_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ if ALSA alsadir = $(libdir)/alsa-lib @@ -54,11 +51,8 @@ libgstbluetooth_la_CFLAGS = @GSTREAMER_CFLAGS@ @SBC_CFLAGS@ endif endif -AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ - -INCLUDES = -I$(top_srcdir)/common +INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd -EXTRA_DIST = audio.service audio.conf audio-api.txt test-audio asound.conf +EXTRA_DIST = audio.conf audio-api.txt test-audio asound.conf MAINTAINERCLEANFILES = Makefile.in - |