From 8d4c64d0e81687dbdb38224b83a6edf83fbc5c82 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 7 Nov 2006 18:54:07 +0000 Subject: Add synchronization daemon skeleton --- Makefile.am | 2 +- configure.in | 2 +- sync/Makefile.am | 12 ++++++++++++ sync/main.c | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 sync/Makefile.am create mode 100644 sync/main.c 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 + * + * + * 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 +#endif + +#include +#include + +int main(int argc, char *argv[]) +{ + return 0; +} -- cgit