summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-07 18:54:07 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-07 18:54:07 +0000
commit8d4c64d0e81687dbdb38224b83a6edf83fbc5c82 (patch)
tree0aaaa04a77855b5f4fa9949ff0056bbdee6f12ec
parent1fbeb7185ab70e02229cc3aa6dd660f7ab7a6e99 (diff)
Add synchronization daemon skeleton
-rw-r--r--Makefile.am2
-rw-r--r--configure.in2
-rw-r--r--sync/Makefile.am12
-rw-r--r--sync/main.c34
4 files changed, 48 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f76d55d4..3f121085 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = common daemon network input audio \
+SUBDIRS = common daemon network input audio sync \
tools rfcomm hcid sdpd dund pand hidd \
cups fuse alsa test scripts
diff --git a/configure.in b/configure.in
index b764e015..05b3ddd9 100644
--- a/configure.in
+++ b/configure.in
@@ -35,4 +35,4 @@ AC_PATH_USB
AC_ARG_BLUEZ
-AC_OUTPUT(Makefile common/Makefile daemon/Makefile network/Makefile input/Makefile audio/Makefile tools/Makefile rfcomm/Makefile hcid/Makefile sdpd/Makefile dund/Makefile pand/Makefile hidd/Makefile cups/Makefile fuse/Makefile alsa/Makefile test/Makefile scripts/Makefile)
+AC_OUTPUT(Makefile common/Makefile daemon/Makefile network/Makefile input/Makefile audio/Makefile sync/Makefile tools/Makefile rfcomm/Makefile hcid/Makefile sdpd/Makefile dund/Makefile pand/Makefile hidd/Makefile cups/Makefile fuse/Makefile alsa/Makefile test/Makefile scripts/Makefile)
diff --git a/sync/Makefile.am b/sync/Makefile.am
new file mode 100644
index 00000000..4f89edc6
--- /dev/null
+++ b/sync/Makefile.am
@@ -0,0 +1,12 @@
+
+noinst_PROGRAMS = bt.syncd
+
+bt_syncd_SOURCES = main.c
+
+bt_syncd_LDADD = @DBUS_LIBS@ @OPENSYNC_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a
+
+AM_CFLAGS = @BLUEZ_CFLAGS@ @OPENSYNC_CFLAGS@ @DBUS_CFLAGS@
+
+INCLUDES = -I$(top_srcdir)/common
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/sync/main.c b/sync/main.c
new file mode 100644
index 00000000..c04bb251
--- /dev/null
+++ b/sync/main.c
@@ -0,0 +1,34 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2005-2006 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdio.h>
+#include <errno.h>
+
+int main(int argc, char *argv[])
+{
+ return 0;
+}