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