|
Packit |
875988 |
# This Makefile.am is in the public domain
|
|
Packit |
875988 |
SUBDIRS = .
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if USE_COVERAGE
|
|
Packit |
875988 |
AM_CFLAGS = --coverage
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if HAVE_GNUTLS_SNI
|
|
Packit |
875988 |
TEST_HTTPS_SNI = test_https_sni
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if HAVE_POSIX_THREADS
|
|
Packit |
875988 |
HTTPS_PARALLEL_TESTS = test_https_get_parallel \
|
|
Packit |
875988 |
test_https_get_parallel_threads
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
CPU_COUNT_DEF = -DCPU_COUNT=$(CPU_COUNT)
|
|
Packit |
875988 |
|
|
Packit |
875988 |
AM_CPPFLAGS = \
|
|
Packit |
875988 |
-I$(top_srcdir)/src/include \
|
|
Packit |
875988 |
-I$(top_srcdir)/src/microhttpd \
|
|
Packit |
875988 |
-I$(top_srcdir)/src/platform \
|
|
Packit |
875988 |
$(LIBCURL_CPPFLAGS) $(GNUTLS_CPPFLAGS)
|
|
Packit |
875988 |
|
|
Packit |
875988 |
check_PROGRAMS = \
|
|
Packit |
875988 |
test_tls_options \
|
|
Packit |
875988 |
test_tls_authentication \
|
|
Packit |
875988 |
test_https_multi_daemon \
|
|
Packit |
875988 |
test_https_get \
|
|
Packit |
875988 |
$(TEST_HTTPS_SNI) \
|
|
Packit |
875988 |
test_https_get_select \
|
|
Packit |
875988 |
$(HTTPS_PARALLEL_TESTS) \
|
|
Packit |
875988 |
test_https_session_info \
|
|
Packit |
875988 |
test_https_time_out \
|
|
Packit |
875988 |
test_empty_response
|
|
Packit |
875988 |
|
|
Packit |
875988 |
EXTRA_DIST = cert.pem key.pem \
|
|
Packit |
875988 |
host1.crt host1.key host2.crt host2.key
|
|
Packit |
875988 |
|
|
Packit |
875988 |
TESTS = \
|
|
Packit |
875988 |
test_tls_options \
|
|
Packit |
875988 |
test_https_multi_daemon \
|
|
Packit |
875988 |
test_https_get \
|
|
Packit |
875988 |
$(TEST_HTTPS_SNI) \
|
|
Packit |
875988 |
test_https_get_select \
|
|
Packit |
875988 |
$(HTTPS_PARALLEL_TESTS) \
|
|
Packit |
875988 |
test_https_session_info \
|
|
Packit |
875988 |
test_https_time_out \
|
|
Packit |
875988 |
test_tls_authentication \
|
|
Packit |
875988 |
test_empty_response
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_time_out_SOURCES = \
|
|
Packit |
875988 |
test_https_time_out.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_time_out_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_tls_options_SOURCES = \
|
|
Packit |
875988 |
test_tls_options.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_tls_options_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_get_parallel_SOURCES = \
|
|
Packit |
875988 |
test_https_get_parallel.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_get_parallel_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(CPU_COUNT_DEF)
|
|
Packit |
875988 |
test_https_get_parallel_CFLAGS = \
|
|
Packit |
875988 |
$(PTHREAD_CFLAGS) $(AM_CFLAGS)
|
|
Packit |
875988 |
test_https_get_parallel_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(PTHREAD_LIBS) $(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_empty_response_SOURCES = \
|
|
Packit |
875988 |
test_empty_response.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_empty_response_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_get_parallel_threads_SOURCES = \
|
|
Packit |
875988 |
test_https_get_parallel_threads.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_get_parallel_threads_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) $(CPU_COUNT_DEF)
|
|
Packit |
875988 |
test_https_get_parallel_threads_CFLAGS = \
|
|
Packit |
875988 |
$(PTHREAD_CFLAGS) $(AM_CFLAGS)
|
|
Packit |
875988 |
test_https_get_parallel_threads_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(PTHREAD_LIBS) $(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_tls_authentication_SOURCES = \
|
|
Packit |
875988 |
test_tls_authentication.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_tls_authentication_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_session_info_SOURCES = \
|
|
Packit |
875988 |
test_https_session_info.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_session_info_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_multi_daemon_SOURCES = \
|
|
Packit |
875988 |
test_https_multi_daemon.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_multi_daemon_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_get_SOURCES = \
|
|
Packit |
875988 |
test_https_get.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_get_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|
|
Packit |
875988 |
if HAVE_GNUTLS_SNI
|
|
Packit |
875988 |
test_https_sni_SOURCES = \
|
|
Packit |
875988 |
test_https_sni.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_sni_CPPFLAGS = \
|
|
Packit |
875988 |
$(AM_CPPFLAGS) \
|
|
Packit |
875988 |
-DABS_SRCDIR=\"$(abs_srcdir)\"
|
|
Packit |
875988 |
test_https_sni_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
test_https_get_select_SOURCES = \
|
|
Packit |
875988 |
test_https_get_select.c \
|
|
Packit |
875988 |
tls_test_keys.h \
|
|
Packit |
875988 |
tls_test_common.h \
|
|
Packit |
875988 |
tls_test_common.c
|
|
Packit |
875988 |
test_https_get_select_LDADD = \
|
|
Packit |
875988 |
$(top_builddir)/src/testcurl/libcurl_version_check.a \
|
|
Packit |
875988 |
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
|
|
Packit |
875988 |
$(GNUTLS_LDFLAGS) $(GNUTLS_LIBS) @LIBGCRYPT_LIBS@ @LIBCURL@
|
|
Packit |
875988 |
|