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