summaryrefslogtreecommitdiffstats
path: root/daemon/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-19 21:30:42 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-19 21:30:42 +0000
commit39f3c3473400cad1909b1639f422810779a3c5b3 (patch)
tree3aee6f7b53910f6d786e957dd28bd3a4ec92befa /daemon/Makefile.am
parentb820ab01df064df0c5e2936e78c8765a3eb6e446 (diff)
Rename echo service and install it
Diffstat (limited to 'daemon/Makefile.am')
-rw-r--r--daemon/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 9f7a4a0e..7bf8d440 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -1,4 +1,6 @@
+servicedir = $(libdir)/bluetooth
+
if GLIB
glib_cflags = @GLIB_CFLAGS@
glib_ldadd = @GLIB_LIBS@
@@ -7,7 +9,9 @@ glib_cflags =
glib_ldadd =
endif
-noinst_PROGRAMS = bluetoothd bluetoothd_echo
+noinst_PROGRAMS = bluetoothd
+
+service_PROGRAMS = bluetoothd-service-echo
bluetoothd_SOURCES = main.c system.h \
manager.h manager.c database.h database.c \
@@ -17,10 +21,11 @@ bluetoothd_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ \
$(top_builddir)/sdpd/libsdpserver.a \
$(top_builddir)/common/libhelper.a
-bluetoothd_echo_SOURCES = echo.c
+bluetoothd_service_echo_SOURCES = echo.c
-bluetoothd_echo_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ \
- $(top_builddir)/common/libhelper.a
+bluetoothd_service_echo_LDADD = \
+ $(top_builddir)/common/libhelper.a \
+ $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@
if EXPAT
bluetoothd_LDADD += -lexpat
@@ -28,6 +33,6 @@ endif
AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ $(glib_cflags)
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/sdpd
MAINTAINERCLEANFILES = Makefile.in