-fix time assertion introduce in last patch
[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
280 libgnunet_plugin_transport_bluetooth_la_SOURCES = \
281   plugin_transport_bluetooth.c plugin_transport_wlan.h
282 libgnunet_plugin_transport_bluetooth_la_LIBADD = \
283   $(top_builddir)/src/hello/libgnunethello.la \
284   $(top_builddir)/src/statistics/libgnunetstatistics.la \
285   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
286   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
287   $(top_builddir)/src/util/libgnunetutil.la
288 libgnunet_plugin_transport_bluetooth_la_LDFLAGS = \
289   $(GN_PLUGIN_LDFLAGS)
290
291 libgnunet_plugin_transport_udp_la_SOURCES = \
292   plugin_transport_udp.c plugin_transport_udp.h \
293   plugin_transport_udp_broadcasting.c
294 libgnunet_plugin_transport_udp_la_LIBADD = \
295   $(top_builddir)/src/hello/libgnunethello.la \
296   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
297   $(top_builddir)/src/statistics/libgnunetstatistics.la \
298   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
299   $(top_builddir)/src/nat/libgnunetnat.la \
300   $(top_builddir)/src/util/libgnunetutil.la \
301   $(LTLIBINTL)
302 libgnunet_plugin_transport_udp_la_LDFLAGS = \
303  $(GN_PLUGIN_LDFLAGS)
304
305 libgnunet_plugin_transport_unix_la_SOURCES = \
306   plugin_transport_unix.c
307 libgnunet_plugin_transport_unix_la_LIBADD = \
308   $(top_builddir)/src/hello/libgnunethello.la \
309   $(top_builddir)/src/statistics/libgnunetstatistics.la \
310   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
311   $(top_builddir)/src/util/libgnunetutil.la \
312   $(LTLIBINTL)
313 libgnunet_plugin_transport_unix_la_LDFLAGS = \
314  $(GN_PLUGIN_LDFLAGS)
315
316
317 libgnunet_plugin_transport_http_client_la_SOURCES = \
318   plugin_transport_http_client.c plugin_transport_http_common.c plugin_transport_http_common.h
319 libgnunet_plugin_transport_http_client_la_LIBADD = \
320   $(top_builddir)/src/hello/libgnunethello.la \
321   $(top_builddir)/src/statistics/libgnunetstatistics.la \
322   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
323   @LIBGNURL@ \
324   $(top_builddir)/src/nat/libgnunetnat.la \
325   $(top_builddir)/src/util/libgnunetutil.la
326 libgnunet_plugin_transport_http_client_la_LDFLAGS = \
327  $(GN_PLUGIN_LDFLAGS)
328 libgnunet_plugin_transport_http_client_la_CFLAGS = \
329  $(CFLAGS)
330 libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
331  @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
332
333
334 libgnunet_plugin_transport_http_server_la_SOURCES = \
335   plugin_transport_http_server.c plugin_transport_http_common.c
336 libgnunet_plugin_transport_http_server_la_LIBADD = \
337   $(top_builddir)/src/hello/libgnunethello.la \
338   $(top_builddir)/src/statistics/libgnunetstatistics.la \
339   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
340   $(top_builddir)/src/nat/libgnunetnat.la \
341   $(top_builddir)/src/util/libgnunetutil.la
342 libgnunet_plugin_transport_http_server_la_LDFLAGS = \
343  $(GN_LIBMHD) \
344  $(GN_PLUGIN_LDFLAGS)
345 libgnunet_plugin_transport_http_server_la_CFLAGS = \
346  $(CFLAGS)
347
348 libgnunet_plugin_transport_https_client_la_SOURCES = \
349   plugin_transport_http_client.c plugin_transport_http_common.c
350 libgnunet_plugin_transport_https_client_la_LIBADD = \
351   $(top_builddir)/src/hello/libgnunethello.la \
352   $(top_builddir)/src/statistics/libgnunetstatistics.la \
353   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
354   @LIBGNURL@ \
355   $(top_builddir)/src/nat/libgnunetnat.la \
356   $(top_builddir)/src/util/libgnunetutil.la
357 libgnunet_plugin_transport_https_client_la_LDFLAGS = \
358  $(GN_PLUGIN_LDFLAGS)
359 libgnunet_plugin_transport_https_client_la_CFLAGS = \
360  $(CFLAGS) -DBUILD_HTTPS
361 libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
362  @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
363
364
365 libgnunet_plugin_transport_https_server_la_SOURCES = \
366   plugin_transport_http_server.c plugin_transport_http_common.c
367 libgnunet_plugin_transport_https_server_la_LIBADD = \
368   $(top_builddir)/src/hello/libgnunethello.la \
369   $(top_builddir)/src/statistics/libgnunetstatistics.la \
370   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
371   $(top_builddir)/src/nat/libgnunetnat.la \
372   $(top_builddir)/src/util/libgnunetutil.la
373 libgnunet_plugin_transport_https_server_la_LDFLAGS = \
374  $(GN_LIBMHD) \
375  $(GN_PLUGIN_LDFLAGS)
376 libgnunet_plugin_transport_https_server_la_CFLAGS = \
377  $(CFLAGS) -DBUILD_HTTPS
378
379
380 if HAVE_TESTING
381 check_PROGRAMS = \
382  test_transport_testing_startstop \
383  test_transport_testing_restart \
384  test_transport_testing \
385  test_transport_startonly \
386  test_plugin_tcp \
387  test_plugin_udp \
388  $(UNIX_TEST) \
389  $(WLAN_PLUGIN_TEST) \
390  $(BT_PLUGIN_TEST) \
391  test_http_common \
392  $(HTTP_CLIENT_PLUGIN_TEST) \
393  $(HTTPS_CLIENT_PLUGIN_TEST) \
394  $(HTTP_SERVER_PLUGIN_TEST) \
395  $(HTTPS_SERVER_PLUGIN_TEST) \
396  test_transport_api_blacklisting \
397  test_transport_api_disconnect_tcp \
398  test_transport_api_bidirectional_connect \
399  test_transport_api_tcp \
400  test_transport_api_restart_1peer \
401  test_transport_api_restart_2peers \
402  test_transport_api_timeout_tcp \
403  test_transport_address_switch_tcp \
404  test_transport_api_limited_sockets_tcp \
405  test_transport_api_tcp_nat \
406  test_transport_api_udp \
407  test_transport_api_timeout_udp \
408  test_transport_address_switch_udp \
409  $(UNIX_PLUGIN_TEST) \
410  $(UNIX_PLUGIN_TIMEOUT_TEST) \
411  $(UNIX_API_ABSTRACT_TEST) \
412  test_transport_api_udp_nat \
413  $(HTTP_API_TEST) \
414  $(HTTP_REVERSE_API_TEST) \
415  $(HTTP_API_TIMEOUT_TEST) \
416  $(HTTP_SWITCH) \
417  $(HTTPS_API_TEST) \
418  $(HTTPS_API_TIMEOUT_TEST) \
419  $(HTTPS_SWITCH) \
420  $(WLAN_API_TEST) \
421  $(WLAN_TIMEOUT_TEST) \
422  $(BT_API_TEST) \
423  $(BT_TIMEOUT_TEST) \
424  test_transport_api_multi \
425  test_transport_api_monitoring \
426  test_transport_api_monitoring_validation \
427  test_transport_blacklisting_no_bl \
428  test_transport_blacklisting_outbound_bl_full \
429  test_transport_blacklisting_outbound_bl_plugin \
430  test_transport_blacklisting_inbound_bl_plugin \
431  test_transport_blacklisting_inbound_bl_full \
432  test_transport_blacklisting_multiple_plugins \
433  test_transport_api_manipulation_send_tcp \
434  test_transport_api_manipulation_recv_tcp \
435  test_transport_api_manipulation_cfg \
436  test_transport_api_reliability_tcp \
437  test_transport_api_reliability_tcp_nat \
438  test_transport_api_reliability_udp \
439  $(UNIX_REL_TEST) \
440  $(HTTP_REL_TEST) \
441  $(HTTPS_REL_TEST) \
442  $(WLAN_REL_TEST) \
443  $(WLAN_UREL_TEST) \
444  $(BT_REL_TEST) \
445  $(BT_UREL_TEST) \
446  test_quota_compliance_tcp \
447  test_quota_compliance_tcp_asymmetric \
448  test_quota_compliance_udp \
449  $(UNIX_QUOTA_TEST) \
450  $(HTTP_QUOTA_TEST) \
451  $(HTTPS_QUOTA_TEST) \
452  $(WLAN_QUOTA_TEST) \
453  $(BT_QUOTA_TEST)
454 endif
455
456 if ENABLE_TEST_RUN
457 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
458 TESTS = \
459  test_transport_testing_startstop \
460  test_transport_testing_restart \
461  test_transport_testing \
462  test_transport_startonly \
463  test_plugin_tcp \
464  test_plugin_udp \
465  $(UNIX_TEST) \
466  $(WLAN_PLUGIN_TEST) \
467  $(BT_PLUGIN_TEST) \
468  test_transport_api_blacklisting \
469  test_transport_api_disconnect_tcp \
470  test_transport_api_bidirectional_connect \
471  test_transport_api_tcp \
472  test_transport_api_restart_1peer \
473  test_transport_api_restart_2peers \
474  test_transport_api_timeout_tcp \
475  test_transport_api_limited_sockets_tcp \
476  test_transport_api_tcp_nat \
477  test_transport_address_switch_tcp \
478  test_transport_api_udp \
479  test_transport_api_timeout_udp \
480  test_transport_address_switch_udp \
481  $(UNIX_PLUGIN_TEST) \
482  $(UNIX_PLUGIN_TIMEOUT_TEST) \
483  $(UNIX_API_ABSTRACT_TEST) \
484  test_transport_api_udp_nat \
485  $(HTTP_API_TEST) \
486  $(HTTP_API_TIMEOUT_TEST) \
487  $(HTTP_SWITCH) \
488  $(HTTPS_API_TEST) \
489  $(HTTPS_API_TIMEOUT_TEST) \
490  $(HTTPS_SWITCH) \
491  $(WLAN_API_TEST) \
492  $(WLAN_TIMEOUT_TEST) \
493  $(BT_API_TEST) \
494  $(BT_TIMEOUT_TEST) \
495  test_transport_api_multi \
496  test_transport_api_monitoring \
497  test_transport_api_monitoring_validation \
498  test_transport_blacklisting_no_bl \
499  test_transport_blacklisting_outbound_bl_full \
500  test_transport_blacklisting_outbound_bl_plugin \
501  test_transport_blacklisting_inbound_bl_plugin \
502  test_transport_blacklisting_inbound_bl_full \
503  test_transport_blacklisting_multiple_plugins \
504  test_transport_api_manipulation_send_tcp \
505  test_transport_api_manipulation_recv_tcp \
506  test_transport_api_manipulation_cfg \
507  test_transport_api_reliability_tcp \
508  test_transport_api_reliability_tcp_nat \
509  test_transport_api_reliability_udp \
510  $(UNIX_REL_TEST) \
511  $(HTTP_REL_TEST) \
512  $(HTTPS_REL_TEST) \
513  $(WLAN_REL_TEST) \
514  $(WLAN_UREL_TEST) \
515  $(BT_REL_TEST) \
516  $(BT_UREL_TEST) \
517  test_quota_compliance_tcp \
518  test_quota_compliance_tcp_asymmetric \
519  test_quota_compliance_udp \
520  $(UNIX_QUOTA_TEST) \
521  $(HTTP_QUOTA_TEST) \
522  $(HTTPS_QUOTA_TEST)
523 endif
524
525 test_transport_testing_startstop_SOURCES = \
526  test_transport_testing_startstop.c
527 test_transport_testing_startstop_LDADD = \
528  $(top_builddir)/src/util/libgnunetutil.la \
529  $(top_builddir)/src/transport/libgnunettransport.la \
530  $(top_builddir)/src/hello/libgnunethello.la \
531  $(top_builddir)/src/transport/libgnunettransporttesting.la
532
533 test_transport_testing_restart_SOURCES = \
534  test_transport_testing_restart.c
535 test_transport_testing_restart_LDADD = \
536  $(top_builddir)/src/util/libgnunetutil.la \
537  $(top_builddir)/src/transport/libgnunettransport.la \
538  $(top_builddir)/src/hello/libgnunethello.la \
539  $(top_builddir)/src/transport/libgnunettransporttesting.la
540
541 test_transport_testing_SOURCES = \
542  test_transport_testing.c
543 test_transport_testing_LDADD = \
544  $(top_builddir)/src/util/libgnunetutil.la \
545  $(top_builddir)/src/transport/libgnunettransport.la \
546  $(top_builddir)/src/hello/libgnunethello.la \
547  $(top_builddir)/src/transport/libgnunettransporttesting.la
548
549 test_transport_api_blacklisting_SOURCES = \
550  test_transport_api_blacklisting.c
551 test_transport_api_blacklisting_LDADD = \
552  $(top_builddir)/src/transport/libgnunettransport.la \
553  $(top_builddir)/src/hello/libgnunethello.la \
554  $(top_builddir)/src/statistics/libgnunetstatistics.la \
555  $(top_builddir)/src/util/libgnunetutil.la \
556  $(top_builddir)/src/transport/libgnunettransporttesting.la
557
558 test_transport_blacklisting_no_bl_SOURCES = \
559  test_transport_blacklisting.c
560 test_transport_blacklisting_no_bl_LDADD = \
561  $(top_builddir)/src/transport/libgnunettransport.la \
562  $(top_builddir)/src/hello/libgnunethello.la \
563  $(top_builddir)/src/statistics/libgnunetstatistics.la \
564  $(top_builddir)/src/util/libgnunetutil.la \
565  $(top_builddir)/src/transport/libgnunettransporttesting.la
566
567 test_transport_blacklisting_outbound_bl_full_SOURCES = \
568  test_transport_blacklisting.c
569 test_transport_blacklisting_outbound_bl_full_LDADD = \
570  $(top_builddir)/src/transport/libgnunettransport.la \
571  $(top_builddir)/src/hello/libgnunethello.la \
572  $(top_builddir)/src/statistics/libgnunetstatistics.la \
573  $(top_builddir)/src/util/libgnunetutil.la \
574  $(top_builddir)/src/transport/libgnunettransporttesting.la
575
576 test_transport_blacklisting_outbound_bl_plugin_SOURCES = \
577  test_transport_blacklisting.c
578 test_transport_blacklisting_outbound_bl_plugin_LDADD = \
579  $(top_builddir)/src/transport/libgnunettransport.la \
580  $(top_builddir)/src/hello/libgnunethello.la \
581  $(top_builddir)/src/statistics/libgnunetstatistics.la \
582  $(top_builddir)/src/util/libgnunetutil.la \
583  $(top_builddir)/src/transport/libgnunettransporttesting.la
584
585 test_transport_blacklisting_inbound_bl_full_SOURCES = \
586  test_transport_blacklisting.c
587 test_transport_blacklisting_inbound_bl_full_LDADD = \
588  $(top_builddir)/src/transport/libgnunettransport.la \
589  $(top_builddir)/src/hello/libgnunethello.la \
590  $(top_builddir)/src/statistics/libgnunetstatistics.la \
591  $(top_builddir)/src/util/libgnunetutil.la \
592  $(top_builddir)/src/transport/libgnunettransporttesting.la
593
594 test_transport_blacklisting_inbound_bl_plugin_SOURCES = \
595  test_transport_blacklisting.c
596 test_transport_blacklisting_inbound_bl_plugin_LDADD = \
597  $(top_builddir)/src/transport/libgnunettransport.la \
598  $(top_builddir)/src/hello/libgnunethello.la \
599  $(top_builddir)/src/statistics/libgnunetstatistics.la \
600  $(top_builddir)/src/util/libgnunetutil.la \
601  $(top_builddir)/src/transport/libgnunettransporttesting.la
602
603 test_transport_blacklisting_multiple_plugins_SOURCES = \
604  test_transport_blacklisting.c
605 test_transport_blacklisting_multiple_plugins_LDADD = \
606  $(top_builddir)/src/transport/libgnunettransport.la \
607  $(top_builddir)/src/hello/libgnunethello.la \
608  $(top_builddir)/src/statistics/libgnunetstatistics.la \
609  $(top_builddir)/src/util/libgnunetutil.la \
610  $(top_builddir)/src/transport/libgnunettransporttesting.la
611
612
613 test_transport_api_disconnect_tcp_SOURCES = \
614  test_transport_api_disconnect.c
615 test_transport_api_disconnect_tcp_LDADD = \
616  $(top_builddir)/src/transport/libgnunettransport.la \
617  $(top_builddir)/src/hello/libgnunethello.la \
618  $(top_builddir)/src/statistics/libgnunetstatistics.la \
619  $(top_builddir)/src/util/libgnunetutil.la \
620  $(top_builddir)/src/transport/libgnunettransporttesting.la
621
622 test_transport_startonly_SOURCES = \
623  test_transport_startonly.c
624 test_transport_startonly_LDADD = \
625  $(top_builddir)/src/transport/libgnunettransport.la \
626  $(top_builddir)/src/hello/libgnunethello.la \
627  $(top_builddir)/src/statistics/libgnunetstatistics.la \
628  $(top_builddir)/src/util/libgnunetutil.la \
629  $(top_builddir)/src/transport/libgnunettransporttesting.la
630
631 test_plugin_tcp_SOURCES = \
632  test_plugin_transport.c
633 test_plugin_tcp_LDADD = \
634  $(top_builddir)/src/transport/libgnunettransport.la \
635  $(top_builddir)/src/statistics/libgnunetstatistics.la \
636  $(top_builddir)/src/hello/libgnunethello.la \
637  $(top_builddir)/src/util/libgnunetutil.la  \
638  $(top_builddir)/src/transport/libgnunettransporttesting.la
639
640 test_plugin_udp_SOURCES = \
641  test_plugin_transport.c
642 test_plugin_udp_LDADD = \
643  $(top_builddir)/src/transport/libgnunettransport.la \
644  $(top_builddir)/src/statistics/libgnunetstatistics.la \
645  $(top_builddir)/src/hello/libgnunethello.la \
646  $(top_builddir)/src/util/libgnunetutil.la  \
647  $(top_builddir)/src/transport/libgnunettransporttesting.la
648
649 test_plugin_unix_SOURCES = \
650  test_plugin_transport.c
651 test_plugin_unix_LDADD = \
652  $(top_builddir)/src/transport/libgnunettransport.la \
653  $(top_builddir)/src/statistics/libgnunetstatistics.la \
654  $(top_builddir)/src/hello/libgnunethello.la \
655  $(top_builddir)/src/util/libgnunetutil.la  \
656  $(top_builddir)/src/transport/libgnunettransporttesting.la
657
658 test_plugin_wlan_SOURCES = \
659  test_plugin_transport.c
660 test_plugin_wlan_LDADD = \
661  $(top_builddir)/src/transport/libgnunettransport.la \
662  $(top_builddir)/src/statistics/libgnunetstatistics.la \
663  $(top_builddir)/src/hello/libgnunethello.la \
664  $(top_builddir)/src/util/libgnunetutil.la  \
665  $(top_builddir)/src/transport/libgnunettransporttesting.la
666
667 test_plugin_bluetooth_SOURCES = \
668  test_plugin_transport.c
669 test_plugin_bluetooth_LDADD = \
670  $(top_builddir)/src/transport/libgnunettransport.la \
671  $(top_builddir)/src/statistics/libgnunetstatistics.la \
672  $(top_builddir)/src/hello/libgnunethello.la \
673  $(top_builddir)/src/util/libgnunetutil.la  \
674  $(top_builddir)/src/transport/libgnunettransporttesting.la
675
676 test_http_common_SOURCES = \
677  test_http_common.c plugin_transport_http_common.c
678 test_http_common_LDADD = \
679  $(top_builddir)/src/transport/libgnunettransport.la \
680  $(top_builddir)/src/statistics/libgnunetstatistics.la \
681  $(top_builddir)/src/hello/libgnunethello.la \
682  $(top_builddir)/src/util/libgnunetutil.la  \
683  $(top_builddir)/src/transport/libgnunettransporttesting.la
684
685 test_plugin_http_server_SOURCES = \
686  test_plugin_transport.c
687 test_plugin_http_server_LDADD = \
688  $(top_builddir)/src/transport/libgnunettransport.la \
689  $(top_builddir)/src/statistics/libgnunetstatistics.la \
690  $(top_builddir)/src/hello/libgnunethello.la \
691  $(top_builddir)/src/util/libgnunetutil.la  \
692  $(top_builddir)/src/transport/libgnunettransporttesting.la
693
694 test_plugin_https_server_SOURCES = \
695  test_plugin_transport.c
696 test_plugin_https_server_LDADD = \
697  $(top_builddir)/src/transport/libgnunettransport.la \
698  $(top_builddir)/src/statistics/libgnunetstatistics.la \
699  $(top_builddir)/src/hello/libgnunethello.la \
700  $(top_builddir)/src/util/libgnunetutil.la  \
701  $(top_builddir)/src/transport/libgnunettransporttesting.la
702
703 test_plugin_http_client_SOURCES = \
704  test_plugin_transport.c
705 test_plugin_http_client_LDADD = \
706  $(top_builddir)/src/transport/libgnunettransport.la \
707  $(top_builddir)/src/statistics/libgnunetstatistics.la \
708  $(top_builddir)/src/hello/libgnunethello.la \
709  $(top_builddir)/src/util/libgnunetutil.la  \
710  $(top_builddir)/src/transport/libgnunettransporttesting.la
711
712 test_plugin_https_client_SOURCES = \
713  test_plugin_transport.c
714 test_plugin_https_client_LDADD = \
715  $(top_builddir)/src/transport/libgnunettransport.la \
716  $(top_builddir)/src/statistics/libgnunetstatistics.la \
717  $(top_builddir)/src/hello/libgnunethello.la \
718  $(top_builddir)/src/util/libgnunetutil.la  \
719  $(top_builddir)/src/transport/libgnunettransporttesting.la
720
721 test_transport_api_tcp_SOURCES = \
722  test_transport_api.c
723 test_transport_api_tcp_LDADD = \
724  $(top_builddir)/src/transport/libgnunettransport.la \
725  $(top_builddir)/src/hello/libgnunethello.la \
726  $(top_builddir)/src/util/libgnunetutil.la  \
727  $(top_builddir)/src/transport/libgnunettransporttesting.la
728
729 test_transport_api_bidirectional_connect_SOURCES = \
730  test_transport_api_bidirectional_connect.c
731 test_transport_api_bidirectional_connect_LDADD = \
732  $(top_builddir)/src/transport/libgnunettransport.la \
733  $(top_builddir)/src/hello/libgnunethello.la \
734  $(top_builddir)/src/util/libgnunetutil.la  \
735  $(top_builddir)/src/transport/libgnunettransporttesting.la
736
737 test_transport_api_restart_1peer_SOURCES = \
738  test_transport_api_restart_1peer.c
739 test_transport_api_restart_1peer_LDADD = \
740  $(top_builddir)/src/transport/libgnunettransport.la \
741  $(top_builddir)/src/hello/libgnunethello.la \
742  $(top_builddir)/src/statistics/libgnunetstatistics.la \
743  $(top_builddir)/src/util/libgnunetutil.la \
744  $(top_builddir)/src/transport/libgnunettransporttesting.la
745
746 test_transport_api_restart_2peers_SOURCES = \
747  test_transport_api_restart_2peers.c
748 test_transport_api_restart_2peers_LDADD = \
749  $(top_builddir)/src/transport/libgnunettransport.la \
750  $(top_builddir)/src/hello/libgnunethello.la \
751  $(top_builddir)/src/statistics/libgnunetstatistics.la \
752  $(top_builddir)/src/util/libgnunetutil.la \
753  $(top_builddir)/src/transport/libgnunettransporttesting.la
754
755 test_transport_api_limited_sockets_tcp_SOURCES = \
756  test_transport_api_limited_sockets.c
757 test_transport_api_limited_sockets_tcp_LDADD = \
758  $(top_builddir)/src/transport/libgnunettransport.la \
759  $(top_builddir)/src/hello/libgnunethello.la \
760  $(top_builddir)/src/util/libgnunetutil.la  \
761  $(top_builddir)/src/transport/libgnunettransporttesting.la
762
763 test_transport_api_tcp_nat_SOURCES = \
764  test_transport_api.c
765 test_transport_api_tcp_nat_LDADD = \
766  $(top_builddir)/src/transport/libgnunettransport.la \
767  $(top_builddir)/src/hello/libgnunethello.la \
768  $(top_builddir)/src/util/libgnunetutil.la \
769  $(top_builddir)/src/transport/libgnunettransporttesting.la
770
771 test_transport_api_manipulation_send_tcp_SOURCES = \
772  test_transport_api_manipulation_send_tcp.c
773 test_transport_api_manipulation_send_tcp_LDADD = \
774  $(top_builddir)/src/transport/libgnunettransport.la \
775  $(top_builddir)/src/hello/libgnunethello.la \
776  $(top_builddir)/src/util/libgnunetutil.la \
777  $(top_builddir)/src/transport/libgnunettransporttesting.la
778
779 test_transport_api_manipulation_recv_tcp_SOURCES = \
780  test_transport_api_manipulation_recv_tcp.c
781 test_transport_api_manipulation_recv_tcp_LDADD = \
782  $(top_builddir)/src/transport/libgnunettransport.la \
783  $(top_builddir)/src/hello/libgnunethello.la \
784  $(top_builddir)/src/util/libgnunetutil.la \
785  $(top_builddir)/src/transport/libgnunettransporttesting.la
786
787 test_transport_api_manipulation_cfg_SOURCES = \
788  test_transport_api_manipulation_cfg.c
789 test_transport_api_manipulation_cfg_LDADD = \
790  $(top_builddir)/src/transport/libgnunettransport.la \
791  $(top_builddir)/src/hello/libgnunethello.la \
792  $(top_builddir)/src/util/libgnunetutil.la \
793  $(top_builddir)/src/transport/libgnunettransporttesting.la
794
795 test_transport_api_reliability_tcp_SOURCES = \
796  test_transport_api_reliability.c
797 test_transport_api_reliability_tcp_LDADD = \
798  $(top_builddir)/src/transport/libgnunettransport.la \
799  $(top_builddir)/src/hello/libgnunethello.la \
800  $(top_builddir)/src/util/libgnunetutil.la \
801  $(top_builddir)/src/transport/libgnunettransporttesting.la
802
803 test_transport_api_timeout_tcp_SOURCES = \
804  test_transport_api_timeout.c
805 test_transport_api_timeout_tcp_LDADD = \
806  $(top_builddir)/src/transport/libgnunettransport.la \
807  $(top_builddir)/src/hello/libgnunethello.la \
808  $(top_builddir)/src/util/libgnunetutil.la \
809  $(top_builddir)/src/transport/libgnunettransporttesting.la
810
811 test_transport_api_timeout_unix_SOURCES = \
812  test_transport_api_timeout.c
813 test_transport_api_timeout_unix_LDADD = \
814  $(top_builddir)/src/transport/libgnunettransport.la \
815  $(top_builddir)/src/hello/libgnunethello.la \
816  $(top_builddir)/src/util/libgnunetutil.la \
817  $(top_builddir)/src/transport/libgnunettransporttesting.la
818
819 test_transport_api_timeout_wlan_SOURCES = \
820  test_transport_api_timeout.c
821 test_transport_api_timeout_wlan_LDADD = \
822  $(top_builddir)/src/transport/libgnunettransport.la \
823  $(top_builddir)/src/hello/libgnunethello.la \
824  $(top_builddir)/src/util/libgnunetutil.la \
825  $(top_builddir)/src/transport/libgnunettransporttesting.la
826
827 test_transport_api_timeout_bluetooth_SOURCES = \
828  test_transport_api_timeout.c
829 test_transport_api_timeout_bluetooth_LDADD = \
830  $(top_builddir)/src/transport/libgnunettransport.la \
831  $(top_builddir)/src/hello/libgnunethello.la \
832  $(top_builddir)/src/util/libgnunetutil.la \
833  $(top_builddir)/src/transport/libgnunettransporttesting.la
834
835 test_transport_api_reliability_tcp_nat_SOURCES = \
836  test_transport_api_reliability.c
837 test_transport_api_reliability_tcp_nat_LDADD = \
838  $(top_builddir)/src/transport/libgnunettransport.la \
839  $(top_builddir)/src/hello/libgnunethello.la \
840  $(top_builddir)/src/util/libgnunetutil.la \
841  $(top_builddir)/src/transport/libgnunettransporttesting.la
842
843 test_transport_api_reliability_bluetooth_SOURCES = \
844  test_transport_api_reliability.c
845 test_transport_api_reliability_bluetooth_LDADD = \
846  $(top_builddir)/src/transport/libgnunettransport.la \
847  $(top_builddir)/src/hello/libgnunethello.la \
848  $(top_builddir)/src/util/libgnunetutil.la \
849  $(top_builddir)/src/transport/libgnunettransporttesting.la
850
851 test_transport_api_reliability_wlan_SOURCES = \
852  test_transport_api_reliability.c
853 test_transport_api_reliability_wlan_LDADD = \
854  $(top_builddir)/src/transport/libgnunettransport.la \
855  $(top_builddir)/src/hello/libgnunethello.la \
856  $(top_builddir)/src/util/libgnunetutil.la \
857  $(top_builddir)/src/transport/libgnunettransporttesting.la
858
859 test_transport_api_udp_SOURCES = \
860  test_transport_api.c
861 test_transport_api_udp_LDADD = \
862  $(top_builddir)/src/transport/libgnunettransport.la \
863  $(top_builddir)/src/hello/libgnunethello.la \
864  $(top_builddir)/src/util/libgnunetutil.la  \
865  $(top_builddir)/src/transport/libgnunettransporttesting.la
866
867 test_transport_api_timeout_udp_SOURCES = \
868  test_transport_api_timeout.c
869 test_transport_api_timeout_udp_LDADD = \
870  $(top_builddir)/src/transport/libgnunettransport.la \
871  $(top_builddir)/src/hello/libgnunethello.la \
872  $(top_builddir)/src/util/libgnunetutil.la \
873  $(top_builddir)/src/transport/libgnunettransporttesting.la
874
875 test_transport_api_udp_nat_SOURCES = \
876  test_transport_api.c
877 test_transport_api_udp_nat_LDADD = \
878  $(top_builddir)/src/transport/libgnunettransport.la \
879  $(top_builddir)/src/hello/libgnunethello.la \
880  $(top_builddir)/src/util/libgnunetutil.la  \
881  $(top_builddir)/src/transport/libgnunettransporttesting.la
882
883 test_transport_api_unix_SOURCES = \
884  test_transport_api.c
885 test_transport_api_unix_LDADD = \
886  $(top_builddir)/src/transport/libgnunettransport.la \
887  $(top_builddir)/src/hello/libgnunethello.la \
888  $(top_builddir)/src/util/libgnunetutil.la \
889  $(top_builddir)/src/transport/libgnunettransporttesting.la
890
891 test_transport_api_unix_abstract_SOURCES = \
892  test_transport_api.c
893 test_transport_api_unix_abstract_LDADD = \
894  $(top_builddir)/src/transport/libgnunettransport.la \
895  $(top_builddir)/src/hello/libgnunethello.la \
896  $(top_builddir)/src/util/libgnunetutil.la \
897  $(top_builddir)/src/transport/libgnunettransporttesting.la
898
899 # HTTP tests
900 test_transport_api_http_SOURCES = \
901  test_transport_api.c
902 test_transport_api_http_LDADD = \
903  $(top_builddir)/src/transport/libgnunettransport.la \
904  $(top_builddir)/src/hello/libgnunethello.la \
905  $(top_builddir)/src/util/libgnunetutil.la \
906  $(top_builddir)/src/transport/libgnunettransporttesting.la
907
908 test_transport_api_http_reverse_SOURCES = \
909  test_transport_api.c
910 test_transport_api_http_reverse_LDADD = \
911  $(top_builddir)/src/transport/libgnunettransport.la \
912  $(top_builddir)/src/hello/libgnunethello.la \
913  $(top_builddir)/src/util/libgnunetutil.la \
914  $(top_builddir)/src/transport/libgnunettransporttesting.la
915
916 test_transport_api_timeout_http_SOURCES = \
917  test_transport_api_timeout.c
918 test_transport_api_timeout_http_LDADD = \
919  $(top_builddir)/src/transport/libgnunettransport.la \
920  $(top_builddir)/src/hello/libgnunethello.la \
921  $(top_builddir)/src/util/libgnunetutil.la \
922  $(top_builddir)/src/transport/libgnunettransporttesting.la
923
924 test_transport_api_reliability_http_SOURCES = \
925  test_transport_api_reliability.c
926 test_transport_api_reliability_http_LDADD = \
927  $(top_builddir)/src/transport/libgnunettransport.la \
928  $(top_builddir)/src/hello/libgnunethello.la \
929  $(top_builddir)/src/util/libgnunetutil.la \
930  $(top_builddir)/src/transport/libgnunettransporttesting.la
931
932 test_quota_compliance_http_SOURCES = \
933  test_quota_compliance.c
934 test_quota_compliance_http_LDADD = \
935  $(top_builddir)/src/transport/libgnunettransport.la \
936  $(top_builddir)/src/hello/libgnunethello.la \
937  $(top_builddir)/src/util/libgnunetutil.la \
938  $(top_builddir)/src/transport/libgnunettransporttesting.la
939
940 test_quota_compliance_http_asymmetric_SOURCES = \
941  test_quota_compliance.c
942 test_quota_compliance_http_asymmetric_LDADD = \
943  $(top_builddir)/src/transport/libgnunettransport.la \
944  $(top_builddir)/src/hello/libgnunethello.la \
945  $(top_builddir)/src/util/libgnunetutil.la \
946  $(top_builddir)/src/transport/libgnunettransporttesting.la
947
948 test_quota_compliance_https_SOURCES = \
949  test_quota_compliance.c
950 test_quota_compliance_https_LDADD = \
951  $(top_builddir)/src/transport/libgnunettransport.la \
952  $(top_builddir)/src/hello/libgnunethello.la \
953  $(top_builddir)/src/util/libgnunetutil.la \
954  $(top_builddir)/src/transport/libgnunettransporttesting.la
955
956 test_quota_compliance_https_asymmetric_SOURCES = \
957  test_quota_compliance.c
958 test_quota_compliance_https_asymmetric_LDADD = \
959  $(top_builddir)/src/transport/libgnunettransport.la \
960  $(top_builddir)/src/hello/libgnunethello.la \
961  $(top_builddir)/src/util/libgnunetutil.la \
962  $(top_builddir)/src/transport/libgnunettransporttesting.la
963
964 # HTTPS tests
965 test_transport_api_https_SOURCES = \
966  test_transport_api.c
967 test_transport_api_https_LDADD = \
968  $(top_builddir)/src/transport/libgnunettransport.la \
969  $(top_builddir)/src/hello/libgnunethello.la \
970  $(top_builddir)/src/util/libgnunetutil.la  \
971  $(top_builddir)/src/transport/libgnunettransporttesting.la
972
973 test_transport_api_timeout_https_SOURCES = \
974  test_transport_api_timeout.c
975 test_transport_api_timeout_https_LDADD = \
976  $(top_builddir)/src/transport/libgnunettransport.la \
977  $(top_builddir)/src/hello/libgnunethello.la \
978  $(top_builddir)/src/util/libgnunetutil.la \
979  $(top_builddir)/src/transport/libgnunettransporttesting.la
980
981
982 test_transport_api_reliability_https_SOURCES = \
983  test_transport_api_reliability.c
984 test_transport_api_reliability_https_LDADD = \
985  $(top_builddir)/src/transport/libgnunettransport.la \
986  $(top_builddir)/src/hello/libgnunethello.la \
987  $(top_builddir)/src/util/libgnunetutil.la \
988  $(top_builddir)/src/transport/libgnunettransporttesting.la
989
990 test_transport_api_reliability_unix_SOURCES = \
991  test_transport_api_reliability.c
992 test_transport_api_reliability_unix_LDADD = \
993  $(top_builddir)/src/transport/libgnunettransport.la \
994  $(top_builddir)/src/hello/libgnunethello.la \
995  $(top_builddir)/src/util/libgnunetutil.la \
996  $(top_builddir)/src/transport/libgnunettransporttesting.la
997
998 test_transport_api_reliability_udp_SOURCES = \
999  test_transport_api_reliability.c
1000 test_transport_api_reliability_udp_LDADD = \
1001  $(top_builddir)/src/transport/libgnunettransport.la \
1002  $(top_builddir)/src/hello/libgnunethello.la \
1003  $(top_builddir)/src/util/libgnunetutil.la \
1004  $(top_builddir)/src/transport/libgnunettransporttesting.la
1005
1006 if LINUX
1007 test_transport_api_wlan_SOURCES = \
1008  test_transport_api.c
1009 test_transport_api_wlan_LDADD = \
1010  $(top_builddir)/src/transport/libgnunettransport.la \
1011  $(top_builddir)/src/hello/libgnunethello.la \
1012  $(top_builddir)/src/util/libgnunetutil.la \
1013  $(top_builddir)/src/transport/libgnunettransporttesting.la
1014 endif
1015
1016 if LINUX
1017 if HAVE_LIBBLUETOOTH
1018 test_transport_api_bluetooth_SOURCES = \
1019  test_transport_api.c
1020 test_transport_api_bluetooth_LDADD = \
1021  $(top_builddir)/src/transport/libgnunettransport.la \
1022  $(top_builddir)/src/hello/libgnunethello.la \
1023  $(top_builddir)/src/util/libgnunetutil.la \
1024  $(top_builddir)/src/transport/libgnunettransporttesting.la
1025 endif
1026 endif
1027
1028 test_transport_address_switch_tcp_SOURCES = \
1029  test_transport_address_switch.c
1030 test_transport_address_switch_tcp_LDADD = \
1031  $(top_builddir)/src/transport/libgnunettransport.la \
1032  $(top_builddir)/src/hello/libgnunethello.la \
1033  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1034  $(top_builddir)/src/util/libgnunetutil.la \
1035  $(top_builddir)/src/transport/libgnunettransporttesting.la
1036
1037  test_transport_address_switch_udp_SOURCES = \
1038  test_transport_address_switch.c
1039 test_transport_address_switch_udp_LDADD = \
1040  $(top_builddir)/src/transport/libgnunettransport.la \
1041  $(top_builddir)/src/hello/libgnunethello.la \
1042  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1043  $(top_builddir)/src/util/libgnunetutil.la \
1044  $(top_builddir)/src/transport/libgnunettransporttesting.la
1045
1046
1047  test_transport_address_switch_http_SOURCES = \
1048  test_transport_address_switch.c
1049 test_transport_address_switch_http_LDADD = \
1050  $(top_builddir)/src/transport/libgnunettransport.la \
1051  $(top_builddir)/src/hello/libgnunethello.la \
1052  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1053  $(top_builddir)/src/util/libgnunetutil.la \
1054  $(top_builddir)/src/transport/libgnunettransporttesting.la
1055
1056  test_transport_address_switch_https_SOURCES = \
1057  test_transport_address_switch.c
1058 test_transport_address_switch_https_LDADD = \
1059  $(top_builddir)/src/transport/libgnunettransport.la \
1060  $(top_builddir)/src/hello/libgnunethello.la \
1061  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1062  $(top_builddir)/src/util/libgnunetutil.la \
1063  $(top_builddir)/src/transport/libgnunettransporttesting.la
1064
1065 test_quota_compliance_tcp_SOURCES = \
1066  test_quota_compliance.c
1067 test_quota_compliance_tcp_LDADD = \
1068  $(top_builddir)/src/transport/libgnunettransport.la \
1069  $(top_builddir)/src/hello/libgnunethello.la \
1070  $(top_builddir)/src/util/libgnunetutil.la \
1071  $(top_builddir)/src/transport/libgnunettransporttesting.la
1072
1073 test_quota_compliance_tcp_asymmetric_SOURCES = \
1074  test_quota_compliance.c
1075 test_quota_compliance_tcp_asymmetric_LDADD = \
1076  $(top_builddir)/src/transport/libgnunettransport.la \
1077  $(top_builddir)/src/hello/libgnunethello.la \
1078  $(top_builddir)/src/util/libgnunetutil.la \
1079  $(top_builddir)/src/transport/libgnunettransporttesting.la
1080
1081 test_quota_compliance_udp_SOURCES = \
1082  test_quota_compliance.c
1083 test_quota_compliance_udp_LDADD = \
1084  $(top_builddir)/src/transport/libgnunettransport.la \
1085  $(top_builddir)/src/hello/libgnunethello.la \
1086  $(top_builddir)/src/util/libgnunetutil.la \
1087  $(top_builddir)/src/transport/libgnunettransporttesting.la
1088
1089 test_quota_compliance_unix_SOURCES = \
1090  test_quota_compliance.c
1091 test_quota_compliance_unix_LDADD = \
1092  $(top_builddir)/src/transport/libgnunettransport.la \
1093  $(top_builddir)/src/hello/libgnunethello.la \
1094  $(top_builddir)/src/util/libgnunetutil.la \
1095  $(top_builddir)/src/transport/libgnunettransporttesting.la
1096
1097 test_quota_compliance_unix_asymmetric_SOURCES = \
1098  test_quota_compliance.c
1099 test_quota_compliance_unix_asymmetric_LDADD = \
1100  $(top_builddir)/src/transport/libgnunettransport.la \
1101  $(top_builddir)/src/hello/libgnunethello.la \
1102  $(top_builddir)/src/util/libgnunetutil.la \
1103  $(top_builddir)/src/transport/libgnunettransporttesting.la
1104
1105 test_quota_compliance_wlan_SOURCES = \
1106  test_quota_compliance.c
1107 test_quota_compliance_wlan_LDADD = \
1108  $(top_builddir)/src/transport/libgnunettransport.la \
1109  $(top_builddir)/src/hello/libgnunethello.la \
1110  $(top_builddir)/src/util/libgnunetutil.la \
1111  $(top_builddir)/src/transport/libgnunettransporttesting.la
1112
1113 test_quota_compliance_wlan_asymmetric_SOURCES = \
1114  test_quota_compliance.c
1115 test_quota_compliance_wlan_asymmetric_LDADD = \
1116  $(top_builddir)/src/transport/libgnunettransport.la \
1117  $(top_builddir)/src/hello/libgnunethello.la \
1118  $(top_builddir)/src/util/libgnunetutil.la \
1119  $(top_builddir)/src/transport/libgnunettransporttesting.la
1120
1121 test_quota_compliance_bluetooth_SOURCES = \
1122  test_quota_compliance.c
1123 test_quota_compliance_bluetooth_LDADD = \
1124  $(top_builddir)/src/nat/libgnunetnat.la \
1125  $(top_builddir)/src/transport/libgnunettransport.la \
1126  $(top_builddir)/src/hello/libgnunethello.la \
1127  $(top_builddir)/src/util/libgnunetutil.la \
1128  $(top_builddir)/src/transport/libgnunettransporttesting.la
1129
1130 test_quota_compliance_bluetooth_asymmetric_SOURCES = \
1131  test_quota_compliance.c
1132 test_quota_compliance_bluetooth_asymmetric_LDADD = \
1133  $(top_builddir)/src/transport/libgnunettransport.la \
1134  $(top_builddir)/src/hello/libgnunethello.la \
1135  $(top_builddir)/src/util/libgnunetutil.la \
1136  $(top_builddir)/src/transport/libgnunettransporttesting.la
1137
1138 test_transport_api_multi_SOURCES = \
1139  test_transport_api.c
1140 test_transport_api_multi_LDADD = \
1141  $(top_builddir)/src/transport/libgnunettransport.la \
1142  $(top_builddir)/src/hello/libgnunethello.la \
1143  $(top_builddir)/src/util/libgnunetutil.la \
1144  $(top_builddir)/src/transport/libgnunettransporttesting.la
1145
1146 test_transport_api_monitoring_SOURCES = \
1147  test_transport_api_monitoring.c
1148 test_transport_api_monitoring_LDADD = \
1149  $(top_builddir)/src/transport/libgnunettransport.la \
1150  $(top_builddir)/src/hello/libgnunethello.la \
1151  $(top_builddir)/src/util/libgnunetutil.la \
1152  $(top_builddir)/src/transport/libgnunettransporttesting.la
1153
1154 test_transport_api_monitoring_validation_SOURCES = \
1155  test_transport_api_monitoring_validation.c
1156 test_transport_api_monitoring_validation_LDADD = \
1157  $(top_builddir)/src/transport/libgnunettransport.la \
1158  $(top_builddir)/src/hello/libgnunethello.la \
1159  $(top_builddir)/src/util/libgnunetutil.la \
1160  $(top_builddir)/src/transport/libgnunettransporttesting.la
1161
1162
1163 EXTRA_DIST = \
1164 test_plugin_hostkey \
1165 test_plugin_hostkey.ecc \
1166 template_cfg_peer1.conf\
1167 template_cfg_peer2.conf\
1168 test_plugin_transport_data.conf\
1169 test_plugin_transport_data_udp.conf\
1170 test_quota_compliance_data.conf\
1171 test_quota_compliance_http_peer1.conf\
1172 test_quota_compliance_http_peer2.conf\
1173 test_quota_compliance_https_peer1.conf\
1174 test_quota_compliance_https_peer2.conf\
1175 test_quota_compliance_tcp_peer1.conf\
1176 test_quota_compliance_tcp_peer2.conf\
1177 test_quota_compliance_udp_peer1.conf\
1178 test_quota_compliance_udp_peer2.conf\
1179 test_quota_compliance_unix_peer1.conf\
1180 test_quota_compliance_unix_peer2.conf\
1181 test_quota_compliance_wlan_peer1.conf\
1182 test_quota_compliance_wlan_peer2.conf\
1183 test_quota_compliance_bluetooth_peer1.conf\
1184 test_quota_compliance_bluetooth_peer2.conf\
1185 test_quota_compliance_http_asymmetric_peer1.conf\
1186 test_quota_compliance_http_asymmetric_peer2.conf\
1187 test_quota_compliance_https_asymmetric_peer1.conf\
1188 test_quota_compliance_https_asymmetric_peer2.conf\
1189 test_quota_compliance_tcp_asymmetric_peer1.conf\
1190 test_quota_compliance_tcp_asymmetric_peer2.conf\
1191 test_quota_compliance_unix_asymmetric_peer1.conf\
1192 test_quota_compliance_unix_asymmetric_peer2.conf\
1193 test_quota_compliance_wlan_asymmetric_peer1.conf\
1194 test_quota_compliance_wlan_asymmetric_peer2.conf\
1195 test_quota_compliance_bluetooth_asymmetric_peer1.conf\
1196 test_quota_compliance_bluetooth_asymmetric_peer2.conf\
1197 test_transport_api_data.conf\
1198 test_transport_api_http_peer1.conf\
1199 test_transport_api_http_peer2.conf\
1200 test_transport_api_https_peer1.conf\
1201 test_transport_api_https_peer2.conf\
1202 test_transport_api_limited_sockets_tcp_peer1.conf\
1203 test_transport_api_limited_sockets_tcp_peer2.conf\
1204 test_transport_api_timeout_tcp_peer1.conf\
1205 test_transport_api_timeout_tcp_peer2.conf\
1206 test_transport_api_multi_peer1.conf\
1207 test_transport_api_multi_peer2.conf\
1208 test_transport_api_reliability_http_peer1.conf\
1209 test_transport_api_reliability_http_peer2.conf\
1210 test_transport_api_reliability_https_peer1.conf\
1211 test_transport_api_reliability_https_peer2.conf\
1212 test_transport_api_reliability_tcp_nat_peer1.conf\
1213 test_transport_api_reliability_tcp_nat_peer2.conf\
1214 test_transport_api_reliability_tcp_peer1.conf\
1215 test_transport_api_reliability_tcp_peer2.conf\
1216 test_transport_api_reliability_wlan_peer1.conf\
1217 test_transport_api_reliability_wlan_peer2.conf\
1218 test_transport_api_reliability_bluetooth_peer1.conf\
1219 test_transport_api_reliability_bluetooth_peer2.conf\
1220 test_transport_api_bidirectional_connect_peer1.conf\
1221 test_transport_api_bidirectional_connect_peer2.conf\
1222 test_transport_api_manipulation_send_tcp_peer1.conf\
1223 test_transport_api_manipulation_send_tcp_peer2.conf\
1224 test_transport_api_manipulation_recv_tcp_peer1.conf\
1225 test_transport_api_manipulation_recv_tcp_peer2.conf\
1226 test_transport_api_manipulation_cfg_peer1.conf\
1227 test_transport_api_manipulation_cfg_peer2.conf\
1228 test_transport_api_tcp_nat_peer1.conf\
1229 test_transport_api_tcp_nat_peer2.conf\
1230 test_transport_api_tcp_peer1.conf\
1231 test_transport_api_tcp_peer2.conf\
1232 test_transport_api_udp_nat_peer1.conf\
1233 test_transport_api_udp_nat_peer2.conf\
1234 test_transport_api_udp_peer1.conf\
1235 test_transport_api_udp_peer2.conf\
1236 test_transport_api_timeout_udp_peer1.conf\
1237 test_transport_api_timeout_udp_peer2.conf\
1238 test_transport_api_unix_peer1.conf\
1239 test_transport_api_unix_peer2.conf\
1240 test_transport_api_unix_abstract_peer1.conf \
1241 test_transport_api_unix_abstract_peer2.conf \
1242 test_transport_api_timeout_unix_peer1.conf\
1243 test_transport_api_timeout_unix_peer2.conf\
1244 test_transport_api_timeout_wlan_peer1.conf \
1245 test_transport_api_timeout_wlan_peer2.conf \
1246 test_transport_api_timeout_bluetooth_peer1.conf\
1247 test_transport_api_timeout_bluetooth_peer2.conf\
1248 test_transport_api_reliability_udp_peer1.conf\
1249 test_transport_api_reliability_udp_peer2.conf\
1250 test_transport_api_reliability_unix_peer1.conf\
1251 test_transport_api_reliability_unix_peer2.conf\
1252 test_transport_api_reliability_wlan_peer1.conf\
1253 test_transport_api_reliability_wlan_peer2.conf\
1254 test_transport_api_reliability_bluetooth_peer1.conf\
1255 test_transport_api_reliability_bluetooth_peer2.conf\
1256 test_transport_test_transport_address_switch_http_peer1.conf\
1257 test_transport_test_transport_address_switch_http_peer2.conf\
1258 test_transport_test_transport_address_switch_https_peer1.conf\
1259 test_transport_test_transport_address_switch_https_peer2.conf\
1260 test_transport_test_transport_address_switch_udp_peer1.conf\
1261 test_transport_test_transport_address_switch_udp_peer2.conf\
1262 test_transport_test_transport_address_switch_tcp_peer1.conf\
1263 test_transport_test_transport_address_switch_tcp_peer2.conf\
1264 test_transport_api_wlan_peer1.conf\
1265 test_transport_api_wlan_peer2.conf\
1266 test_transport_api_bluetooth_peer1.conf\
1267 test_transport_api_bluetooth_peer2.conf\
1268 test_transport_api_monitoring_peer1.conf\
1269 test_transport_api_monitoring_peer2.conf\
1270 test_transport_api_monitoring_validation_peer1.conf\
1271 test_transport_api_monitoring_validation_peer2.conf\
1272 test_transport_defaults.conf\
1273 test_transport_startonly.conf\
1274 test_transport_api_disconnect_tcp_peer1.conf\
1275 test_transport_api_disconnect_tcp_peer2.conf\
1276 test_transport_api_timeout_http_peer1.conf\
1277 test_transport_api_timeout_http_peer2.conf\
1278 test_transport_api_timeout_https_peer1.conf\
1279 test_transport_api_timeout_https_peer2.conf\
1280 test_transport_blacklisting_cfg_peer1.conf \
1281 test_transport_blacklisting_cfg_peer2.conf \
1282 test_transport_blacklisting_cfg_blp_peer1_full.conf\
1283 test_transport_blacklisting_cfg_blp_peer1_plugin.conf \
1284 test_transport_blacklisting_cfg_blp_peer2_full.conf\
1285 test_transport_blacklisting_cfg_blp_peer2_plugin.conf \
1286 test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf \
1287 test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf \
1288 test_transport_api_http_reverse_peer1.conf \
1289 test_transport_api_http_reverse_peer2.conf