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