1 # This Makefile.am is in the public domain 2 SUBDIRS = . 3 4 if USE_COVERAGE 5 AM_CFLAGS = -fprofile-arcs -ftest-coverage 6 endif 7 8 9 AM_CPPFLAGS = -I$(top_srcdir)/src/include \ 10 $(LIBCURL_CPPFLAGS) 11 12 EXTRA_DIST = README socat.c 13 14 check_PROGRAMS = \ 15 test_get \ 16 test_get_chunked \ 17 test_post \ 18 test_post_form \ 19 test_put \ 20 test_put_chunked \ 21 test_put_large \ 22 test_get11 \ 23 test_post11 \ 24 test_post_form11 \ 25 test_put11 \ 26 test_put_large11 \ 27 test_long_header 28 29 TESTS = $(check_PROGRAMS) 30 31 test_get_SOURCES = \ 32 test_get.c 33 test_get_LDADD = \ 34 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 35 @LIBCURL@ 36 37 test_get_chunked_SOURCES = \ 38 test_get_chunked.c 39 test_get_chunked_LDADD = \ 40 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 41 @LIBCURL@ 42 43 test_post_SOURCES = \ 44 test_post.c 45 test_post_LDADD = \ 46 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 47 @LIBCURL@ 48 49 test_post_form_SOURCES = \ 50 test_post_form.c 51 test_post_form_LDADD = \ 52 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 53 @LIBCURL@ 54 55 test_put_SOURCES = \ 56 test_put.c 57 test_put_LDADD = \ 58 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 59 @LIBCURL@ 60 61 test_put_chunked_SOURCES = \ 62 test_put_chunked.c 63 test_put_chunked_LDADD = \ 64 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 65 @LIBCURL@ 66 67 test_put_large_SOURCES = \ 68 test_put_large.c 69 test_put_large_LDADD = \ 70 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 71 @LIBCURL@ 72 73 74 75 test_get11_SOURCES = \ 76 test_get.c 77 test_get11_LDADD = \ 78 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 79 @LIBCURL@ 80 81 test_post11_SOURCES = \ 82 test_post.c 83 test_post11_LDADD = \ 84 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 85 @LIBCURL@ 86 87 test_post_form11_SOURCES = \ 88 test_post_form.c 89 test_post_form11_LDADD = \ 90 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 91 @LIBCURL@ 92 93 test_put11_SOURCES = \ 94 test_put.c 95 test_put11_LDADD = \ 96 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 97 @LIBCURL@ 98 99 test_put_large11_SOURCES = \ 100 test_put_large.c 101 test_put_large11_LDADD = \ 102 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 103 @LIBCURL@ 104 105 test_long_header_SOURCES = \ 106 test_long_header.c 107 test_long_header_LDADD = \ 108 $(top_builddir)/src/microhttpd/libmicrohttpd.la \ 109 @LIBCURL@ 110