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