~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to audio/Makefile.am

ImportĀ upstreamĀ versionĀ 4.81

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
BUILT_SOURCES = telephony.c
3
 
 
4
 
if AUDIOPLUGIN
5
 
plugindir = $(libdir)/bluetooth/plugins
6
 
 
7
 
plugin_LTLIBRARIES = audio.la
8
 
 
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
13
 
 
14
 
nodist_audio_la_SOURCES = $(BUILT_SOURCES)
15
 
 
16
 
audio_la_LDFLAGS = -module -avoid-version -no-undefined
17
 
 
18
 
LDADD = $(top_builddir)/common/libhelper.a \
19
 
                @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
20
 
 
21
 
if ALSA
22
 
alsadir = $(libdir)/alsa-lib
23
 
 
24
 
alsa_LTLIBRARIES = libasound_module_pcm_bluetooth.la libasound_module_ctl_bluetooth.la
25
 
 
26
 
libasound_module_pcm_bluetooth_la_SOURCES = pcm_bluetooth.c rtp.h ipc.h ipc.c
27
 
libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version #-export-symbols-regex [_]*snd_pcm_.*
28
 
libasound_module_pcm_bluetooth_la_LIBADD = @SBC_LIBS@ @BLUEZ_LIBS@ @ALSA_LIBS@
29
 
libasound_module_pcm_bluetooth_la_CFLAGS = @ALSA_CFLAGS@ @BLUEZ_CFLAGS@ @SBC_CFLAGS@
30
 
 
31
 
libasound_module_ctl_bluetooth_la_SOURCES = ctl_bluetooth.c rtp.h ipc.h ipc.c
32
 
libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version #-export-symbols-regex [_]*snd_ctl_.*
33
 
libasound_module_ctl_bluetooth_la_LIBADD = @BLUEZ_LIBS@ @ALSA_LIBS@
34
 
libasound_module_ctl_bluetooth_la_CFLAGS = @ALSA_CFLAGS@ @BLUEZ_CFLAGS@
35
 
endif
36
 
 
37
 
if GSTREAMER
38
 
gstreamerdir = $(libdir)/gstreamer-0.10
39
 
 
40
 
gstreamer_LTLIBRARIES = libgstbluetooth.la
41
 
 
42
 
libgstbluetooth_la_SOURCES = gstbluetooth.c \
43
 
                                gstsbcenc.h gstsbcenc.c \
44
 
                                gstsbcdec.h gstsbcdec.c \
45
 
                                gstsbcparse.h gstsbcparse.c \
46
 
                                gstavdtpsink.h gstavdtpsink.c \
47
 
                                gsta2dpsink.h gsta2dpsink.c \
48
 
                                gstsbcutil.h gstsbcutil.c \
49
 
                                gstrtpsbcpay.h gstrtpsbcpay.c \
50
 
                                rtp.h ipc.h ipc.c
51
 
libgstbluetooth_la_LDFLAGS = -module -avoid-version
52
 
libgstbluetooth_la_LIBADD = @SBC_LIBS@ @BLUEZ_LIBS@ @GSTREAMER_LIBS@ \
53
 
                                                -lgstaudio-0.10 -lgstrtp-0.10
54
 
libgstbluetooth_la_CFLAGS = -fvisibility=hidden \
55
 
                         @GSTREAMER_CFLAGS@ @BLUEZ_CFLAGS@ @SBC_CFLAGS@
56
 
endif
57
 
endif
58
 
 
59
 
noinst_LTLIBRARIES = libipc.la
60
 
 
61
 
libipc_la_SOURCES = ipc.h ipc.c
62
 
 
63
 
noinst_PROGRAMS = ipctest
64
 
 
65
 
ipctest_LDADD= libipc.la @SBC_LIBS@ @GLIB_LIBS@
66
 
 
67
 
AM_CFLAGS = -fvisibility=hidden @SBC_CFLAGS@ \
68
 
                @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
69
 
 
70
 
CLEANFILES = $(BUILT_SOURCES)
71
 
 
72
 
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
73
 
 
74
 
EXTRA_DIST = audio.conf asound.conf telephony-dummy.c telephony-maemo.c
75
 
 
76
 
MAINTAINERCLEANFILES = Makefile.in
77
 
 
78
 
telephony.c: @TELEPHONY_DRIVER@
79
 
        @if [ ! -e $@ ] ; then $(LN_S) $< $@ ; fi