From 6807e26a08e866f2e958169b97e4279112830542 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 14 Jan 2007 03:03:26 +0000 Subject: Add skeleton for transfer daemon --- configure.in | 1 + transfer/Makefile.am | 13 +++++++++++++ transfer/main.c | 31 +++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 transfer/main.c diff --git a/configure.in b/configure.in index 5ceb9ebf..baf00ef5 100644 --- a/configure.in +++ b/configure.in @@ -27,6 +27,7 @@ AC_FUNC_PPOLL AC_PATH_BLUEZ AC_PATH_DBUS AC_PATH_GLIB +AC_PATH_OPENOBEX AC_PATH_OPENSYNC AC_PATH_ALSA AC_PATH_USB diff --git a/transfer/Makefile.am b/transfer/Makefile.am index 02742923..babe164e 100644 --- a/transfer/Makefile.am +++ b/transfer/Makefile.am @@ -1,2 +1,15 @@ +if OBEX +noinst_PROGRAMS = transferd + +transferd_SOURCES = main.c + +LDADD = $(top_builddir)/common/libhelper.a \ + @DBUS_LIBS@ @OPENOBEX_LIBS@ @BLUEZ_LIBS@ +endif + +AM_CFLAGS = @BLUEZ_CFLAGS@ @OPENOBEX_CFLAGS@ @DBUS_CFLAGS@ + +INCLUDES = -I$(top_srcdir)/common + MAINTAINERCLEANFILES = Makefile.in diff --git a/transfer/main.c b/transfer/main.c new file mode 100644 index 00000000..5b2536ec --- /dev/null +++ b/transfer/main.c @@ -0,0 +1,31 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2006-2007 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 + +int main(int argc, char *argv[]) +{ + return 0; +} -- cgit