summaryrefslogtreecommitdiffstats
path: root/sync/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'sync/Makefile.am')
-rw-r--r--sync/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/sync/Makefile.am b/sync/Makefile.am
index 2d9090d3..85de8993 100644
--- a/sync/Makefile.am
+++ b/sync/Makefile.am
@@ -1,15 +1,17 @@
-if SYNC
+if SYNCSERVICE
+servicedir = $(libdir)/bluetooth
+
noinst_PROGRAMS = bluetoothd-service-sync
bluetoothd_service_sync_SOURCES = main.c
LDADD = $(top_builddir)/common/libhelper.a \
@OPENSYNC_LIBS@ @BLUEZ_LIBS@
+endif
AM_CFLAGS = @BLUEZ_CFLAGS@ @OPENSYNC_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
-endif
MAINTAINERCLEANFILES = Makefile.in