2
BUILT_SOURCES = telephony.c
5
plugindir = $(libdir)/bluetooth/plugins
7
plugin_LTLIBRARIES = audio.la
9
audio_la_SOURCES = main.c \
10
ipc.h ipc.c unix.h unix.c manager.h manager.c telephony.h \
11
device.h device.c headset.h headset.c gateway.h gateway.c \
12
avdtp.h avdtp.c a2dp.h a2dp.c sink.h sink.c control.h control.c
14
nodist_audio_la_SOURCES = $(BUILT_SOURCES)
16
audio_la_LDFLAGS = -module -avoid-version -no-undefined \
17
-export-symbols-regex bluetooth_plugin_desc
19
LDADD = $(top_builddir)/common/libhelper.a \
20
@GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
23
alsadir = $(libdir)/alsa-lib
25
alsa_LTLIBRARIES = libasound_module_pcm_bluetooth.la libasound_module_ctl_bluetooth.la
27
libasound_module_pcm_bluetooth_la_SOURCES = pcm_bluetooth.c rtp.h ipc.h ipc.c
28
libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*snd_pcm_.*
29
libasound_module_pcm_bluetooth_la_LIBADD = @SBC_LIBS@ @BLUEZ_LIBS@ @ALSA_LIBS@
30
libasound_module_pcm_bluetooth_la_CFLAGS = @ALSA_CFLAGS@ @BLUEZ_CFLAGS@ @SBC_CFLAGS@
32
libasound_module_ctl_bluetooth_la_SOURCES = ctl_bluetooth.c rtp.h ipc.h ipc.c
33
libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*snd_ctl_.*
34
libasound_module_ctl_bluetooth_la_LIBADD = @BLUEZ_LIBS@ @ALSA_LIBS@
35
libasound_module_ctl_bluetooth_la_CFLAGS = @ALSA_CFLAGS@ @BLUEZ_CFLAGS@
39
gstreamerdir = $(libdir)/gstreamer-0.10
41
gstreamer_LTLIBRARIES = libgstbluetooth.la
43
libgstbluetooth_la_SOURCES = gstbluetooth.c \
44
gstsbcenc.h gstsbcenc.c \
45
gstsbcdec.h gstsbcdec.c \
46
gstsbcparse.h gstsbcparse.c \
47
gstavdtpsink.h gstavdtpsink.c \
48
gsta2dpsink.h gsta2dpsink.c \
49
gstsbcutil.h gstsbcutil.c \
50
gstrtpsbcpay.h gstrtpsbcpay.c \
52
libgstbluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex gst_plugin_desc
53
libgstbluetooth_la_LIBADD = @SBC_LIBS@ @BLUEZ_LIBS@ @GSTREAMER_LIBS@ -lgstaudio-0.10 -lgstrtp-0.10
54
libgstbluetooth_la_CFLAGS = @GSTREAMER_CFLAGS@ @BLUEZ_CFLAGS@ @SBC_CFLAGS@
58
AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
60
CLEANFILES = $(BUILT_SOURCES)
62
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
64
EXTRA_DIST = audio.conf asound.conf telephony-dummy.c telephony-maemo.c
66
MAINTAINERCLEANFILES = Makefile.in
68
telephony.c: @TELEPHONY_DRIVER@
69
@if [ ! -e $@ ] ; then $(LN_S) $< $@ ; fi