aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/Makefile.am
blob: 0bcc55697f760206f4c2b59927a012fa612904e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
SUBDIRS = .

if USE_COVERAGE
  AM_CFLAGS = --coverage
endif

AM_CPPFLAGS = \
  -I$(top_srcdir)/src/include \
  -I$(top_srcdir)/src/microhttpd \
  $(LIBCURL_CPPFLAGS)

check_PROGRAMS = \
  test_tls_options \
  test_tls_authentication \
  test_https_multi_daemon \
  test_https_get \
  test_https_get_select \
  test_https_get_parallel \
  test_https_get_parallel_threads \
  test_https_session_info \
  test_https_time_out \
  test_empty_response

EXTRA_DIST = cert.pem key.pem tls_test_keys.h tls_test_common.h

TESTS = \
  test_tls_options \
  test_https_multi_daemon \
  test_https_get \
  test_https_get_select \
  test_https_get_parallel \
  test_https_get_parallel_threads \
  test_https_session_info \
  test_https_time_out \
  test_tls_authentication \
  test_empty_response


test_https_time_out_SOURCES = \
  test_https_time_out.c \
  tls_test_common.c
test_https_time_out_LDADD  = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_tls_options_SOURCES = \
  test_tls_options.c \
  tls_test_common.c
test_tls_options_LDADD = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_https_get_parallel_SOURCES = \
  test_https_get_parallel.c \
  tls_test_common.c
test_https_get_parallel_LDADD = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_empty_response_SOURCES = \
  test_empty_response.c \
  tls_test_common.c
test_empty_response_LDADD = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_https_get_parallel_threads_SOURCES = \
  test_https_get_parallel_threads.c \
  tls_test_common.c
test_https_get_parallel_threads_LDADD = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_tls_authentication_SOURCES = \
  test_tls_authentication.c \
  tls_test_common.c
test_tls_authentication_LDADD  = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_https_session_info_SOURCES = \
  test_https_session_info.c \
  tls_test_common.c
test_https_session_info_LDADD  = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_https_multi_daemon_SOURCES = \
  test_https_multi_daemon.c \
  tls_test_common.c
test_https_multi_daemon_LDADD  = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_https_get_SOURCES = \
  test_https_get.c \
  tls_test_common.c
test_https_get_LDADD  = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@

test_https_get_select_SOURCES = \
  test_https_get_select.c \
  tls_test_common.c
test_https_get_select_LDADD  = \
  $(top_builddir)/src/testcurl/libcurl_version_check.a \
  $(top_builddir)/src/microhttpd/libmicrohttpd.la \
  @LIBCURL@ -lgnutls @LIBGCRYPT_LIBS@