1# This Makefile.am is in the public domain 2SUBDIRS = . 3 4AM_CPPFLAGS = \ 5 -I$(top_srcdir)/src/include 6 7AM_CFLAGS = @LIBGCRYPT_CFLAGS@ 8 9if USE_COVERAGE 10 AM_CFLAGS += --coverage 11endif 12 13# example programs 14noinst_PROGRAMS = \ 15 basicauthentication \ 16 hellobrowser \ 17 logging \ 18 responseheaders 19 20if ENABLE_HTTPS 21noinst_PROGRAMS += \ 22 tlsauthentication 23endif 24if HAVE_POSTPROCESSOR 25noinst_PROGRAMS += simplepost largepost sessions 26endif 27 28if HAVE_W32 29AM_CPPFLAGS += -DWINDOWS 30endif 31 32basicauthentication_SOURCES = \ 33 basicauthentication.c 34basicauthentication_LDADD = \ 35 $(top_builddir)/src/microhttpd/libmicrohttpd.la 36 37hellobrowser_SOURCES = \ 38 hellobrowser.c 39hellobrowser_LDADD = \ 40 $(top_builddir)/src/microhttpd/libmicrohttpd.la 41 42logging_SOURCES = \ 43 logging.c 44logging_LDADD = \ 45 $(top_builddir)/src/microhttpd/libmicrohttpd.la 46 47responseheaders_SOURCES = \ 48 responseheaders.c 49responseheaders_LDADD = \ 50 $(top_builddir)/src/microhttpd/libmicrohttpd.la 51 52sessions_SOURCES = \ 53 sessions.c 54sessions_LDADD = \ 55 $(top_builddir)/src/microhttpd/libmicrohttpd.la 56 57tlsauthentication_SOURCES = \ 58 tlsauthentication.c 59tlsauthentication_LDADD = \ 60 $(top_builddir)/src/microhttpd/libmicrohttpd.la 61 62simplepost_SOURCES = \ 63 simplepost.c 64simplepost_LDADD = \ 65 $(top_builddir)/src/microhttpd/libmicrohttpd.la 66 67largepost_SOURCES = \ 68 largepost.c 69largepost_LDADD = \ 70 $(top_builddir)/src/microhttpd/libmicrohttpd.la 71 72