diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-09-27 14:51:32 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-09-27 14:51:32 +0300 |
commit | db4d4cb4bd70ff330750a8605376f41071498681 (patch) | |
tree | 6181fa9f8599773d1dbd9e2e47392ab1f2de32d7 | |
parent | 14b7b4d3b1faad237948b4cfa2ca99d14f77e336 (diff) | |
download | libmicrohttpd-db4d4cb4bd70ff330750a8605376f41071498681.tar.gz libmicrohttpd-db4d4cb4bd70ff330750a8605376f41071498681.zip |
test-suite: sorted and fixed build flags
-rw-r--r-- | src/microhttpd/Makefile.am | 28 | ||||
-rw-r--r-- | src/testcurl/Makefile.am | 12 | ||||
-rw-r--r-- | src/testcurl/https/Makefile.am | 4 |
3 files changed, 26 insertions, 18 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index c4c15608..c25abab7 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -419,37 +419,45 @@ test_postprocessor_md_SOURCES = \ | |||
419 | 419 | ||
420 | test_shutdown_select_SOURCES = \ | 420 | test_shutdown_select_SOURCES = \ |
421 | test_shutdown_select.c | 421 | test_shutdown_select.c |
422 | test_shutdown_select_CFLAGS = $(AM_CFLAGS) | ||
423 | test_shutdown_select_LDADD = $(LDADD) | ||
422 | if USE_POSIX_THREADS | 424 | if USE_POSIX_THREADS |
423 | test_shutdown_select_CFLAGS = \ | 425 | test_shutdown_select_CFLAGS += \ |
424 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) | 426 | $(PTHREAD_CFLAGS) |
425 | test_shutdown_select_LDADD = \ | 427 | test_shutdown_select_LDADD += \ |
426 | $(PTHREAD_LIBS) | 428 | $(PTHREAD_LIBS) |
427 | endif | 429 | endif |
428 | 430 | ||
429 | test_shutdown_poll_SOURCES = \ | 431 | test_shutdown_poll_SOURCES = \ |
430 | test_shutdown_select.c mhd_threads.h | 432 | test_shutdown_select.c mhd_threads.h |
433 | test_shutdown_poll_CFLAGS = $(AM_CFLAGS) | ||
434 | test_shutdown_poll_LDADD = $(LDADD) | ||
431 | if USE_POSIX_THREADS | 435 | if USE_POSIX_THREADS |
432 | test_shutdown_poll_CFLAGS = \ | 436 | test_shutdown_poll_CFLAGS += \ |
433 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) | 437 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
434 | test_shutdown_poll_LDADD = \ | 438 | test_shutdown_poll_LDADD += \ |
435 | $(PTHREAD_LIBS) | 439 | $(PTHREAD_LIBS) |
436 | endif | 440 | endif |
437 | 441 | ||
438 | test_shutdown_select_ignore_SOURCES = \ | 442 | test_shutdown_select_ignore_SOURCES = \ |
439 | test_shutdown_select.c | 443 | test_shutdown_select.c |
444 | test_shutdown_select_ignore_CFLAGS = $(AM_CFLAGS) | ||
445 | test_shutdown_select_ignore_LDADD = $(LDADD) | ||
440 | if USE_POSIX_THREADS | 446 | if USE_POSIX_THREADS |
441 | test_shutdown_select_ignore_CFLAGS = \ | 447 | test_shutdown_select_ignore_CFLAGS += \ |
442 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) | 448 | $(PTHREAD_CFLAGS) |
443 | test_shutdown_select_ignore_LDADD = \ | 449 | test_shutdown_select_ignore_LDADD += \ |
444 | $(PTHREAD_LIBS) | 450 | $(PTHREAD_LIBS) |
445 | endif | 451 | endif |
446 | 452 | ||
447 | test_shutdown_poll_ignore_SOURCES = \ | 453 | test_shutdown_poll_ignore_SOURCES = \ |
448 | test_shutdown_select.c mhd_threads.h | 454 | test_shutdown_select.c mhd_threads.h |
455 | test_shutdown_poll_ignore_CFLAGS = $(AM_CFLAGS) | ||
456 | test_shutdown_poll_ignore_LDADD = $(LDADD) | ||
449 | if USE_POSIX_THREADS | 457 | if USE_POSIX_THREADS |
450 | test_shutdown_poll_ignore_CFLAGS = \ | 458 | test_shutdown_poll_ignore_CFLAGS += \ |
451 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) | 459 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
452 | test_shutdown_poll_ignore_LDADD = \ | 460 | test_shutdown_poll_ignore_LDADD += \ |
453 | $(PTHREAD_LIBS) | 461 | $(PTHREAD_LIBS) |
454 | endif | 462 | endif |
455 | 463 | ||
diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am index a4bc94ef..3fa81ced 100644 --- a/src/testcurl/Makefile.am +++ b/src/testcurl/Makefile.am | |||
@@ -225,7 +225,7 @@ endif | |||
225 | test_concurrent_stop_SOURCES = \ | 225 | test_concurrent_stop_SOURCES = \ |
226 | test_concurrent_stop.c | 226 | test_concurrent_stop.c |
227 | test_concurrent_stop_CFLAGS = \ | 227 | test_concurrent_stop_CFLAGS = \ |
228 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 228 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
229 | test_concurrent_stop_LDADD = \ | 229 | test_concurrent_stop_LDADD = \ |
230 | $(PTHREAD_LIBS) $(LDADD) | 230 | $(PTHREAD_LIBS) $(LDADD) |
231 | 231 | ||
@@ -235,14 +235,14 @@ test_get_SOURCES = \ | |||
235 | test_quiesce_SOURCES = \ | 235 | test_quiesce_SOURCES = \ |
236 | test_quiesce.c mhd_has_param.h mhd_has_in_name.h | 236 | test_quiesce.c mhd_has_param.h mhd_has_in_name.h |
237 | test_quiesce_CFLAGS = \ | 237 | test_quiesce_CFLAGS = \ |
238 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 238 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
239 | test_quiesce_LDADD = \ | 239 | test_quiesce_LDADD = \ |
240 | $(PTHREAD_LIBS) $(LDADD) | 240 | $(PTHREAD_LIBS) $(LDADD) |
241 | 241 | ||
242 | test_quiesce_stream_SOURCES = \ | 242 | test_quiesce_stream_SOURCES = \ |
243 | test_quiesce_stream.c | 243 | test_quiesce_stream.c |
244 | test_quiesce_stream_CFLAGS = \ | 244 | test_quiesce_stream_CFLAGS = \ |
245 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 245 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
246 | test_quiesce_stream_LDADD = \ | 246 | test_quiesce_stream_LDADD = \ |
247 | $(PTHREAD_LIBS) $(LDADD) | 247 | $(PTHREAD_LIBS) $(LDADD) |
248 | 248 | ||
@@ -257,7 +257,7 @@ perf_get_concurrent_SOURCES = \ | |||
257 | perf_get_concurrent.c \ | 257 | perf_get_concurrent.c \ |
258 | gauger.h mhd_has_in_name.h | 258 | gauger.h mhd_has_in_name.h |
259 | perf_get_concurrent_CFLAGS = \ | 259 | perf_get_concurrent_CFLAGS = \ |
260 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 260 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
261 | perf_get_concurrent_LDADD = \ | 261 | perf_get_concurrent_LDADD = \ |
262 | $(PTHREAD_LIBS) $(LDADD) | 262 | $(PTHREAD_LIBS) $(LDADD) |
263 | 263 | ||
@@ -265,7 +265,7 @@ perf_get_concurrent11_SOURCES = \ | |||
265 | perf_get_concurrent.c \ | 265 | perf_get_concurrent.c \ |
266 | gauger.h mhd_has_in_name.h | 266 | gauger.h mhd_has_in_name.h |
267 | perf_get_concurrent11_CFLAGS = \ | 267 | perf_get_concurrent11_CFLAGS = \ |
268 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 268 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
269 | perf_get_concurrent11_LDADD = \ | 269 | perf_get_concurrent11_LDADD = \ |
270 | $(PTHREAD_LIBS) $(LDADD) | 270 | $(PTHREAD_LIBS) $(LDADD) |
271 | 271 | ||
@@ -299,7 +299,7 @@ test_digestauth_with_arguments_LDADD = \ | |||
299 | test_digestauth_concurrent_SOURCES = \ | 299 | test_digestauth_concurrent_SOURCES = \ |
300 | test_digestauth_concurrent.c | 300 | test_digestauth_concurrent.c |
301 | test_digestauth_concurrent_CFLAGS = \ | 301 | test_digestauth_concurrent_CFLAGS = \ |
302 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 302 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
303 | test_digestauth_concurrent_LDADD = \ | 303 | test_digestauth_concurrent_LDADD = \ |
304 | @LIBGCRYPT_LIBS@ $(LDADD) $(PTHREAD_LIBS) $(LDADD) | 304 | @LIBGCRYPT_LIBS@ $(LDADD) $(PTHREAD_LIBS) $(LDADD) |
305 | 305 | ||
diff --git a/src/testcurl/https/Makefile.am b/src/testcurl/https/Makefile.am index 11b1ea20..39394db1 100644 --- a/src/testcurl/https/Makefile.am +++ b/src/testcurl/https/Makefile.am | |||
@@ -87,7 +87,7 @@ test_https_get_parallel_SOURCES = \ | |||
87 | tls_test_common.h \ | 87 | tls_test_common.h \ |
88 | tls_test_common.c | 88 | tls_test_common.c |
89 | test_https_get_parallel_CFLAGS = \ | 89 | test_https_get_parallel_CFLAGS = \ |
90 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 90 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
91 | test_https_get_parallel_LDADD = \ | 91 | test_https_get_parallel_LDADD = \ |
92 | $(PTHREAD_LIBS) $(LDADD) | 92 | $(PTHREAD_LIBS) $(LDADD) |
93 | 93 | ||
@@ -103,7 +103,7 @@ test_https_get_parallel_threads_SOURCES = \ | |||
103 | tls_test_common.h \ | 103 | tls_test_common.h \ |
104 | tls_test_common.c | 104 | tls_test_common.c |
105 | test_https_get_parallel_threads_CFLAGS = \ | 105 | test_https_get_parallel_threads_CFLAGS = \ |
106 | $(PTHREAD_CFLAGS) $(AM_CFLAGS) | 106 | $(AM_CFLAGS) $(PTHREAD_CFLAGS) |
107 | test_https_get_parallel_threads_LDADD = \ | 107 | test_https_get_parallel_threads_LDADD = \ |
108 | $(PTHREAD_LIBS) $(LDADD) | 108 | $(PTHREAD_LIBS) $(LDADD) |
109 | 109 | ||