1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
# This Makefile.am is in the public domain
SUBDIRS = .
AM_CPPFLAGS = \
-I$(top_srcdir)/src/include \
$(CPPFLAGS_ac)
AM_CFLAGS = $(CFLAGS_ac) @LIBGCRYPT_CFLAGS@
AM_LDFLAGS = $(LDFLAGS_ac)
AM_TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT_ac)
if USE_COVERAGE
AM_CFLAGS += --coverage
endif
$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile
@echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \
$(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la
# example programs
noinst_PROGRAMS = \
hellobrowser \
logging \
responseheaders
if ENABLE_BAUTH
noinst_PROGRAMS += \
basicauthentication
if ENABLE_HTTPS
noinst_PROGRAMS += \
tlsauthentication
endif
endif
if HAVE_POSTPROCESSOR
noinst_PROGRAMS += simplepost largepost sessions
endif
if HAVE_W32
AM_CPPFLAGS += -DWINDOWS
endif
if HAVE_EXPERIMENTAL
noinst_PROGRAMS += websocket
endif
basicauthentication_SOURCES = \
basicauthentication.c
basicauthentication_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
hellobrowser_SOURCES = \
hellobrowser.c
hellobrowser_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
logging_SOURCES = \
logging.c
logging_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
responseheaders_SOURCES = \
responseheaders.c
responseheaders_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
sessions_SOURCES = \
sessions.c
sessions_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
tlsauthentication_SOURCES = \
tlsauthentication.c
tlsauthentication_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
simplepost_SOURCES = \
simplepost.c
simplepost_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
largepost_SOURCES = \
largepost.c
largepost_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
websocket_SOURCES = \
websocket.c
websocket_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
$(top_builddir)/src/microhttpd_ws/libmicrohttpd_ws.la
|