Makefile.am 1.4 KB

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