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