Makefile.am 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. hellobrowser \
  12. logging \
  13. responseheaders
  14. if ENABLE_BAUTH
  15. noinst_PROGRAMS += \
  16. basicauthentication
  17. endif
  18. if ENABLE_HTTPS
  19. noinst_PROGRAMS += \
  20. tlsauthentication
  21. endif
  22. if HAVE_POSTPROCESSOR
  23. noinst_PROGRAMS += simplepost largepost sessions
  24. endif
  25. if HAVE_W32
  26. AM_CPPFLAGS += -DWINDOWS
  27. endif
  28. basicauthentication_SOURCES = \
  29. basicauthentication.c
  30. basicauthentication_LDADD = \
  31. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  32. hellobrowser_SOURCES = \
  33. hellobrowser.c
  34. hellobrowser_LDADD = \
  35. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  36. logging_SOURCES = \
  37. logging.c
  38. logging_LDADD = \
  39. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  40. responseheaders_SOURCES = \
  41. responseheaders.c
  42. responseheaders_LDADD = \
  43. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  44. sessions_SOURCES = \
  45. sessions.c
  46. sessions_LDADD = \
  47. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  48. tlsauthentication_SOURCES = \
  49. tlsauthentication.c
  50. tlsauthentication_LDADD = \
  51. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  52. simplepost_SOURCES = \
  53. simplepost.c
  54. simplepost_LDADD = \
  55. $(top_builddir)/src/microhttpd/libmicrohttpd.la
  56. largepost_SOURCES = \
  57. largepost.c
  58. largepost_LDADD = \
  59. $(top_builddir)/src/microhttpd/libmicrohttpd.la