aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/Makefile.am27
-rw-r--r--src/daemon/daemon.c29
2 files changed, 56 insertions, 0 deletions
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
new file mode 100644
index 00000000..fcc2c495
--- /dev/null
+++ b/src/daemon/Makefile.am
@@ -0,0 +1,27 @@
1SUBDIRS = .
2
3INCLUDES = -I$(top_srcdir)/src/include
4
5lib_LTLIBRARIES = \
6 libmicrohttpd.la
7
8libmicrohttpd_la_LDFLAGS = \
9 -export-dynamic -version-info 0:0:0
10# libmicrohttpd_la_LIBADD = \
11# -lm
12libmicrohttpd_la_SOURCES = \
13 daemon.c
14
15# No curl, not testcases
16if HAVE_CURL
17
18check_PROGRAMS = \
19 testdaemon
20
21test_daemon_SOURCES = \
22 testdaemon.c
23test_daemon_LDADD = \
24 $(top_builddir)/src/daemon/libmicrohttpd.la \
25 @LIBCURL@
26
27endif \ No newline at end of file
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
new file mode 100644
index 00000000..f70ca34d
--- /dev/null
+++ b/src/daemon/daemon.c
@@ -0,0 +1,29 @@
1/*
2 This file is part of libmicrohttpd
3 (C) 2007 YOUR NAME HERE
4
5 libmicrohttpd is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 2, or (at your
8 option) any later version.
9
10 libmicrohttpd is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with libmicrohttpd; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20
21/**
22 * @file daemon.c
23 * @brief FIXME
24 * @author FIXME
25 */
26
27#include "config.h"
28#include "microhttpd.h"
29