2006-10-27 22:46:36 +08:00
|
|
|
|
2007-04-02 05:02:31 +08:00
|
|
|
if HEADSETSERVICE
|
|
|
|
if CONFIGFILES
|
|
|
|
confdir = $(sysconfdir)/bluetooth
|
2007-01-20 05:44:34 +08:00
|
|
|
|
2007-04-02 05:02:31 +08:00
|
|
|
conf_DATA = headset.service
|
|
|
|
endif
|
2006-10-27 22:46:36 +08:00
|
|
|
|
2007-04-02 05:02:31 +08:00
|
|
|
servicedir = $(libdir)/bluetooth
|
2006-10-27 22:46:36 +08:00
|
|
|
|
2007-04-02 05:02:31 +08:00
|
|
|
service_PROGRAMS = bluetoothd-service-headset
|
2007-01-31 16:52:52 +08:00
|
|
|
|
2007-01-20 05:44:34 +08:00
|
|
|
bluetoothd_service_headset_SOURCES = headset.c
|
2006-11-13 23:04:48 +08:00
|
|
|
|
2007-01-31 16:52:52 +08:00
|
|
|
bluetoothd_service_headset_LDADD = $(top_builddir)/common/libhelper.a \
|
2007-04-02 05:02:31 +08:00
|
|
|
@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
|
|
|
|
endif
|
|
|
|
|
2007-04-04 17:39:23 +08:00
|
|
|
if ALSA
|
|
|
|
alsadir = $(libdir)/alsa-lib
|
|
|
|
|
|
|
|
alsa_LTLIBRARIES = libasound_module_pcm_bluetooth.la libasound_module_ctl_bluetooth.la
|
|
|
|
|
|
|
|
libasound_module_pcm_bluetooth_la_SOURCES = pcm_bluetooth.c
|
|
|
|
libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
|
|
|
|
libasound_module_pcm_bluetooth_la_LIBADD = @ALSA_LIBS@
|
|
|
|
|
|
|
|
libasound_module_ctl_bluetooth_la_SOURCES = ctl_bluetooth.c
|
|
|
|
libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
|
|
|
|
libasound_module_ctl_bluetooth_la_LIBADD = @ALSA_LIBS@
|
|
|
|
endif
|
|
|
|
|
2007-04-02 05:02:31 +08:00
|
|
|
noinst_PROGRAMS = bluetoothd-service-audio
|
|
|
|
|
|
|
|
bluetoothd_service_audio_SOURCES = main.c manager.h manager.c
|
|
|
|
|
|
|
|
bluetoothd_service_audio_LDADD = $(top_builddir)/common/libhelper.a \
|
|
|
|
@SBC_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
|
2006-11-13 23:04:48 +08:00
|
|
|
|
2007-04-04 17:39:23 +08:00
|
|
|
AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @ALSA_CFLAGS@ @SBC_CFLAGS@
|
2006-10-27 22:46:36 +08:00
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir)/common
|
|
|
|
|
2007-01-16 18:12:08 +08:00
|
|
|
EXTRA_DIST = headset.service audio-api.txt
|
2006-12-06 21:58:19 +08:00
|
|
|
|
2006-10-27 22:46:36 +08:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|