-fix linkage issue that could cause a transport service crash on exit for certain...
[oweals/gnunet.git] / src / transport / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3 plugindir = $(libdir)/gnunet
4
5 pkgcfgdir= $(pkgdatadir)/config.d/
6
7 libexecdir= $(pkglibdir)/libexec/
8
9 pkgcfg_DATA = \
10   transport.conf
11
12
13 if HAVE_MHD
14  GN_LIBMHD = -lmicrohttpd
15  HTTP_SERVER_PLUGIN_LA = libgnunet_plugin_transport_http_server.la
16  HTTPS_SERVER_PLUGIN_LA = libgnunet_plugin_transport_https_server.la
17  HTTP_SERVER_PLUGIN_TEST = test_plugin_http_server
18  HTTPS_SERVER_PLUGIN_TEST = test_plugin_https_server
19 endif
20
21 if HAVE_LIBGNURL
22  HTTP_CLIENT_PLUGIN_TEST = test_plugin_http_client
23  HTTPS_CLIENT_PLUGIN_TEST = test_plugin_https_client
24  HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la
25  HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la
26 endif
27
28 if HAVE_MHD
29 if HAVE_LIBGNURL
30  HTTP_API_TEST = test_transport_api_http
31  HTTP_REVERSE_API_TEST = test_transport_api_http_reverse
32  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
33  HTTP_REL_TEST = test_transport_api_reliability_http
34  HTTP_QUOTA_TEST = test_quota_compliance_http \
35                    test_quota_compliance_http_asymmetric
36  HTTPS_API_TEST = test_transport_api_https
37  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
38  HTTPS_REL_TEST = test_transport_api_reliability_https
39  HTTPS_QUOTA_TEST = test_quota_compliance_https \
40                 test_quota_compliance_https_asymmetric
41 endif
42 endif
43
44 if USE_COVERAGE
45   AM_CFLAGS = --coverage -O0
46 endif
47
48 if LINUX
49  WLAN_BIN = gnunet-helper-transport-wlan
50  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
51  WLAN_BIN_SENDER = gnunet-transport-wlan-sender
52  WLAN_BIN_RECEIVER = gnunet-transport-wlan-receiver
53  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
54  WLAN_PLUGIN_TEST = test_plugin_wlan
55  WLAN_API_TEST = test_transport_api_wlan
56  WLAN_TIMEOUT_TEST = test_transport_api_timeout_wlan
57  WLAN_REL_TEST = test_transport_api_reliability_wlan
58  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
59  WLAN_QUOTA_TEST = test_quota_compliance_wlan \
60                 test_quota_compliance_wlan_asymmetric
61 endif
62
63 if LINUX
64 install-exec-hook:
65         $(top_srcdir)/src/transport/install-wlan-helper.sh $(libexecdir) $(SUDO_BINARY) || true
66 else
67 install-exec-hook:
68 endif
69
70 if LINUX
71 if HAVE_LIBBLUETOOTH
72  BT_BIN = gnunet-helper-transport-bluetooth
73  BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
74  BT_PLUGIN_TEST = test_plugin_bluetooth
75  BT_API_TEST = test_transport_api_bluetooth
76  BT_TIMEOUT_TEST = test_transport_api_timeout_bluetooth
77  BT_REL_TEST = test_transport_api_reliability_bluetooth
78  BT_UREL_TEST = test_transport_api_unreliability_bluetooth
79  BT_QUOTA_TEST = test_quota_compliance_bluetooth \
80     test_quota_compliance_bluetooth_asymmetric
81 endif
82 else
83 if MINGW
84  BT_BIN = gnunet-helper-transport-bluetooth
85  BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
86 endif
87 endif
88
89 if LINUX
90 if HAVE_LIBBLUETOOTH
91 install-exec-hook2:
92         $(top_srcdir)/src/transport/install-bluetooth-helper.sh $(libexecdir) $(SUDO_BINARY) || true
93 endif
94 else
95 install-exec-hook2:
96 endif
97
98 if !MINGW
99 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
100 UNIX_PLUGIN_TEST = test_transport_api_unix
101 UNIX_TEST = test_plugin_unix
102 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
103 UNIX_REL_TEST = test_transport_api_unreliability_unix
104 UNIX_QUOTA_TEST = test_quota_compliance_unix \
105      test_quota_compliance_unix_asymmetric
106 if LINUX
107  UNIX_API_ABSTRACT_TEST = test_transport_api_unix_abstract
108 endif
109 endif
110
111 noinst_PROGRAMS = \
112  $(WLAN_BIN_SENDER) \
113  $(WLAN_BIN_RECEIVER)
114
115 if HAVE_TESTING
116 TESTING_LIBS = libgnunettransporttesting.la
117 endif
118
119 lib_LTLIBRARIES = \
120   libgnunettransport.la \
121   $(TESTING_LIBS)
122
123 libgnunettransporttesting_la_SOURCES = \
124   transport-testing.c transport-testing.h
125 libgnunettransporttesting_la_LIBADD = \
126   $(top_builddir)/src/transport/libgnunettransport.la \
127   $(top_builddir)/src/hello/libgnunethello.la \
128   $(top_builddir)/src/util/libgnunetutil.la \
129   $(top_builddir)/src/testing/libgnunettesting.la \
130   $(GN_LIBINTL)
131 libgnunettransporttesting_la_DEPENDENCIES = \
132   libgnunettransport.la
133 libgnunettransporttesting_la_LDFLAGS = \
134  $(GN_LIB_LDFLAGS)
135
136 libgnunettransport_la_SOURCES = \
137   transport_api.c transport.h \
138   transport_api_blacklist.c \
139   transport_api_address_to_string.c \
140   transport_api_monitoring.c
141 libgnunettransport_la_LIBADD = \
142   $(top_builddir)/src/hello/libgnunethello.la \
143   $(top_builddir)/src/util/libgnunetutil.la \
144   $(GN_LIBINTL)
145 libgnunettransport_la_LDFLAGS = \
146   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
147   -version-info 3:0:1
148
149 libexec_PROGRAMS = \
150  $(WLAN_BIN) \
151  $(WLAN_BIN_DUMMY) \
152  $(BT_BIN) \
153  gnunet-service-transport
154
155 bin_PROGRAMS = \
156  gnunet-transport \
157  gnunet-transport-certificate-creation
158
159 #bin_SCRIPTS = \
160 # gnunet-transport-certificate-creation
161
162 gnunet_transport_certificate_creation_SOURCES = \
163  gnunet-transport-certificate-creation.c
164 gnunet_transport_certificate_creation_LDADD = \
165   $(top_builddir)/src/util/libgnunetutil.la
166
167 gnunet_helper_transport_wlan_SOURCES = \
168  gnunet-helper-transport-wlan.c
169
170 gnunet_helper_transport_wlan_dummy_SOURCES = \
171  gnunet-helper-transport-wlan-dummy.c
172 gnunet_helper_transport_wlan_dummy_LDADD = \
173   $(top_builddir)/src/util/libgnunetutil.la
174
175 gnunet_transport_wlan_sender_SOURCES = \
176  gnunet-transport-wlan-sender.c
177 gnunet_transport_wlan_sender_LDADD = \
178   $(top_builddir)/src/util/libgnunetutil.la
179
180 gnunet_transport_wlan_receiver_SOURCES = \
181  gnunet-transport-wlan-receiver.c
182 gnunet_transport_wlan_receiver_LDADD = \
183   $(top_builddir)/src/util/libgnunetutil.la
184
185 gnunet_helper_transport_bluetooth_SOURCES = \
186  gnunet-helper-transport-bluetooth.c
187 if MINGW
188  gnunet_helper_transport_bluetooth_LDADD = \
189   $(top_builddir)/src/util/libgnunetutil.la
190  gnunet_helper_transport_bluetooth_LDFLAGS = -lws2_32
191 else
192  gnunet_helper_transport_bluetooth_LDFLAGS = -lbluetooth
193 endif
194
195 gnunet_transport_SOURCES = \
196  gnunet-transport.c
197 gnunet_transport_LDADD = \
198   $(top_builddir)/src/transport/libgnunettransport.la \
199   $(top_builddir)/src/nat/libgnunetnat.la \
200   $(top_builddir)/src/hello/libgnunethello.la \
201   $(top_builddir)/src/util/libgnunetutil.la \
202   $(GN_LIBINTL)
203 gnunet_transport_DEPENDENCIES = \
204   libgnunettransport.la
205
206 gnunet_service_transport_SOURCES = \
207  gnunet-service-transport.c gnunet-service-transport.h \
208  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
209  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
210  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
211  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
212  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
213  gnunet-service-transport_validation.h gnunet-service-transport_validation.c \
214  gnunet-service-transport_manipulation.h gnunet-service-transport_manipulation.c
215 # Note that while gnunet-service-transport does not use libgnunetnat
216 # directly, we must link against it as GNUNET_NAT_mini_map_stop will
217 # leave a 'dangling' task to process_unmap_output which will cause
218 # a crash on unloading of a plugin unless the service links against
219 # that library as well.
220 gnunet_service_transport_LDADD = \
221   $(top_builddir)/src/transport/libgnunettransport.la \
222   $(top_builddir)/src/ats/libgnunetats.la \
223   $(top_builddir)/src/hello/libgnunethello.la \
224   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
225   $(top_builddir)/src/nat/libgnunetnat.la \
226   $(top_builddir)/src/statistics/libgnunetstatistics.la \
227   $(top_builddir)/src/util/libgnunetutil.la \
228   $(GN_GLPK) \
229   $(GN_LIBINTL)
230 gnunet_service_transport_DEPENDENCIES = \
231  libgnunettransport.la
232 gnunet_service_transport_CFLAGS = \
233   $(CFLAGS)
234 # -DANALYZE
235
236 plugin_LTLIBRARIES = \
237   libgnunet_plugin_transport_tcp.la \
238   libgnunet_plugin_transport_udp.la \
239   $(UNIX_PLUGIN_LA) \
240   $(HTTP_CLIENT_PLUGIN_LA) \
241   $(HTTPS_CLIENT_PLUGIN_LA) \
242   $(HTTP_SERVER_PLUGIN_LA) \
243   $(HTTPS_SERVER_PLUGIN_LA) \
244   $(WLAN_PLUGIN_LA) \
245   $(BT_PLUGIN_LA) \
246   libgnunet_plugin_transport_template.la
247
248 libgnunet_plugin_transport_tcp_la_SOURCES = \
249   plugin_transport_tcp.c
250 libgnunet_plugin_transport_tcp_la_LIBADD = \
251   $(top_builddir)/src/hello/libgnunethello.la \
252   $(top_builddir)/src/statistics/libgnunetstatistics.la \
253   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
254   $(top_builddir)/src/nat/libgnunetnat.la \
255   $(top_builddir)/src/util/libgnunetutil.la \
256   $(LTLIBINTL)
257 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
258  $(GN_PLUGIN_LDFLAGS)
259
260 libgnunet_plugin_transport_template_la_SOURCES = \
261   plugin_transport_template.c
262 libgnunet_plugin_transport_template_la_LIBADD = \
263   $(top_builddir)/src/util/libgnunetutil.la \
264   $(LTLIBINTL)
265 libgnunet_plugin_transport_template_la_LDFLAGS = \
266  $(GN_PLUGIN_LDFLAGS)
267
268 libgnunet_plugin_transport_wlan_la_SOURCES = \
269   plugin_transport_wlan.c plugin_transport_wlan.h
270 libgnunet_plugin_transport_wlan_la_LIBADD = \
271   $(top_builddir)/src/hello/libgnunethello.la \
272   $(top_builddir)/src/statistics/libgnunetstatistics.la \
273   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
274   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
275   $(top_builddir)/src/util/libgnunetutil.la
276 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
277   $(GN_PLUGIN_LDFLAGS)
278
279 libgnunet_plugin_transport_bluetooth_la_SOURCES = \
280   plugin_transport_bluetooth.c plugin_transport_wlan.h
281 libgnunet_plugin_transport_bluetooth_la_LIBADD = \
282   $(top_builddir)/src/hello/libgnunethello.la \
283   $(top_builddir)/src/statistics/libgnunetstatistics.la \
284   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
285   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
286   $(top_builddir)/src/util/libgnunetutil.la
287 libgnunet_plugin_transport_bluetooth_la_LDFLAGS = \
288   $(GN_PLUGIN_LDFLAGS)
289
290 libgnunet_plugin_transport_udp_la_SOURCES = \
291   plugin_transport_udp.c plugin_transport_udp.h \
292   plugin_transport_udp_broadcasting.c
293 libgnunet_plugin_transport_udp_la_LIBADD = \
294   $(top_builddir)/src/hello/libgnunethello.la \
295   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
296   $(top_builddir)/src/statistics/libgnunetstatistics.la \
297   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
298   $(top_builddir)/src/nat/libgnunetnat.la \
299   $(top_builddir)/src/util/libgnunetutil.la \
300   $(LTLIBINTL)
301 libgnunet_plugin_transport_udp_la_LDFLAGS = \
302  $(GN_PLUGIN_LDFLAGS)
303
304 libgnunet_plugin_transport_unix_la_SOURCES = \
305   plugin_transport_unix.c
306 libgnunet_plugin_transport_unix_la_LIBADD = \
307   $(top_builddir)/src/hello/libgnunethello.la \
308   $(top_builddir)/src/statistics/libgnunetstatistics.la \
309   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
310   $(top_builddir)/src/util/libgnunetutil.la \
311   $(LTLIBINTL)
312 libgnunet_plugin_transport_unix_la_LDFLAGS = \
313  $(GN_PLUGIN_LDFLAGS)
314
315
316 libgnunet_plugin_transport_http_client_la_SOURCES = \
317   plugin_transport_http_client.c plugin_transport_http_common.c plugin_transport_http_common.h
318 libgnunet_plugin_transport_http_client_la_LIBADD = \
319   $(top_builddir)/src/hello/libgnunethello.la \
320   $(top_builddir)/src/statistics/libgnunetstatistics.la \
321   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
322   @LIBGNURL@ \
323   $(top_builddir)/src/nat/libgnunetnat.la \
324   $(top_builddir)/src/util/libgnunetutil.la
325 libgnunet_plugin_transport_http_client_la_LDFLAGS = \
326  $(GN_PLUGIN_LDFLAGS)
327 libgnunet_plugin_transport_http_client_la_CFLAGS = \
328  $(CFLAGS)
329 libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
330  @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
331
332
333 libgnunet_plugin_transport_http_server_la_SOURCES = \
334   plugin_transport_http_server.c plugin_transport_http_common.c
335 libgnunet_plugin_transport_http_server_la_LIBADD = \
336   $(top_builddir)/src/hello/libgnunethello.la \
337   $(top_builddir)/src/statistics/libgnunetstatistics.la \
338   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
339   $(top_builddir)/src/nat/libgnunetnat.la \
340   $(top_builddir)/src/util/libgnunetutil.la
341 libgnunet_plugin_transport_http_server_la_LDFLAGS = \
342  $(GN_LIBMHD) \
343  $(GN_PLUGIN_LDFLAGS)
344 libgnunet_plugin_transport_http_server_la_CFLAGS = \
345  $(CFLAGS)
346
347 libgnunet_plugin_transport_https_client_la_SOURCES = \
348   plugin_transport_http_client.c plugin_transport_http_common.c
349 libgnunet_plugin_transport_https_client_la_LIBADD = \
350   $(top_builddir)/src/hello/libgnunethello.la \
351   $(top_builddir)/src/statistics/libgnunetstatistics.la \
352   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
353   @LIBGNURL@ \
354   $(top_builddir)/src/nat/libgnunetnat.la \
355   $(top_builddir)/src/util/libgnunetutil.la
356 libgnunet_plugin_transport_https_client_la_LDFLAGS = \
357  $(GN_PLUGIN_LDFLAGS)
358 libgnunet_plugin_transport_https_client_la_CFLAGS = \
359  $(CFLAGS) -DBUILD_HTTPS
360 libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
361  @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
362
363
364 libgnunet_plugin_transport_https_server_la_SOURCES = \
365   plugin_transport_http_server.c plugin_transport_http_common.c
366 libgnunet_plugin_transport_https_server_la_LIBADD = \
367   $(top_builddir)/src/hello/libgnunethello.la \
368   $(top_builddir)/src/statistics/libgnunetstatistics.la \
369   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
370   $(top_builddir)/src/nat/libgnunetnat.la \
371   $(top_builddir)/src/util/libgnunetutil.la
372 libgnunet_plugin_transport_https_server_la_LDFLAGS = \
373  $(GN_LIBMHD) \
374  $(GN_PLUGIN_LDFLAGS)
375 libgnunet_plugin_transport_https_server_la_CFLAGS = \
376  $(CFLAGS) -DBUILD_HTTPS
377
378
379 if HAVE_TESTING
380 check_PROGRAMS = \
381  test_transport_testing_startstop \
382  test_transport_testing_restart \
383  test_transport_testing \
384  test_transport_startonly \
385  test_plugin_tcp \
386  test_plugin_udp \
387  $(UNIX_TEST) \
388  $(WLAN_PLUGIN_TEST) \
389  $(BT_PLUGIN_TEST) \
390  test_http_common \
391  $(HTTP_CLIENT_PLUGIN_TEST) \
392  $(HTTPS_CLIENT_PLUGIN_TEST) \
393  $(HTTP_SERVER_PLUGIN_TEST) \
394  $(HTTPS_SERVER_PLUGIN_TEST) \
395  test_transport_api_blacklisting \
396  test_transport_api_disconnect_tcp \
397  test_transport_api_bidirectional_connect \
398  test_transport_api_tcp \
399  test_transport_api_restart_1peer \
400  test_transport_api_restart_2peers \
401  test_transport_api_timeout_tcp \
402  test_transport_api_limited_sockets_tcp \
403  test_transport_api_tcp_nat \
404  test_transport_api_udp \
405  test_transport_api_timeout_udp \
406  $(UNIX_PLUGIN_TEST) \
407  $(UNIX_PLUGIN_TIMEOUT_TEST) \
408  $(UNIX_API_ABSTRACT_TEST) \
409  test_transport_api_udp_nat \
410  $(HTTP_API_TEST) \
411  $(HTTP_REVERSE_API_TEST) \
412  $(HTTP_API_TIMEOUT_TEST) \
413  $(HTTPS_API_TEST) \
414  $(HTTPS_API_TIMEOUT_TEST) \
415  $(WLAN_API_TEST) \
416  $(WLAN_TIMEOUT_TEST) \
417  $(BT_API_TEST) \
418  $(BT_TIMEOUT_TEST) \
419  test_transport_api_multi \
420  test_transport_api_monitoring \
421  test_transport_api_monitoring_validation \
422  test_transport_blacklisting_no_bl \
423  test_transport_blacklisting_outbound_bl_full \
424  test_transport_blacklisting_outbound_bl_plugin \
425  test_transport_blacklisting_inbound_bl_plugin \
426  test_transport_blacklisting_inbound_bl_full \
427  test_transport_blacklisting_multiple_plugins \
428  test_transport_api_manipulation_send_tcp \
429  test_transport_api_manipulation_recv_tcp \
430  test_transport_api_manipulation_cfg \
431  test_transport_api_reliability_tcp \
432  test_transport_api_reliability_tcp_nat \
433  test_transport_api_unreliability_udp \
434  test_transport_api_unreliability_constant_udp \
435  $(UNIX_REL_TEST) \
436  $(HTTP_REL_TEST) \
437  $(HTTPS_REL_TEST) \
438  $(WLAN_REL_TEST) \
439  $(WLAN_UREL_TEST) \
440  $(BT_REL_TEST) \
441  $(BT_UREL_TEST) \
442  test_quota_compliance_tcp \
443  test_quota_compliance_tcp_asymmetric \
444  test_quota_compliance_udp \
445  $(UNIX_QUOTA_TEST) \
446  $(HTTP_QUOTA_TEST) \
447  $(HTTPS_QUOTA_TEST) \
448  $(WLAN_QUOTA_TEST) \
449  $(BT_QUOTA_TEST)
450 endif
451
452 if ENABLE_TEST_RUN
453 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
454 TESTS = \
455  test_transport_testing_startstop \
456  test_transport_testing_restart \
457  test_transport_testing \
458  test_transport_startonly \
459  test_plugin_tcp \
460  test_plugin_udp \
461  $(UNIX_TEST) \
462  $(WLAN_PLUGIN_TEST) \
463  $(BT_PLUGIN_TEST) \
464  test_transport_api_blacklisting \
465  test_transport_api_disconnect_tcp \
466  test_transport_api_bidirectional_connect \
467  test_transport_api_tcp \
468  test_transport_api_restart_1peer \
469  test_transport_api_restart_2peers \
470  test_transport_api_timeout_tcp \
471  test_transport_api_limited_sockets_tcp \
472  test_transport_api_tcp_nat \
473  test_transport_api_udp \
474  test_transport_api_timeout_udp \
475  $(UNIX_PLUGIN_TEST) \
476  $(UNIX_PLUGIN_TIMEOUT_TEST) \
477  $(UNIX_API_ABSTRACT_TEST) \
478  test_transport_api_udp_nat \
479  $(HTTP_API_TEST) \
480  $(HTTP_API_TIMEOUT_TEST) \
481  $(HTTPS_API_TEST) \
482  $(HTTPS_API_TIMEOUT_TEST) \
483  $(WLAN_API_TEST) \
484  $(WLAN_TIMEOUT_TEST) \
485  $(BT_API_TEST) \
486  $(BT_TIMEOUT_TEST) \
487  test_transport_api_multi \
488  test_transport_api_monitoring \
489  test_transport_api_monitoring_validation \
490  test_transport_blacklisting_no_bl \
491  test_transport_blacklisting_outbound_bl_full \
492  test_transport_blacklisting_outbound_bl_plugin \
493  test_transport_blacklisting_inbound_bl_plugin \
494  test_transport_blacklisting_inbound_bl_full \
495  test_transport_blacklisting_multiple_plugins \
496  test_transport_api_manipulation_send_tcp \
497  test_transport_api_manipulation_recv_tcp \
498  test_transport_api_manipulation_cfg \
499  test_transport_api_reliability_tcp \
500  test_transport_api_reliability_tcp_nat \
501  test_transport_api_unreliability_udp \
502  test_transport_api_unreliability_constant_udp \
503  $(UNIX_REL_TEST) \
504  $(HTTP_REL_TEST) \
505  $(HTTPS_REL_TEST) \
506  $(WLAN_REL_TEST) \
507  $(WLAN_UREL_TEST) \
508  $(BT_REL_TEST) \
509  $(BT_UREL_TEST) \
510  test_quota_compliance_tcp \
511  test_quota_compliance_tcp_asymmetric \
512  test_quota_compliance_udp \
513  $(UNIX_QUOTA_TEST) \
514  $(HTTP_QUOTA_TEST) \
515  $(HTTPS_QUOTA_TEST)
516 endif
517
518 test_transport_testing_startstop_SOURCES = \
519  test_transport_testing_startstop.c
520 test_transport_testing_startstop_LDADD = \
521  $(top_builddir)/src/util/libgnunetutil.la \
522  $(top_builddir)/src/transport/libgnunettransport.la \
523  $(top_builddir)/src/hello/libgnunethello.la \
524  $(top_builddir)/src/transport/libgnunettransporttesting.la
525
526 test_transport_testing_restart_SOURCES = \
527  test_transport_testing_restart.c
528 test_transport_testing_restart_LDADD = \
529  $(top_builddir)/src/util/libgnunetutil.la \
530  $(top_builddir)/src/transport/libgnunettransport.la \
531  $(top_builddir)/src/hello/libgnunethello.la \
532  $(top_builddir)/src/transport/libgnunettransporttesting.la
533
534 test_transport_testing_SOURCES = \
535  test_transport_testing.c
536 test_transport_testing_LDADD = \
537  $(top_builddir)/src/util/libgnunetutil.la \
538  $(top_builddir)/src/transport/libgnunettransport.la \
539  $(top_builddir)/src/hello/libgnunethello.la \
540  $(top_builddir)/src/transport/libgnunettransporttesting.la
541
542 test_transport_api_blacklisting_SOURCES = \
543  test_transport_api_blacklisting.c
544 test_transport_api_blacklisting_LDADD = \
545  $(top_builddir)/src/transport/libgnunettransport.la \
546  $(top_builddir)/src/hello/libgnunethello.la \
547  $(top_builddir)/src/statistics/libgnunetstatistics.la \
548  $(top_builddir)/src/util/libgnunetutil.la \
549  $(top_builddir)/src/transport/libgnunettransporttesting.la
550
551 test_transport_blacklisting_no_bl_SOURCES = \
552  test_transport_blacklisting.c
553 test_transport_blacklisting_no_bl_LDADD = \
554  $(top_builddir)/src/transport/libgnunettransport.la \
555  $(top_builddir)/src/hello/libgnunethello.la \
556  $(top_builddir)/src/statistics/libgnunetstatistics.la \
557  $(top_builddir)/src/util/libgnunetutil.la \
558  $(top_builddir)/src/transport/libgnunettransporttesting.la
559
560 test_transport_blacklisting_outbound_bl_full_SOURCES = \
561  test_transport_blacklisting.c
562 test_transport_blacklisting_outbound_bl_full_LDADD = \
563  $(top_builddir)/src/transport/libgnunettransport.la \
564  $(top_builddir)/src/hello/libgnunethello.la \
565  $(top_builddir)/src/statistics/libgnunetstatistics.la \
566  $(top_builddir)/src/util/libgnunetutil.la \
567  $(top_builddir)/src/transport/libgnunettransporttesting.la
568
569 test_transport_blacklisting_outbound_bl_plugin_SOURCES = \
570  test_transport_blacklisting.c
571 test_transport_blacklisting_outbound_bl_plugin_LDADD = \
572  $(top_builddir)/src/transport/libgnunettransport.la \
573  $(top_builddir)/src/hello/libgnunethello.la \
574  $(top_builddir)/src/statistics/libgnunetstatistics.la \
575  $(top_builddir)/src/util/libgnunetutil.la \
576  $(top_builddir)/src/transport/libgnunettransporttesting.la
577
578 test_transport_blacklisting_inbound_bl_full_SOURCES = \
579  test_transport_blacklisting.c
580 test_transport_blacklisting_inbound_bl_full_LDADD = \
581  $(top_builddir)/src/transport/libgnunettransport.la \
582  $(top_builddir)/src/hello/libgnunethello.la \
583  $(top_builddir)/src/statistics/libgnunetstatistics.la \
584  $(top_builddir)/src/util/libgnunetutil.la \
585  $(top_builddir)/src/transport/libgnunettransporttesting.la
586
587 test_transport_blacklisting_inbound_bl_plugin_SOURCES = \
588  test_transport_blacklisting.c
589 test_transport_blacklisting_inbound_bl_plugin_LDADD = \
590  $(top_builddir)/src/transport/libgnunettransport.la \
591  $(top_builddir)/src/hello/libgnunethello.la \
592  $(top_builddir)/src/statistics/libgnunetstatistics.la \
593  $(top_builddir)/src/util/libgnunetutil.la \
594  $(top_builddir)/src/transport/libgnunettransporttesting.la
595
596 test_transport_blacklisting_multiple_plugins_SOURCES = \
597  test_transport_blacklisting.c
598 test_transport_blacklisting_multiple_plugins_LDADD = \
599  $(top_builddir)/src/transport/libgnunettransport.la \
600  $(top_builddir)/src/hello/libgnunethello.la \
601  $(top_builddir)/src/statistics/libgnunetstatistics.la \
602  $(top_builddir)/src/util/libgnunetutil.la \
603  $(top_builddir)/src/transport/libgnunettransporttesting.la
604
605
606 test_transport_api_disconnect_tcp_SOURCES = \
607  test_transport_api_disconnect.c
608 test_transport_api_disconnect_tcp_LDADD = \
609  $(top_builddir)/src/transport/libgnunettransport.la \
610  $(top_builddir)/src/hello/libgnunethello.la \
611  $(top_builddir)/src/statistics/libgnunetstatistics.la \
612  $(top_builddir)/src/util/libgnunetutil.la \
613  $(top_builddir)/src/transport/libgnunettransporttesting.la
614
615 test_transport_startonly_SOURCES = \
616  test_transport_startonly.c
617 test_transport_startonly_LDADD = \
618  $(top_builddir)/src/transport/libgnunettransport.la \
619  $(top_builddir)/src/hello/libgnunethello.la \
620  $(top_builddir)/src/statistics/libgnunetstatistics.la \
621  $(top_builddir)/src/util/libgnunetutil.la \
622  $(top_builddir)/src/transport/libgnunettransporttesting.la
623
624 test_plugin_tcp_SOURCES = \
625  test_plugin_transport.c
626 test_plugin_tcp_LDADD = \
627  $(top_builddir)/src/transport/libgnunettransport.la \
628  $(top_builddir)/src/statistics/libgnunetstatistics.la \
629  $(top_builddir)/src/hello/libgnunethello.la \
630  $(top_builddir)/src/util/libgnunetutil.la  \
631  $(top_builddir)/src/transport/libgnunettransporttesting.la
632
633 test_plugin_udp_SOURCES = \
634  test_plugin_transport.c
635 test_plugin_udp_LDADD = \
636  $(top_builddir)/src/transport/libgnunettransport.la \
637  $(top_builddir)/src/statistics/libgnunetstatistics.la \
638  $(top_builddir)/src/hello/libgnunethello.la \
639  $(top_builddir)/src/util/libgnunetutil.la  \
640  $(top_builddir)/src/transport/libgnunettransporttesting.la
641
642 test_plugin_unix_SOURCES = \
643  test_plugin_transport.c
644 test_plugin_unix_LDADD = \
645  $(top_builddir)/src/transport/libgnunettransport.la \
646  $(top_builddir)/src/statistics/libgnunetstatistics.la \
647  $(top_builddir)/src/hello/libgnunethello.la \
648  $(top_builddir)/src/util/libgnunetutil.la  \
649  $(top_builddir)/src/transport/libgnunettransporttesting.la
650
651 test_plugin_wlan_SOURCES = \
652  test_plugin_transport.c
653 test_plugin_wlan_LDADD = \
654  $(top_builddir)/src/transport/libgnunettransport.la \
655  $(top_builddir)/src/statistics/libgnunetstatistics.la \
656  $(top_builddir)/src/hello/libgnunethello.la \
657  $(top_builddir)/src/util/libgnunetutil.la  \
658  $(top_builddir)/src/transport/libgnunettransporttesting.la
659
660 test_plugin_bluetooth_SOURCES = \
661  test_plugin_transport.c
662 test_plugin_bluetooth_LDADD = \
663  $(top_builddir)/src/transport/libgnunettransport.la \
664  $(top_builddir)/src/statistics/libgnunetstatistics.la \
665  $(top_builddir)/src/hello/libgnunethello.la \
666  $(top_builddir)/src/util/libgnunetutil.la  \
667  $(top_builddir)/src/transport/libgnunettransporttesting.la
668
669 test_http_common_SOURCES = \
670  test_http_common.c plugin_transport_http_common.c
671 test_http_common_LDADD = \
672  $(top_builddir)/src/transport/libgnunettransport.la \
673  $(top_builddir)/src/statistics/libgnunetstatistics.la \
674  $(top_builddir)/src/hello/libgnunethello.la \
675  $(top_builddir)/src/util/libgnunetutil.la  \
676  $(top_builddir)/src/transport/libgnunettransporttesting.la
677
678 test_plugin_http_server_SOURCES = \
679  test_plugin_transport.c
680 test_plugin_http_server_LDADD = \
681  $(top_builddir)/src/transport/libgnunettransport.la \
682  $(top_builddir)/src/statistics/libgnunetstatistics.la \
683  $(top_builddir)/src/hello/libgnunethello.la \
684  $(top_builddir)/src/util/libgnunetutil.la  \
685  $(top_builddir)/src/transport/libgnunettransporttesting.la
686
687 test_plugin_https_server_SOURCES = \
688  test_plugin_transport.c
689 test_plugin_https_server_LDADD = \
690  $(top_builddir)/src/transport/libgnunettransport.la \
691  $(top_builddir)/src/statistics/libgnunetstatistics.la \
692  $(top_builddir)/src/hello/libgnunethello.la \
693  $(top_builddir)/src/util/libgnunetutil.la  \
694  $(top_builddir)/src/transport/libgnunettransporttesting.la
695
696 test_plugin_http_client_SOURCES = \
697  test_plugin_transport.c
698 test_plugin_http_client_LDADD = \
699  $(top_builddir)/src/transport/libgnunettransport.la \
700  $(top_builddir)/src/statistics/libgnunetstatistics.la \
701  $(top_builddir)/src/hello/libgnunethello.la \
702  $(top_builddir)/src/util/libgnunetutil.la  \
703  $(top_builddir)/src/transport/libgnunettransporttesting.la
704
705 test_plugin_https_client_SOURCES = \
706  test_plugin_transport.c
707 test_plugin_https_client_LDADD = \
708  $(top_builddir)/src/transport/libgnunettransport.la \
709  $(top_builddir)/src/statistics/libgnunetstatistics.la \
710  $(top_builddir)/src/hello/libgnunethello.la \
711  $(top_builddir)/src/util/libgnunetutil.la  \
712  $(top_builddir)/src/transport/libgnunettransporttesting.la
713
714 test_transport_api_tcp_SOURCES = \
715  test_transport_api.c
716 test_transport_api_tcp_LDADD = \
717  $(top_builddir)/src/transport/libgnunettransport.la \
718  $(top_builddir)/src/hello/libgnunethello.la \
719  $(top_builddir)/src/util/libgnunetutil.la  \
720  $(top_builddir)/src/transport/libgnunettransporttesting.la
721
722 test_transport_api_bidirectional_connect_SOURCES = \
723  test_transport_api_bidirectional_connect.c
724 test_transport_api_bidirectional_connect_LDADD = \
725  $(top_builddir)/src/transport/libgnunettransport.la \
726  $(top_builddir)/src/hello/libgnunethello.la \
727  $(top_builddir)/src/util/libgnunetutil.la  \
728  $(top_builddir)/src/transport/libgnunettransporttesting.la
729
730 test_transport_api_restart_1peer_SOURCES = \
731  test_transport_api_restart_1peer.c
732 test_transport_api_restart_1peer_LDADD = \
733  $(top_builddir)/src/transport/libgnunettransport.la \
734  $(top_builddir)/src/hello/libgnunethello.la \
735  $(top_builddir)/src/statistics/libgnunetstatistics.la \
736  $(top_builddir)/src/util/libgnunetutil.la \
737  $(top_builddir)/src/transport/libgnunettransporttesting.la
738
739 test_transport_api_restart_2peers_SOURCES = \
740  test_transport_api_restart_2peers.c
741 test_transport_api_restart_2peers_LDADD = \
742  $(top_builddir)/src/transport/libgnunettransport.la \
743  $(top_builddir)/src/hello/libgnunethello.la \
744  $(top_builddir)/src/statistics/libgnunetstatistics.la \
745  $(top_builddir)/src/util/libgnunetutil.la \
746  $(top_builddir)/src/transport/libgnunettransporttesting.la
747
748 test_transport_api_limited_sockets_tcp_SOURCES = \
749  test_transport_api_limited_sockets.c
750 test_transport_api_limited_sockets_tcp_LDADD = \
751  $(top_builddir)/src/transport/libgnunettransport.la \
752  $(top_builddir)/src/hello/libgnunethello.la \
753  $(top_builddir)/src/util/libgnunetutil.la  \
754  $(top_builddir)/src/transport/libgnunettransporttesting.la
755
756 test_transport_api_tcp_nat_SOURCES = \
757  test_transport_api.c
758 test_transport_api_tcp_nat_LDADD = \
759  $(top_builddir)/src/transport/libgnunettransport.la \
760  $(top_builddir)/src/hello/libgnunethello.la \
761  $(top_builddir)/src/util/libgnunetutil.la \
762  $(top_builddir)/src/transport/libgnunettransporttesting.la
763
764 test_transport_api_manipulation_send_tcp_SOURCES = \
765  test_transport_api_manipulation_send_tcp.c
766 test_transport_api_manipulation_send_tcp_LDADD = \
767  $(top_builddir)/src/transport/libgnunettransport.la \
768  $(top_builddir)/src/hello/libgnunethello.la \
769  $(top_builddir)/src/util/libgnunetutil.la \
770  $(top_builddir)/src/transport/libgnunettransporttesting.la
771
772 test_transport_api_manipulation_recv_tcp_SOURCES = \
773  test_transport_api_manipulation_recv_tcp.c
774 test_transport_api_manipulation_recv_tcp_LDADD = \
775  $(top_builddir)/src/transport/libgnunettransport.la \
776  $(top_builddir)/src/hello/libgnunethello.la \
777  $(top_builddir)/src/util/libgnunetutil.la \
778  $(top_builddir)/src/transport/libgnunettransporttesting.la
779
780 test_transport_api_manipulation_cfg_SOURCES = \
781  test_transport_api_manipulation_cfg.c
782 test_transport_api_manipulation_cfg_LDADD = \
783  $(top_builddir)/src/transport/libgnunettransport.la \
784  $(top_builddir)/src/hello/libgnunethello.la \
785  $(top_builddir)/src/util/libgnunetutil.la \
786  $(top_builddir)/src/transport/libgnunettransporttesting.la
787
788 test_transport_api_reliability_tcp_SOURCES = \
789  test_transport_api_reliability.c
790 test_transport_api_reliability_tcp_LDADD = \
791  $(top_builddir)/src/transport/libgnunettransport.la \
792  $(top_builddir)/src/hello/libgnunethello.la \
793  $(top_builddir)/src/util/libgnunetutil.la \
794  $(top_builddir)/src/transport/libgnunettransporttesting.la
795
796 test_transport_api_timeout_tcp_SOURCES = \
797  test_transport_api_timeout.c
798 test_transport_api_timeout_tcp_LDADD = \
799  $(top_builddir)/src/transport/libgnunettransport.la \
800  $(top_builddir)/src/hello/libgnunethello.la \
801  $(top_builddir)/src/util/libgnunetutil.la \
802  $(top_builddir)/src/transport/libgnunettransporttesting.la
803
804 test_transport_api_timeout_unix_SOURCES = \
805  test_transport_api_timeout.c
806 test_transport_api_timeout_unix_LDADD = \
807  $(top_builddir)/src/transport/libgnunettransport.la \
808  $(top_builddir)/src/hello/libgnunethello.la \
809  $(top_builddir)/src/util/libgnunetutil.la \
810  $(top_builddir)/src/transport/libgnunettransporttesting.la
811
812 test_transport_api_timeout_wlan_SOURCES = \
813  test_transport_api_timeout.c
814 test_transport_api_timeout_wlan_LDADD = \
815  $(top_builddir)/src/transport/libgnunettransport.la \
816  $(top_builddir)/src/hello/libgnunethello.la \
817  $(top_builddir)/src/util/libgnunetutil.la \
818  $(top_builddir)/src/transport/libgnunettransporttesting.la
819
820 test_transport_api_timeout_bluetooth_SOURCES = \
821  test_transport_api_timeout.c
822 test_transport_api_timeout_bluetooth_LDADD = \
823  $(top_builddir)/src/transport/libgnunettransport.la \
824  $(top_builddir)/src/hello/libgnunethello.la \
825  $(top_builddir)/src/util/libgnunetutil.la \
826  $(top_builddir)/src/transport/libgnunettransporttesting.la
827
828 test_transport_api_reliability_tcp_nat_SOURCES = \
829  test_transport_api_reliability.c
830 test_transport_api_reliability_tcp_nat_LDADD = \
831  $(top_builddir)/src/transport/libgnunettransport.la \
832  $(top_builddir)/src/hello/libgnunethello.la \
833  $(top_builddir)/src/util/libgnunetutil.la \
834  $(top_builddir)/src/transport/libgnunettransporttesting.la
835
836 test_transport_api_reliability_wlan_SOURCES = \
837  test_transport_api_reliability.c
838 test_transport_api_reliability_wlan_LDADD = \
839  $(top_builddir)/src/transport/libgnunettransport.la \
840  $(top_builddir)/src/hello/libgnunethello.la \
841  $(top_builddir)/src/util/libgnunetutil.la \
842  $(top_builddir)/src/transport/libgnunettransporttesting.la
843
844 test_transport_api_reliability_bluetooth_SOURCES = \
845  test_transport_api_reliability.c
846 test_transport_api_reliability_bluetooth_LDADD = \
847  $(top_builddir)/src/transport/libgnunettransport.la \
848  $(top_builddir)/src/hello/libgnunethello.la \
849  $(top_builddir)/src/util/libgnunetutil.la \
850  $(top_builddir)/src/transport/libgnunettransporttesting.la
851
852 test_transport_api_unreliability_wlan_SOURCES = \
853  test_transport_api_unreliability.c
854 test_transport_api_unreliability_wlan_LDADD = \
855  $(top_builddir)/src/transport/libgnunettransport.la \
856  $(top_builddir)/src/hello/libgnunethello.la \
857  $(top_builddir)/src/util/libgnunetutil.la \
858  $(top_builddir)/src/transport/libgnunettransporttesting.la
859
860 test_transport_api_unreliability_bluetooth_SOURCES = \
861  test_transport_api_unreliability.c
862 test_transport_api_unreliability_bluetooth_LDADD = \
863  $(top_builddir)/src/transport/libgnunettransport.la \
864  $(top_builddir)/src/hello/libgnunethello.la \
865  $(top_builddir)/src/util/libgnunetutil.la \
866  $(top_builddir)/src/transport/libgnunettransporttesting.la
867
868 test_transport_api_udp_SOURCES = \
869  test_transport_api.c
870 test_transport_api_udp_LDADD = \
871  $(top_builddir)/src/transport/libgnunettransport.la \
872  $(top_builddir)/src/hello/libgnunethello.la \
873  $(top_builddir)/src/util/libgnunetutil.la  \
874  $(top_builddir)/src/transport/libgnunettransporttesting.la
875
876 test_transport_api_timeout_udp_SOURCES = \
877  test_transport_api_timeout.c
878 test_transport_api_timeout_udp_LDADD = \
879  $(top_builddir)/src/transport/libgnunettransport.la \
880  $(top_builddir)/src/hello/libgnunethello.la \
881  $(top_builddir)/src/util/libgnunetutil.la \
882  $(top_builddir)/src/transport/libgnunettransporttesting.la
883
884 test_transport_api_udp_nat_SOURCES = \
885  test_transport_api.c
886 test_transport_api_udp_nat_LDADD = \
887  $(top_builddir)/src/transport/libgnunettransport.la \
888  $(top_builddir)/src/hello/libgnunethello.la \
889  $(top_builddir)/src/util/libgnunetutil.la  \
890  $(top_builddir)/src/transport/libgnunettransporttesting.la
891
892 test_transport_api_unix_SOURCES = \
893  test_transport_api.c
894 test_transport_api_unix_LDADD = \
895  $(top_builddir)/src/transport/libgnunettransport.la \
896  $(top_builddir)/src/hello/libgnunethello.la \
897  $(top_builddir)/src/util/libgnunetutil.la \
898  $(top_builddir)/src/transport/libgnunettransporttesting.la
899
900 test_transport_api_unix_abstract_SOURCES = \
901  test_transport_api.c
902 test_transport_api_unix_abstract_LDADD = \
903  $(top_builddir)/src/transport/libgnunettransport.la \
904  $(top_builddir)/src/hello/libgnunethello.la \
905  $(top_builddir)/src/util/libgnunetutil.la \
906  $(top_builddir)/src/transport/libgnunettransporttesting.la
907
908 # HTTP tests
909 test_transport_api_http_SOURCES = \
910  test_transport_api.c
911 test_transport_api_http_LDADD = \
912  $(top_builddir)/src/transport/libgnunettransport.la \
913  $(top_builddir)/src/hello/libgnunethello.la \
914  $(top_builddir)/src/util/libgnunetutil.la \
915  $(top_builddir)/src/transport/libgnunettransporttesting.la
916
917 test_transport_api_http_reverse_SOURCES = \
918  test_transport_api.c
919 test_transport_api_http_reverse_LDADD = \
920  $(top_builddir)/src/transport/libgnunettransport.la \
921  $(top_builddir)/src/hello/libgnunethello.la \
922  $(top_builddir)/src/util/libgnunetutil.la \
923  $(top_builddir)/src/transport/libgnunettransporttesting.la
924
925 test_transport_api_timeout_http_SOURCES = \
926  test_transport_api_timeout.c
927 test_transport_api_timeout_http_LDADD = \
928  $(top_builddir)/src/transport/libgnunettransport.la \
929  $(top_builddir)/src/hello/libgnunethello.la \
930  $(top_builddir)/src/util/libgnunetutil.la \
931  $(top_builddir)/src/transport/libgnunettransporttesting.la
932
933 test_transport_api_reliability_http_SOURCES = \
934  test_transport_api_reliability.c
935 test_transport_api_reliability_http_LDADD = \
936  $(top_builddir)/src/transport/libgnunettransport.la \
937  $(top_builddir)/src/hello/libgnunethello.la \
938  $(top_builddir)/src/util/libgnunetutil.la \
939  $(top_builddir)/src/transport/libgnunettransporttesting.la
940
941 test_quota_compliance_http_SOURCES = \
942  test_quota_compliance.c
943 test_quota_compliance_http_LDADD = \
944  $(top_builddir)/src/transport/libgnunettransport.la \
945  $(top_builddir)/src/hello/libgnunethello.la \
946  $(top_builddir)/src/util/libgnunetutil.la \
947  $(top_builddir)/src/transport/libgnunettransporttesting.la
948
949 test_quota_compliance_http_asymmetric_SOURCES = \
950  test_quota_compliance.c
951 test_quota_compliance_http_asymmetric_LDADD = \
952  $(top_builddir)/src/transport/libgnunettransport.la \
953  $(top_builddir)/src/hello/libgnunethello.la \
954  $(top_builddir)/src/util/libgnunetutil.la \
955  $(top_builddir)/src/transport/libgnunettransporttesting.la
956
957 test_quota_compliance_https_SOURCES = \
958  test_quota_compliance.c
959 test_quota_compliance_https_LDADD = \
960  $(top_builddir)/src/transport/libgnunettransport.la \
961  $(top_builddir)/src/hello/libgnunethello.la \
962  $(top_builddir)/src/util/libgnunetutil.la \
963  $(top_builddir)/src/transport/libgnunettransporttesting.la
964
965 test_quota_compliance_https_asymmetric_SOURCES = \
966  test_quota_compliance.c
967 test_quota_compliance_https_asymmetric_LDADD = \
968  $(top_builddir)/src/transport/libgnunettransport.la \
969  $(top_builddir)/src/hello/libgnunethello.la \
970  $(top_builddir)/src/util/libgnunetutil.la \
971  $(top_builddir)/src/transport/libgnunettransporttesting.la
972
973 # HTTPS tests
974 test_transport_api_https_SOURCES = \
975  test_transport_api.c
976 test_transport_api_https_LDADD = \
977  $(top_builddir)/src/transport/libgnunettransport.la \
978  $(top_builddir)/src/hello/libgnunethello.la \
979  $(top_builddir)/src/util/libgnunetutil.la  \
980  $(top_builddir)/src/transport/libgnunettransporttesting.la
981
982 test_transport_api_timeout_https_SOURCES = \
983  test_transport_api_timeout.c
984 test_transport_api_timeout_https_LDADD = \
985  $(top_builddir)/src/transport/libgnunettransport.la \
986  $(top_builddir)/src/hello/libgnunethello.la \
987  $(top_builddir)/src/util/libgnunetutil.la \
988  $(top_builddir)/src/transport/libgnunettransporttesting.la
989
990
991 test_transport_api_reliability_https_SOURCES = \
992  test_transport_api_reliability.c
993 test_transport_api_reliability_https_LDADD = \
994  $(top_builddir)/src/transport/libgnunettransport.la \
995  $(top_builddir)/src/hello/libgnunethello.la \
996  $(top_builddir)/src/util/libgnunetutil.la \
997  $(top_builddir)/src/transport/libgnunettransporttesting.la
998
999 test_transport_api_unreliability_unix_SOURCES = \
1000  test_transport_api_unreliability.c
1001 test_transport_api_unreliability_unix_LDADD = \
1002  $(top_builddir)/src/transport/libgnunettransport.la \
1003  $(top_builddir)/src/hello/libgnunethello.la \
1004  $(top_builddir)/src/util/libgnunetutil.la \
1005  $(top_builddir)/src/transport/libgnunettransporttesting.la
1006
1007 test_transport_api_unreliability_udp_SOURCES = \
1008  test_transport_api_unreliability.c
1009 test_transport_api_unreliability_udp_LDADD = \
1010  $(top_builddir)/src/transport/libgnunettransport.la \
1011  $(top_builddir)/src/hello/libgnunethello.la \
1012  $(top_builddir)/src/util/libgnunetutil.la \
1013  $(top_builddir)/src/transport/libgnunettransporttesting.la
1014
1015 test_transport_api_unreliability_constant_udp_SOURCES = \
1016  test_transport_api_unreliability_constant.c
1017 test_transport_api_unreliability_constant_udp_LDADD = \
1018  $(top_builddir)/src/transport/libgnunettransport.la \
1019  $(top_builddir)/src/hello/libgnunethello.la \
1020  $(top_builddir)/src/util/libgnunetutil.la \
1021  $(top_builddir)/src/transport/libgnunettransporttesting.la
1022
1023 if LINUX
1024 test_transport_api_wlan_SOURCES = \
1025  test_transport_api.c
1026 test_transport_api_wlan_LDADD = \
1027  $(top_builddir)/src/transport/libgnunettransport.la \
1028  $(top_builddir)/src/hello/libgnunethello.la \
1029  $(top_builddir)/src/util/libgnunetutil.la \
1030  $(top_builddir)/src/transport/libgnunettransporttesting.la
1031 endif
1032
1033 if LINUX
1034 if HAVE_LIBBLUETOOTH
1035 test_transport_api_bluetooth_SOURCES = \
1036  test_transport_api.c
1037 test_transport_api_bluetooth_LDADD = \
1038  $(top_builddir)/src/transport/libgnunettransport.la \
1039  $(top_builddir)/src/hello/libgnunethello.la \
1040  $(top_builddir)/src/util/libgnunetutil.la \
1041  $(top_builddir)/src/transport/libgnunettransporttesting.la
1042 endif
1043 endif
1044
1045 test_quota_compliance_tcp_SOURCES = \
1046  test_quota_compliance.c
1047 test_quota_compliance_tcp_LDADD = \
1048  $(top_builddir)/src/transport/libgnunettransport.la \
1049  $(top_builddir)/src/hello/libgnunethello.la \
1050  $(top_builddir)/src/util/libgnunetutil.la \
1051  $(top_builddir)/src/transport/libgnunettransporttesting.la
1052
1053 test_quota_compliance_tcp_asymmetric_SOURCES = \
1054  test_quota_compliance.c
1055 test_quota_compliance_tcp_asymmetric_LDADD = \
1056  $(top_builddir)/src/transport/libgnunettransport.la \
1057  $(top_builddir)/src/hello/libgnunethello.la \
1058  $(top_builddir)/src/util/libgnunetutil.la \
1059  $(top_builddir)/src/transport/libgnunettransporttesting.la
1060
1061 test_quota_compliance_udp_SOURCES = \
1062  test_quota_compliance.c
1063 test_quota_compliance_udp_LDADD = \
1064  $(top_builddir)/src/transport/libgnunettransport.la \
1065  $(top_builddir)/src/hello/libgnunethello.la \
1066  $(top_builddir)/src/util/libgnunetutil.la \
1067  $(top_builddir)/src/transport/libgnunettransporttesting.la
1068
1069 test_quota_compliance_unix_SOURCES = \
1070  test_quota_compliance.c
1071 test_quota_compliance_unix_LDADD = \
1072  $(top_builddir)/src/transport/libgnunettransport.la \
1073  $(top_builddir)/src/hello/libgnunethello.la \
1074  $(top_builddir)/src/util/libgnunetutil.la \
1075  $(top_builddir)/src/transport/libgnunettransporttesting.la
1076
1077 test_quota_compliance_unix_asymmetric_SOURCES = \
1078  test_quota_compliance.c
1079 test_quota_compliance_unix_asymmetric_LDADD = \
1080  $(top_builddir)/src/transport/libgnunettransport.la \
1081  $(top_builddir)/src/hello/libgnunethello.la \
1082  $(top_builddir)/src/util/libgnunetutil.la \
1083  $(top_builddir)/src/transport/libgnunettransporttesting.la
1084
1085 test_quota_compliance_wlan_SOURCES = \
1086  test_quota_compliance.c
1087 test_quota_compliance_wlan_LDADD = \
1088  $(top_builddir)/src/transport/libgnunettransport.la \
1089  $(top_builddir)/src/hello/libgnunethello.la \
1090  $(top_builddir)/src/util/libgnunetutil.la \
1091  $(top_builddir)/src/transport/libgnunettransporttesting.la
1092
1093 test_quota_compliance_wlan_asymmetric_SOURCES = \
1094  test_quota_compliance.c
1095 test_quota_compliance_wlan_asymmetric_LDADD = \
1096  $(top_builddir)/src/transport/libgnunettransport.la \
1097  $(top_builddir)/src/hello/libgnunethello.la \
1098  $(top_builddir)/src/util/libgnunetutil.la \
1099  $(top_builddir)/src/transport/libgnunettransporttesting.la
1100
1101 test_quota_compliance_bluetooth_SOURCES = \
1102  test_quota_compliance.c
1103 test_quota_compliance_bluetooth_LDADD = \
1104  $(top_builddir)/src/nat/libgnunetnat.la \
1105  $(top_builddir)/src/transport/libgnunettransport.la \
1106  $(top_builddir)/src/hello/libgnunethello.la \
1107  $(top_builddir)/src/util/libgnunetutil.la \
1108  $(top_builddir)/src/transport/libgnunettransporttesting.la
1109
1110 test_quota_compliance_bluetooth_asymmetric_SOURCES = \
1111  test_quota_compliance.c
1112 test_quota_compliance_bluetooth_asymmetric_LDADD = \
1113  $(top_builddir)/src/transport/libgnunettransport.la \
1114  $(top_builddir)/src/hello/libgnunethello.la \
1115  $(top_builddir)/src/util/libgnunetutil.la \
1116  $(top_builddir)/src/transport/libgnunettransporttesting.la
1117
1118 test_transport_api_multi_SOURCES = \
1119  test_transport_api.c
1120 test_transport_api_multi_LDADD = \
1121  $(top_builddir)/src/transport/libgnunettransport.la \
1122  $(top_builddir)/src/hello/libgnunethello.la \
1123  $(top_builddir)/src/util/libgnunetutil.la \
1124  $(top_builddir)/src/transport/libgnunettransporttesting.la
1125
1126 test_transport_api_monitoring_SOURCES = \
1127  test_transport_api_monitoring.c
1128 test_transport_api_monitoring_LDADD = \
1129  $(top_builddir)/src/transport/libgnunettransport.la \
1130  $(top_builddir)/src/hello/libgnunethello.la \
1131  $(top_builddir)/src/util/libgnunetutil.la \
1132  $(top_builddir)/src/transport/libgnunettransporttesting.la
1133
1134 test_transport_api_monitoring_validation_SOURCES = \
1135  test_transport_api_monitoring_validation.c
1136 test_transport_api_monitoring_validation_LDADD = \
1137  $(top_builddir)/src/transport/libgnunettransport.la \
1138  $(top_builddir)/src/hello/libgnunethello.la \
1139  $(top_builddir)/src/util/libgnunetutil.la \
1140  $(top_builddir)/src/transport/libgnunettransporttesting.la
1141
1142
1143 EXTRA_DIST = \
1144 test_plugin_hostkey \
1145 test_plugin_hostkey.ecc \
1146 template_cfg_peer1.conf\
1147 template_cfg_peer2.conf\
1148 test_plugin_transport_data.conf\
1149 test_plugin_transport_data_udp.conf\
1150 test_quota_compliance_data.conf\
1151 test_quota_compliance_http_peer1.conf\
1152 test_quota_compliance_http_peer2.conf\
1153 test_quota_compliance_https_peer1.conf\
1154 test_quota_compliance_https_peer2.conf\
1155 test_quota_compliance_tcp_peer1.conf\
1156 test_quota_compliance_tcp_peer2.conf\
1157 test_quota_compliance_udp_peer1.conf\
1158 test_quota_compliance_udp_peer2.conf\
1159 test_quota_compliance_unix_peer1.conf\
1160 test_quota_compliance_unix_peer2.conf\
1161 test_quota_compliance_wlan_peer1.conf\
1162 test_quota_compliance_wlan_peer2.conf\
1163 test_quota_compliance_bluetooth_peer1.conf\
1164 test_quota_compliance_bluetooth_peer2.conf\
1165 test_quota_compliance_http_asymmetric_peer1.conf\
1166 test_quota_compliance_http_asymmetric_peer2.conf\
1167 test_quota_compliance_https_asymmetric_peer1.conf\
1168 test_quota_compliance_https_asymmetric_peer2.conf\
1169 test_quota_compliance_tcp_asymmetric_peer1.conf\
1170 test_quota_compliance_tcp_asymmetric_peer2.conf\
1171 test_quota_compliance_unix_asymmetric_peer1.conf\
1172 test_quota_compliance_unix_asymmetric_peer2.conf\
1173 test_quota_compliance_wlan_asymmetric_peer1.conf\
1174 test_quota_compliance_wlan_asymmetric_peer2.conf\
1175 test_quota_compliance_bluetooth_asymmetric_peer1.conf\
1176 test_quota_compliance_bluetooth_asymmetric_peer2.conf\
1177 test_transport_api_data.conf\
1178 test_transport_api_http_peer1.conf\
1179 test_transport_api_http_peer2.conf\
1180 test_transport_api_https_peer1.conf\
1181 test_transport_api_https_peer2.conf\
1182 test_transport_api_limited_sockets_tcp_peer1.conf\
1183 test_transport_api_limited_sockets_tcp_peer2.conf\
1184 test_transport_api_timeout_tcp_peer1.conf\
1185 test_transport_api_timeout_tcp_peer2.conf\
1186 test_transport_api_multi_peer1.conf\
1187 test_transport_api_multi_peer2.conf\
1188 test_transport_api_reliability_http_peer1.conf\
1189 test_transport_api_reliability_http_peer2.conf\
1190 test_transport_api_reliability_https_peer1.conf\
1191 test_transport_api_reliability_https_peer2.conf\
1192 test_transport_api_reliability_tcp_nat_peer1.conf\
1193 test_transport_api_reliability_tcp_nat_peer2.conf\
1194 test_transport_api_reliability_tcp_peer1.conf\
1195 test_transport_api_reliability_tcp_peer2.conf\
1196 test_transport_api_reliability_wlan_peer1.conf\
1197 test_transport_api_reliability_wlan_peer2.conf\
1198 test_transport_api_reliability_bluetooth_peer1.conf\
1199 test_transport_api_reliability_bluetooth_peer2.conf\
1200 test_transport_api_bidirectional_connect_peer1.conf\
1201 test_transport_api_bidirectional_connect_peer2.conf\
1202 test_transport_api_manipulation_send_tcp_peer1.conf\
1203 test_transport_api_manipulation_send_tcp_peer2.conf\
1204 test_transport_api_manipulation_recv_tcp_peer1.conf\
1205 test_transport_api_manipulation_recv_tcp_peer2.conf\
1206 test_transport_api_manipulation_cfg_peer1.conf\
1207 test_transport_api_manipulation_cfg_peer2.conf\
1208 test_transport_api_tcp_nat_peer1.conf\
1209 test_transport_api_tcp_nat_peer2.conf\
1210 test_transport_api_tcp_peer1.conf\
1211 test_transport_api_tcp_peer2.conf\
1212 test_transport_api_udp_nat_peer1.conf\
1213 test_transport_api_udp_nat_peer2.conf\
1214 test_transport_api_udp_peer1.conf\
1215 test_transport_api_udp_peer2.conf\
1216 test_transport_api_timeout_udp_peer1.conf\
1217 test_transport_api_timeout_udp_peer2.conf\
1218 test_transport_api_unix_peer1.conf\
1219 test_transport_api_unix_peer2.conf\
1220 test_transport_api_unix_abstract_peer1.conf \
1221 test_transport_api_unix_abstract_peer2.conf \
1222 test_transport_api_timeout_unix_peer1.conf\
1223 test_transport_api_timeout_unix_peer2.conf\
1224 test_transport_api_timeout_wlan_peer1.conf \
1225 test_transport_api_timeout_wlan_peer2.conf \
1226 test_transport_api_timeout_bluetooth_peer1.conf\
1227 test_transport_api_timeout_bluetooth_peer2.conf\
1228 test_transport_api_unreliability_udp_peer1.conf\
1229 test_transport_api_unreliability_udp_peer2.conf\
1230 test_transport_api_unreliability_unix_peer1.conf\
1231 test_transport_api_unreliability_unix_peer2.conf\
1232 test_transport_api_unreliability_wlan_peer1.conf\
1233 test_transport_api_unreliability_wlan_peer2.conf\
1234 test_transport_api_unreliability_bluetooth_peer1.conf\
1235 test_transport_api_unreliability_bluetooth_peer2.conf\
1236 test_transport_api_wlan_peer1.conf\
1237 test_transport_api_wlan_peer2.conf\
1238 test_transport_api_bluetooth_peer1.conf\
1239 test_transport_api_bluetooth_peer2.conf\
1240 test_transport_api_monitoring_peer1.conf\
1241 test_transport_api_monitoring_peer2.conf\
1242 test_transport_api_monitoring_validation_peer1.conf\
1243 test_transport_api_monitoring_validation_peer2.conf\
1244 test_transport_defaults.conf\
1245 test_transport_startonly.conf\
1246 test_transport_api_disconnect_tcp_peer1.conf\
1247 test_transport_api_disconnect_tcp_peer2.conf\
1248 test_transport_api_timeout_http_peer1.conf\
1249 test_transport_api_timeout_http_peer2.conf\
1250 test_transport_api_timeout_https_peer1.conf\
1251 test_transport_api_timeout_https_peer2.conf\
1252 test_transport_api_unreliability_constant_udp_peer1.conf\
1253 test_transport_api_unreliability_constant_udp_peer2.conf\
1254 test_transport_blacklisting_cfg_peer1.conf \
1255 test_transport_blacklisting_cfg_peer2.conf \
1256 test_transport_blacklisting_cfg_blp_peer1_full.conf\
1257 test_transport_blacklisting_cfg_blp_peer1_plugin.conf \
1258 test_transport_blacklisting_cfg_blp_peer2_full.conf\
1259 test_transport_blacklisting_cfg_blp_peer2_plugin.conf \
1260 test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf \
1261 test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf \
1262 test_transport_api_http_reverse_peer1.conf \
1263 test_transport_api_http_reverse_peer2.conf