summaryrefslogtreecommitdiffstats
path: root/sync/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-07 19:14:52 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-07 19:14:52 +0000
commitffa626c483e258035df60aefb0c5ef49621c344f (patch)
tree76b7b5b1b40fcfa791905d3c2635329f242e8639 /sync/Makefile.am
parent8d4c64d0e81687dbdb38224b83a6edf83fbc5c82 (diff)
Only compile synchronization daemon when OpenSync is available
Diffstat (limited to 'sync/Makefile.am')
-rw-r--r--sync/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/Makefile.am b/sync/Makefile.am
index 4f89edc6..4b5b48af 100644
--- a/sync/Makefile.am
+++ b/sync/Makefile.am
@@ -1,4 +1,5 @@
+if SYNC
noinst_PROGRAMS = bt.syncd
bt_syncd_SOURCES = main.c
@@ -8,5 +9,6 @@ bt_syncd_LDADD = @DBUS_LIBS@ @OPENSYNC_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common
AM_CFLAGS = @BLUEZ_CFLAGS@ @OPENSYNC_CFLAGS@ @DBUS_CFLAGS@
INCLUDES = -I$(top_srcdir)/common
+endif
MAINTAINERCLEANFILES = Makefile.in