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