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