d4a1001c918b7f88c9aede17a87294c257170e35
[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                  test_transport_api_reliability_http_xhr
35  HTTP_QUOTA_TEST = test_quota_compliance_http \
36                    test_quota_compliance_http_asymmetric
37  HTTP_SWITCH = test_transport_address_switch_http
38  HTTPS_API_TEST = test_transport_api_https
39  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
40  HTTPS_REL_TEST = test_transport_api_reliability_https \
41                   test_transport_api_reliability_https_xhr
42  HTTPS_QUOTA_TEST = test_quota_compliance_https \
43                 test_quota_compliance_https_asymmetric
44  HTTPS_SWITCH = test_transport_address_switch_https
45 endif
46 endif
47
48 if USE_COVERAGE
49   AM_CFLAGS = --coverage -O0
50 endif
51
52 if LINUX
53  WLAN_BIN = gnunet-helper-transport-wlan
54  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
55  WLAN_BIN_SENDER = gnunet-transport-wlan-sender
56  WLAN_BIN_RECEIVER = gnunet-transport-wlan-receiver
57  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
58  WLAN_PLUGIN_TEST = test_plugin_wlan
59  WLAN_API_TEST = test_transport_api_wlan
60  WLAN_TIMEOUT_TEST = test_transport_api_timeout_wlan
61  WLAN_REL_TEST = test_transport_api_reliability_wlan
62  WLAN_QUOTA_TEST = test_quota_compliance_wlan \
63                 test_quota_compliance_wlan_asymmetric
64 endif
65
66 if LINUX
67 install-exec-hook:
68         $(top_srcdir)/src/transport/install-wlan-helper.sh $(libexecdir) $(SUDO_BINARY) || true
69 if HAVE_LIBBLUETOOTH    
70         $(top_srcdir)/src/transport/install-bluetooth-helper.sh $(libexecdir) $(SUDO_BINARY) || true
71 endif
72 else
73 install-exec-hook:
74 endif
75
76 if LINUX
77 if HAVE_LIBBLUETOOTH
78  BT_BIN = gnunet-helper-transport-bluetooth
79  BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
80  BT_PLUGIN_TEST = test_plugin_bluetooth
81  BT_API_TEST = test_transport_api_bluetooth
82  BT_TIMEOUT_TEST = test_transport_api_timeout_bluetooth
83  BT_REL_TEST = test_transport_api_reliability_bluetooth
84  BT_QUOTA_TEST = test_quota_compliance_bluetooth \
85     test_quota_compliance_bluetooth_asymmetric
86 endif
87 else
88 if MINGW
89  BT_BIN = gnunet-helper-transport-bluetooth
90  BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
91 endif
92 endif
93
94
95
96 if !MINGW
97 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
98 UNIX_PLUGIN_TEST = test_transport_api_unix
99 UNIX_TEST = test_plugin_unix
100 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
101 UNIX_REL_TEST = test_transport_api_reliability_unix
102 UNIX_QUOTA_TEST = test_quota_compliance_unix \
103      test_quota_compliance_unix_asymmetric
104 if LINUX
105  UNIX_API_ABSTRACT_TEST = test_transport_api_unix_abstract
106 endif
107 endif
108
109 noinst_PROGRAMS = \
110  gnunet-transport-profiler \
111  $(WLAN_BIN_SENDER) \
112  $(WLAN_BIN_RECEIVER)
113
114 if HAVE_TESTING
115 TESTING_LIBS = libgnunettransporttesting.la
116 endif
117
118 lib_LTLIBRARIES = \
119   libgnunettransport.la \
120   $(TESTING_LIBS)
121
122 libgnunettransporttesting_la_SOURCES = \
123   transport-testing.c transport-testing.h
124 libgnunettransporttesting_la_LIBADD = \
125   $(top_builddir)/src/transport/libgnunettransport.la \
126   $(top_builddir)/src/hello/libgnunethello.la \
127   $(top_builddir)/src/util/libgnunetutil.la \
128   $(top_builddir)/src/testing/libgnunettesting.la \
129   $(GN_LIBINTL)
130 libgnunettransporttesting_la_DEPENDENCIES = \
131   libgnunettransport.la
132 libgnunettransporttesting_la_LDFLAGS = \
133  $(GN_LIB_LDFLAGS)
134
135 libgnunettransport_la_SOURCES = \
136   transport_api.c transport.h \
137   transport_api_blacklist.c \
138   transport_api_address_to_string.c \
139   transport_api_monitor_peers.c \
140   transport_api_monitor_validation.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_profiler_SOURCES = \
196  gnunet-transport-profiler.c
197 gnunet_transport_profiler_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_profiler_DEPENDENCIES = \
204   libgnunettransport.la
205
206 gnunet_transport_SOURCES = \
207  gnunet-transport.c
208 gnunet_transport_LDADD = \
209   $(top_builddir)/src/transport/libgnunettransport.la \
210   $(top_builddir)/src/nat/libgnunetnat.la \
211   $(top_builddir)/src/hello/libgnunethello.la \
212   $(top_builddir)/src/util/libgnunetutil.la \
213   $(GN_LIBINTL)
214 gnunet_transport_DEPENDENCIES = \
215   libgnunettransport.la
216
217 gnunet_service_transport_SOURCES = \
218  gnunet-service-transport.c gnunet-service-transport.h \
219  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
220  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
221  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
222  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
223  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
224  gnunet-service-transport_validation.h gnunet-service-transport_validation.c \
225  gnunet-service-transport_manipulation.h gnunet-service-transport_manipulation.c
226 # Note that while gnunet-service-transport does not use libgnunetnat
227 # directly, we must link against it as GNUNET_NAT_mini_map_stop will
228 # leave a 'dangling' task to process_unmap_output which will cause
229 # a crash on unloading of a plugin unless the service links against
230 # that library as well.
231 gnunet_service_transport_LDADD = \
232   $(top_builddir)/src/transport/libgnunettransport.la \
233   $(top_builddir)/src/ats/libgnunetats.la \
234   $(top_builddir)/src/hello/libgnunethello.la \
235   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
236   $(top_builddir)/src/nat/libgnunetnat.la \
237   $(top_builddir)/src/statistics/libgnunetstatistics.la \
238   $(top_builddir)/src/util/libgnunetutil.la \
239   $(GN_GLPK) \
240   $(GN_LIBINTL)
241 gnunet_service_transport_DEPENDENCIES = \
242  libgnunettransport.la
243 gnunet_service_transport_CFLAGS = \
244   $(CFLAGS)
245 # -DANALYZE
246
247 plugin_LTLIBRARIES = \
248   libgnunet_plugin_transport_tcp.la \
249   libgnunet_plugin_transport_udp.la \
250   $(UNIX_PLUGIN_LA) \
251   $(HTTP_CLIENT_PLUGIN_LA) \
252   $(HTTPS_CLIENT_PLUGIN_LA) \
253   $(HTTP_SERVER_PLUGIN_LA) \
254   $(HTTPS_SERVER_PLUGIN_LA) \
255   $(WLAN_PLUGIN_LA) \
256   $(BT_PLUGIN_LA) \
257   libgnunet_plugin_transport_template.la
258
259 libgnunet_plugin_transport_tcp_la_SOURCES = \
260   plugin_transport_tcp.c
261 libgnunet_plugin_transport_tcp_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/nat/libgnunetnat.la \
266   $(top_builddir)/src/util/libgnunetutil.la \
267   $(LTLIBINTL)
268 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
269  $(GN_PLUGIN_LDFLAGS)
270
271 libgnunet_plugin_transport_template_la_SOURCES = \
272   plugin_transport_template.c
273 libgnunet_plugin_transport_template_la_LIBADD = \
274   $(top_builddir)/src/util/libgnunetutil.la \
275   $(LTLIBINTL)
276 libgnunet_plugin_transport_template_la_LDFLAGS = \
277  $(GN_PLUGIN_LDFLAGS)
278
279 libgnunet_plugin_transport_wlan_la_SOURCES = \
280   plugin_transport_wlan.c plugin_transport_wlan.h
281 libgnunet_plugin_transport_wlan_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_wlan_la_LDFLAGS = \
288   $(GN_PLUGIN_LDFLAGS)
289 libgnunet_plugin_transport_wlan_la_CFLAGS = \
290  $(CFLAGS) -DBUILD_WLAN
291
292 libgnunet_plugin_transport_bluetooth_la_SOURCES = \
293   plugin_transport_wlan.c plugin_transport_wlan.h
294 libgnunet_plugin_transport_bluetooth_la_LIBADD = \
295   $(top_builddir)/src/hello/libgnunethello.la \
296   $(top_builddir)/src/statistics/libgnunetstatistics.la \
297   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
298   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
299   $(top_builddir)/src/util/libgnunetutil.la
300 libgnunet_plugin_transport_bluetooth_la_LDFLAGS = \
301   $(GN_PLUGIN_LDFLAGS)
302 libgnunet_plugin_transport_bluetooth_la_CFLAGS = \
303  $(CFLAGS) -DBUILD_BLUETOOTH
304
305 libgnunet_plugin_transport_udp_la_SOURCES = \
306   plugin_transport_udp.c plugin_transport_udp.h \
307   plugin_transport_udp_broadcasting.c
308 libgnunet_plugin_transport_udp_la_LIBADD = \
309   $(top_builddir)/src/hello/libgnunethello.la \
310   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
311   $(top_builddir)/src/statistics/libgnunetstatistics.la \
312   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
313   $(top_builddir)/src/nat/libgnunetnat.la \
314   $(top_builddir)/src/util/libgnunetutil.la \
315   $(LTLIBINTL)
316 libgnunet_plugin_transport_udp_la_LDFLAGS = \
317  $(GN_PLUGIN_LDFLAGS)
318
319 libgnunet_plugin_transport_unix_la_SOURCES = \
320   plugin_transport_unix.c
321 libgnunet_plugin_transport_unix_la_LIBADD = \
322   $(top_builddir)/src/hello/libgnunethello.la \
323   $(top_builddir)/src/statistics/libgnunetstatistics.la \
324   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
325   $(top_builddir)/src/util/libgnunetutil.la \
326   $(LTLIBINTL)
327 libgnunet_plugin_transport_unix_la_LDFLAGS = \
328  $(GN_PLUGIN_LDFLAGS)
329
330
331 libgnunet_plugin_transport_http_client_la_SOURCES = \
332   plugin_transport_http_client.c plugin_transport_http_common.c plugin_transport_http_common.h
333 libgnunet_plugin_transport_http_client_la_LIBADD = \
334   $(top_builddir)/src/hello/libgnunethello.la \
335   $(top_builddir)/src/statistics/libgnunetstatistics.la \
336   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
337   @LIBGNURL@ \
338   $(top_builddir)/src/nat/libgnunetnat.la \
339   $(top_builddir)/src/util/libgnunetutil.la
340 libgnunet_plugin_transport_http_client_la_LDFLAGS = \
341  $(GN_PLUGIN_LDFLAGS)
342 libgnunet_plugin_transport_http_client_la_CFLAGS = \
343  $(CFLAGS)
344 libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
345  @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
346
347
348 libgnunet_plugin_transport_http_server_la_SOURCES = \
349   plugin_transport_http_server.c plugin_transport_http_common.c
350 libgnunet_plugin_transport_http_server_la_LIBADD = \
351   $(top_builddir)/src/hello/libgnunethello.la \
352   $(top_builddir)/src/statistics/libgnunetstatistics.la \
353   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
354   $(top_builddir)/src/nat/libgnunetnat.la \
355   $(top_builddir)/src/util/libgnunetutil.la
356 libgnunet_plugin_transport_http_server_la_LDFLAGS = \
357  $(GN_LIBMHD) \
358  $(GN_PLUGIN_LDFLAGS)
359 libgnunet_plugin_transport_http_server_la_CFLAGS = \
360  $(CFLAGS)
361
362 libgnunet_plugin_transport_https_client_la_SOURCES = \
363   plugin_transport_http_client.c plugin_transport_http_common.c
364 libgnunet_plugin_transport_https_client_la_LIBADD = \
365   $(top_builddir)/src/hello/libgnunethello.la \
366   $(top_builddir)/src/statistics/libgnunetstatistics.la \
367   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
368   @LIBGNURL@ \
369   $(top_builddir)/src/nat/libgnunetnat.la \
370   $(top_builddir)/src/util/libgnunetutil.la
371 libgnunet_plugin_transport_https_client_la_LDFLAGS = \
372  $(GN_PLUGIN_LDFLAGS)
373 libgnunet_plugin_transport_https_client_la_CFLAGS = \
374  $(CFLAGS) -DBUILD_HTTPS
375 libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
376  @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
377
378
379 libgnunet_plugin_transport_https_server_la_SOURCES = \
380   plugin_transport_http_server.c plugin_transport_http_common.c
381 libgnunet_plugin_transport_https_server_la_LIBADD = \
382   $(top_builddir)/src/hello/libgnunethello.la \
383   $(top_builddir)/src/statistics/libgnunetstatistics.la \
384   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
385   $(top_builddir)/src/nat/libgnunetnat.la \
386   $(top_builddir)/src/util/libgnunetutil.la
387 libgnunet_plugin_transport_https_server_la_LDFLAGS = \
388  $(GN_LIBMHD) \
389  $(GN_PLUGIN_LDFLAGS)
390 libgnunet_plugin_transport_https_server_la_CFLAGS = \
391  $(CFLAGS) -DBUILD_HTTPS
392
393
394 if HAVE_TESTING
395 check_PROGRAMS = \
396  test_transport_testing_startstop \
397  test_transport_testing_restart \
398  test_transport_testing \
399  test_transport_startonly \
400  test_plugin_tcp \
401  test_plugin_udp \
402  $(UNIX_TEST) \
403  $(WLAN_PLUGIN_TEST) \
404  $(BT_PLUGIN_TEST) \
405  test_http_common \
406  $(HTTP_CLIENT_PLUGIN_TEST) \
407  $(HTTPS_CLIENT_PLUGIN_TEST) \
408  $(HTTP_SERVER_PLUGIN_TEST) \
409  $(HTTPS_SERVER_PLUGIN_TEST) \
410  test_transport_api_blacklisting \
411  test_transport_api_disconnect_tcp \
412  test_transport_api_bidirectional_connect \
413  test_transport_api_tcp \
414  test_transport_api_restart_1peer \
415  test_transport_api_restart_2peers \
416  test_transport_api_timeout_tcp \
417  test_transport_address_switch_tcp \
418  test_transport_api_limited_sockets_tcp \
419  test_transport_api_tcp_nat \
420  test_transport_api_udp \
421  test_transport_api_timeout_udp \
422  test_transport_address_switch_udp \
423  $(UNIX_PLUGIN_TEST) \
424  $(UNIX_PLUGIN_TIMEOUT_TEST) \
425  $(UNIX_API_ABSTRACT_TEST) \
426  test_transport_api_udp_nat \
427  $(HTTP_API_TEST) \
428  $(HTTP_REVERSE_API_TEST) \
429  $(HTTP_API_TIMEOUT_TEST) \
430  $(HTTP_SWITCH) \
431  $(HTTPS_API_TEST) \
432  $(HTTPS_API_TIMEOUT_TEST) \
433  $(HTTPS_SWITCH) \
434  $(WLAN_API_TEST) \
435  $(WLAN_TIMEOUT_TEST) \
436  $(BT_API_TEST) \
437  $(BT_TIMEOUT_TEST) \
438  test_transport_api_multi \
439  test_transport_api_monitor_peers \
440  test_transport_api_monitor_validation \
441  test_transport_blacklisting_no_bl \
442  test_transport_blacklisting_outbound_bl_full \
443  test_transport_blacklisting_outbound_bl_plugin \
444  test_transport_blacklisting_inbound_bl_plugin \
445  test_transport_blacklisting_inbound_bl_full \
446  test_transport_blacklisting_multiple_plugins \
447  test_transport_api_manipulation_send_tcp \
448  test_transport_api_manipulation_recv_tcp \
449  test_transport_api_manipulation_cfg \
450  test_transport_api_reliability_tcp \
451  test_transport_api_reliability_tcp_nat \
452  test_transport_api_reliability_udp \
453  $(UNIX_REL_TEST) \
454  $(HTTP_REL_TEST) \
455  $(HTTPS_REL_TEST) \
456  $(WLAN_REL_TEST) \
457  $(WLAN_UREL_TEST) \
458  $(BT_REL_TEST) \
459  $(BT_UREL_TEST) \
460  test_quota_compliance_tcp \
461  test_quota_compliance_tcp_asymmetric \
462  test_quota_compliance_udp \
463  $(UNIX_QUOTA_TEST) \
464  $(HTTP_QUOTA_TEST) \
465  $(HTTPS_QUOTA_TEST) \
466  $(WLAN_QUOTA_TEST) \
467  $(BT_QUOTA_TEST)
468 endif
469
470 if ENABLE_TEST_RUN
471 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
472 TESTS = \
473  test_transport_testing_startstop \
474  test_transport_testing_restart \
475  test_transport_testing \
476  test_transport_startonly \
477  test_plugin_tcp \
478  test_plugin_udp \
479  $(UNIX_TEST) \
480  $(WLAN_PLUGIN_TEST) \
481  $(BT_PLUGIN_TEST) \
482  test_transport_api_blacklisting \
483  test_transport_api_disconnect_tcp \
484  test_transport_api_bidirectional_connect \
485  test_transport_api_tcp \
486  test_transport_api_restart_1peer \
487  test_transport_api_restart_2peers \
488  test_transport_api_timeout_tcp \
489  test_transport_api_limited_sockets_tcp \
490  test_transport_api_tcp_nat \
491  test_transport_address_switch_tcp \
492  test_transport_api_udp \
493  test_transport_api_timeout_udp \
494  test_transport_address_switch_udp \
495  $(UNIX_PLUGIN_TEST) \
496  $(UNIX_PLUGIN_TIMEOUT_TEST) \
497  $(UNIX_API_ABSTRACT_TEST) \
498  test_transport_api_udp_nat \
499  $(HTTP_API_TEST) \
500  $(HTTP_API_TIMEOUT_TEST) \
501  $(HTTP_SWITCH) \
502  $(HTTPS_API_TEST) \
503  $(HTTPS_API_TIMEOUT_TEST) \
504  $(HTTPS_SWITCH) \
505  $(WLAN_API_TEST) \
506  $(WLAN_TIMEOUT_TEST) \
507  $(BT_API_TEST) \
508  $(BT_TIMEOUT_TEST) \
509  test_transport_api_multi \
510  test_transport_api_monitor_peers \
511  test_transport_api_monitor_validation \
512  test_transport_blacklisting_no_bl \
513  test_transport_blacklisting_outbound_bl_full \
514  test_transport_blacklisting_outbound_bl_plugin \
515  test_transport_blacklisting_inbound_bl_plugin \
516  test_transport_blacklisting_inbound_bl_full \
517  test_transport_blacklisting_multiple_plugins \
518  test_transport_api_manipulation_send_tcp \
519  test_transport_api_manipulation_recv_tcp \
520  test_transport_api_manipulation_cfg \
521  test_transport_api_reliability_tcp \
522  test_transport_api_reliability_tcp_nat \
523  test_transport_api_reliability_udp \
524  $(UNIX_REL_TEST) \
525  $(HTTP_REL_TEST) \
526  $(HTTPS_REL_TEST) \
527  $(WLAN_REL_TEST) \
528  $(WLAN_UREL_TEST) \
529  $(BT_REL_TEST) \
530  $(BT_UREL_TEST) \
531  test_quota_compliance_tcp \
532  test_quota_compliance_tcp_asymmetric \
533  test_quota_compliance_udp \
534  $(UNIX_QUOTA_TEST) \
535  $(HTTP_QUOTA_TEST) \
536  $(HTTPS_QUOTA_TEST)
537 endif
538
539 test_transport_testing_startstop_SOURCES = \
540  test_transport_testing_startstop.c
541 test_transport_testing_startstop_LDADD = \
542  $(top_builddir)/src/util/libgnunetutil.la \
543  $(top_builddir)/src/transport/libgnunettransport.la \
544  $(top_builddir)/src/hello/libgnunethello.la \
545  $(top_builddir)/src/transport/libgnunettransporttesting.la
546
547 test_transport_testing_restart_SOURCES = \
548  test_transport_testing_restart.c
549 test_transport_testing_restart_LDADD = \
550  $(top_builddir)/src/util/libgnunetutil.la \
551  $(top_builddir)/src/transport/libgnunettransport.la \
552  $(top_builddir)/src/hello/libgnunethello.la \
553  $(top_builddir)/src/transport/libgnunettransporttesting.la
554
555 test_transport_testing_SOURCES = \
556  test_transport_testing.c
557 test_transport_testing_LDADD = \
558  $(top_builddir)/src/util/libgnunetutil.la \
559  $(top_builddir)/src/transport/libgnunettransport.la \
560  $(top_builddir)/src/hello/libgnunethello.la \
561  $(top_builddir)/src/transport/libgnunettransporttesting.la
562
563 test_transport_api_blacklisting_SOURCES = \
564  test_transport_api_blacklisting.c
565 test_transport_api_blacklisting_LDADD = \
566  $(top_builddir)/src/transport/libgnunettransport.la \
567  $(top_builddir)/src/hello/libgnunethello.la \
568  $(top_builddir)/src/statistics/libgnunetstatistics.la \
569  $(top_builddir)/src/util/libgnunetutil.la \
570  $(top_builddir)/src/transport/libgnunettransporttesting.la
571
572 test_transport_blacklisting_no_bl_SOURCES = \
573  test_transport_blacklisting.c
574 test_transport_blacklisting_no_bl_LDADD = \
575  $(top_builddir)/src/transport/libgnunettransport.la \
576  $(top_builddir)/src/hello/libgnunethello.la \
577  $(top_builddir)/src/statistics/libgnunetstatistics.la \
578  $(top_builddir)/src/util/libgnunetutil.la \
579  $(top_builddir)/src/transport/libgnunettransporttesting.la
580
581 test_transport_blacklisting_outbound_bl_full_SOURCES = \
582  test_transport_blacklisting.c
583 test_transport_blacklisting_outbound_bl_full_LDADD = \
584  $(top_builddir)/src/transport/libgnunettransport.la \
585  $(top_builddir)/src/hello/libgnunethello.la \
586  $(top_builddir)/src/statistics/libgnunetstatistics.la \
587  $(top_builddir)/src/util/libgnunetutil.la \
588  $(top_builddir)/src/transport/libgnunettransporttesting.la
589
590 test_transport_blacklisting_outbound_bl_plugin_SOURCES = \
591  test_transport_blacklisting.c
592 test_transport_blacklisting_outbound_bl_plugin_LDADD = \
593  $(top_builddir)/src/transport/libgnunettransport.la \
594  $(top_builddir)/src/hello/libgnunethello.la \
595  $(top_builddir)/src/statistics/libgnunetstatistics.la \
596  $(top_builddir)/src/util/libgnunetutil.la \
597  $(top_builddir)/src/transport/libgnunettransporttesting.la
598
599 test_transport_blacklisting_inbound_bl_full_SOURCES = \
600  test_transport_blacklisting.c
601 test_transport_blacklisting_inbound_bl_full_LDADD = \
602  $(top_builddir)/src/transport/libgnunettransport.la \
603  $(top_builddir)/src/hello/libgnunethello.la \
604  $(top_builddir)/src/statistics/libgnunetstatistics.la \
605  $(top_builddir)/src/util/libgnunetutil.la \
606  $(top_builddir)/src/transport/libgnunettransporttesting.la
607
608 test_transport_blacklisting_inbound_bl_plugin_SOURCES = \
609  test_transport_blacklisting.c
610 test_transport_blacklisting_inbound_bl_plugin_LDADD = \
611  $(top_builddir)/src/transport/libgnunettransport.la \
612  $(top_builddir)/src/hello/libgnunethello.la \
613  $(top_builddir)/src/statistics/libgnunetstatistics.la \
614  $(top_builddir)/src/util/libgnunetutil.la \
615  $(top_builddir)/src/transport/libgnunettransporttesting.la
616
617 test_transport_blacklisting_multiple_plugins_SOURCES = \
618  test_transport_blacklisting.c
619 test_transport_blacklisting_multiple_plugins_LDADD = \
620  $(top_builddir)/src/transport/libgnunettransport.la \
621  $(top_builddir)/src/hello/libgnunethello.la \
622  $(top_builddir)/src/statistics/libgnunetstatistics.la \
623  $(top_builddir)/src/util/libgnunetutil.la \
624  $(top_builddir)/src/transport/libgnunettransporttesting.la
625
626
627 test_transport_api_disconnect_tcp_SOURCES = \
628  test_transport_api_disconnect.c
629 test_transport_api_disconnect_tcp_LDADD = \
630  $(top_builddir)/src/transport/libgnunettransport.la \
631  $(top_builddir)/src/hello/libgnunethello.la \
632  $(top_builddir)/src/statistics/libgnunetstatistics.la \
633  $(top_builddir)/src/util/libgnunetutil.la \
634  $(top_builddir)/src/transport/libgnunettransporttesting.la
635
636 test_transport_startonly_SOURCES = \
637  test_transport_startonly.c
638 test_transport_startonly_LDADD = \
639  $(top_builddir)/src/transport/libgnunettransport.la \
640  $(top_builddir)/src/hello/libgnunethello.la \
641  $(top_builddir)/src/statistics/libgnunetstatistics.la \
642  $(top_builddir)/src/util/libgnunetutil.la \
643  $(top_builddir)/src/transport/libgnunettransporttesting.la
644
645 test_plugin_tcp_SOURCES = \
646  test_plugin_transport.c
647 test_plugin_tcp_LDADD = \
648  $(top_builddir)/src/transport/libgnunettransport.la \
649  $(top_builddir)/src/statistics/libgnunetstatistics.la \
650  $(top_builddir)/src/hello/libgnunethello.la \
651  $(top_builddir)/src/util/libgnunetutil.la  \
652  $(top_builddir)/src/transport/libgnunettransporttesting.la
653
654 test_plugin_udp_SOURCES = \
655  test_plugin_transport.c
656 test_plugin_udp_LDADD = \
657  $(top_builddir)/src/transport/libgnunettransport.la \
658  $(top_builddir)/src/statistics/libgnunetstatistics.la \
659  $(top_builddir)/src/hello/libgnunethello.la \
660  $(top_builddir)/src/util/libgnunetutil.la  \
661  $(top_builddir)/src/transport/libgnunettransporttesting.la
662
663 test_plugin_unix_SOURCES = \
664  test_plugin_transport.c
665 test_plugin_unix_LDADD = \
666  $(top_builddir)/src/transport/libgnunettransport.la \
667  $(top_builddir)/src/statistics/libgnunetstatistics.la \
668  $(top_builddir)/src/hello/libgnunethello.la \
669  $(top_builddir)/src/util/libgnunetutil.la  \
670  $(top_builddir)/src/transport/libgnunettransporttesting.la
671
672 test_plugin_wlan_SOURCES = \
673  test_plugin_transport.c
674 test_plugin_wlan_LDADD = \
675  $(top_builddir)/src/transport/libgnunettransport.la \
676  $(top_builddir)/src/statistics/libgnunetstatistics.la \
677  $(top_builddir)/src/hello/libgnunethello.la \
678  $(top_builddir)/src/util/libgnunetutil.la  \
679  $(top_builddir)/src/transport/libgnunettransporttesting.la
680
681 test_plugin_bluetooth_SOURCES = \
682  test_plugin_transport.c
683 test_plugin_bluetooth_LDADD = \
684  $(top_builddir)/src/transport/libgnunettransport.la \
685  $(top_builddir)/src/statistics/libgnunetstatistics.la \
686  $(top_builddir)/src/hello/libgnunethello.la \
687  $(top_builddir)/src/util/libgnunetutil.la  \
688  $(top_builddir)/src/transport/libgnunettransporttesting.la
689
690 test_http_common_SOURCES = \
691  test_http_common.c plugin_transport_http_common.c
692 test_http_common_LDADD = \
693  $(top_builddir)/src/transport/libgnunettransport.la \
694  $(top_builddir)/src/statistics/libgnunetstatistics.la \
695  $(top_builddir)/src/hello/libgnunethello.la \
696  $(top_builddir)/src/util/libgnunetutil.la  \
697  $(top_builddir)/src/transport/libgnunettransporttesting.la
698
699 test_plugin_http_server_SOURCES = \
700  test_plugin_transport.c
701 test_plugin_http_server_LDADD = \
702  $(top_builddir)/src/transport/libgnunettransport.la \
703  $(top_builddir)/src/statistics/libgnunetstatistics.la \
704  $(top_builddir)/src/hello/libgnunethello.la \
705  $(top_builddir)/src/util/libgnunetutil.la  \
706  $(top_builddir)/src/transport/libgnunettransporttesting.la
707
708 test_plugin_https_server_SOURCES = \
709  test_plugin_transport.c
710 test_plugin_https_server_LDADD = \
711  $(top_builddir)/src/transport/libgnunettransport.la \
712  $(top_builddir)/src/statistics/libgnunetstatistics.la \
713  $(top_builddir)/src/hello/libgnunethello.la \
714  $(top_builddir)/src/util/libgnunetutil.la  \
715  $(top_builddir)/src/transport/libgnunettransporttesting.la
716
717 test_plugin_http_client_SOURCES = \
718  test_plugin_transport.c
719 test_plugin_http_client_LDADD = \
720  $(top_builddir)/src/transport/libgnunettransport.la \
721  $(top_builddir)/src/statistics/libgnunetstatistics.la \
722  $(top_builddir)/src/hello/libgnunethello.la \
723  $(top_builddir)/src/util/libgnunetutil.la  \
724  $(top_builddir)/src/transport/libgnunettransporttesting.la
725
726 test_plugin_https_client_SOURCES = \
727  test_plugin_transport.c
728 test_plugin_https_client_LDADD = \
729  $(top_builddir)/src/transport/libgnunettransport.la \
730  $(top_builddir)/src/statistics/libgnunetstatistics.la \
731  $(top_builddir)/src/hello/libgnunethello.la \
732  $(top_builddir)/src/util/libgnunetutil.la  \
733  $(top_builddir)/src/transport/libgnunettransporttesting.la
734
735 test_transport_api_tcp_SOURCES = \
736  test_transport_api.c
737 test_transport_api_tcp_LDADD = \
738  $(top_builddir)/src/transport/libgnunettransport.la \
739  $(top_builddir)/src/hello/libgnunethello.la \
740  $(top_builddir)/src/util/libgnunetutil.la  \
741  $(top_builddir)/src/transport/libgnunettransporttesting.la
742
743 test_transport_api_bidirectional_connect_SOURCES = \
744  test_transport_api_bidirectional_connect.c
745 test_transport_api_bidirectional_connect_LDADD = \
746  $(top_builddir)/src/transport/libgnunettransport.la \
747  $(top_builddir)/src/hello/libgnunethello.la \
748  $(top_builddir)/src/util/libgnunetutil.la  \
749  $(top_builddir)/src/transport/libgnunettransporttesting.la
750
751 test_transport_api_restart_1peer_SOURCES = \
752  test_transport_api_restart_1peer.c
753 test_transport_api_restart_1peer_LDADD = \
754  $(top_builddir)/src/transport/libgnunettransport.la \
755  $(top_builddir)/src/hello/libgnunethello.la \
756  $(top_builddir)/src/statistics/libgnunetstatistics.la \
757  $(top_builddir)/src/util/libgnunetutil.la \
758  $(top_builddir)/src/transport/libgnunettransporttesting.la
759
760 test_transport_api_restart_2peers_SOURCES = \
761  test_transport_api_restart_2peers.c
762 test_transport_api_restart_2peers_LDADD = \
763  $(top_builddir)/src/transport/libgnunettransport.la \
764  $(top_builddir)/src/hello/libgnunethello.la \
765  $(top_builddir)/src/statistics/libgnunetstatistics.la \
766  $(top_builddir)/src/util/libgnunetutil.la \
767  $(top_builddir)/src/transport/libgnunettransporttesting.la
768
769 test_transport_api_limited_sockets_tcp_SOURCES = \
770  test_transport_api_limited_sockets.c
771 test_transport_api_limited_sockets_tcp_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_tcp_nat_SOURCES = \
778  test_transport_api.c
779 test_transport_api_tcp_nat_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_manipulation_send_tcp_SOURCES = \
786  test_transport_api_manipulation_send_tcp.c
787 test_transport_api_manipulation_send_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_manipulation_recv_tcp_SOURCES = \
794  test_transport_api_manipulation_recv_tcp.c
795 test_transport_api_manipulation_recv_tcp_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_manipulation_cfg_SOURCES = \
802  test_transport_api_manipulation_cfg.c
803 test_transport_api_manipulation_cfg_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_reliability_tcp_SOURCES = \
810  test_transport_api_reliability.c
811 test_transport_api_reliability_tcp_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_timeout_tcp_SOURCES = \
818  test_transport_api_timeout.c
819 test_transport_api_timeout_tcp_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_timeout_unix_SOURCES = \
826  test_transport_api_timeout.c
827 test_transport_api_timeout_unix_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_timeout_wlan_SOURCES = \
834  test_transport_api_timeout.c
835 test_transport_api_timeout_wlan_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_timeout_bluetooth_SOURCES = \
842  test_transport_api_timeout.c
843 test_transport_api_timeout_bluetooth_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_reliability_tcp_nat_SOURCES = \
850  test_transport_api_reliability.c
851 test_transport_api_reliability_tcp_nat_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_reliability_bluetooth_SOURCES = \
858  test_transport_api_reliability.c
859 test_transport_api_reliability_bluetooth_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_reliability_wlan_SOURCES = \
866  test_transport_api_reliability.c
867 test_transport_api_reliability_wlan_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_SOURCES = \
874  test_transport_api.c
875 test_transport_api_udp_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_timeout_udp_SOURCES = \
882  test_transport_api_timeout.c
883 test_transport_api_timeout_udp_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 test_transport_api_udp_nat_SOURCES = \
890  test_transport_api.c
891 test_transport_api_udp_nat_LDADD = \
892  $(top_builddir)/src/transport/libgnunettransport.la \
893  $(top_builddir)/src/hello/libgnunethello.la \
894  $(top_builddir)/src/util/libgnunetutil.la  \
895  $(top_builddir)/src/transport/libgnunettransporttesting.la
896
897 test_transport_api_unix_SOURCES = \
898  test_transport_api.c
899 test_transport_api_unix_LDADD = \
900  $(top_builddir)/src/transport/libgnunettransport.la \
901  $(top_builddir)/src/hello/libgnunethello.la \
902  $(top_builddir)/src/util/libgnunetutil.la \
903  $(top_builddir)/src/transport/libgnunettransporttesting.la
904
905 test_transport_api_unix_abstract_SOURCES = \
906  test_transport_api.c
907 test_transport_api_unix_abstract_LDADD = \
908  $(top_builddir)/src/transport/libgnunettransport.la \
909  $(top_builddir)/src/hello/libgnunethello.la \
910  $(top_builddir)/src/util/libgnunetutil.la \
911  $(top_builddir)/src/transport/libgnunettransporttesting.la
912
913 # HTTP tests
914 test_transport_api_http_SOURCES = \
915  test_transport_api.c
916 test_transport_api_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_transport_api_http_reverse_SOURCES = \
923  test_transport_api.c
924 test_transport_api_http_reverse_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_transport_api_timeout_http_SOURCES = \
931  test_transport_api_timeout.c
932 test_transport_api_timeout_http_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_transport_api_reliability_http_SOURCES = \
939  test_transport_api_reliability.c
940 test_transport_api_reliability_http_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_transport_api_reliability_http_xhr_SOURCES = \
947  test_transport_api_reliability.c
948 test_transport_api_reliability_http_xhr_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 test_quota_compliance_http_SOURCES = \
955  test_quota_compliance.c
956 test_quota_compliance_http_LDADD = \
957  $(top_builddir)/src/transport/libgnunettransport.la \
958  $(top_builddir)/src/hello/libgnunethello.la \
959  $(top_builddir)/src/util/libgnunetutil.la \
960  $(top_builddir)/src/transport/libgnunettransporttesting.la
961
962 test_quota_compliance_http_asymmetric_SOURCES = \
963  test_quota_compliance.c
964 test_quota_compliance_http_asymmetric_LDADD = \
965  $(top_builddir)/src/transport/libgnunettransport.la \
966  $(top_builddir)/src/hello/libgnunethello.la \
967  $(top_builddir)/src/util/libgnunetutil.la \
968  $(top_builddir)/src/transport/libgnunettransporttesting.la
969
970 test_quota_compliance_https_SOURCES = \
971  test_quota_compliance.c
972 test_quota_compliance_https_LDADD = \
973  $(top_builddir)/src/transport/libgnunettransport.la \
974  $(top_builddir)/src/hello/libgnunethello.la \
975  $(top_builddir)/src/util/libgnunetutil.la \
976  $(top_builddir)/src/transport/libgnunettransporttesting.la
977
978 test_quota_compliance_https_asymmetric_SOURCES = \
979  test_quota_compliance.c
980 test_quota_compliance_https_asymmetric_LDADD = \
981  $(top_builddir)/src/transport/libgnunettransport.la \
982  $(top_builddir)/src/hello/libgnunethello.la \
983  $(top_builddir)/src/util/libgnunetutil.la \
984  $(top_builddir)/src/transport/libgnunettransporttesting.la
985
986 # HTTPS tests
987 test_transport_api_https_SOURCES = \
988  test_transport_api.c
989 test_transport_api_https_LDADD = \
990  $(top_builddir)/src/transport/libgnunettransport.la \
991  $(top_builddir)/src/hello/libgnunethello.la \
992  $(top_builddir)/src/util/libgnunetutil.la  \
993  $(top_builddir)/src/transport/libgnunettransporttesting.la
994
995 test_transport_api_timeout_https_SOURCES = \
996  test_transport_api_timeout.c
997 test_transport_api_timeout_https_LDADD = \
998  $(top_builddir)/src/transport/libgnunettransport.la \
999  $(top_builddir)/src/hello/libgnunethello.la \
1000  $(top_builddir)/src/util/libgnunetutil.la \
1001  $(top_builddir)/src/transport/libgnunettransporttesting.la
1002
1003
1004 test_transport_api_reliability_https_SOURCES = \
1005  test_transport_api_reliability.c
1006 test_transport_api_reliability_https_LDADD = \
1007  $(top_builddir)/src/transport/libgnunettransport.la \
1008  $(top_builddir)/src/hello/libgnunethello.la \
1009  $(top_builddir)/src/util/libgnunetutil.la \
1010  $(top_builddir)/src/transport/libgnunettransporttesting.la
1011
1012 test_transport_api_reliability_https_xhr_SOURCES = \
1013  test_transport_api_reliability.c
1014 test_transport_api_reliability_https_xhr_LDADD = \
1015  $(top_builddir)/src/transport/libgnunettransport.la \
1016  $(top_builddir)/src/hello/libgnunethello.la \
1017  $(top_builddir)/src/util/libgnunetutil.la \
1018  $(top_builddir)/src/transport/libgnunettransporttesting.la
1019
1020 test_transport_api_reliability_unix_SOURCES = \
1021  test_transport_api_reliability.c
1022 test_transport_api_reliability_unix_LDADD = \
1023  $(top_builddir)/src/transport/libgnunettransport.la \
1024  $(top_builddir)/src/hello/libgnunethello.la \
1025  $(top_builddir)/src/util/libgnunetutil.la \
1026  $(top_builddir)/src/transport/libgnunettransporttesting.la
1027
1028 test_transport_api_reliability_udp_SOURCES = \
1029  test_transport_api_reliability.c
1030 test_transport_api_reliability_udp_LDADD = \
1031  $(top_builddir)/src/transport/libgnunettransport.la \
1032  $(top_builddir)/src/hello/libgnunethello.la \
1033  $(top_builddir)/src/util/libgnunetutil.la \
1034  $(top_builddir)/src/transport/libgnunettransporttesting.la
1035
1036 if LINUX
1037 test_transport_api_wlan_SOURCES = \
1038  test_transport_api.c
1039 test_transport_api_wlan_LDADD = \
1040  $(top_builddir)/src/transport/libgnunettransport.la \
1041  $(top_builddir)/src/hello/libgnunethello.la \
1042  $(top_builddir)/src/util/libgnunetutil.la \
1043  $(top_builddir)/src/transport/libgnunettransporttesting.la
1044 endif
1045
1046 if LINUX
1047 if HAVE_LIBBLUETOOTH
1048 test_transport_api_bluetooth_SOURCES = \
1049  test_transport_api.c
1050 test_transport_api_bluetooth_LDADD = \
1051  $(top_builddir)/src/transport/libgnunettransport.la \
1052  $(top_builddir)/src/hello/libgnunethello.la \
1053  $(top_builddir)/src/util/libgnunetutil.la \
1054  $(top_builddir)/src/transport/libgnunettransporttesting.la
1055 endif
1056 endif
1057
1058 test_transport_address_switch_tcp_SOURCES = \
1059  test_transport_address_switch.c
1060 test_transport_address_switch_tcp_LDADD = \
1061  $(top_builddir)/src/transport/libgnunettransport.la \
1062  $(top_builddir)/src/hello/libgnunethello.la \
1063  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1064  $(top_builddir)/src/util/libgnunetutil.la \
1065  $(top_builddir)/src/transport/libgnunettransporttesting.la
1066
1067  test_transport_address_switch_udp_SOURCES = \
1068  test_transport_address_switch.c
1069 test_transport_address_switch_udp_LDADD = \
1070  $(top_builddir)/src/transport/libgnunettransport.la \
1071  $(top_builddir)/src/hello/libgnunethello.la \
1072  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1073  $(top_builddir)/src/util/libgnunetutil.la \
1074  $(top_builddir)/src/transport/libgnunettransporttesting.la
1075
1076
1077  test_transport_address_switch_http_SOURCES = \
1078  test_transport_address_switch.c
1079 test_transport_address_switch_http_LDADD = \
1080  $(top_builddir)/src/transport/libgnunettransport.la \
1081  $(top_builddir)/src/hello/libgnunethello.la \
1082  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1083  $(top_builddir)/src/util/libgnunetutil.la \
1084  $(top_builddir)/src/transport/libgnunettransporttesting.la
1085
1086  test_transport_address_switch_https_SOURCES = \
1087  test_transport_address_switch.c
1088 test_transport_address_switch_https_LDADD = \
1089  $(top_builddir)/src/transport/libgnunettransport.la \
1090  $(top_builddir)/src/hello/libgnunethello.la \
1091  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1092  $(top_builddir)/src/util/libgnunetutil.la \
1093  $(top_builddir)/src/transport/libgnunettransporttesting.la
1094
1095 test_quota_compliance_tcp_SOURCES = \
1096  test_quota_compliance.c
1097 test_quota_compliance_tcp_LDADD = \
1098  $(top_builddir)/src/transport/libgnunettransport.la \
1099  $(top_builddir)/src/hello/libgnunethello.la \
1100  $(top_builddir)/src/util/libgnunetutil.la \
1101  $(top_builddir)/src/transport/libgnunettransporttesting.la
1102
1103 test_quota_compliance_tcp_asymmetric_SOURCES = \
1104  test_quota_compliance.c
1105 test_quota_compliance_tcp_asymmetric_LDADD = \
1106  $(top_builddir)/src/transport/libgnunettransport.la \
1107  $(top_builddir)/src/hello/libgnunethello.la \
1108  $(top_builddir)/src/util/libgnunetutil.la \
1109  $(top_builddir)/src/transport/libgnunettransporttesting.la
1110
1111 test_quota_compliance_udp_SOURCES = \
1112  test_quota_compliance.c
1113 test_quota_compliance_udp_LDADD = \
1114  $(top_builddir)/src/transport/libgnunettransport.la \
1115  $(top_builddir)/src/hello/libgnunethello.la \
1116  $(top_builddir)/src/util/libgnunetutil.la \
1117  $(top_builddir)/src/transport/libgnunettransporttesting.la
1118
1119 test_quota_compliance_unix_SOURCES = \
1120  test_quota_compliance.c
1121 test_quota_compliance_unix_LDADD = \
1122  $(top_builddir)/src/transport/libgnunettransport.la \
1123  $(top_builddir)/src/hello/libgnunethello.la \
1124  $(top_builddir)/src/util/libgnunetutil.la \
1125  $(top_builddir)/src/transport/libgnunettransporttesting.la
1126
1127 test_quota_compliance_unix_asymmetric_SOURCES = \
1128  test_quota_compliance.c
1129 test_quota_compliance_unix_asymmetric_LDADD = \
1130  $(top_builddir)/src/transport/libgnunettransport.la \
1131  $(top_builddir)/src/hello/libgnunethello.la \
1132  $(top_builddir)/src/util/libgnunetutil.la \
1133  $(top_builddir)/src/transport/libgnunettransporttesting.la
1134
1135 test_quota_compliance_wlan_SOURCES = \
1136  test_quota_compliance.c
1137 test_quota_compliance_wlan_LDADD = \
1138  $(top_builddir)/src/transport/libgnunettransport.la \
1139  $(top_builddir)/src/hello/libgnunethello.la \
1140  $(top_builddir)/src/util/libgnunetutil.la \
1141  $(top_builddir)/src/transport/libgnunettransporttesting.la
1142
1143 test_quota_compliance_wlan_asymmetric_SOURCES = \
1144  test_quota_compliance.c
1145 test_quota_compliance_wlan_asymmetric_LDADD = \
1146  $(top_builddir)/src/transport/libgnunettransport.la \
1147  $(top_builddir)/src/hello/libgnunethello.la \
1148  $(top_builddir)/src/util/libgnunetutil.la \
1149  $(top_builddir)/src/transport/libgnunettransporttesting.la
1150
1151 test_quota_compliance_bluetooth_SOURCES = \
1152  test_quota_compliance.c
1153 test_quota_compliance_bluetooth_LDADD = \
1154  $(top_builddir)/src/nat/libgnunetnat.la \
1155  $(top_builddir)/src/transport/libgnunettransport.la \
1156  $(top_builddir)/src/hello/libgnunethello.la \
1157  $(top_builddir)/src/util/libgnunetutil.la \
1158  $(top_builddir)/src/transport/libgnunettransporttesting.la
1159
1160 test_quota_compliance_bluetooth_asymmetric_SOURCES = \
1161  test_quota_compliance.c
1162 test_quota_compliance_bluetooth_asymmetric_LDADD = \
1163  $(top_builddir)/src/transport/libgnunettransport.la \
1164  $(top_builddir)/src/hello/libgnunethello.la \
1165  $(top_builddir)/src/util/libgnunetutil.la \
1166  $(top_builddir)/src/transport/libgnunettransporttesting.la
1167
1168 test_transport_api_multi_SOURCES = \
1169  test_transport_api.c
1170 test_transport_api_multi_LDADD = \
1171  $(top_builddir)/src/transport/libgnunettransport.la \
1172  $(top_builddir)/src/hello/libgnunethello.la \
1173  $(top_builddir)/src/util/libgnunetutil.la \
1174  $(top_builddir)/src/transport/libgnunettransporttesting.la
1175
1176 test_transport_api_monitor_peers_SOURCES = \
1177  test_transport_api_monitor_peers.c
1178 test_transport_api_monitor_peers_LDADD = \
1179  $(top_builddir)/src/transport/libgnunettransport.la \
1180  $(top_builddir)/src/hello/libgnunethello.la \
1181  $(top_builddir)/src/util/libgnunetutil.la \
1182  $(top_builddir)/src/transport/libgnunettransporttesting.la
1183
1184 test_transport_api_monitor_validation_SOURCES = \
1185  test_transport_api_monitor_validation.c
1186 test_transport_api_monitor_validation_LDADD = \
1187  $(top_builddir)/src/transport/libgnunettransport.la \
1188  $(top_builddir)/src/hello/libgnunethello.la \
1189  $(top_builddir)/src/util/libgnunetutil.la \
1190  $(top_builddir)/src/transport/libgnunettransporttesting.la
1191
1192
1193 EXTRA_DIST = \
1194 test_plugin_hostkey \
1195 test_plugin_hostkey.ecc \
1196 template_cfg_peer1.conf\
1197 template_cfg_peer2.conf\
1198 test_plugin_transport_data.conf\
1199 test_plugin_transport_data_udp.conf\
1200 test_quota_compliance_data.conf\
1201 test_quota_compliance_http_peer1.conf\
1202 test_quota_compliance_http_peer2.conf\
1203 test_quota_compliance_https_peer1.conf\
1204 test_quota_compliance_https_peer2.conf\
1205 test_quota_compliance_tcp_peer1.conf\
1206 test_quota_compliance_tcp_peer2.conf\
1207 test_quota_compliance_udp_peer1.conf\
1208 test_quota_compliance_udp_peer2.conf\
1209 test_quota_compliance_unix_peer1.conf\
1210 test_quota_compliance_unix_peer2.conf\
1211 test_quota_compliance_wlan_peer1.conf\
1212 test_quota_compliance_wlan_peer2.conf\
1213 test_quota_compliance_bluetooth_peer1.conf\
1214 test_quota_compliance_bluetooth_peer2.conf\
1215 test_quota_compliance_http_asymmetric_peer1.conf\
1216 test_quota_compliance_http_asymmetric_peer2.conf\
1217 test_quota_compliance_https_asymmetric_peer1.conf\
1218 test_quota_compliance_https_asymmetric_peer2.conf\
1219 test_quota_compliance_tcp_asymmetric_peer1.conf\
1220 test_quota_compliance_tcp_asymmetric_peer2.conf\
1221 test_quota_compliance_unix_asymmetric_peer1.conf\
1222 test_quota_compliance_unix_asymmetric_peer2.conf\
1223 test_quota_compliance_wlan_asymmetric_peer1.conf\
1224 test_quota_compliance_wlan_asymmetric_peer2.conf\
1225 test_quota_compliance_bluetooth_asymmetric_peer1.conf\
1226 test_quota_compliance_bluetooth_asymmetric_peer2.conf\
1227 test_transport_api_data.conf\
1228 test_transport_api_http_peer1.conf\
1229 test_transport_api_http_peer2.conf\
1230 test_transport_api_https_peer1.conf\
1231 test_transport_api_https_peer2.conf\
1232 test_transport_api_limited_sockets_tcp_peer1.conf\
1233 test_transport_api_limited_sockets_tcp_peer2.conf\
1234 test_transport_api_timeout_tcp_peer1.conf\
1235 test_transport_api_timeout_tcp_peer2.conf\
1236 test_transport_api_multi_peer1.conf\
1237 test_transport_api_multi_peer2.conf\
1238 test_transport_api_reliability_http_peer1.conf\
1239 test_transport_api_reliability_http_peer2.conf\
1240 test_transport_api_reliability_https_peer1.conf\
1241 test_transport_api_reliability_https_peer2.conf\
1242 test_transport_api_reliability_tcp_nat_peer1.conf\
1243 test_transport_api_reliability_tcp_nat_peer2.conf\
1244 test_transport_api_reliability_tcp_peer1.conf\
1245 test_transport_api_reliability_tcp_peer2.conf\
1246 test_transport_api_reliability_wlan_peer1.conf\
1247 test_transport_api_reliability_wlan_peer2.conf\
1248 test_transport_api_reliability_bluetooth_peer1.conf\
1249 test_transport_api_reliability_bluetooth_peer2.conf\
1250 test_transport_api_bidirectional_connect_peer1.conf\
1251 test_transport_api_bidirectional_connect_peer2.conf\
1252 test_transport_api_manipulation_send_tcp_peer1.conf\
1253 test_transport_api_manipulation_send_tcp_peer2.conf\
1254 test_transport_api_manipulation_recv_tcp_peer1.conf\
1255 test_transport_api_manipulation_recv_tcp_peer2.conf\
1256 test_transport_api_manipulation_cfg_peer1.conf\
1257 test_transport_api_manipulation_cfg_peer2.conf\
1258 test_transport_api_tcp_nat_peer1.conf\
1259 test_transport_api_tcp_nat_peer2.conf\
1260 test_transport_api_tcp_peer1.conf\
1261 test_transport_api_tcp_peer2.conf\
1262 test_transport_api_udp_nat_peer1.conf\
1263 test_transport_api_udp_nat_peer2.conf\
1264 test_transport_api_udp_peer1.conf\
1265 test_transport_api_udp_peer2.conf\
1266 test_transport_api_timeout_udp_peer1.conf\
1267 test_transport_api_timeout_udp_peer2.conf\
1268 test_transport_api_unix_peer1.conf\
1269 test_transport_api_unix_peer2.conf\
1270 test_transport_api_unix_abstract_peer1.conf \
1271 test_transport_api_unix_abstract_peer2.conf \
1272 test_transport_api_timeout_unix_peer1.conf\
1273 test_transport_api_timeout_unix_peer2.conf\
1274 test_transport_api_timeout_wlan_peer1.conf \
1275 test_transport_api_timeout_wlan_peer2.conf \
1276 test_transport_api_timeout_bluetooth_peer1.conf\
1277 test_transport_api_timeout_bluetooth_peer2.conf\
1278 test_transport_api_reliability_udp_peer1.conf\
1279 test_transport_api_reliability_udp_peer2.conf\
1280 test_transport_api_reliability_unix_peer1.conf\
1281 test_transport_api_reliability_unix_peer2.conf\
1282 test_transport_api_reliability_wlan_peer1.conf\
1283 test_transport_api_reliability_wlan_peer2.conf\
1284 test_transport_api_reliability_bluetooth_peer1.conf\
1285 test_transport_api_reliability_bluetooth_peer2.conf\
1286 test_transport_test_transport_address_switch_http_peer1.conf\
1287 test_transport_test_transport_address_switch_http_peer2.conf\
1288 test_transport_test_transport_address_switch_https_peer1.conf\
1289 test_transport_test_transport_address_switch_https_peer2.conf\
1290 test_transport_test_transport_address_switch_udp_peer1.conf\
1291 test_transport_test_transport_address_switch_udp_peer2.conf\
1292 test_transport_test_transport_address_switch_tcp_peer1.conf\
1293 test_transport_test_transport_address_switch_tcp_peer2.conf\
1294 test_transport_api_wlan_peer1.conf\
1295 test_transport_api_wlan_peer2.conf\
1296 test_transport_api_bluetooth_peer1.conf\
1297 test_transport_api_bluetooth_peer2.conf\
1298 test_transport_api_monitor_peers_peer1.conf\
1299 test_transport_api_monitor_peers_peer2.conf\
1300 test_transport_api_monitor_validation_peer1.conf\
1301 test_transport_api_monitor_validation_peer2.conf\
1302 test_transport_defaults.conf\
1303 test_transport_startonly.conf\
1304 test_transport_api_disconnect_tcp_peer1.conf\
1305 test_transport_api_disconnect_tcp_peer2.conf\
1306 test_transport_api_timeout_http_peer1.conf\
1307 test_transport_api_timeout_http_peer2.conf\
1308 test_transport_api_timeout_https_peer1.conf\
1309 test_transport_api_timeout_https_peer2.conf\
1310 test_transport_blacklisting_cfg_peer1.conf \
1311 test_transport_blacklisting_cfg_peer2.conf \
1312 test_transport_blacklisting_cfg_blp_peer1_full.conf\
1313 test_transport_blacklisting_cfg_blp_peer1_plugin.conf \
1314 test_transport_blacklisting_cfg_blp_peer2_full.conf\
1315 test_transport_blacklisting_cfg_blp_peer2_plugin.conf \
1316 test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf \
1317 test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf \
1318 test_transport_api_http_reverse_peer1.conf \
1319 test_transport_api_http_reverse_peer2.conf \
1320 perf_tcp_peer1.conf \
1321 perf_tcp_peer2.conf
1322