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