summaryrefslogtreecommitdiffstats
path: root/daemon/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-23 07:18:07 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-23 07:18:07 +0000
commit77a277e66743cd5f55cec8e4b5e61874bb6ab5b0 (patch)
tree03d21dfaf0fb6ea8fffc5ff1d0fd92b2b6c02d61 /daemon/Makefile.am
parent7a0e09996a2d86045c5a2cfc847f9c49d64ae511 (diff)
Make echo and input service configurable
Diffstat (limited to 'daemon/Makefile.am')
-rw-r--r--daemon/Makefile.am18
1 files changed, 10 insertions, 8 deletions
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