diff options
Diffstat (limited to 'src/microhttpd/Makefile.am')
-rw-r--r-- | src/microhttpd/Makefile.am | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index 7a484371..597a2d56 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -166,17 +166,17 @@ check_PROGRAMS = \ | |||
166 | if HAVE_POSIX_THREADS | 166 | if HAVE_POSIX_THREADS |
167 | if ENABLE_UPGRADE | 167 | if ENABLE_UPGRADE |
168 | if USE_POSIX_THREADS | 168 | if USE_POSIX_THREADS |
169 | check_PROGRAMS += test_upgrade | 169 | check_PROGRAMS += test_upgrade test_upgrade_large |
170 | endif | 170 | endif |
171 | if USE_W32_THREADS | 171 | if USE_W32_THREADS |
172 | check_PROGRAMS += test_upgrade | 172 | check_PROGRAMS += test_upgrade test_upgrade_large |
173 | endif | 173 | endif |
174 | if ENABLE_HTTPS | 174 | if ENABLE_HTTPS |
175 | if USE_POSIX_THREADS | 175 | if USE_POSIX_THREADS |
176 | check_PROGRAMS += test_upgrade_tls | 176 | check_PROGRAMS += test_upgrade_tls test_upgrade_large_tls |
177 | endif | 177 | endif |
178 | if USE_W32_THREADS | 178 | if USE_W32_THREADS |
179 | check_PROGRAMS += test_upgrade_tls | 179 | check_PROGRAMS += test_upgrade_tls test_upgrade_large_tls |
180 | endif | 180 | endif |
181 | endif | 181 | endif |
182 | endif | 182 | endif |
@@ -231,6 +231,19 @@ test_upgrade_LDADD = \ | |||
231 | $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) \ | 231 | $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) \ |
232 | $(PTHREAD_LIBS) | 232 | $(PTHREAD_LIBS) |
233 | 233 | ||
234 | test_upgrade_large_SOURCES = \ | ||
235 | test_upgrade_large.c test_helpers.h mhd_sockets.h | ||
236 | test_upgrade_large_CPPFLAGS = \ | ||
237 | $(AM_CPPFLAGS) $(MHD_TLS_LIB_CPPFLAGS) | ||
238 | test_upgrade_large_CFLAGS = \ | ||
239 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) $(MHD_TLS_LIB_CFLAGS) | ||
240 | test_upgrade_large_LDFLAGS = \ | ||
241 | $(MHD_TLS_LIB_LDFLAGS) | ||
242 | test_upgrade_large_LDADD = \ | ||
243 | $(top_builddir)/src/microhttpd/libmicrohttpd.la \ | ||
244 | $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) \ | ||
245 | $(PTHREAD_LIBS) | ||
246 | |||
234 | test_upgrade_tls_SOURCES = \ | 247 | test_upgrade_tls_SOURCES = \ |
235 | test_upgrade.c test_helpers.h mhd_sockets.h | 248 | test_upgrade.c test_helpers.h mhd_sockets.h |
236 | test_upgrade_tls_CPPFLAGS = \ | 249 | test_upgrade_tls_CPPFLAGS = \ |
@@ -244,6 +257,19 @@ test_upgrade_tls_LDADD = \ | |||
244 | $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) \ | 257 | $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) \ |
245 | $(PTHREAD_LIBS) | 258 | $(PTHREAD_LIBS) |
246 | 259 | ||
260 | test_upgrade_large_tls_SOURCES = \ | ||
261 | test_upgrade_large.c test_helpers.h mhd_sockets.h | ||
262 | test_upgrade_large_tls_CPPFLAGS = \ | ||
263 | $(AM_CPPFLAGS) $(MHD_TLS_LIB_CPPFLAGS) | ||
264 | test_upgrade_large_tls_CFLAGS = \ | ||
265 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) $(MHD_TLS_LIB_CFLAGS) | ||
266 | test_upgrade_large_tls_LDFLAGS = \ | ||
267 | $(MHD_TLS_LIB_LDFLAGS) | ||
268 | test_upgrade_large_tls_LDADD = \ | ||
269 | $(top_builddir)/src/microhttpd/libmicrohttpd.la \ | ||
270 | $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) \ | ||
271 | $(PTHREAD_LIBS) | ||
272 | |||
247 | test_postprocessor_SOURCES = \ | 273 | test_postprocessor_SOURCES = \ |
248 | test_postprocessor.c | 274 | test_postprocessor.c |
249 | test_postprocessor_CPPFLAGS = \ | 275 | test_postprocessor_CPPFLAGS = \ |