From c761480865c6b65e370e2bba750c86c226a7fc3f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 27 Oct 2006 14:46:36 +0000 Subject: Add skeletons for service implementations --- Makefile.am | 3 ++- audio/Makefile.am | 12 ++++++++++++ audio/main.c | 34 ++++++++++++++++++++++++++++++++++ configure.in | 2 +- input/Makefile.am | 12 ++++++++++++ input/main.c | 34 ++++++++++++++++++++++++++++++++++ network/Makefile.am | 12 ++++++++++++ network/main.c | 34 ++++++++++++++++++++++++++++++++++ 8 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 audio/Makefile.am create mode 100644 audio/main.c create mode 100644 input/Makefile.am create mode 100644 input/main.c create mode 100644 network/Makefile.am create mode 100644 network/main.c diff --git a/Makefile.am b/Makefile.am index dfc5a3d0..f76d55d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ -SUBDIRS = common daemon tools rfcomm hcid sdpd dund pand hidd \ +SUBDIRS = common daemon network input audio \ + tools rfcomm hcid sdpd dund pand hidd \ cups fuse alsa test scripts MAINTAINERCLEANFILES = Makefile.in \ diff --git a/audio/Makefile.am b/audio/Makefile.am new file mode 100644 index 00000000..f32ed946 --- /dev/null +++ b/audio/Makefile.am @@ -0,0 +1,12 @@ + +noinst_PROGRAMS = bt.audiod + +bt_audiod_SOURCES = main.c + +bt_audiod_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a + +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ + +INCLUDES = -I$(top_srcdir)/common + +MAINTAINERCLEANFILES = Makefile.in diff --git a/audio/main.c b/audio/main.c new file mode 100644 index 00000000..c04bb251 --- /dev/null +++ b/audio/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; +} diff --git a/configure.in b/configure.in index 5ded22f7..294c4cc8 100644 --- a/configure.in +++ b/configure.in @@ -34,4 +34,4 @@ AC_PATH_USB AC_ARG_BLUEZ -AC_OUTPUT(Makefile common/Makefile daemon/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 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/input/Makefile.am b/input/Makefile.am new file mode 100644 index 00000000..c684432d --- /dev/null +++ b/input/Makefile.am @@ -0,0 +1,12 @@ + +noinst_PROGRAMS = bt.inputd + +bt_inputd_SOURCES = main.c + +bt_inputd_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a + +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ + +INCLUDES = -I$(top_srcdir)/common + +MAINTAINERCLEANFILES = Makefile.in diff --git a/input/main.c b/input/main.c new file mode 100644 index 00000000..c04bb251 --- /dev/null +++ b/input/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; +} diff --git a/network/Makefile.am b/network/Makefile.am new file mode 100644 index 00000000..78cdd390 --- /dev/null +++ b/network/Makefile.am @@ -0,0 +1,12 @@ + +noinst_PROGRAMS = bt.networkd + +bt_networkd_SOURCES = main.c + +bt_networkd_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a + +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ + +INCLUDES = -I$(top_srcdir)/common + +MAINTAINERCLEANFILES = Makefile.in diff --git a/network/main.c b/network/main.c new file mode 100644 index 00000000..c04bb251 --- /dev/null +++ b/network/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