mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-26 04:09:30 +03:00
-also build examples
This commit is contained in:
+2
-8
@@ -1,6 +1,8 @@
|
||||
man_MANS = libmicrohttpd.3
|
||||
EXTRA_DIST = $(man_MANS) Doxyfile
|
||||
|
||||
SUBDIRS = . examples
|
||||
|
||||
DISTCLEANFILES = \
|
||||
libmicrohttpd.cps \
|
||||
libmicrohttpd.dvi \
|
||||
@@ -20,14 +22,6 @@ microhttpd_TEXINFOS = \
|
||||
chapters/responseheaders.inc \
|
||||
chapters/tlsauthentication.inc \
|
||||
chapters/sessions.inc \
|
||||
examples/basicauthentication.c \
|
||||
examples/hellobrowser.c \
|
||||
examples/largepost.c \
|
||||
examples/logging.c \
|
||||
examples/responseheaders.c \
|
||||
examples/simplepost.c \
|
||||
examples/tlsauthentication.c \
|
||||
examples/sessions.c \
|
||||
fdl-1.3.texi \
|
||||
lgpl.texi \
|
||||
ecos.texi
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
SUBDIRS = .
|
||||
|
||||
if USE_PRIVATE_PLIBC_H
|
||||
PLIBC_INCLUDE = -I$(top_srcdir)/src/include/plibc
|
||||
endif
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(PLIBC_INCLUDE) \
|
||||
-I$(top_srcdir)/src/include \
|
||||
@LIBGCRYPT_CFLAGS@
|
||||
|
||||
if USE_COVERAGE
|
||||
AM_CFLAGS = --coverage
|
||||
endif
|
||||
|
||||
# example programs
|
||||
noinst_PROGRAMS = \
|
||||
basicauthentication \
|
||||
hellobrowser \
|
||||
logging \
|
||||
responseheaders \
|
||||
sessions
|
||||
|
||||
if ENABLE_HTTPS
|
||||
noinst_PROGRAMS += \
|
||||
tlsauthentication
|
||||
endif
|
||||
if HAVE_POSTPROCESSOR
|
||||
noinst_PROGRAMS += simplepost largepost
|
||||
endif
|
||||
|
||||
if HAVE_W32
|
||||
IBERTY=-liberty
|
||||
endif
|
||||
|
||||
basicauthentication_SOURCES = \
|
||||
basicauthentication.c
|
||||
basicauthentication_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
hellobrowser_SOURCES = \
|
||||
hellobrowser.c
|
||||
hellobrowser_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
logging_SOURCES = \
|
||||
logging.c
|
||||
logging_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la \
|
||||
$(IBERTY)
|
||||
|
||||
responseheaders_SOURCES = \
|
||||
responseheaders.c
|
||||
responseheaders_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
sessions_SOURCES = \
|
||||
sessions.c
|
||||
sessions_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
tlsauthentication_SOURCES = \
|
||||
tlsauthentication.c
|
||||
tlsauthentication_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
simplepost_SOURCES = \
|
||||
simplepost.c
|
||||
simplepost_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
largepost_SOURCES = \
|
||||
largepost.c
|
||||
largepost_LDADD = \
|
||||
$(top_builddir)/src/daemon/libmicrohttpd.la
|
||||
|
||||
Reference in New Issue
Block a user