Blame src/testcurl/Makefile.am

Packit 875988
# This Makefile.am is in the public domain
Packit 875988
SUBDIRS  = .
Packit 875988
Packit 875988
if USE_COVERAGE
Packit 875988
  AM_CFLAGS = -fprofile-arcs -ftest-coverage
Packit 875988
endif
Packit 875988
Packit 875988
if ENABLE_HTTPS
Packit 875988
  SUBDIRS += https
Packit 875988
endif
Packit 875988
Packit 875988
AM_CPPFLAGS = \
Packit 875988
-DCPU_COUNT=$(CPU_COUNT) \
Packit 875988
-I$(top_srcdir) \
Packit 875988
-I$(top_srcdir)/src/microhttpd \
Packit 875988
-I$(top_srcdir)/src/include \
Packit 875988
$(LIBCURL_CPPFLAGS)
Packit 875988
Packit 875988
if HAVE_CURL
Packit 875988
check_PROGRAMS = \
Packit 875988
  test_get \
Packit 875988
  test_get_sendfile \
Packit 875988
  test_urlparse \
Packit 875988
  test_delete \
Packit 875988
  test_put \
Packit 875988
  test_process_headers \
Packit 875988
  test_process_arguments \
Packit 875988
  test_parse_cookies \
Packit 875988
  test_large_put \
Packit 875988
  test_get11 \
Packit 875988
  test_get_sendfile11 \
Packit 875988
  test_put11 \
Packit 875988
  test_large_put11 \
Packit 875988
  test_large_put_inc11 \
Packit 875988
  test_long_header \
Packit 875988
  test_long_header11 \
Packit 875988
  test_get_chunked \
Packit 875988
  test_put_chunked \
Packit 875988
  test_iplimit11 \
Packit 875988
  test_termination \
Packit 875988
  test_timeout \
Packit 875988
  test_callback \
Packit 875988
  perf_get
Packit 875988
Packit 875988
if HAVE_FORK_WAITPID
Packit 875988
if HAVE_CURL_BINARY
Packit 875988
check_PROGRAMS += test_get_response_cleanup
Packit 875988
endif
Packit 875988
endif
Packit 875988
Packit 875988
if HAVE_POSIX_THREADS
Packit 875988
check_PROGRAMS += \
Packit 875988
  test_quiesce \
Packit 875988
  test_concurrent_stop \
Packit 875988
  perf_get_concurrent
Packit 875988
Packit 875988
if HAVE_CURL_BINARY
Packit 875988
check_PROGRAMS += test_quiesce_stream
Packit 875988
endif
Packit 875988
endif
Packit 875988
Packit 875988
if HAVE_POSTPROCESSOR
Packit 875988
 check_PROGRAMS += \
Packit 875988
  test_post \
Packit 875988
  test_postform \
Packit 875988
  test_post_loop \
Packit 875988
  test_post11 \
Packit 875988
  test_postform11 \
Packit 875988
  test_post_loop11
Packit 875988
endif
Packit 875988
Packit 875988
if ENABLE_DAUTH
Packit 875988
  check_PROGRAMS += \
Packit 875988
	test_digestauth test_digestauth_with_arguments
Packit 875988
endif
Packit 875988
Packit 875988
TESTS = $(check_PROGRAMS)
Packit 875988
Packit 875988
noinst_LIBRARIES = libcurl_version_check.a
Packit 875988
endif
Packit 875988
Packit 875988
libcurl_version_check_a_SOURCES = \
Packit 875988
  curl_version_check.c
Packit 875988
Packit 875988
test_concurrent_stop_SOURCES = \
Packit 875988
  test_concurrent_stop.c
Packit 875988
test_concurrent_stop_CFLAGS = \
Packit 875988
  $(PTHREAD_CFLAGS) $(AM_CFLAGS)
Packit 875988
test_concurrent_stop_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  $(PTHREAD_LIBS) @LIBCURL@
Packit 875988
Packit 875988
test_get_SOURCES = \
Packit 875988
  test_get.c
Packit 875988
test_get_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_quiesce_SOURCES = \
Packit 875988
  test_quiesce.c
Packit 875988
test_quiesce_CFLAGS = \
Packit 875988
  $(PTHREAD_CFLAGS) $(AM_CFLAGS)
Packit 875988
test_quiesce_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  $(PTHREAD_LIBS) @LIBCURL@
Packit 875988
Packit 875988
test_quiesce_stream_SOURCES = \
Packit 875988
  test_quiesce_stream.c
Packit 875988
test_quiesce_stream_CFLAGS = \
Packit 875988
  $(PTHREAD_CFLAGS) $(AM_CFLAGS)
Packit 875988
test_quiesce_stream_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  $(PTHREAD_LIBS) @LIBCURL@
Packit 875988
Packit 875988
test_callback_SOURCES = \
Packit 875988
  test_callback.c
Packit 875988
test_callback_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
perf_get_SOURCES = \
Packit 875988
  perf_get.c \
Packit 875988
  gauger.h
Packit 875988
perf_get_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
perf_get_concurrent_SOURCES = \
Packit 875988
  perf_get_concurrent.c \
Packit 875988
  gauger.h
Packit 875988
perf_get_concurrent_CFLAGS = \
Packit 875988
  $(PTHREAD_CFLAGS) $(AM_CFLAGS)
Packit 875988
perf_get_concurrent_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  $(PTHREAD_LIBS) @LIBCURL@
Packit 875988
Packit 875988
test_digestauth_SOURCES = \
Packit 875988
  test_digestauth.c
Packit 875988
test_digestauth_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBGCRYPT_LIBS@ @LIBCURL@
Packit 875988
Packit 875988
test_digestauth_with_arguments_SOURCES = \
Packit 875988
  test_digestauth_with_arguments.c
Packit 875988
test_digestauth_with_arguments_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBGCRYPT_LIBS@ @LIBCURL@
Packit 875988
Packit 875988
test_get_sendfile_SOURCES = \
Packit 875988
  test_get_sendfile.c
Packit 875988
test_get_sendfile_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_urlparse_SOURCES = \
Packit 875988
  test_urlparse.c
Packit 875988
test_urlparse_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_get_response_cleanup_SOURCES = \
Packit 875988
  test_get_response_cleanup.c
Packit 875988
test_get_response_cleanup_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la
Packit 875988
Packit 875988
test_get_chunked_SOURCES = \
Packit 875988
  test_get_chunked.c
Packit 875988
test_get_chunked_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_post_SOURCES = \
Packit 875988
  test_post.c
Packit 875988
test_post_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_process_headers_SOURCES = \
Packit 875988
  test_process_headers.c
Packit 875988
test_process_headers_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_parse_cookies_SOURCES = \
Packit 875988
  test_parse_cookies.c
Packit 875988
test_parse_cookies_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_process_arguments_SOURCES = \
Packit 875988
  test_process_arguments.c
Packit 875988
test_process_arguments_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_postform_SOURCES = \
Packit 875988
  test_postform.c
Packit 875988
test_postform_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBGCRYPT_LIBS@ @LIBCURL@
Packit 875988
Packit 875988
test_post_loop_SOURCES = \
Packit 875988
  test_post_loop.c
Packit 875988
test_post_loop_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_delete_SOURCES = \
Packit 875988
  test_delete.c
Packit 875988
test_delete_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_put_SOURCES = \
Packit 875988
  test_put.c
Packit 875988
test_put_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_put_chunked_SOURCES = \
Packit 875988
  test_put_chunked.c
Packit 875988
test_put_chunked_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_get11_SOURCES = \
Packit 875988
  test_get.c
Packit 875988
test_get11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_get_sendfile11_SOURCES = \
Packit 875988
  test_get_sendfile.c
Packit 875988
test_get_sendfile11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_post11_SOURCES = \
Packit 875988
  test_post.c
Packit 875988
test_post11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_postform11_SOURCES = \
Packit 875988
  test_postform.c
Packit 875988
test_postform11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBGCRYPT_LIBS@ @LIBCURL@
Packit 875988
Packit 875988
test_post_loop11_SOURCES = \
Packit 875988
  test_post_loop.c
Packit 875988
test_post_loop11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_put11_SOURCES = \
Packit 875988
  test_put.c
Packit 875988
test_put11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_large_put_SOURCES = \
Packit 875988
  test_large_put.c
Packit 875988
test_large_put_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_large_put11_SOURCES = \
Packit 875988
  test_large_put.c
Packit 875988
test_large_put11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_large_put_inc11_SOURCES = \
Packit 875988
  test_large_put.c
Packit 875988
test_large_put_inc11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_long_header_SOURCES = \
Packit 875988
  test_long_header.c
Packit 875988
test_long_header_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_long_header11_SOURCES = \
Packit 875988
  test_long_header.c
Packit 875988
test_long_header11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_iplimit11_SOURCES = \
Packit 875988
  test_iplimit.c
Packit 875988
test_iplimit11_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_termination_SOURCES = \
Packit 875988
  test_termination.c
Packit 875988
test_termination_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@
Packit 875988
Packit 875988
test_timeout_SOURCES = \
Packit 875988
  test_timeout.c
Packit 875988
test_timeout_LDADD = \
Packit 875988
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
Packit 875988
  @LIBCURL@