From 77a277e66743cd5f55cec8e4b5e61874bb6ab5b0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 23 Jan 2007 07:18:07 +0000 Subject: Make echo and input service configurable --- daemon/Makefile.am | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'daemon/Makefile.am') diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 73f11f3d..f9474a8d 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -1,4 +1,5 @@ +if ECHOSERVICE if CONFIGFILES confdir = $(sysconfdir)/bluetooth @@ -7,10 +8,17 @@ endif servicedir = $(libdir)/bluetooth -noinst_PROGRAMS = bluetoothd - service_PROGRAMS = bluetoothd-service-echo +bluetoothd_service_echo_SOURCES = echo.c + +bluetoothd_service_echo_LDADD = \ + $(top_builddir)/common/libhelper.a \ + @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ +endif + +noinst_PROGRAMS = bluetoothd + bluetoothd_SOURCES = main.c system.h \ manager.h manager.c database.h database.c \ adapter.h adapter.c service.h service.c @@ -20,12 +28,6 @@ bluetoothd_LDADD = \ $(top_builddir)/sdpd/libsdpserver.a \ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ -bluetoothd_service_echo_SOURCES = echo.c - -bluetoothd_service_echo_LDADD = \ - $(top_builddir)/common/libhelper.a \ - @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ - if EXPAT bluetoothd_LDADD += -lexpat endif -- cgit