diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-04-01 21:02:31 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-04-01 21:02:31 +0000 |
commit | c0be1b30ea748331adfccadaadb49193f407bdd4 (patch) | |
tree | 0502f9ee9dc14c8a1b844f2feb7394976bbcb42c /audio | |
parent | c40762547147401db6eed6d64db09744e5668dda (diff) |
Make headset service installable
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile.am | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am index 63f338b7..4de6d59f 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -1,18 +1,27 @@ -servicedir = $(libdir)/bluetooth +if HEADSETSERVICE +if CONFIGFILES +confdir = $(sysconfdir)/bluetooth -noinst_PROGRAMS = bluetoothd-service-audio \ - bluetoothd-service-headset +conf_DATA = headset.service +endif -bluetoothd_service_audio_SOURCES = main.c manager.h manager.c +servicedir = $(libdir)/bluetooth -bluetoothd_service_audio_LDADD = $(top_builddir)/common/libhelper.a \ - @SBC_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ +service_PROGRAMS = bluetoothd-service-headset bluetoothd_service_headset_SOURCES = headset.c bluetoothd_service_headset_LDADD = $(top_builddir)/common/libhelper.a \ - @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ + @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ +endif + +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@ AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @SBC_CFLAGS@ |