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