From 952e7cc56afa29f77a828aa256985ba38a06fa80 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 4 Jul 2005 17:29:17 +0000 Subject: Add Bluetooth daemon skeleton --- daemon/Makefile.am | 12 ++++++++++++ daemon/main.c | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 daemon/main.c diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 930bbe6e..df307144 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -2,4 +2,16 @@ # $Id$ # +if DBUS +sbin_PROGRAMS = bluetoothd + +bluetoothd_SOURCES = main.c + +bluetoothd_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libtextfile.a +endif + +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ + +INCLUDES = -I$(top_srcdir)/common + MAINTAINERCLEANFILES = Makefile.in diff --git a/daemon/main.c b/daemon/main.c new file mode 100644 index 00000000..df39a66c --- /dev/null +++ b/daemon/main.c @@ -0,0 +1,41 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2004-2005 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include +#include + +#include +#include +#include + +#include + +int main(int argc, char *argv[]) +{ + return 0; +} -- cgit