fix dist for tng
[oweals/gnunet.git] / src / transport / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3
4 plugindir = $(libdir)/gnunet
5
6 pkgcfgdir= $(pkgdatadir)/config.d/
7
8 libexecdir= $(pkglibdir)/libexec/
9
10 pkgcfg_DATA = \
11   transport.conf \
12   communicator-unix.conf
13
14 if HAVE_MHD
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 LIB_GNURL=@LIBGNURL@
27 CPP_GNURL=@LIBGNURL_CPPFLAGS@
28 else
29 if HAVE_LIBCURL
30  HTTP_CLIENT_PLUGIN_TEST = test_plugin_http_client
31  HTTPS_CLIENT_PLUGIN_TEST = test_plugin_https_client
32  HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la
33  HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la
34 LIB_GNURL=@LIBCURL@
35 CPP_GNURL=@LIBCURL_CPPFLAGS@
36 endif
37 endif
38
39 if HAVE_MHD
40 if HAVE_LIBGNURL
41  HTTP_API_TEST = test_transport_api_http
42  HTTP_REVERSE_API_TEST = test_transport_api_http_reverse
43  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
44  HTTP_REL_TEST = test_transport_api_reliability_http \
45                  test_transport_api_reliability_http_xhr
46  HTTP_QUOTA_TEST = test_quota_compliance_http \
47                    test_quota_compliance_http_asymmetric
48  HTTP_SWITCH = test_transport_address_switch_http
49  HTTPS_API_TEST = test_transport_api_https
50  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
51 if HAVE_EXPERIMENTAL
52  HTTPS_REL_TEST = test_transport_api_reliability_https \
53                   test_transport_api_reliability_https_xhr
54 endif
55  HTTPS_QUOTA_TEST = test_quota_compliance_https \
56                 test_quota_compliance_https_asymmetric
57  HTTPS_SWITCH = test_transport_address_switch_https
58 else
59 if HAVE_LIBCURL
60  HTTP_API_TEST = test_transport_api_http
61  HTTP_REVERSE_API_TEST = test_transport_api_http_reverse
62  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
63  HTTP_REL_TEST = test_transport_api_reliability_http \
64                  test_transport_api_reliability_http_xhr
65  HTTP_QUOTA_TEST = test_quota_compliance_http \
66                    test_quota_compliance_http_asymmetric
67  HTTP_SWITCH = test_transport_address_switch_http
68  HTTPS_API_TEST = test_transport_api_https
69  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
70 if HAVE_EXPERIMENTAL
71  HTTPS_REL_TEST = test_transport_api_reliability_https \
72                   test_transport_api_reliability_https_xhr
73 endif
74  HTTPS_QUOTA_TEST = test_quota_compliance_https \
75                 test_quota_compliance_https_asymmetric
76  HTTPS_SWITCH = test_transport_address_switch_https
77 endif
78 endif
79 endif
80
81 if USE_COVERAGE
82   AM_CFLAGS = --coverage -O0
83 endif
84
85 if HAVE_EXPERIMENTAL
86 if LINUX
87  WLAN_BIN = gnunet-helper-transport-wlan
88  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
89  WLAN_BIN_SENDER = gnunet-transport-wlan-sender
90  WLAN_BIN_RECEIVER = gnunet-transport-wlan-receiver
91  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
92  WLAN_PLUGIN_TEST = test_plugin_wlan
93  WLAN_API_TEST = test_transport_api_wlan
94  WLAN_TIMEOUT_TEST = test_transport_api_timeout_wlan
95  WLAN_REL_TEST = test_transport_api_reliability_wlan
96  WLAN_QUOTA_TEST = test_quota_compliance_wlan \
97                 test_quota_compliance_wlan_asymmetric
98 endif
99
100 if LINUX
101 if HAVE_LIBBLUETOOTH
102  BT_BIN = gnunet-helper-transport-bluetooth
103  BT_PLUGIN_LA = libgnunet_plugin_transport_bluetooth.la
104  BT_PLUGIN_TEST = test_plugin_bluetooth
105  BT_API_TEST = test_transport_api_bluetooth
106  BT_TIMEOUT_TEST = test_transport_api_timeout_bluetooth
107  BT_REL_TEST = test_transport_api_reliability_bluetooth
108  BT_QUOTA_TEST = test_quota_compliance_bluetooth \
109     test_quota_compliance_bluetooth_asymmetric
110 endif
111 endif
112
113 # end of HAVE_EXPERIMENTAL
114 endif
115
116
117 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
118 UNIX_PLUGIN_TEST = test_transport_api_unix
119 UNIX_TEST = test_plugin_unix
120 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
121 UNIX_REL_TEST = test_transport_api_reliability_unix
122 UNIX_QUOTA_TEST = test_quota_compliance_unix \
123      test_quota_compliance_unix_asymmetric
124 if LINUX
125  UNIX_API_ABSTRACT_TEST = test_transport_api_unix_abstract
126 endif
127
128
129 noinst_PROGRAMS = \
130  gnunet-transport-profiler \
131  gnunet-communicator-tcp \
132  gnunet-communicator-udp \
133  gnunet-service-tng \
134  $(WLAN_BIN_SENDER) \
135  $(WLAN_BIN_RECEIVER)
136
137 if HAVE_TESTING
138 TESTING_LIBS = libgnunettransporttesting.la \
139                                                          libgnunettransporttesting2.la
140 endif
141
142 lib_LTLIBRARIES = \
143   libgnunettransport.la \
144   libgnunettransportapplication.la \
145   libgnunettransportcore.la \
146   libgnunettransportcommunicator.la \
147   libgnunettransportmonitor.la \
148   $(TESTING_LIBS)
149
150 libgnunettransporttesting_la_SOURCES = \
151   transport-testing.c transport-testing.h \
152   transport-testing-filenames.c \
153   transport-testing-loggers.c \
154   transport-testing-main.c \
155   transport-testing-send.c
156 libgnunettransporttesting_la_LIBADD = \
157   libgnunettransport.la \
158   $(top_builddir)/src/hello/libgnunethello.la \
159   $(top_builddir)/src/ats/libgnunetats.la \
160   $(top_builddir)/src/util/libgnunetutil.la \
161   $(top_builddir)/src/testing/libgnunettesting.la \
162   $(GN_LIBINTL)
163 libgnunettransporttesting_la_LDFLAGS = \
164  $(GN_LIB_LDFLAGS)
165
166 libgnunettransporttesting2_la_SOURCES = \
167   transport-testing2.c transport-testing2.h
168 libgnunettransporttesting2_la_LIBADD = \
169   libgnunettransport.la \
170   $(top_builddir)/src/hello/libgnunethello.la \
171   $(top_builddir)/src/util/libgnunetutil.la
172 libgnunettransporttesting2_la_LDFLAGS = \
173   $(GN_LIBINTL) \
174   $(GN_LIB_LDFLAGS)
175
176 libgnunettransport_la_SOURCES = \
177   transport.h \
178   transport_api_address_to_string.c \
179   transport_api_blacklist.c \
180   transport_api_core.c \
181   transport_api_hello_get.c \
182   transport_api_manipulation.c \
183   transport_api_monitor_peers.c \
184   transport_api_monitor_plugins.c \
185   transport_api_offer_hello.c
186
187 libgnunettransport_la_LIBADD = \
188   $(top_builddir)/src/hello/libgnunethello.la \
189   $(top_builddir)/src/ats/libgnunetats.la \
190   $(top_builddir)/src/util/libgnunetutil.la \
191   $(GN_LIBINTL)
192 libgnunettransport_la_LDFLAGS = \
193   $(GN_LIB_LDFLAGS)  \
194   -version-info 4:0:2
195
196 libgnunettransportapplication_la_SOURCES = \
197   transport_api2_application.c
198 libgnunettransportapplication_la_LIBADD = \
199  $(top_builddir)/src/util/libgnunetutil.la \
200  $(LTLIBINTL)
201 libgnunettransportapplication_la_LDFLAGS = \
202   $(GN_LIB_LDFLAGS)  \
203   -version-info 0:0:0
204
205
206 libgnunettransportcore_la_SOURCES = \
207   transport_api2_core.c
208 libgnunettransportcore_la_LIBADD = \
209   $(top_builddir)/src/util/libgnunetutil.la \
210   $(GN_LIBINTL)
211 libgnunettransportcore_la_LDFLAGS = \
212   $(GN_LIB_LDFLAGS)  \
213   -version-info 0:0:0
214
215 libgnunettransportcommunicator_la_SOURCES = \
216   transport_api2_communication.c
217 libgnunettransportcommunicator_la_LIBADD = \
218   $(top_builddir)/src/util/libgnunetutil.la \
219   $(GN_LIBINTL)
220 libgnunettransportcommunicator_la_LDFLAGS = \
221   $(GN_LIB_LDFLAGS)  \
222   -version-info 0:0:0
223
224
225 libgnunettransportmonitor_la_SOURCES = \
226   transport_api2_monitor.c
227 libgnunettransportmonitor_la_LIBADD = \
228   $(top_builddir)/src/util/libgnunetutil.la \
229   $(GN_LIBINTL)
230 libgnunettransportmonitor_la_LDFLAGS = \
231   $(GN_LIB_LDFLAGS)  \
232   -version-info 0:0:0
233
234
235 libexec_PROGRAMS = \
236  $(WLAN_BIN) \
237  $(WLAN_BIN_DUMMY) \
238  $(BT_BIN) \
239  gnunet-service-transport \
240  gnunet-communicator-unix \
241  gnunet-communicator-udp \
242  gnunet-communicator-tcp
243
244
245
246 bin_PROGRAMS = \
247  gnunet-transport
248
249 bin_SCRIPTS = \
250  gnunet-transport-certificate-creation
251
252 # See: https://www.gnu.org/software/automake/manual/html_node/Scripts.html#Scripts
253 do_subst = sed -e 's,[@]pkgdatadir[@],$(pkgdatadir),g'
254
255
256 gnunet-transport-certificate-creation: gnunet-transport-certificate-creation.in Makefile
257         $(do_subst) < $(srcdir)/gnunet-transport-certificate-creation.in > gnunet-transport-certificate-creation
258         chmod +x gnunet-transport-certificate-creation
259
260
261
262 gnunet_communicator_unix_SOURCES = \
263  gnunet-communicator-unix.c
264 gnunet_communicator_unix_LDADD = \
265   libgnunettransportcommunicator.la \
266   $(top_builddir)/src/statistics/libgnunetstatistics.la \
267   $(top_builddir)/src/util/libgnunetutil.la
268
269 gnunet_communicator_tcp_SOURCES = \
270  gnunet-communicator-tcp.c
271 gnunet_communicator_tcp_LDADD = \
272   libgnunettransportcommunicator.la \
273   $(top_builddir)/src/nat/libgnunetnatnew.la \
274   $(top_builddir)/src/nt/libgnunetnt.la \
275   $(top_builddir)/src/statistics/libgnunetstatistics.la \
276   $(top_builddir)/src/util/libgnunetutil.la \
277   $(LIBGCRYPT_LIBS)
278
279 gnunet_communicator_udp_SOURCES = \
280  gnunet-communicator-udp.c
281 gnunet_communicator_udp_LDADD = \
282   libgnunettransportapplication.la \
283   libgnunettransportcommunicator.la \
284   $(top_builddir)/src/nat/libgnunetnatnew.la \
285   $(top_builddir)/src/nt/libgnunetnt.la \
286   $(top_builddir)/src/statistics/libgnunetstatistics.la \
287   $(top_builddir)/src/util/libgnunetutil.la \
288   $(LIBGCRYPT_LIBS)
289
290
291 gnunet_helper_transport_wlan_SOURCES = \
292  gnunet-helper-transport-wlan.c
293
294 gnunet_helper_transport_wlan_dummy_SOURCES = \
295  gnunet-helper-transport-wlan-dummy.c
296 gnunet_helper_transport_wlan_dummy_LDADD = \
297   $(top_builddir)/src/util/libgnunetutil.la
298
299 gnunet_transport_wlan_sender_SOURCES = \
300  gnunet-transport-wlan-sender.c
301 gnunet_transport_wlan_sender_LDADD = \
302   $(top_builddir)/src/util/libgnunetutil.la
303
304 gnunet_transport_wlan_receiver_SOURCES = \
305  gnunet-transport-wlan-receiver.c
306 gnunet_transport_wlan_receiver_LDADD = \
307   $(top_builddir)/src/util/libgnunetutil.la
308
309 gnunet_helper_transport_bluetooth_SOURCES = \
310  gnunet-helper-transport-bluetooth.c
311
312 gnunet_helper_transport_bluetooth_LDFLAGS = -lbluetooth
313
314
315 gnunet_transport_profiler_SOURCES = \
316  gnunet-transport-profiler.c
317 gnunet_transport_profiler_LDADD = \
318   libgnunettransport.la \
319   $(top_builddir)/src/hello/libgnunethello.la \
320   $(top_builddir)/src/ats/libgnunetats.la \
321   $(top_builddir)/src/util/libgnunetutil.la \
322   $(GN_LIBINTL)
323
324 gnunet_transport_SOURCES = \
325  gnunet-transport.c
326 gnunet_transport_LDADD = \
327   libgnunettransport.la \
328   $(top_builddir)/src/hello/libgnunethello.la \
329   $(top_builddir)/src/util/libgnunetutil.la \
330   $(GN_LIBINTL)
331
332 gnunet_service_transport_SOURCES = \
333  gnunet-service-transport.c gnunet-service-transport.h \
334  gnunet-service-transport_ats.h gnunet-service-transport_ats.c \
335  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
336  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
337  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
338  gnunet-service-transport_validation.h gnunet-service-transport_validation.c \
339  gnunet-service-transport_manipulation.h gnunet-service-transport_manipulation.c
340 # Note that while gnunet-service-transport does not use libgnunetnat
341 # directly, we must link against it as GNUNET_NAT_mini_map_stop will
342 # leave a 'dangling' task to process_unmap_output which will cause
343 # a crash on unloading of a plugin unless the service links against
344 # that library as well.
345 gnunet_service_transport_LDADD = \
346   libgnunettransport.la \
347   $(top_builddir)/src/ats/libgnunetats.la \
348   $(top_builddir)/src/hello/libgnunethello.la \
349   $(top_builddir)/src/nt/libgnunetnt.la \
350   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
351   $(top_builddir)/src/statistics/libgnunetstatistics.la \
352   $(top_builddir)/src/util/libgnunetutil.la \
353   $(GN_GLPK) \
354   $(GN_LIBINTL)
355 gnunet_service_transport_CFLAGS = \
356   $(AM_CFLAGS)
357 # -DANALYZE
358
359
360 gnunet_service_tng_SOURCES = \
361  gnunet-service-tng.c
362 gnunet_service_tng_LDADD = \
363   $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
364   $(top_builddir)/src/hello/libgnunethello.la \
365   $(top_builddir)/src/statistics/libgnunetstatistics.la \
366   $(top_builddir)/src/util/libgnunetutil.la \
367   $(LIBGCRYPT_LIBS) \
368   $(GN_LIBINTL)
369
370 plugin_LTLIBRARIES = \
371   libgnunet_plugin_transport_tcp.la \
372   $(UNIX_PLUGIN_LA) \
373   $(HTTP_CLIENT_PLUGIN_LA) \
374   $(HTTPS_CLIENT_PLUGIN_LA) \
375   $(HTTP_SERVER_PLUGIN_LA) \
376   $(HTTPS_SERVER_PLUGIN_LA) \
377   $(WLAN_PLUGIN_LA) \
378   $(BT_PLUGIN_LA)
379
380 if HAVE_EXPERIMENTAL
381 plugin_LTLIBRARIES += libgnunet_plugin_transport_udp.la
382 endif
383
384 # Note: real plugins of course need to be added
385 # to the plugin_LTLIBRARIES above
386 noinst_LTLIBRARIES = \
387   libgnunet_plugin_transport_template.la
388
389 libgnunet_plugin_transport_tcp_la_SOURCES = \
390   plugin_transport_tcp.c
391 libgnunet_plugin_transport_tcp_la_LIBADD = \
392   $(top_builddir)/src/hello/libgnunethello.la \
393   $(top_builddir)/src/statistics/libgnunetstatistics.la \
394   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
395   $(top_builddir)/src/nat/libgnunetnatnew.la \
396   $(top_builddir)/src/util/libgnunetutil.la \
397   $(LTLIBINTL)
398 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
399  $(GN_PLUGIN_LDFLAGS)
400
401 libgnunet_plugin_transport_template_la_SOURCES = \
402   plugin_transport_template.c
403 libgnunet_plugin_transport_template_la_LIBADD = \
404   $(top_builddir)/src/util/libgnunetutil.la \
405   $(LTLIBINTL)
406 libgnunet_plugin_transport_template_la_LDFLAGS = \
407  $(GN_PLUGIN_LDFLAGS)
408
409 libgnunet_plugin_transport_wlan_la_SOURCES = \
410   plugin_transport_wlan.c plugin_transport_wlan.h
411 libgnunet_plugin_transport_wlan_la_LIBADD = \
412   $(top_builddir)/src/hello/libgnunethello.la \
413   $(top_builddir)/src/statistics/libgnunetstatistics.la \
414   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
415   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
416   $(top_builddir)/src/util/libgnunetutil.la
417 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
418   $(GN_PLUGIN_LDFLAGS)
419 libgnunet_plugin_transport_wlan_la_CFLAGS = \
420  $(AM_CFLAGS) -DBUILD_WLAN
421
422 libgnunet_plugin_transport_bluetooth_la_SOURCES = \
423   plugin_transport_wlan.c plugin_transport_wlan.h
424 libgnunet_plugin_transport_bluetooth_la_LIBADD = \
425   $(top_builddir)/src/hello/libgnunethello.la \
426   $(top_builddir)/src/statistics/libgnunetstatistics.la \
427   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
428   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
429   $(top_builddir)/src/util/libgnunetutil.la
430 libgnunet_plugin_transport_bluetooth_la_LDFLAGS = \
431   $(GN_PLUGIN_LDFLAGS)
432 libgnunet_plugin_transport_bluetooth_la_CFLAGS = \
433  $(AM_CFLAGS) -DBUILD_BLUETOOTH
434
435 if HAVE_EXPERIMENTAL
436 libgnunet_plugin_transport_udp_la_SOURCES = \
437   plugin_transport_udp.c plugin_transport_udp.h \
438   plugin_transport_udp_broadcasting.c
439 libgnunet_plugin_transport_udp_la_LIBADD = \
440   $(top_builddir)/src/hello/libgnunethello.la \
441   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
442   $(top_builddir)/src/statistics/libgnunetstatistics.la \
443   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
444   $(top_builddir)/src/nat/libgnunetnatnew.la \
445   $(top_builddir)/src/util/libgnunetutil.la \
446   $(LTLIBINTL)
447 libgnunet_plugin_transport_udp_la_LDFLAGS = \
448  $(GN_PLUGIN_LDFLAGS)
449 endif
450
451 libgnunet_plugin_transport_unix_la_SOURCES = \
452   plugin_transport_unix.c
453 libgnunet_plugin_transport_unix_la_LIBADD = \
454   $(top_builddir)/src/hello/libgnunethello.la \
455   $(top_builddir)/src/statistics/libgnunetstatistics.la \
456   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
457   $(top_builddir)/src/util/libgnunetutil.la \
458   $(LTLIBINTL)
459 libgnunet_plugin_transport_unix_la_LDFLAGS = \
460  $(GN_PLUGIN_LDFLAGS)
461
462
463 libgnunet_plugin_transport_http_client_la_SOURCES = \
464   plugin_transport_http_client.c plugin_transport_http_common.c plugin_transport_http_common.h
465 libgnunet_plugin_transport_http_client_la_LIBADD = \
466   $(top_builddir)/src/hello/libgnunethello.la \
467   $(top_builddir)/src/statistics/libgnunetstatistics.la \
468   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
469   $(LIB_GNURL) \
470   $(top_builddir)/src/util/libgnunetutil.la
471 libgnunet_plugin_transport_http_client_la_LDFLAGS = \
472   $(GN_LIBINTL) \
473   $(GN_PLUGIN_LDFLAGS)
474 libgnunet_plugin_transport_http_client_la_CFLAGS = \
475  $(CPP_GNURL) $(AM_CFLAGS)
476
477
478 libgnunet_plugin_transport_http_server_la_SOURCES = \
479   plugin_transport_http_server.c plugin_transport_http_common.c
480 libgnunet_plugin_transport_http_server_la_LIBADD = \
481   $(MHD_LIBS) \
482   $(top_builddir)/src/hello/libgnunethello.la \
483   $(top_builddir)/src/statistics/libgnunetstatistics.la \
484   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
485   $(top_builddir)/src/nat/libgnunetnatnew.la \
486   $(top_builddir)/src/util/libgnunetutil.la
487 libgnunet_plugin_transport_http_server_la_LDFLAGS = \
488   $(GN_LIBINTL) \
489  $(GN_PLUGIN_LDFLAGS)
490 libgnunet_plugin_transport_http_server_la_CFLAGS = \
491  $(MHD_CFLAGS) $(AM_CFLAGS)
492
493 libgnunet_plugin_transport_https_client_la_SOURCES = \
494   plugin_transport_http_client.c plugin_transport_http_common.c
495 libgnunet_plugin_transport_https_client_la_LIBADD = \
496   $(top_builddir)/src/hello/libgnunethello.la \
497   $(top_builddir)/src/statistics/libgnunetstatistics.la \
498   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
499   $(LIB_GNURL) \
500   $(top_builddir)/src/util/libgnunetutil.la
501 libgnunet_plugin_transport_https_client_la_LDFLAGS = \
502   $(GN_LIBINTL) \
503   $(GN_PLUGIN_LDFLAGS)
504 libgnunet_plugin_transport_https_client_la_CFLAGS = \
505  $(CPP_GNURL) $(AM_CFLAGS) -DBUILD_HTTPS
506
507
508 libgnunet_plugin_transport_https_server_la_SOURCES = \
509   plugin_transport_http_server.c plugin_transport_http_common.c
510 libgnunet_plugin_transport_https_server_la_LIBADD = \
511   $(MHD_LIBS) \
512   $(top_builddir)/src/hello/libgnunethello.la \
513   $(top_builddir)/src/statistics/libgnunetstatistics.la \
514   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
515   $(top_builddir)/src/nat/libgnunetnatnew.la \
516   $(top_builddir)/src/util/libgnunetutil.la
517 libgnunet_plugin_transport_https_server_la_LDFLAGS = \
518   $(GN_LIBINTL) \
519  $(GN_PLUGIN_LDFLAGS)
520 libgnunet_plugin_transport_https_server_la_CFLAGS = \
521  $(MHD_CFLAGS) $(AM_CFLAGS) -DBUILD_HTTPS
522
523 if HAVE_TESTING
524 check_PROGRAMS = \
525  test_transport_address_switch_tcp \
526  test_transport_testing_startstop \
527  test_transport_testing_restart \
528  test_plugin_tcp \
529  $(UNIX_TEST) \
530  $(WLAN_PLUGIN_TEST) \
531  $(BT_PLUGIN_TEST) \
532  test_http_common \
533  $(HTTP_CLIENT_PLUGIN_TEST) \
534  $(HTTPS_CLIENT_PLUGIN_TEST) \
535  $(HTTP_SERVER_PLUGIN_TEST) \
536  $(HTTPS_SERVER_PLUGIN_TEST) \
537  test_transport_api_blacklisting_tcp \
538  test_transport_api_disconnect_tcp \
539  test_transport_api_tcp \
540  test_transport_api_restart_1peer \
541  test_transport_api_restart_2peers \
542  test_transport_api_timeout_tcp \
543  test_transport_api_limited_sockets_tcp \
544  test_transport_api_tcp_nat \
545  $(UNIX_PLUGIN_TEST) \
546  $(UNIX_PLUGIN_TIMEOUT_TEST) \
547  $(UNIX_API_ABSTRACT_TEST) \
548  $(HTTP_API_TEST) \
549  $(HTTP_REVERSE_API_TEST) \
550  $(HTTP_API_TIMEOUT_TEST) \
551  $(HTTP_SWITCH) \
552  $(HTTPS_API_TEST) \
553  $(HTTPS_API_TIMEOUT_TEST) \
554  $(HTTPS_SWITCH) \
555  $(WLAN_API_TEST) \
556  $(WLAN_TIMEOUT_TEST) \
557  $(BT_API_TEST) \
558  $(BT_TIMEOUT_TEST) \
559  test_transport_api_multi \
560  test_transport_api_monitor_peers \
561  test_transport_blacklisting_no_bl \
562  test_transport_blacklisting_outbound_bl_full \
563  test_transport_blacklisting_outbound_bl_plugin \
564  test_transport_blacklisting_inbound_bl_plugin \
565  test_transport_blacklisting_inbound_bl_full \
566  test_transport_blacklisting_multiple_plugins \
567  test_transport_api_manipulation_send_tcp \
568  test_transport_api_manipulation_recv_tcp \
569  test_transport_api_manipulation_cfg \
570  test_transport_api_reliability_tcp \
571  test_transport_api_reliability_tcp_nat \
572  $(UNIX_REL_TEST) \
573  $(HTTP_REL_TEST) \
574  $(HTTPS_REL_TEST) \
575  $(WLAN_REL_TEST) \
576  $(WLAN_UREL_TEST) \
577  $(BT_REL_TEST) \
578  $(BT_UREL_TEST) \
579  test_quota_compliance_tcp \
580  test_quota_compliance_tcp_asymmetric \
581  $(UNIX_QUOTA_TEST) \
582  $(HTTP_QUOTA_TEST) \
583  $(HTTPS_QUOTA_TEST) \
584  $(WLAN_QUOTA_TEST) \
585  $(BT_QUOTA_TEST)
586 if HAVE_GETOPT_BINARY
587 check_PROGRAMS += \
588 test_transport_api_slow_ats
589 endif
590 if HAVE_EXPERIMENTAL
591 check_PROGRAMS += \
592   test_transport_address_switch_udp \
593   test_plugin_udp \
594   test_transport_api_udp \
595   test_transport_api_timeout_udp \
596   test_transport_api_udp_nat \
597   test_transport_api_reliability_udp \
598   test_quota_compliance_udp \
599   test_communicator_basic-unix \
600   test_communicator_basic-tcp \
601   test_communicator_basic-udp \
602   test_communicator_rekey-tcp \
603   test_communicator_rekey-udp \
604   test_communicator_backchannel-udp
605 endif
606 endif
607
608 if ENABLE_TEST_RUN
609 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
610 TESTS = \
611  test_transport_address_switch_tcp \
612  $(HTTP_SWITCH) \
613  $(HTTPS_SWITCH) \
614  test_transport_testing_startstop \
615  test_transport_testing_restart \
616  test_plugin_tcp \
617  $(UNIX_TEST) \
618  $(WLAN_PLUGIN_TEST) \
619  $(BT_PLUGIN_TEST) \
620  test_transport_api_blacklisting_tcp \
621  test_transport_api_disconnect_tcp \
622  test_transport_api_tcp \
623  test_transport_api_restart_1peer \
624  test_transport_api_restart_2peers \
625  test_transport_api_limited_sockets_tcp \
626  test_transport_api_tcp_nat \
627  $(UNIX_PLUGIN_TEST) \
628  $(UNIX_API_ABSTRACT_TEST) \
629  $(HTTP_API_TEST) \
630  $(HTTPS_API_TEST) \
631  $(WLAN_API_TEST) \
632  $(BT_API_TEST) \
633  test_transport_api_multi \
634  test_transport_api_monitor_peers \
635  test_transport_blacklisting_no_bl \
636  test_transport_blacklisting_outbound_bl_full \
637  test_transport_blacklisting_outbound_bl_plugin \
638  test_transport_blacklisting_inbound_bl_plugin \
639  test_transport_blacklisting_inbound_bl_full \
640  test_transport_blacklisting_multiple_plugins \
641  test_transport_api_manipulation_send_tcp \
642  test_transport_api_manipulation_recv_tcp \
643  test_transport_api_manipulation_cfg \
644  test_transport_api_reliability_tcp \
645  test_transport_api_reliability_tcp_nat \
646  $(UNIX_REL_TEST) \
647  $(HTTP_REL_TEST) \
648  $(HTTPS_REL_TEST) \
649  $(WLAN_REL_TEST) \
650  $(WLAN_UREL_TEST) \
651  $(BT_REL_TEST) \
652  $(BT_UREL_TEST) \
653  test_quota_compliance_tcp \
654  test_quota_compliance_tcp_asymmetric \
655  $(UNIX_QUOTA_TEST) \
656  $(HTTP_QUOTA_TEST) \
657  $(HTTPS_QUOTA_TEST) \
658  test_transport_api_timeout_tcp \
659  $(UNIX_PLUGIN_TIMEOUT_TEST) \
660  $(HTTP_API_TIMEOUT_TEST) \
661  $(HTTPS_API_TIMEOUT_TEST) \
662  $(WLAN_TIMEOUT_TEST) \
663  $(BT_TIMEOUT_TEST)
664 if HAVE_GETOPT_BINARY
665 TESTS += \
666 test_transport_api_slow_ats
667 endif
668 if HAVE_EXPERIMENTAL
669 TESTS += \
670   test_transport_address_switch_udp \
671   test_plugin_udp \
672   test_transport_api_udp \
673   test_transport_api_timeout_udp \
674   test_transport_api_udp_nat \
675   test_transport_api_reliability_udp \
676   test_quota_compliance_udp
677 endif
678 endif
679
680 test_transport_testing_startstop_SOURCES = \
681  test_transport_testing_startstop.c
682 test_transport_testing_startstop_LDADD = \
683  $(top_builddir)/src/util/libgnunetutil.la \
684  libgnunettransport.la \
685  $(top_builddir)/src/hello/libgnunethello.la \
686  libgnunettransporttesting.la
687
688 test_transport_testing_restart_SOURCES = \
689  test_transport_testing_restart.c
690 test_transport_testing_restart_LDADD = \
691  $(top_builddir)/src/util/libgnunetutil.la \
692  libgnunettransport.la \
693  $(top_builddir)/src/hello/libgnunethello.la \
694  libgnunettransporttesting.la
695
696 test_transport_api_blacklisting_tcp_SOURCES = \
697  test_transport_api_blacklisting.c
698 test_transport_api_blacklisting_tcp_LDADD = \
699  libgnunettransport.la \
700  $(top_builddir)/src/hello/libgnunethello.la \
701  $(top_builddir)/src/statistics/libgnunetstatistics.la \
702  $(top_builddir)/src/util/libgnunetutil.la \
703  libgnunettransporttesting.la
704
705 test_transport_blacklisting_no_bl_SOURCES = \
706  test_transport_blacklisting.c
707 test_transport_blacklisting_no_bl_LDADD = \
708  libgnunettransport.la \
709  $(top_builddir)/src/hello/libgnunethello.la \
710  $(top_builddir)/src/statistics/libgnunetstatistics.la \
711  $(top_builddir)/src/util/libgnunetutil.la \
712  libgnunettransporttesting.la
713
714 test_transport_blacklisting_outbound_bl_full_SOURCES = \
715  test_transport_blacklisting.c
716 test_transport_blacklisting_outbound_bl_full_LDADD = \
717  libgnunettransport.la \
718  $(top_builddir)/src/hello/libgnunethello.la \
719  $(top_builddir)/src/statistics/libgnunetstatistics.la \
720  $(top_builddir)/src/util/libgnunetutil.la \
721  libgnunettransporttesting.la
722
723 test_transport_blacklisting_outbound_bl_plugin_SOURCES = \
724  test_transport_blacklisting.c
725 test_transport_blacklisting_outbound_bl_plugin_LDADD = \
726  libgnunettransport.la \
727  $(top_builddir)/src/hello/libgnunethello.la \
728  $(top_builddir)/src/statistics/libgnunetstatistics.la \
729  $(top_builddir)/src/util/libgnunetutil.la \
730  libgnunettransporttesting.la
731
732 test_transport_blacklisting_inbound_bl_full_SOURCES = \
733  test_transport_blacklisting.c
734 test_transport_blacklisting_inbound_bl_full_LDADD = \
735  libgnunettransport.la \
736  $(top_builddir)/src/hello/libgnunethello.la \
737  $(top_builddir)/src/statistics/libgnunetstatistics.la \
738  $(top_builddir)/src/util/libgnunetutil.la \
739  libgnunettransporttesting.la
740
741 test_transport_blacklisting_inbound_bl_plugin_SOURCES = \
742  test_transport_blacklisting.c
743 test_transport_blacklisting_inbound_bl_plugin_LDADD = \
744  libgnunettransport.la \
745  $(top_builddir)/src/hello/libgnunethello.la \
746  $(top_builddir)/src/statistics/libgnunetstatistics.la \
747  $(top_builddir)/src/util/libgnunetutil.la \
748  libgnunettransporttesting.la
749
750 test_transport_blacklisting_multiple_plugins_SOURCES = \
751  test_transport_blacklisting.c
752 test_transport_blacklisting_multiple_plugins_LDADD = \
753  libgnunettransport.la \
754  $(top_builddir)/src/hello/libgnunethello.la \
755  $(top_builddir)/src/statistics/libgnunetstatistics.la \
756  $(top_builddir)/src/util/libgnunetutil.la \
757  libgnunettransporttesting.la
758
759
760 test_transport_api_disconnect_tcp_SOURCES = \
761  test_transport_api_disconnect.c
762 test_transport_api_disconnect_tcp_LDADD = \
763  libgnunettransport.la \
764  $(top_builddir)/src/hello/libgnunethello.la \
765  $(top_builddir)/src/statistics/libgnunetstatistics.la \
766  $(top_builddir)/src/util/libgnunetutil.la \
767  libgnunettransporttesting.la
768
769 test_plugin_tcp_SOURCES = \
770  test_plugin_transport.c
771 test_plugin_tcp_LDADD = \
772  libgnunettransport.la \
773  $(top_builddir)/src/statistics/libgnunetstatistics.la \
774  $(top_builddir)/src/hello/libgnunethello.la \
775  $(top_builddir)/src/util/libgnunetutil.la  \
776  libgnunettransporttesting.la
777
778 if HAVE_EXPERIMENTAL
779 test_plugin_udp_SOURCES = \
780  test_plugin_transport.c
781 test_plugin_udp_LDADD = \
782  libgnunettransport.la \
783  $(top_builddir)/src/statistics/libgnunetstatistics.la \
784  $(top_builddir)/src/hello/libgnunethello.la \
785  $(top_builddir)/src/util/libgnunetutil.la  \
786  libgnunettransporttesting.la
787 endif
788
789 if HAVE_EXPERIMENTAL
790 test_communicator_basic_unix_SOURCES = \
791  test_communicator_basic.c
792 test_communicator_basic_unix_LDADD = \
793  libgnunettransporttesting2.la \
794  $(top_builddir)/src/testing/libgnunettesting.la \
795  $(top_builddir)/src/util/libgnunetutil.la
796
797 test_communicator_basic_tcp_SOURCES = \
798  test_communicator_basic.c
799 test_communicator_basic_tcp_LDADD = \
800  libgnunettransporttesting2.la \
801  $(top_builddir)/src/testing/libgnunettesting.la \
802  $(top_builddir)/src/util/libgnunetutil.la
803
804 test_communicator_basic_udp_SOURCES = \
805  test_communicator_basic.c
806 test_communicator_basic_udp_LDADD = \
807  libgnunettransporttesting2.la \
808  $(top_builddir)/src/testing/libgnunettesting.la \
809  $(top_builddir)/src/util/libgnunetutil.la
810
811 test_communicator_rekey_tcp_SOURCES = \
812  test_communicator_basic.c
813 test_communicator_rekey_tcp_LDADD = \
814  libgnunettransporttesting2.la \
815  $(top_builddir)/src/testing/libgnunettesting.la \
816  $(top_builddir)/src/util/libgnunetutil.la
817
818 test_communicator_rekey_udp_SOURCES = \
819  test_communicator_basic.c
820 test_communicator_rekey_udp_LDADD = \
821  libgnunettransporttesting2.la \
822  $(top_builddir)/src/testing/libgnunettesting.la \
823  $(top_builddir)/src/util/libgnunetutil.la
824
825 test_communicator_backchannel_udp_SOURCES = \
826  test_communicator_basic.c
827 test_communicator_backchannel_udp_LDADD = \
828  libgnunettransporttesting2.la \
829  $(top_builddir)/src/testing/libgnunettesting.la \
830  $(top_builddir)/src/util/libgnunetutil.la
831 endif
832
833 test_plugin_unix_SOURCES = \
834  test_plugin_transport.c
835 test_plugin_unix_LDADD = \
836  libgnunettransport.la \
837  $(top_builddir)/src/statistics/libgnunetstatistics.la \
838  $(top_builddir)/src/hello/libgnunethello.la \
839  $(top_builddir)/src/util/libgnunetutil.la  \
840  libgnunettransporttesting.la
841
842 test_plugin_wlan_SOURCES = \
843  test_plugin_transport.c
844 test_plugin_wlan_LDADD = \
845  libgnunettransport.la \
846  $(top_builddir)/src/statistics/libgnunetstatistics.la \
847  $(top_builddir)/src/hello/libgnunethello.la \
848  $(top_builddir)/src/util/libgnunetutil.la  \
849  libgnunettransporttesting.la
850
851 test_plugin_bluetooth_SOURCES = \
852  test_plugin_transport.c
853 test_plugin_bluetooth_LDADD = \
854  libgnunettransport.la \
855  $(top_builddir)/src/statistics/libgnunetstatistics.la \
856  $(top_builddir)/src/hello/libgnunethello.la \
857  $(top_builddir)/src/util/libgnunetutil.la  \
858  libgnunettransporttesting.la
859
860 test_http_common_SOURCES = \
861  test_http_common.c plugin_transport_http_common.c
862 test_http_common_LDADD = \
863  libgnunettransport.la \
864  $(top_builddir)/src/statistics/libgnunetstatistics.la \
865  $(top_builddir)/src/hello/libgnunethello.la \
866  $(top_builddir)/src/util/libgnunetutil.la  \
867  libgnunettransporttesting.la
868
869 test_plugin_http_server_SOURCES = \
870  test_plugin_transport.c
871 test_plugin_http_server_LDADD = \
872  libgnunettransport.la \
873  $(top_builddir)/src/statistics/libgnunetstatistics.la \
874  $(top_builddir)/src/hello/libgnunethello.la \
875  $(top_builddir)/src/util/libgnunetutil.la  \
876  libgnunettransporttesting.la
877
878 test_plugin_https_server_SOURCES = \
879  test_plugin_transport.c
880 test_plugin_https_server_LDADD = \
881  libgnunettransport.la \
882  $(top_builddir)/src/statistics/libgnunetstatistics.la \
883  $(top_builddir)/src/hello/libgnunethello.la \
884  $(top_builddir)/src/util/libgnunetutil.la  \
885  libgnunettransporttesting.la
886
887 test_plugin_http_client_SOURCES = \
888  test_plugin_transport.c
889 test_plugin_http_client_LDADD = \
890  libgnunettransport.la \
891  $(top_builddir)/src/statistics/libgnunetstatistics.la \
892  $(top_builddir)/src/hello/libgnunethello.la \
893  $(top_builddir)/src/util/libgnunetutil.la  \
894  libgnunettransporttesting.la
895
896 test_plugin_https_client_SOURCES = \
897  test_plugin_transport.c
898 test_plugin_https_client_LDADD = \
899  libgnunettransport.la \
900  $(top_builddir)/src/statistics/libgnunetstatistics.la \
901  $(top_builddir)/src/hello/libgnunethello.la \
902  $(top_builddir)/src/util/libgnunetutil.la  \
903  libgnunettransporttesting.la
904
905 test_transport_api_tcp_SOURCES = \
906  test_transport_api.c
907 test_transport_api_tcp_LDADD = \
908  libgnunettransport.la \
909  $(top_builddir)/src/hello/libgnunethello.la \
910  $(top_builddir)/src/util/libgnunetutil.la  \
911  libgnunettransporttesting.la
912
913 test_transport_api_restart_1peer_SOURCES = \
914  test_transport_api_restart_reconnect.c
915 test_transport_api_restart_1peer_LDADD = \
916  libgnunettransport.la \
917  $(top_builddir)/src/hello/libgnunethello.la \
918  $(top_builddir)/src/ats/libgnunetats.la \
919  $(top_builddir)/src/statistics/libgnunetstatistics.la \
920  $(top_builddir)/src/util/libgnunetutil.la \
921  libgnunettransporttesting.la
922
923 test_transport_api_restart_2peers_SOURCES = \
924  test_transport_api_restart_reconnect.c
925 test_transport_api_restart_2peers_LDADD = \
926  libgnunettransport.la \
927  $(top_builddir)/src/hello/libgnunethello.la \
928  $(top_builddir)/src/ats/libgnunetats.la \
929 $(top_builddir)/src/statistics/libgnunetstatistics.la \
930  $(top_builddir)/src/util/libgnunetutil.la \
931  libgnunettransporttesting.la
932
933 test_transport_api_limited_sockets_tcp_SOURCES = \
934  test_transport_api_limited_sockets.c
935 test_transport_api_limited_sockets_tcp_LDADD = \
936  libgnunettransport.la \
937  $(top_builddir)/src/hello/libgnunethello.la \
938  $(top_builddir)/src/util/libgnunetutil.la  \
939  libgnunettransporttesting.la
940
941 test_transport_api_tcp_nat_SOURCES = \
942  test_transport_api.c
943 test_transport_api_tcp_nat_LDADD = \
944  libgnunettransport.la \
945  $(top_builddir)/src/hello/libgnunethello.la \
946  $(top_builddir)/src/util/libgnunetutil.la \
947  libgnunettransporttesting.la
948
949 test_transport_api_manipulation_send_tcp_SOURCES = \
950  test_transport_api_manipulation_send_tcp.c
951 test_transport_api_manipulation_send_tcp_LDADD = \
952  libgnunettransport.la \
953  $(top_builddir)/src/hello/libgnunethello.la \
954  $(top_builddir)/src/util/libgnunetutil.la \
955  libgnunettransporttesting.la
956
957 test_transport_api_manipulation_recv_tcp_SOURCES = \
958  test_transport_api_manipulation_recv_tcp.c
959 test_transport_api_manipulation_recv_tcp_LDADD = \
960  libgnunettransport.la \
961  $(top_builddir)/src/hello/libgnunethello.la \
962  $(top_builddir)/src/util/libgnunetutil.la \
963  libgnunettransporttesting.la
964
965 test_transport_api_manipulation_cfg_SOURCES = \
966  test_transport_api_manipulation_cfg.c
967 test_transport_api_manipulation_cfg_LDADD = \
968  libgnunettransport.la \
969  $(top_builddir)/src/hello/libgnunethello.la \
970  $(top_builddir)/src/util/libgnunetutil.la \
971  libgnunettransporttesting.la
972
973 test_transport_api_reliability_tcp_SOURCES = \
974  test_transport_api_reliability.c
975 test_transport_api_reliability_tcp_LDADD = \
976  libgnunettransport.la \
977  $(top_builddir)/src/hello/libgnunethello.la \
978  $(top_builddir)/src/util/libgnunetutil.la \
979  libgnunettransporttesting.la
980
981 test_transport_api_timeout_tcp_SOURCES = \
982  test_transport_api_timeout.c
983 test_transport_api_timeout_tcp_LDADD = \
984  libgnunettransport.la \
985  $(top_builddir)/src/hello/libgnunethello.la \
986  $(top_builddir)/src/util/libgnunetutil.la \
987  libgnunettransporttesting.la
988
989 test_transport_api_timeout_unix_SOURCES = \
990  test_transport_api_timeout.c
991 test_transport_api_timeout_unix_LDADD = \
992  libgnunettransport.la \
993  $(top_builddir)/src/hello/libgnunethello.la \
994  $(top_builddir)/src/util/libgnunetutil.la \
995  libgnunettransporttesting.la
996
997 test_transport_api_timeout_wlan_SOURCES = \
998  test_transport_api_timeout.c
999 test_transport_api_timeout_wlan_LDADD = \
1000  libgnunettransport.la \
1001  $(top_builddir)/src/hello/libgnunethello.la \
1002  $(top_builddir)/src/util/libgnunetutil.la \
1003  libgnunettransporttesting.la
1004
1005 test_transport_api_timeout_bluetooth_SOURCES = \
1006  test_transport_api_timeout.c
1007 test_transport_api_timeout_bluetooth_LDADD = \
1008  libgnunettransport.la \
1009  $(top_builddir)/src/hello/libgnunethello.la \
1010  $(top_builddir)/src/util/libgnunetutil.la \
1011  libgnunettransporttesting.la
1012
1013 test_transport_api_reliability_tcp_nat_SOURCES = \
1014  test_transport_api_reliability.c
1015 test_transport_api_reliability_tcp_nat_LDADD = \
1016  libgnunettransport.la \
1017  $(top_builddir)/src/hello/libgnunethello.la \
1018  $(top_builddir)/src/util/libgnunetutil.la \
1019  libgnunettransporttesting.la
1020
1021 test_transport_api_reliability_bluetooth_SOURCES = \
1022  test_transport_api_reliability.c
1023 test_transport_api_reliability_bluetooth_LDADD = \
1024  libgnunettransport.la \
1025  $(top_builddir)/src/hello/libgnunethello.la \
1026  $(top_builddir)/src/util/libgnunetutil.la \
1027  libgnunettransporttesting.la
1028
1029 test_transport_api_reliability_wlan_SOURCES = \
1030  test_transport_api_reliability.c
1031 test_transport_api_reliability_wlan_LDADD = \
1032  libgnunettransport.la \
1033  $(top_builddir)/src/hello/libgnunethello.la \
1034  $(top_builddir)/src/util/libgnunetutil.la \
1035  libgnunettransporttesting.la
1036
1037 if HAVE_EXPERIMENTAL
1038 test_transport_api_udp_SOURCES = \
1039  test_transport_api.c
1040 test_transport_api_udp_LDADD = \
1041  libgnunettransport.la \
1042  $(top_builddir)/src/hello/libgnunethello.la \
1043  $(top_builddir)/src/util/libgnunetutil.la  \
1044  libgnunettransporttesting.la
1045
1046 test_transport_api_timeout_udp_SOURCES = \
1047  test_transport_api_timeout.c
1048 test_transport_api_timeout_udp_LDADD = \
1049  libgnunettransport.la \
1050  $(top_builddir)/src/hello/libgnunethello.la \
1051  $(top_builddir)/src/util/libgnunetutil.la \
1052  libgnunettransporttesting.la
1053
1054 test_transport_api_udp_nat_SOURCES = \
1055  test_transport_api.c
1056 test_transport_api_udp_nat_LDADD = \
1057  libgnunettransport.la \
1058  $(top_builddir)/src/hello/libgnunethello.la \
1059  $(top_builddir)/src/util/libgnunetutil.la  \
1060  libgnunettransporttesting.la
1061 endif
1062
1063 test_transport_api_unix_SOURCES = \
1064  test_transport_api.c
1065 test_transport_api_unix_LDADD = \
1066  libgnunettransport.la \
1067  $(top_builddir)/src/hello/libgnunethello.la \
1068  $(top_builddir)/src/util/libgnunetutil.la \
1069  libgnunettransporttesting.la
1070
1071 test_transport_api_unix_abstract_SOURCES = \
1072  test_transport_api.c
1073 test_transport_api_unix_abstract_LDADD = \
1074  libgnunettransport.la \
1075  $(top_builddir)/src/hello/libgnunethello.la \
1076  $(top_builddir)/src/util/libgnunetutil.la \
1077  libgnunettransporttesting.la
1078
1079 # HTTP tests
1080 test_transport_api_http_SOURCES = \
1081  test_transport_api.c
1082 test_transport_api_http_LDADD = \
1083  libgnunettransport.la \
1084  $(top_builddir)/src/hello/libgnunethello.la \
1085  $(top_builddir)/src/util/libgnunetutil.la \
1086  libgnunettransporttesting.la
1087
1088 test_transport_api_http_reverse_SOURCES = \
1089  test_transport_api.c
1090 test_transport_api_http_reverse_LDADD = \
1091  libgnunettransport.la \
1092  $(top_builddir)/src/hello/libgnunethello.la \
1093  $(top_builddir)/src/util/libgnunetutil.la \
1094  libgnunettransporttesting.la
1095
1096 test_transport_api_timeout_http_SOURCES = \
1097  test_transport_api_timeout.c
1098 test_transport_api_timeout_http_LDADD = \
1099  libgnunettransport.la \
1100  $(top_builddir)/src/hello/libgnunethello.la \
1101  $(top_builddir)/src/util/libgnunetutil.la \
1102  libgnunettransporttesting.la
1103
1104 test_transport_api_reliability_http_SOURCES = \
1105  test_transport_api_reliability.c
1106 test_transport_api_reliability_http_LDADD = \
1107  libgnunettransport.la \
1108  $(top_builddir)/src/hello/libgnunethello.la \
1109  $(top_builddir)/src/util/libgnunetutil.la \
1110  libgnunettransporttesting.la
1111
1112 test_transport_api_reliability_http_xhr_SOURCES = \
1113  test_transport_api_reliability.c
1114 test_transport_api_reliability_http_xhr_LDADD = \
1115  libgnunettransport.la \
1116  $(top_builddir)/src/hello/libgnunethello.la \
1117  $(top_builddir)/src/util/libgnunetutil.la \
1118  libgnunettransporttesting.la
1119
1120 test_quota_compliance_http_SOURCES = \
1121  test_quota_compliance.c
1122 test_quota_compliance_http_LDADD = \
1123  libgnunettransport.la \
1124  $(top_builddir)/src/hello/libgnunethello.la \
1125  $(top_builddir)/src/ats/libgnunetats.la \
1126  $(top_builddir)/src/nt/libgnunetnt.la \
1127  $(top_builddir)/src/util/libgnunetutil.la \
1128  libgnunettransporttesting.la
1129
1130 test_quota_compliance_http_asymmetric_SOURCES = \
1131  test_quota_compliance.c
1132 test_quota_compliance_http_asymmetric_LDADD = \
1133  libgnunettransport.la \
1134  $(top_builddir)/src/hello/libgnunethello.la \
1135  $(top_builddir)/src/ats/libgnunetats.la \
1136  $(top_builddir)/src/nt/libgnunetnt.la \
1137  $(top_builddir)/src/util/libgnunetutil.la \
1138  libgnunettransporttesting.la
1139
1140 test_quota_compliance_https_SOURCES = \
1141  test_quota_compliance.c
1142 test_quota_compliance_https_LDADD = \
1143  libgnunettransport.la \
1144  $(top_builddir)/src/hello/libgnunethello.la \
1145  $(top_builddir)/src/ats/libgnunetats.la \
1146  $(top_builddir)/src/nt/libgnunetnt.la \
1147  $(top_builddir)/src/util/libgnunetutil.la \
1148  libgnunettransporttesting.la
1149
1150 test_quota_compliance_https_asymmetric_SOURCES = \
1151  test_quota_compliance.c
1152 test_quota_compliance_https_asymmetric_LDADD = \
1153  libgnunettransport.la \
1154  $(top_builddir)/src/hello/libgnunethello.la \
1155  $(top_builddir)/src/ats/libgnunetats.la \
1156  $(top_builddir)/src/nt/libgnunetnt.la \
1157  $(top_builddir)/src/util/libgnunetutil.la \
1158  libgnunettransporttesting.la
1159
1160 # HTTPS tests
1161 test_transport_api_https_SOURCES = \
1162  test_transport_api.c
1163 test_transport_api_https_LDADD = \
1164  libgnunettransport.la \
1165  $(top_builddir)/src/hello/libgnunethello.la \
1166  $(top_builddir)/src/util/libgnunetutil.la  \
1167  libgnunettransporttesting.la
1168
1169 test_transport_api_timeout_https_SOURCES = \
1170  test_transport_api_timeout.c
1171 test_transport_api_timeout_https_LDADD = \
1172  libgnunettransport.la \
1173  $(top_builddir)/src/hello/libgnunethello.la \
1174  $(top_builddir)/src/util/libgnunetutil.la \
1175  libgnunettransporttesting.la
1176
1177
1178 test_transport_api_reliability_https_SOURCES = \
1179  test_transport_api_reliability.c
1180 test_transport_api_reliability_https_LDADD = \
1181  libgnunettransport.la \
1182  $(top_builddir)/src/hello/libgnunethello.la \
1183  $(top_builddir)/src/util/libgnunetutil.la \
1184  libgnunettransporttesting.la
1185
1186 test_transport_api_reliability_https_xhr_SOURCES = \
1187  test_transport_api_reliability.c
1188 test_transport_api_reliability_https_xhr_LDADD = \
1189  libgnunettransport.la \
1190  $(top_builddir)/src/hello/libgnunethello.la \
1191  $(top_builddir)/src/util/libgnunetutil.la \
1192  libgnunettransporttesting.la
1193
1194 test_transport_api_reliability_unix_SOURCES = \
1195  test_transport_api_reliability.c
1196 test_transport_api_reliability_unix_LDADD = \
1197  libgnunettransport.la \
1198  $(top_builddir)/src/hello/libgnunethello.la \
1199  $(top_builddir)/src/util/libgnunetutil.la \
1200  libgnunettransporttesting.la
1201
1202 if HAVE_EXPERIMENTAL
1203 test_transport_api_reliability_udp_SOURCES = \
1204  test_transport_api_reliability.c
1205 test_transport_api_reliability_udp_LDADD = \
1206  libgnunettransport.la \
1207  $(top_builddir)/src/hello/libgnunethello.la \
1208  $(top_builddir)/src/util/libgnunetutil.la \
1209  libgnunettransporttesting.la
1210 endif
1211
1212 if LINUX
1213 test_transport_api_wlan_SOURCES = \
1214  test_transport_api.c
1215 test_transport_api_wlan_LDADD = \
1216  libgnunettransport.la \
1217  $(top_builddir)/src/hello/libgnunethello.la \
1218  $(top_builddir)/src/util/libgnunetutil.la \
1219  libgnunettransporttesting.la
1220 endif
1221
1222 if LINUX
1223 if HAVE_LIBBLUETOOTH
1224 test_transport_api_bluetooth_SOURCES = \
1225  test_transport_api.c
1226 test_transport_api_bluetooth_LDADD = \
1227  libgnunettransport.la \
1228  $(top_builddir)/src/hello/libgnunethello.la \
1229  $(top_builddir)/src/util/libgnunetutil.la \
1230  libgnunettransporttesting.la
1231 endif
1232 endif
1233
1234 test_transport_address_switch_tcp_SOURCES = \
1235  test_transport_address_switch.c
1236 test_transport_address_switch_tcp_LDADD = \
1237  libgnunettransport.la \
1238  $(top_builddir)/src/hello/libgnunethello.la \
1239  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1240  $(top_builddir)/src/util/libgnunetutil.la \
1241  libgnunettransporttesting.la
1242
1243 if HAVE_EXPERIMENTAL
1244 test_transport_address_switch_udp_SOURCES = \
1245  test_transport_address_switch.c
1246 test_transport_address_switch_udp_LDADD = \
1247  libgnunettransport.la \
1248  $(top_builddir)/src/hello/libgnunethello.la \
1249  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1250  $(top_builddir)/src/util/libgnunetutil.la \
1251  libgnunettransporttesting.la
1252 endif
1253
1254  test_transport_address_switch_http_SOURCES = \
1255  test_transport_address_switch.c
1256 test_transport_address_switch_http_LDADD = \
1257  libgnunettransport.la \
1258  $(top_builddir)/src/hello/libgnunethello.la \
1259  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1260  $(top_builddir)/src/util/libgnunetutil.la \
1261  libgnunettransporttesting.la
1262
1263  test_transport_address_switch_https_SOURCES = \
1264  test_transport_address_switch.c
1265 test_transport_address_switch_https_LDADD = \
1266  libgnunettransport.la \
1267  $(top_builddir)/src/hello/libgnunethello.la \
1268  $(top_builddir)/src/statistics/libgnunetstatistics.la \
1269  $(top_builddir)/src/util/libgnunetutil.la \
1270  libgnunettransporttesting.la
1271
1272 test_quota_compliance_tcp_SOURCES = \
1273  test_quota_compliance.c
1274 test_quota_compliance_tcp_LDADD = \
1275  libgnunettransport.la \
1276  $(top_builddir)/src/hello/libgnunethello.la \
1277  $(top_builddir)/src/ats/libgnunetats.la \
1278  $(top_builddir)/src/nt/libgnunetnt.la \
1279  $(top_builddir)/src/util/libgnunetutil.la \
1280  libgnunettransporttesting.la
1281
1282 test_quota_compliance_tcp_asymmetric_SOURCES = \
1283  test_quota_compliance.c
1284 test_quota_compliance_tcp_asymmetric_LDADD = \
1285  libgnunettransport.la \
1286  $(top_builddir)/src/hello/libgnunethello.la \
1287  $(top_builddir)/src/nt/libgnunetnt.la \
1288  $(top_builddir)/src/ats/libgnunetats.la \
1289  $(top_builddir)/src/util/libgnunetutil.la \
1290  libgnunettransporttesting.la
1291
1292 if HAVE_EXPERIMENTAL
1293 test_quota_compliance_udp_SOURCES = \
1294  test_quota_compliance.c
1295 test_quota_compliance_udp_LDADD = \
1296  libgnunettransport.la \
1297  $(top_builddir)/src/hello/libgnunethello.la \
1298  $(top_builddir)/src/ats/libgnunetats.la \
1299  $(top_builddir)/src/nt/libgnunetnt.la \
1300  $(top_builddir)/src/util/libgnunetutil.la \
1301  libgnunettransporttesting.la
1302 endif
1303
1304 test_quota_compliance_unix_SOURCES = \
1305  test_quota_compliance.c
1306 test_quota_compliance_unix_LDADD = \
1307  libgnunettransport.la \
1308  $(top_builddir)/src/hello/libgnunethello.la \
1309  $(top_builddir)/src/ats/libgnunetats.la \
1310  $(top_builddir)/src/nt/libgnunetnt.la \
1311  $(top_builddir)/src/util/libgnunetutil.la \
1312  libgnunettransporttesting.la
1313
1314 test_quota_compliance_unix_asymmetric_SOURCES = \
1315  test_quota_compliance.c
1316 test_quota_compliance_unix_asymmetric_LDADD = \
1317  libgnunettransport.la \
1318  $(top_builddir)/src/hello/libgnunethello.la \
1319  $(top_builddir)/src/ats/libgnunetats.la \
1320  $(top_builddir)/src/nt/libgnunetnt.la \
1321  $(top_builddir)/src/util/libgnunetutil.la \
1322  libgnunettransporttesting.la
1323
1324 test_quota_compliance_wlan_SOURCES = \
1325  test_quota_compliance.c
1326 test_quota_compliance_wlan_LDADD = \
1327  libgnunettransport.la \
1328  $(top_builddir)/src/hello/libgnunethello.la \
1329  $(top_builddir)/src/ats/libgnunetats.la \
1330  $(top_builddir)/src/nt/libgnunetnt.la \
1331  $(top_builddir)/src/util/libgnunetutil.la \
1332  libgnunettransporttesting.la
1333
1334 test_quota_compliance_wlan_asymmetric_SOURCES = \
1335  test_quota_compliance.c
1336 test_quota_compliance_wlan_asymmetric_LDADD = \
1337  libgnunettransport.la \
1338  $(top_builddir)/src/hello/libgnunethello.la \
1339  $(top_builddir)/src/ats/libgnunetats.la \
1340  $(top_builddir)/src/nt/libgnunetnt.la \
1341  $(top_builddir)/src/util/libgnunetutil.la \
1342  libgnunettransporttesting.la
1343
1344 test_quota_compliance_bluetooth_SOURCES = \
1345  test_quota_compliance.c
1346 test_quota_compliance_bluetooth_LDADD = \
1347  libgnunettransport.la \
1348  $(top_builddir)/src/hello/libgnunethello.la \
1349  $(top_builddir)/src/ats/libgnunetats.la \
1350  $(top_builddir)/src/nt/libgnunetnt.la \
1351  $(top_builddir)/src/util/libgnunetutil.la \
1352  libgnunettransporttesting.la
1353
1354 test_quota_compliance_bluetooth_asymmetric_SOURCES = \
1355  test_quota_compliance.c
1356 test_quota_compliance_bluetooth_asymmetric_LDADD = \
1357  libgnunettransport.la \
1358  $(top_builddir)/src/hello/libgnunethello.la \
1359  $(top_builddir)/src/ats/libgnunetats.la \
1360  $(top_builddir)/src/nt/libgnunetnt.la \
1361  $(top_builddir)/src/util/libgnunetutil.la \
1362  libgnunettransporttesting.la
1363
1364 test_transport_api_multi_SOURCES = \
1365  test_transport_api.c
1366 test_transport_api_multi_LDADD = \
1367  libgnunettransport.la \
1368  $(top_builddir)/src/hello/libgnunethello.la \
1369  $(top_builddir)/src/util/libgnunetutil.la \
1370  libgnunettransporttesting.la
1371
1372 test_transport_api_monitor_peers_SOURCES = \
1373  test_transport_api_monitor_peers.c
1374 test_transport_api_monitor_peers_LDADD = \
1375  libgnunettransport.la \
1376  $(top_builddir)/src/hello/libgnunethello.la \
1377  $(top_builddir)/src/util/libgnunetutil.la \
1378  libgnunettransporttesting.la
1379
1380 test_transport_api_slow_ats_SOURCES = \
1381  test_transport_api.c
1382 test_transport_api_slow_ats_LDADD = \
1383  libgnunettransport.la \
1384  $(top_builddir)/src/hello/libgnunethello.la \
1385  $(top_builddir)/src/util/libgnunetutil.la  \
1386  libgnunettransporttesting.la
1387
1388
1389 EXTRA_DIST = \
1390 gnunet-transport-certificate-creation.in \
1391 communicator-unix.conf \
1392 test_plugin_hostkey \
1393 test_plugin_hostkey.ecc \
1394 test_delay \
1395 template_cfg_peer1.conf\
1396 template_cfg_peer2.conf\
1397 test_plugin_transport_data.conf\
1398 test_plugin_transport_data_udp.conf\
1399 test_quota_compliance_data.conf\
1400 test_quota_compliance_http_peer1.conf\
1401 test_quota_compliance_http_peer2.conf\
1402 test_quota_compliance_https_peer1.conf\
1403 test_quota_compliance_https_peer2.conf\
1404 test_quota_compliance_tcp_peer1.conf\
1405 test_quota_compliance_tcp_peer2.conf\
1406 test_quota_compliance_udp_peer1.conf\
1407 test_quota_compliance_udp_peer2.conf\
1408 test_quota_compliance_unix_peer1.conf\
1409 test_quota_compliance_unix_peer2.conf\
1410 test_quota_compliance_wlan_peer1.conf\
1411 test_quota_compliance_wlan_peer2.conf\
1412 test_quota_compliance_bluetooth_peer1.conf\
1413 test_quota_compliance_bluetooth_peer2.conf\
1414 test_quota_compliance_http_asymmetric_peer1.conf\
1415 test_quota_compliance_http_asymmetric_peer2.conf\
1416 test_quota_compliance_https_asymmetric_peer1.conf\
1417 test_quota_compliance_https_asymmetric_peer2.conf\
1418 test_quota_compliance_tcp_asymmetric_peer1.conf\
1419 test_quota_compliance_tcp_asymmetric_peer2.conf\
1420 test_quota_compliance_unix_asymmetric_peer1.conf\
1421 test_quota_compliance_unix_asymmetric_peer2.conf\
1422 test_quota_compliance_wlan_asymmetric_peer1.conf\
1423 test_quota_compliance_wlan_asymmetric_peer2.conf\
1424 test_quota_compliance_bluetooth_asymmetric_peer1.conf\
1425 test_quota_compliance_bluetooth_asymmetric_peer2.conf\
1426 test_transport_api_data.conf\
1427 test_transport_api_blacklisting_tcp_peer1.conf \
1428 test_transport_api_blacklisting_tcp_peer2.conf \
1429 test_transport_api_http_peer1.conf\
1430 test_transport_api_http_peer2.conf\
1431 test_transport_api_https_peer1.conf\
1432 test_transport_api_https_peer2.conf\
1433 test_transport_api_limited_sockets_tcp_peer1.conf\
1434 test_transport_api_limited_sockets_tcp_peer2.conf\
1435 test_transport_api_timeout_tcp_peer1.conf\
1436 test_transport_api_timeout_tcp_peer2.conf\
1437 test_transport_api_multi_peer1.conf\
1438 test_transport_api_multi_peer2.conf\
1439 test_transport_api_restart_1peer_peer1.conf\
1440 test_transport_api_restart_1peer_peer2.conf\
1441 test_transport_api_reliability_http_peer1.conf\
1442 test_transport_api_reliability_http_peer2.conf\
1443 test_transport_api_reliability_https_peer1.conf\
1444 test_transport_api_reliability_https_peer2.conf\
1445 test_transport_api_reliability_tcp_nat_peer1.conf\
1446 test_transport_api_reliability_tcp_nat_peer2.conf\
1447 test_transport_api_reliability_tcp_peer1.conf\
1448 test_transport_api_reliability_tcp_peer2.conf\
1449 test_transport_api_reliability_wlan_peer1.conf\
1450 test_transport_api_reliability_wlan_peer2.conf\
1451 test_transport_api_reliability_bluetooth_peer1.conf\
1452 test_transport_api_reliability_bluetooth_peer2.conf\
1453 test_transport_api_manipulation_send_tcp_peer1.conf\
1454 test_transport_api_manipulation_send_tcp_peer2.conf\
1455 test_transport_api_manipulation_recv_tcp_peer1.conf\
1456 test_transport_api_manipulation_recv_tcp_peer2.conf\
1457 test_transport_api_manipulation_cfg_peer1.conf\
1458 test_transport_api_manipulation_cfg_peer2.conf\
1459 test_transport_api_restart_1peer_peer1.conf\
1460 test_transport_api_restart_1peer_peer2.conf\
1461 test_transport_api_restart_2peers_peer1.conf\
1462 test_transport_api_restart_2peers_peer2.conf\
1463 test_transport_api_tcp_nat_peer1.conf\
1464 test_transport_api_tcp_nat_peer2.conf\
1465 test_transport_api_tcp_peer1.conf\
1466 test_transport_api_tcp_peer2.conf\
1467 test_transport_api_udp_nat_peer1.conf\
1468 test_transport_api_udp_nat_peer2.conf\
1469 test_transport_api_udp_peer1.conf\
1470 test_transport_api_udp_peer2.conf\
1471 test_transport_api_timeout_udp_peer1.conf\
1472 test_transport_api_timeout_udp_peer2.conf\
1473 test_transport_api_unix_peer1.conf\
1474 test_transport_api_unix_peer2.conf\
1475 test_transport_api_unix_abstract_peer1.conf \
1476 test_transport_api_unix_abstract_peer2.conf \
1477 test_transport_api_timeout_unix_peer1.conf\
1478 test_transport_api_timeout_unix_peer2.conf\
1479 test_transport_api_timeout_wlan_peer1.conf \
1480 test_transport_api_timeout_wlan_peer2.conf \
1481 test_transport_api_timeout_bluetooth_peer1.conf\
1482 test_transport_api_timeout_bluetooth_peer2.conf\
1483 test_transport_api_reliability_udp_peer1.conf\
1484 test_transport_api_reliability_udp_peer2.conf\
1485 test_transport_api_reliability_http_xhr_peer1.conf\
1486 test_transport_api_reliability_http_xhr_peer2.conf\
1487 test_transport_api_reliability_https_xhr_peer1.conf\
1488 test_transport_api_reliability_https_xhr_peer2.conf\
1489 test_transport_api_reliability_unix_peer1.conf\
1490 test_transport_api_reliability_unix_peer2.conf\
1491 test_transport_api_reliability_wlan_peer1.conf\
1492 test_transport_api_reliability_wlan_peer2.conf\
1493 test_transport_api_unreliability_wlan_peer1.conf\
1494 test_transport_api_unreliability_wlan_peer2.conf\
1495 test_transport_api_reliability_bluetooth_peer1.conf\
1496 test_transport_api_reliability_bluetooth_peer2.conf\
1497 test_transport_api_wlan_peer1.conf\
1498 test_transport_api_wlan_peer2.conf\
1499 test_transport_api_bluetooth_peer1.conf\
1500 test_transport_api_bluetooth_peer2.conf\
1501 test_transport_api_monitor_peers_peer1.conf\
1502 test_transport_api_monitor_peers_peer2.conf\
1503 test_transport_api_monitor_validation_peer1.conf\
1504 test_transport_api_monitor_validation_peer2.conf\
1505 test_transport_defaults.conf\
1506 test_transport_api_disconnect_tcp_peer1.conf\
1507 test_transport_api_disconnect_tcp_peer2.conf\
1508 test_transport_api_timeout_http_peer1.conf\
1509 test_transport_api_timeout_http_peer2.conf\
1510 test_transport_api_timeout_https_peer1.conf\
1511 test_transport_api_timeout_https_peer2.conf\
1512 test_transport_blacklisting_cfg_peer1.conf \
1513 test_transport_blacklisting_cfg_peer2.conf \
1514 test_transport_blacklisting_cfg_blp_peer1_full.conf\
1515 test_transport_blacklisting_cfg_blp_peer1_plugin.conf \
1516 test_transport_blacklisting_cfg_blp_peer2_full.conf\
1517 test_transport_blacklisting_cfg_blp_peer2_plugin.conf \
1518 test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf \
1519 test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf \
1520 test_transport_api_http_reverse_peer1.conf \
1521 test_transport_api_http_reverse_peer2.conf \
1522 perf_tcp_peer1.conf \
1523 perf_tcp_peer2.conf \
1524 test_transport_api_slow_ats_peer1.conf \
1525 test_transport_api_slow_ats_peer2.conf \
1526   tcp_connection_legacy.c \
1527   tcp_server_mst_legacy.c \
1528   tcp_server_legacy.c \
1529   tcp_service_legacy.c \
1530 test_communicator_unix_basic_peer1.conf \
1531 test_communicator_unix_basic_peer2.conf \
1532 test_communicator_tcp_basic_peer1.conf \
1533 test_communicator_tcp_basic_peer2.conf \
1534 test_communicator_udp_basic_peer1.conf \
1535 test_communicator_udp_basic_peer2.conf \
1536 test_communicator_tcp_rekey_peer1.conf \
1537 test_communicator_tcp_rekey_peer2.conf \
1538 test_communicator_udp_rekey_peer1.conf \
1539 test_communicator_udp_rekey_peer2.conf \
1540 test_communicator_udp_backchannel_peer1.conf \
1541 test_communicator_udp_backchannel_peer2.conf