~ubuntu-branches/ubuntu/intrepid/bluez/intrepid

« back to all changes in this revision

Viewing changes to audio/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-10-07 12:10:29 UTC
  • Revision ID: james.westby@ubuntu.com-20081007121029-4gup4fmmh2vfo5nh
Tags: upstream-4.12
ImportĀ upstreamĀ versionĀ 4.12

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
                        -export-symbols-regex bluetooth_plugin_desc
 
18
 
 
19
LDADD = $(top_builddir)/common/libhelper.a \
 
20
                @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
 
21
 
 
22
if ALSA
 
23
alsadir = $(libdir)/alsa-lib
 
24
 
 
25
alsa_LTLIBRARIES = libasound_module_pcm_bluetooth.la libasound_module_ctl_bluetooth.la
 
26
 
 
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@
 
31
 
 
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@
 
36
endif
 
37
 
 
38
if GSTREAMER
 
39
gstreamerdir = $(libdir)/gstreamer-0.10
 
40
 
 
41
gstreamer_LTLIBRARIES = libgstbluetooth.la
 
42
 
 
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 \
 
51
                                rtp.h ipc.h ipc.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@
 
55
endif
 
56
endif
 
57
 
 
58
AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
 
59
 
 
60
CLEANFILES = $(BUILT_SOURCES)
 
61
 
 
62
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
63
 
 
64
EXTRA_DIST = audio.conf asound.conf telephony-dummy.c telephony-maemo.c
 
65
 
 
66
MAINTAINERCLEANFILES = Makefile.in
 
67
 
 
68
telephony.c: @TELEPHONY_DRIVER@
 
69
        @if [ ! -e $@ ] ; then $(LN_S) $< $@ ; fi