|
Packit |
875988 |
# This Makefile.am is in the public domain
|
|
Packit |
875988 |
SUBDIRS = .
|
|
Packit |
875988 |
|
|
Packit |
875988 |
AM_CPPFLAGS = \
|
|
Packit |
875988 |
-I$(top_srcdir)/src/include \
|
|
Packit |
875988 |
-DDATA_DIR=\"$(top_srcdir)/src/datadir/\"
|
|
Packit |
875988 |
|
|
Packit |
875988 |
AM_CFLAGS = @LIBGCRYPT_CFLAGS@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
CPU_COUNT_DEF = -DCPU_COUNT=$(CPU_COUNT)
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if USE_COVERAGE
|
|
Packit |
875988 |
AM_CFLAGS += --coverage
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
# example programs
|
|
Packit |
875988 |
noinst_PROGRAMS = \
|
|
Packit |
875988 |
benchmark \
|
|
Packit |
875988 |
benchmark_https \
|
|
Packit |
875988 |
chunked_example \
|
|
Packit |
875988 |
minimal_example \
|
|
Packit |
875988 |
dual_stack_example \
|
|
Packit |
875988 |
minimal_example_comet \
|
|
Packit |
875988 |
querystring_example \
|
|
Packit |
875988 |
timeout \
|
|
Packit |
875988 |
fileserver_example \
|
|
Packit |
875988 |
fileserver_example_dirs \
|
|
Packit |
875988 |
fileserver_example_external_select \
|
|
Packit |
875988 |
refuse_post_example
|
|
Packit |
875988 |
|
|
Packit |
875988 |
EXTRA_DIST = msgs_i18n.c
|
|
Packit |
875988 |
noinst_EXTRA_DIST = msgs_i18n.c
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if ENABLE_HTTPS
|
|
Packit |
875988 |
noinst_PROGRAMS += https_fileserver_example
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
if HAVE_POSTPROCESSOR
|
|
Packit |
875988 |
noinst_PROGRAMS += \
|
|
Packit |
875988 |
post_example
|
|
Packit |
875988 |
if HAVE_POSIX_THREADS
|
|
Packit |
875988 |
noinst_PROGRAMS += demo
|
|
Packit |
875988 |
if ENABLE_HTTPS
|
|
Packit |
875988 |
noinst_PROGRAMS += demo_https
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if ENABLE_DAUTH
|
|
Packit |
875988 |
noinst_PROGRAMS += \
|
|
Packit |
875988 |
digest_auth_example
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if ENABLE_BAUTH
|
|
Packit |
875988 |
noinst_PROGRAMS += \
|
|
Packit |
875988 |
authorization_example
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if HAVE_POSIX_THREADS
|
|
Packit |
875988 |
if ENABLE_UPGRADE
|
|
Packit |
875988 |
noinst_PROGRAMS += \
|
|
Packit |
875988 |
upgrade_example
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if HAVE_W32
|
|
Packit |
875988 |
AM_CFLAGS += -DWINDOWS
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
minimal_example_SOURCES = \
|
|
Packit |
875988 |
minimal_example.c
|
|
Packit |
875988 |
minimal_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
upgrade_example_SOURCES = \
|
|
Packit |
875988 |
upgrade_example.c
|
|
Packit |
875988 |
upgrade_example_CFLAGS = \
|
|
Packit |
875988 |
$(PTHREAD_CFLAGS) $(AM_CFLAGS)
|
|
Packit |
875988 |
upgrade_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(PTHREAD_LIBS)
|
|
Packit |
875988 |
|
|
Packit |
875988 |
timeout_SOURCES = \
|
|
Packit |
875988 |
timeout.c
|
|
Packit |
875988 |
timeout_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
chunked_example_SOURCES = \
|
|
Packit |
875988 |
chunked_example.c
|
|
Packit |
875988 |
chunked_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
demo_SOURCES = \
|
|
Packit |
875988 |
demo.c
|
|
Packit |
875988 |
demo_CFLAGS = \
|
|
Packit |
875988 |
$(PTHREAD_CFLAGS) $(AM_CFLAGS)
|
|
Packit |
875988 |
demo_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(CPU_COUNT_DEF)
|
|
Packit |
875988 |
demo_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(PTHREAD_LIBS)
|
|
Packit |
875988 |
if HAVE_LIBMAGIC
|
|
Packit |
875988 |
demo_LDADD += -lmagic
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
demo_https_SOURCES = \
|
|
Packit |
875988 |
demo_https.c
|
|
Packit |
875988 |
demo_https_CFLAGS = \
|
|
Packit |
875988 |
$(PTHREAD_CFLAGS) $(AM_CFLAGS)
|
|
Packit |
875988 |
demo_https_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(CPU_COUNT_DEF)
|
|
Packit |
875988 |
demo_https_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(PTHREAD_LIBS)
|
|
Packit |
875988 |
if HAVE_LIBMAGIC
|
|
Packit |
875988 |
demo_https_LDADD += -lmagic
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
benchmark_SOURCES = \
|
|
Packit |
875988 |
benchmark.c
|
|
Packit |
875988 |
benchmark_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(CPU_COUNT_DEF)
|
|
Packit |
875988 |
benchmark_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
benchmark_https_SOURCES = \
|
|
Packit |
875988 |
benchmark_https.c
|
|
Packit |
875988 |
benchmark_https_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(CPU_COUNT_DEF)
|
|
Packit |
875988 |
benchmark_https_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
dual_stack_example_SOURCES = \
|
|
Packit |
875988 |
dual_stack_example.c
|
|
Packit |
875988 |
dual_stack_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
post_example_SOURCES = \
|
|
Packit |
875988 |
post_example.c
|
|
Packit |
875988 |
post_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
minimal_example_comet_SOURCES = \
|
|
Packit |
875988 |
minimal_example_comet.c
|
|
Packit |
875988 |
minimal_example_comet_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
authorization_example_SOURCES = \
|
|
Packit |
875988 |
authorization_example.c
|
|
Packit |
875988 |
authorization_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
digest_auth_example_SOURCES = \
|
|
Packit |
875988 |
digest_auth_example.c
|
|
Packit |
875988 |
digest_auth_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
refuse_post_example_SOURCES = \
|
|
Packit |
875988 |
refuse_post_example.c
|
|
Packit |
875988 |
refuse_post_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
querystring_example_SOURCES = \
|
|
Packit |
875988 |
querystring_example.c
|
|
Packit |
875988 |
querystring_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
fileserver_example_SOURCES = \
|
|
Packit |
875988 |
fileserver_example.c
|
|
Packit |
875988 |
fileserver_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
fileserver_example_dirs_SOURCES = \
|
|
Packit |
875988 |
fileserver_example_dirs.c
|
|
Packit |
875988 |
fileserver_example_dirs_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
fileserver_example_external_select_SOURCES = \
|
|
Packit |
875988 |
fileserver_example_external_select.c
|
|
Packit |
875988 |
fileserver_example_external_select_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|
|
Packit |
875988 |
|
|
Packit |
875988 |
https_fileserver_example_SOURCES = \
|
|
Packit |
875988 |
https_fileserver_example.c
|
|
Packit |
875988 |
https_fileserver_example_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
|
|
Packit |
875988 |
https_fileserver_example_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la
|