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