Add synchronization daemon skeleton

This commit is contained in:
Marcel Holtmann 2006-11-07 18:54:07 +00:00
parent 1fbeb7185a
commit 8d4c64d0e8
4 changed files with 48 additions and 2 deletions

View File

@ -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

View File

@ -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)

12
sync/Makefile.am Normal file
View File

@ -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

34
sync/main.c Normal file
View File

@ -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;
}