6447b115297696a1705c28f25dffca0edab78aa8
[oweals/gnunet.git] / src / transport / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3 plugindir = $(libdir)/gnunet
4
5 pkgcfgdir= $(pkgdatadir)/config.d/
6
7 pkgcfg_DATA = \
8   transport.conf
9
10
11 if HAVE_MHD
12  GN_LIBMHD = -lmicrohttpd
13  HTTP_SERVER_PLUGIN_LA = libgnunet_plugin_transport_http_server.la
14  HTTPS_SERVER_PLUGIN_LA = libgnunet_plugin_transport_https_server.la
15 endif
16
17 HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la
18 HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la
19
20
21 if FALSE 
22  HTTP_API_TEST = test_transport_api_http
23  HTTP_NAT_API_TEST = test_transport_api_http_nat
24  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
25  HTTP_REL_TEST = test_transport_api_reliability_http
26  HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat
27  HTTP_QUOTA_TEST = test_quota_compliance_http \
28                    test_quota_compliance_http_asymmetric
29
30  HTTPS_API_TEST = test_transport_api_https
31  HTTPS_NAT_API_TEST = test_transport_api_https_nat
32  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
33  HTTPS_REL_TEST = test_transport_api_reliability_https
34  HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
35  HTTPS_QUOTA_TEST = test_quota_compliance_https \
36                 test_quota_compliance_https_asymmetric
37 endif
38
39
40 if USE_COVERAGE
41   AM_CFLAGS = --coverage -O0
42 endif
43
44 if LINUX
45  WLAN_BIN = gnunet-helper-transport-wlan
46  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
47  WLAN_BIN_SENDER = gnunet-transport-wlan-sender
48  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
49  WLAN_API_TEST = test_transport_api_wlan
50  WLAN_REL_TEST = test_transport_api_reliability_wlan
51  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
52  WLAN_QUOTA_TEST = test_quota_compliance_wlan \
53                 test_quota_compliance_wlan_asymmetric
54 endif
55
56
57 if LINUX
58 install-exec-hook:
59         $(top_srcdir)/src/transport/install-wlan-helper.sh $(bindir) $(SUDO_BINARY) || true
60 else
61 install-exec-hook:
62 endif
63
64 if !MINGW
65 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
66 UNIX_PLUGIN_TEST = test_transport_api_unix 
67 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
68 UNIX_REL_TEST = test_transport_api_unreliability_unix
69 UNIX_QUOTA_TEST = test_quota_compliance_unix \
70      test_quota_compliance_unix_asymmetric
71 endif
72
73 noinst_PROGRAMS = \
74  $(WLAN_BIN_SENDER)
75
76 lib_LTLIBRARIES = \
77   libgnunettransport.la \
78   libgnunettransporttesting.la
79
80 libgnunettransporttesting_la_SOURCES = \
81   transport-testing.c transport-testing.h
82 libgnunettransporttesting_la_LIBADD = \
83   $(top_builddir)/src/transport/libgnunettransport.la \
84   $(top_builddir)/src/hello/libgnunethello.la \
85   $(top_builddir)/src/util/libgnunetutil.la \
86   $(top_builddir)/src/testing/libgnunettesting.la \
87   $(GN_LIBINTL) 
88 libgnunettransporttesting_la_DEPENDENCIES = \
89   libgnunettransport.la
90 libgnunettransporttesting_la_LDFLAGS = \
91  $(GN_LIB_LDFLAGS)
92
93 libgnunettransport_la_SOURCES = \
94   transport_api.c transport.h \
95   transport_api_blacklist.c \
96   transport_api_address_to_string.c \
97   transport_api_address_lookup.c
98 libgnunettransport_la_LIBADD = \
99   $(top_builddir)/src/hello/libgnunethello.la \
100   $(top_builddir)/src/util/libgnunetutil.la \
101   $(GN_LIBINTL) 
102 libgnunettransport_la_LDFLAGS = \
103   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
104   -version-info 1:0:0
105
106 bin_PROGRAMS = \
107  gnunet-transport \
108  $(WLAN_BIN) \
109  $(WLAN_BIN_DUMMY) \
110  gnunet-service-transport \
111  gnunet-transport-certificate-creation
112
113 #bin_SCRIPTS = \
114 # gnunet-transport-certificate-creation
115
116 gnunet_transport_certificate_creation_SOURCES = \
117  gnunet-transport-certificate-creation.c
118 gnunet_transport_certificate_creation_LDADD = \
119   $(top_builddir)/src/util/libgnunetutil.la
120
121 gnunet_helper_transport_wlan_SOURCES = \
122  gnunet-helper-transport-wlan.c
123
124 gnunet_helper_transport_wlan_dummy_SOURCES = \
125  gnunet-helper-transport-wlan-dummy.c
126 gnunet_helper_transport_wlan_dummy_LDADD = \
127   $(top_builddir)/src/util/libgnunetutil.la 
128
129 gnunet_transport_wlan_sender_SOURCES = \
130  gnunet-transport-wlan-sender.c
131 gnunet_transport_wlan_sender_LDADD = \
132   $(top_builddir)/src/util/libgnunetutil.la 
133
134 gnunet_transport_SOURCES = \
135  gnunet-transport.c         
136 gnunet_transport_LDADD = \
137   $(top_builddir)/src/transport/libgnunettransport.la \
138   $(top_builddir)/src/nat/libgnunetnat.la \
139   $(top_builddir)/src/hello/libgnunethello.la \
140   $(top_builddir)/src/util/libgnunetutil.la \
141   $(GN_LIBINTL)
142 gnunet_transport_DEPENDENCIES = \
143   libgnunettransport.la                         
144
145 gnunet_service_transport_SOURCES = \
146  gnunet-service-transport.c gnunet-service-transport.h \
147  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
148  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
149  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
150  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
151  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
152  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
153 gnunet_service_transport_LDADD = \
154   $(top_builddir)/src/ats/libgnunetats.la \
155   $(top_builddir)/src/hello/libgnunethello.la \
156   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
157   $(top_builddir)/src/statistics/libgnunetstatistics.la \
158   $(top_builddir)/src/util/libgnunetutil.la \
159   $(GN_GLPK) \
160   $(GN_LIBINTL)
161
162 plugin_LTLIBRARIES = \
163   libgnunet_plugin_transport_tcp.la \
164   libgnunet_plugin_transport_udp.la \
165   $(UNIX_PLUGIN_LA) \
166   $(HTTP_CLIENT_PLUGIN_LA) \
167   $(HTTPS_CLIENT_PLUGIN_LA) \
168   $(HTTP_SERVER_PLUGIN_LA) \
169   $(HTTPS_SERVER_PLUGIN_LA) \
170   $(WLAN_PLUGIN_LA) \
171   libgnunet_plugin_transport_template.la
172
173 libgnunet_plugin_transport_tcp_la_SOURCES = \
174   plugin_transport_tcp.c
175 libgnunet_plugin_transport_tcp_la_LIBADD = \
176   $(top_builddir)/src/hello/libgnunethello.la \
177   $(top_builddir)/src/statistics/libgnunetstatistics.la \
178   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
179   $(top_builddir)/src/nat/libgnunetnat.la \
180   $(top_builddir)/src/util/libgnunetutil.la \
181   $(LTLIBINTL)
182 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
183  $(GN_PLUGIN_LDFLAGS)
184
185 libgnunet_plugin_transport_template_la_SOURCES = \
186   plugin_transport_template.c
187 libgnunet_plugin_transport_template_la_LIBADD = \
188   $(top_builddir)/src/util/libgnunetutil.la \
189   $(LTLIBINTL)
190 libgnunet_plugin_transport_template_la_LDFLAGS = \
191  $(GN_PLUGIN_LDFLAGS)
192
193 libgnunet_plugin_transport_wlan_la_SOURCES = \
194   plugin_transport_wlan.c plugin_transport_wlan.h
195 libgnunet_plugin_transport_wlan_la_LIBADD = \
196   $(top_builddir)/src/hello/libgnunethello.la \
197   $(top_builddir)/src/statistics/libgnunetstatistics.la \
198   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
199   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
200   $(top_builddir)/src/util/libgnunetutil.la 
201 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
202   $(GN_PLUGIN_LDFLAGS)
203
204 libgnunet_plugin_transport_udp_la_SOURCES = \
205   plugin_transport_udp.c plugin_transport_udp.h \
206   plugin_transport_udp_broadcasting.c
207 libgnunet_plugin_transport_udp_la_LIBADD = \
208   $(top_builddir)/src/hello/libgnunethello.la \
209   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
210   $(top_builddir)/src/statistics/libgnunetstatistics.la \
211   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
212   $(top_builddir)/src/nat/libgnunetnat.la \
213   $(top_builddir)/src/util/libgnunetutil.la \
214   $(LTLIBINTL)
215 libgnunet_plugin_transport_udp_la_LDFLAGS = \
216  $(GN_PLUGIN_LDFLAGS)
217
218 libgnunet_plugin_transport_unix_la_SOURCES = \
219   plugin_transport_unix.c
220 libgnunet_plugin_transport_unix_la_LIBADD = \
221   $(top_builddir)/src/hello/libgnunethello.la \
222   $(top_builddir)/src/statistics/libgnunetstatistics.la \
223   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
224   $(top_builddir)/src/util/libgnunetutil.la \
225   $(LTLIBINTL)
226 libgnunet_plugin_transport_unix_la_LDFLAGS = \
227  $(GN_PLUGIN_LDFLAGS)
228  
229  
230 libgnunet_plugin_transport_http_client_la_SOURCES = \
231   plugin_transport_http_client.c
232 libgnunet_plugin_transport_http_client_la_LIBADD = \
233   $(top_builddir)/src/hello/libgnunethello.la \
234   $(top_builddir)/src/statistics/libgnunetstatistics.la \
235   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
236   @LIBCURL@ \
237   $(top_builddir)/src/nat/libgnunetnat.la \
238   $(top_builddir)/src/util/libgnunetutil.la 
239 libgnunet_plugin_transport_http_client_laLDFLAGS = \
240  $(GN_PLUGIN_LDFLAGS)
241 libgnunet_plugin_transport_http_client_la_CFLAGS = \
242  $(CFLAGS) 
243 libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
244  @LIBCURL_CPPFLAGS@
245  
246  
247 libgnunet_plugin_transport_http_server_la_SOURCES = \
248   plugin_transport_http_server.c
249 libgnunet_plugin_transport_http_server_la_LIBADD = \
250   $(top_builddir)/src/hello/libgnunethello.la \
251   $(top_builddir)/src/statistics/libgnunetstatistics.la \
252   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
253   $(top_builddir)/src/nat/libgnunetnat.la \
254   $(top_builddir)/src/util/libgnunetutil.la 
255 libgnunet_plugin_transport_http_server_la_LDFLAGS = \
256  $(GN_LIBMHD) \
257  $(GN_PLUGIN_LDFLAGS)
258 libgnunet_plugin_transport_http_server_la_CFLAGS = \
259  $(CFLAGS) 
260
261 libgnunet_plugin_transport_https_client_la_SOURCES = \
262   plugin_transport_http_client.c
263 libgnunet_plugin_transport_https_client_la_LIBADD = \
264   $(top_builddir)/src/hello/libgnunethello.la \
265   $(top_builddir)/src/statistics/libgnunetstatistics.la \
266   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
267   @LIBCURL@ \
268   $(top_builddir)/src/nat/libgnunetnat.la \
269   $(top_builddir)/src/util/libgnunetutil.la 
270 libgnunet_plugin_transport_https_client_laLDFLAGS = \
271  $(GN_PLUGIN_LDFLAGS)
272 libgnunet_plugin_transport_https_client_la_CFLAGS = \
273  $(CFLAGS) 
274 libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
275  @LIBCURL_CPPFLAGS@
276  
277  
278 libgnunet_plugin_transport_https_server_la_SOURCES = \
279   plugin_transport_http_server.c
280 libgnunet_plugin_transport_https_server_la_LIBADD = \
281   $(top_builddir)/src/hello/libgnunethello.la \
282   $(top_builddir)/src/statistics/libgnunetstatistics.la \
283   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
284   $(top_builddir)/src/nat/libgnunetnat.la \
285   $(top_builddir)/src/util/libgnunetutil.la 
286 libgnunet_plugin_transport_https_server_la_LDFLAGS = \
287  $(GN_LIBMHD) \
288  $(GN_PLUGIN_LDFLAGS)
289 libgnunet_plugin_transport_https_server_la_CFLAGS = \
290  $(CFLAGS) 
291
292 check_PROGRAMS = \
293  test_transport_testing_startstop \
294  test_transport_testing_restart \
295  test_transport_testing \
296  test_transport_startonly \
297  test_transport_api_blacklisting \
298  test_transport_api_disconnect_tcp \
299  test_transport_api_bidirectional_connect \
300  test_transport_api_tcp \
301  test_transport_api_restart_1peer \
302  test_transport_api_restart_2peers \
303  test_transport_api_timeout_tcp \
304  test_transport_api_limited_sockets_tcp \
305  test_transport_api_tcp_nat \
306  test_transport_api_udp \
307  test_transport_api_timeout_udp \
308  $(UNIX_PLUGIN_TEST) \
309  $(UNIX_PLUGIN_TIMEOUT_TEST) \
310  test_transport_api_udp_nat \
311  $(HTTP_API_TEST) \
312  $(HTTP_NAT_API_TEST) \
313  $(HTTP_API_TIMEOUT_TEST) \
314  $(HTTPS_API_TEST) \
315  $(HTTPS_NAT_API_TEST) \
316  $(HTTPS_API_TIMEOUT_TEST) \
317  $(WLAN_API_TEST) \
318  test_transport_api_multi \
319  test_transport_api_reliability_tcp \
320  test_transport_api_reliability_tcp_nat \
321  test_transport_api_unreliability_udp \
322  test_transport_api_unreliability_constant_udp \
323  $(UNIX_REL_TEST) \
324  $(HTTP_REL_TEST) \
325  $(HTTP_NAT_REL_TEST) \
326  $(HTTPS_REL_TEST) \
327  $(HTTPS_NAT_REL_TEST) \
328  $(WLAN_REL_TEST) \
329  $(WLAN_UREL_TEST) \
330  test_quota_compliance_tcp \
331  test_quota_compliance_tcp_asymmetric \
332  test_quota_compliance_udp \
333  $(UNIX_QUOTA_TEST) \
334  $(HTTP_QUOTA_TEST) \
335  $(HTTPS_QUOTA_TEST) \
336  $(WLAN_QUOTA_TEST)
337
338 if ENABLE_TEST_RUN
339 TESTS = \
340  test_transport_testing_startstop \
341  test_transport_testing_restart \
342  test_transport_testing \
343  test_transport_startonly \
344  test_transport_api_blacklisting \
345  test_transport_api_disconnect_tcp \
346  test_transport_api_bidirectional_connect \
347  test_transport_api_tcp \
348  test_transport_api_restart_1peer \
349  test_transport_api_restart_2peers \
350  test_transport_api_timeout_tcp \
351  test_transport_api_limited_sockets_tcp \
352  test_transport_api_tcp_nat \
353  test_transport_api_udp \
354  test_transport_api_timeout_udp \
355  $(UNIX_PLUGIN_TEST) \
356  $(UNIX_PLUGIN_TIMEOUT_TEST) \
357  test_transport_api_udp_nat \
358  $(HTTP_API_TEST) \
359  $(HTTP_NAT_API_TEST) \
360  $(HTTP_API_TIMEOUT_TEST) \
361  $(HTTPS_API_TEST) \
362  $(HTTPS_NAT_API_TEST) \
363  $(HTTPS_API_TIMEOUT_TEST) \
364  $(WLAN_API_TEST) \
365  test_transport_api_multi \
366  test_transport_api_reliability_tcp \
367  test_transport_api_reliability_tcp_nat \
368  test_transport_api_unreliability_udp \
369  test_transport_api_unreliability_constant_udp \
370  $(UNIX_REL_TEST) \
371  $(HTTP_REL_TEST) \
372  $(HTTP_NAT_REL_TEST) \
373  $(HTTPS_REL_TEST) \
374  $(HTTPS_NAT_REL_TEST) \
375  $(WLAN_REL_TEST) \
376  $(WLAN_UREL_TEST) \
377  test_quota_compliance_tcp \
378  test_quota_compliance_tcp_asymmetric \
379  test_quota_compliance_udp \
380  $(UNIX_QUOTA_TEST) \
381  $(HTTP_QUOTA_TEST) \
382  $(HTTPS_QUOTA_TEST)
383 endif
384
385 test_transport_testing_startstop_SOURCES = \
386  test_transport_testing_startstop.c
387 test_transport_testing_startstop_LDADD = \
388  $(top_builddir)/src/util/libgnunetutil.la \
389  $(top_builddir)/src/transport/libgnunettransport.la \
390  $(top_builddir)/src/hello/libgnunethello.la \
391  $(top_builddir)/src/transport/libgnunettransporttesting.la 
392
393 test_transport_testing_restart_SOURCES = \
394  test_transport_testing_restart.c
395 test_transport_testing_restart_LDADD = \
396  $(top_builddir)/src/util/libgnunetutil.la \
397  $(top_builddir)/src/transport/libgnunettransport.la \
398  $(top_builddir)/src/hello/libgnunethello.la \
399  $(top_builddir)/src/transport/libgnunettransporttesting.la 
400
401 test_transport_testing_SOURCES = \
402  test_transport_testing.c
403 test_transport_testing_LDADD = \
404  $(top_builddir)/src/util/libgnunetutil.la \
405  $(top_builddir)/src/transport/libgnunettransport.la \
406  $(top_builddir)/src/hello/libgnunethello.la \
407  $(top_builddir)/src/transport/libgnunettransporttesting.la 
408
409
410 test_transport_api_blacklisting_SOURCES = \
411  test_transport_api_blacklisting.c
412 test_transport_api_blacklisting_LDADD = \
413  $(top_builddir)/src/transport/libgnunettransport.la \
414  $(top_builddir)/src/hello/libgnunethello.la \
415  $(top_builddir)/src/statistics/libgnunetstatistics.la \
416  $(top_builddir)/src/util/libgnunetutil.la \
417  $(top_builddir)/src/transport/libgnunettransporttesting.la 
418
419 test_transport_api_disconnect_tcp_SOURCES = \
420  test_transport_api_disconnect.c
421 test_transport_api_disconnect_tcp_LDADD = \
422  $(top_builddir)/src/transport/libgnunettransport.la \
423  $(top_builddir)/src/hello/libgnunethello.la \
424  $(top_builddir)/src/statistics/libgnunetstatistics.la \
425  $(top_builddir)/src/util/libgnunetutil.la \
426  $(top_builddir)/src/transport/libgnunettransporttesting.la 
427
428 test_transport_startonly_SOURCES = \
429  test_transport_startonly.c
430 test_transport_startonly_LDADD = \
431  $(top_builddir)/src/transport/libgnunettransport.la \
432  $(top_builddir)/src/hello/libgnunethello.la \
433  $(top_builddir)/src/statistics/libgnunetstatistics.la \
434  $(top_builddir)/src/util/libgnunetutil.la \
435  $(top_builddir)/src/transport/libgnunettransporttesting.la 
436
437 test_transport_api_tcp_SOURCES = \
438  test_transport_api.c
439 test_transport_api_tcp_LDADD = \
440  $(top_builddir)/src/transport/libgnunettransport.la \
441  $(top_builddir)/src/hello/libgnunethello.la \
442  $(top_builddir)/src/util/libgnunetutil.la  \
443  $(top_builddir)/src/transport/libgnunettransporttesting.la
444
445 test_transport_api_bidirectional_connect_SOURCES = \
446  test_transport_api_bidirectional_connect.c
447 test_transport_api_bidirectional_connect_LDADD = \
448  $(top_builddir)/src/transport/libgnunettransport.la \
449  $(top_builddir)/src/hello/libgnunethello.la \
450  $(top_builddir)/src/util/libgnunetutil.la  \
451  $(top_builddir)/src/transport/libgnunettransporttesting.la
452
453 test_transport_api_restart_1peer_SOURCES = \
454  test_transport_api_restart_1peer.c
455 test_transport_api_restart_1peer_LDADD = \
456  $(top_builddir)/src/transport/libgnunettransport.la \
457  $(top_builddir)/src/hello/libgnunethello.la \
458  $(top_builddir)/src/statistics/libgnunetstatistics.la \
459  $(top_builddir)/src/util/libgnunetutil.la \
460  $(top_builddir)/src/transport/libgnunettransporttesting.la 
461
462 test_transport_api_restart_2peers_SOURCES = \
463  test_transport_api_restart_2peers.c
464 test_transport_api_restart_2peers_LDADD = \
465  $(top_builddir)/src/transport/libgnunettransport.la \
466  $(top_builddir)/src/hello/libgnunethello.la \
467  $(top_builddir)/src/statistics/libgnunetstatistics.la \
468  $(top_builddir)/src/util/libgnunetutil.la \
469  $(top_builddir)/src/transport/libgnunettransporttesting.la 
470
471 test_transport_api_limited_sockets_tcp_SOURCES = \
472  test_transport_api_limited_sockets.c
473 test_transport_api_limited_sockets_tcp_LDADD = \
474  $(top_builddir)/src/transport/libgnunettransport.la \
475  $(top_builddir)/src/hello/libgnunethello.la \
476  $(top_builddir)/src/util/libgnunetutil.la  \
477  $(top_builddir)/src/transport/libgnunettransporttesting.la
478
479 test_transport_api_tcp_nat_SOURCES = \
480  test_transport_api.c
481 test_transport_api_tcp_nat_LDADD = \
482  $(top_builddir)/src/transport/libgnunettransport.la \
483  $(top_builddir)/src/hello/libgnunethello.la \
484  $(top_builddir)/src/util/libgnunetutil.la \
485  $(top_builddir)/src/transport/libgnunettransporttesting.la 
486
487 test_transport_api_reliability_tcp_SOURCES = \
488  test_transport_api_reliability.c
489 test_transport_api_reliability_tcp_LDADD = \
490  $(top_builddir)/src/transport/libgnunettransport.la \
491  $(top_builddir)/src/hello/libgnunethello.la \
492  $(top_builddir)/src/util/libgnunetutil.la \
493  $(top_builddir)/src/transport/libgnunettransporttesting.la 
494
495 test_transport_api_timeout_tcp_SOURCES = \
496  test_transport_api_timeout.c
497 test_transport_api_timeout_tcp_LDADD = \
498  $(top_builddir)/src/transport/libgnunettransport.la \
499  $(top_builddir)/src/hello/libgnunethello.la \
500  $(top_builddir)/src/util/libgnunetutil.la \
501  $(top_builddir)/src/transport/libgnunettransporttesting.la 
502
503 test_transport_api_timeout_unix_SOURCES = \
504  test_transport_api_timeout.c
505 test_transport_api_timeout_unix_LDADD = \
506  $(top_builddir)/src/transport/libgnunettransport.la \
507  $(top_builddir)/src/hello/libgnunethello.la \
508  $(top_builddir)/src/util/libgnunetutil.la \
509  $(top_builddir)/src/transport/libgnunettransporttesting.la 
510
511 test_transport_api_reliability_tcp_nat_SOURCES = \
512  test_transport_api_reliability.c
513 test_transport_api_reliability_tcp_nat_LDADD = \
514  $(top_builddir)/src/transport/libgnunettransport.la \
515  $(top_builddir)/src/hello/libgnunethello.la \
516  $(top_builddir)/src/util/libgnunetutil.la \
517  $(top_builddir)/src/transport/libgnunettransporttesting.la 
518
519 test_transport_api_reliability_wlan_SOURCES = \
520  test_transport_api_reliability.c
521 test_transport_api_reliability_wlan_LDADD = \
522  $(top_builddir)/src/transport/libgnunettransport.la \
523  $(top_builddir)/src/hello/libgnunethello.la \
524  $(top_builddir)/src/util/libgnunetutil.la \
525  $(top_builddir)/src/transport/libgnunettransporttesting.la 
526
527 test_transport_api_unreliability_wlan_SOURCES = \
528  test_transport_api_unreliability.c
529 test_transport_api_unreliability_wlan_LDADD = \
530  $(top_builddir)/src/transport/libgnunettransport.la \
531  $(top_builddir)/src/hello/libgnunethello.la \
532  $(top_builddir)/src/util/libgnunetutil.la \
533  $(top_builddir)/src/transport/libgnunettransporttesting.la 
534
535 test_transport_api_udp_SOURCES = \
536  test_transport_api.c
537 test_transport_api_udp_LDADD = \
538  $(top_builddir)/src/transport/libgnunettransport.la \
539  $(top_builddir)/src/hello/libgnunethello.la \
540  $(top_builddir)/src/util/libgnunetutil.la  \
541  $(top_builddir)/src/transport/libgnunettransporttesting.la
542
543 test_transport_api_timeout_udp_SOURCES = \
544  test_transport_api_timeout.c
545 test_transport_api_timeout_udp_LDADD = \
546  $(top_builddir)/src/transport/libgnunettransport.la \
547  $(top_builddir)/src/hello/libgnunethello.la \
548  $(top_builddir)/src/util/libgnunetutil.la \
549  $(top_builddir)/src/transport/libgnunettransporttesting.la  
550
551 test_transport_api_udp_nat_SOURCES = \
552  test_transport_api.c
553 test_transport_api_udp_nat_LDADD = \
554  $(top_builddir)/src/transport/libgnunettransport.la \
555  $(top_builddir)/src/hello/libgnunethello.la \
556  $(top_builddir)/src/util/libgnunetutil.la  \
557  $(top_builddir)/src/transport/libgnunettransporttesting.la  
558
559 test_transport_api_unix_SOURCES = \
560  test_transport_api.c
561 test_transport_api_unix_LDADD = \
562  $(top_builddir)/src/transport/libgnunettransport.la \
563  $(top_builddir)/src/hello/libgnunethello.la \
564  $(top_builddir)/src/util/libgnunetutil.la \
565  $(top_builddir)/src/transport/libgnunettransporttesting.la 
566
567 # HTTP/S tests
568 if FALSE
569
570 test_transport_api_timeout_http_SOURCES = \
571  test_transport_api_timeout.c
572 test_transport_api_timeout_http_LDADD = \
573  $(top_builddir)/src/transport/libgnunettransport.la \
574  $(top_builddir)/src/hello/libgnunethello.la \
575  $(top_builddir)/src/util/libgnunetutil.la \
576  $(top_builddir)/src/transport/libgnunettransporttesting.la 
577
578 test_transport_api_timeout_https_SOURCES = \
579  test_transport_api_timeout.c
580 test_transport_api_timeout_https_LDADD = \
581  $(top_builddir)/src/transport/libgnunettransport.la \
582  $(top_builddir)/src/hello/libgnunethello.la \
583  $(top_builddir)/src/util/libgnunetutil.la \
584  $(top_builddir)/src/transport/libgnunettransporttesting.la 
585
586
587 test_transport_api_http_SOURCES = \
588  test_transport_api.c
589 test_transport_api_http_LDADD = \
590  $(top_builddir)/src/transport/libgnunettransport.la \
591  $(top_builddir)/src/hello/libgnunethello.la \
592  $(top_builddir)/src/util/libgnunetutil.la \
593  $(top_builddir)/src/transport/libgnunettransporttesting.la 
594
595 test_transport_api_http_nat_SOURCES = \
596  test_transport_api.c
597 test_transport_api_http_nat_LDADD = \
598  $(top_builddir)/src/transport/libgnunettransport.la \
599  $(top_builddir)/src/hello/libgnunethello.la \
600  $(top_builddir)/src/util/libgnunetutil.la \
601  $(top_builddir)/src/transport/libgnunettransporttesting.la 
602
603 test_transport_api_reliability_http_SOURCES = \
604  test_transport_api_reliability.c
605 test_transport_api_reliability_http_LDADD = \
606  $(top_builddir)/src/transport/libgnunettransport.la \
607  $(top_builddir)/src/hello/libgnunethello.la \
608  $(top_builddir)/src/util/libgnunetutil.la \
609  $(top_builddir)/src/transport/libgnunettransporttesting.la 
610
611 test_transport_api_reliability_http_nat_SOURCES = \
612  test_transport_api_reliability.c
613 test_transport_api_reliability_http_nat_LDADD = \
614  $(top_builddir)/src/transport/libgnunettransport.la \
615  $(top_builddir)/src/hello/libgnunethello.la \
616  $(top_builddir)/src/util/libgnunetutil.la \
617  $(top_builddir)/src/transport/libgnunettransporttesting.la 
618
619 test_transport_api_https_SOURCES = \
620  test_transport_api.c
621 test_transport_api_https_LDADD = \
622  $(top_builddir)/src/transport/libgnunettransport.la \
623  $(top_builddir)/src/hello/libgnunethello.la \
624  $(top_builddir)/src/util/libgnunetutil.la  \
625  $(top_builddir)/src/transport/libgnunettransporttesting.la 
626
627 test_transport_api_https_nat_SOURCES = \
628  test_transport_api.c
629 test_transport_api_https_nat_LDADD = \
630  $(top_builddir)/src/transport/libgnunettransport.la \
631  $(top_builddir)/src/hello/libgnunethello.la \
632  $(top_builddir)/src/util/libgnunetutil.la \
633  $(top_builddir)/src/transport/libgnunettransporttesting.la 
634
635 test_transport_api_reliability_https_SOURCES = \
636  test_transport_api_reliability.c
637 test_transport_api_reliability_https_LDADD = \
638  $(top_builddir)/src/transport/libgnunettransport.la \
639  $(top_builddir)/src/hello/libgnunethello.la \
640  $(top_builddir)/src/util/libgnunetutil.la \
641  $(top_builddir)/src/transport/libgnunettransporttesting.la 
642
643 test_transport_api_reliability_https_nat_SOURCES = \
644  test_transport_api_reliability.c
645 test_transport_api_reliability_https_nat_LDADD = \
646  $(top_builddir)/src/transport/libgnunettransport.la \
647  $(top_builddir)/src/hello/libgnunethello.la \
648  $(top_builddir)/src/util/libgnunetutil.la \
649  $(top_builddir)/src/transport/libgnunettransporttesting.la 
650
651 test_quota_compliance_http_SOURCES = \
652  test_quota_compliance.c
653 test_quota_compliance_http_LDADD = \
654  $(top_builddir)/src/transport/libgnunettransport.la \
655  $(top_builddir)/src/hello/libgnunethello.la \
656  $(top_builddir)/src/util/libgnunetutil.la \
657  $(top_builddir)/src/transport/libgnunettransporttesting.la 
658
659 test_quota_compliance_http_asymmetric_SOURCES = \
660  test_quota_compliance.c
661 test_quota_compliance_http_asymmetric_LDADD = \
662  $(top_builddir)/src/transport/libgnunettransport.la \
663  $(top_builddir)/src/hello/libgnunethello.la \
664  $(top_builddir)/src/util/libgnunetutil.la \
665  $(top_builddir)/src/transport/libgnunettransporttesting.la
666
667 test_quota_compliance_https_SOURCES = \
668  test_quota_compliance.c
669 test_quota_compliance_https_LDADD = \
670  $(top_builddir)/src/transport/libgnunettransport.la \
671  $(top_builddir)/src/hello/libgnunethello.la \
672  $(top_builddir)/src/util/libgnunetutil.la \
673  $(top_builddir)/src/transport/libgnunettransporttesting.la
674
675 test_quota_compliance_https_asymmetric_SOURCES = \
676  test_quota_compliance.c
677 test_quota_compliance_https_asymmetric_LDADD = \
678  $(top_builddir)/src/transport/libgnunettransport.la \
679  $(top_builddir)/src/hello/libgnunethello.la \
680  $(top_builddir)/src/util/libgnunetutil.la \
681  $(top_builddir)/src/transport/libgnunettransporttesting.la
682
683
684 endif
685
686 test_transport_api_unreliability_unix_SOURCES = \
687  test_transport_api_unreliability.c
688 test_transport_api_unreliability_unix_LDADD = \
689  $(top_builddir)/src/transport/libgnunettransport.la \
690  $(top_builddir)/src/hello/libgnunethello.la \
691  $(top_builddir)/src/util/libgnunetutil.la \
692  $(top_builddir)/src/transport/libgnunettransporttesting.la 
693
694 test_transport_api_unreliability_udp_SOURCES = \
695  test_transport_api_unreliability.c
696 test_transport_api_unreliability_udp_LDADD = \
697  $(top_builddir)/src/transport/libgnunettransport.la \
698  $(top_builddir)/src/hello/libgnunethello.la \
699  $(top_builddir)/src/util/libgnunetutil.la \
700  $(top_builddir)/src/transport/libgnunettransporttesting.la 
701
702 test_transport_api_unreliability_constant_udp_SOURCES = \
703  test_transport_api_unreliability_constant.c
704 test_transport_api_unreliability_constant_udp_LDADD = \
705  $(top_builddir)/src/transport/libgnunettransport.la \
706  $(top_builddir)/src/hello/libgnunethello.la \
707  $(top_builddir)/src/util/libgnunetutil.la \
708  $(top_builddir)/src/transport/libgnunettransporttesting.la 
709
710 if LINUX
711 test_transport_api_wlan_SOURCES = \
712  test_transport_api.c
713 test_transport_api_wlan_LDADD = \
714  $(top_builddir)/src/transport/libgnunettransport.la \
715  $(top_builddir)/src/hello/libgnunethello.la \
716  $(top_builddir)/src/util/libgnunetutil.la \
717  $(top_builddir)/src/transport/libgnunettransporttesting.la  
718 endif
719
720 test_quota_compliance_tcp_SOURCES = \
721  test_quota_compliance.c
722 test_quota_compliance_tcp_LDADD = \
723  $(top_builddir)/src/transport/libgnunettransport.la \
724  $(top_builddir)/src/hello/libgnunethello.la \
725  $(top_builddir)/src/util/libgnunetutil.la \
726  $(top_builddir)/src/transport/libgnunettransporttesting.la 
727
728 test_quota_compliance_tcp_asymmetric_SOURCES = \
729  test_quota_compliance.c
730 test_quota_compliance_tcp_asymmetric_LDADD = \
731  $(top_builddir)/src/transport/libgnunettransport.la \
732  $(top_builddir)/src/hello/libgnunethello.la \
733  $(top_builddir)/src/util/libgnunetutil.la \
734  $(top_builddir)/src/transport/libgnunettransporttesting.la 
735
736 test_quota_compliance_udp_SOURCES = \
737  test_quota_compliance.c
738 test_quota_compliance_udp_LDADD = \
739  $(top_builddir)/src/transport/libgnunettransport.la \
740  $(top_builddir)/src/hello/libgnunethello.la \
741  $(top_builddir)/src/util/libgnunetutil.la \
742  $(top_builddir)/src/transport/libgnunettransporttesting.la
743
744 test_quota_compliance_unix_SOURCES = \
745  test_quota_compliance.c
746 test_quota_compliance_unix_LDADD = \
747  $(top_builddir)/src/transport/libgnunettransport.la \
748  $(top_builddir)/src/hello/libgnunethello.la \
749  $(top_builddir)/src/util/libgnunetutil.la \
750  $(top_builddir)/src/transport/libgnunettransporttesting.la
751
752 test_quota_compliance_unix_asymmetric_SOURCES = \
753  test_quota_compliance.c
754 test_quota_compliance_unix_asymmetric_LDADD = \
755  $(top_builddir)/src/transport/libgnunettransport.la \
756  $(top_builddir)/src/hello/libgnunethello.la \
757  $(top_builddir)/src/util/libgnunetutil.la \
758  $(top_builddir)/src/transport/libgnunettransporttesting.la
759
760 test_quota_compliance_wlan_SOURCES = \
761  test_quota_compliance.c
762 test_quota_compliance_wlan_LDADD = \
763  $(top_builddir)/src/transport/libgnunettransport.la \
764  $(top_builddir)/src/hello/libgnunethello.la \
765  $(top_builddir)/src/util/libgnunetutil.la \
766  $(top_builddir)/src/transport/libgnunettransporttesting.la
767
768 test_quota_compliance_wlan_asymmetric_SOURCES = \
769  test_quota_compliance.c
770 test_quota_compliance_wlan_asymmetric_LDADD = \
771  $(top_builddir)/src/transport/libgnunettransport.la \
772  $(top_builddir)/src/hello/libgnunethello.la \
773  $(top_builddir)/src/util/libgnunetutil.la \
774  $(top_builddir)/src/transport/libgnunettransporttesting.la
775
776 test_transport_api_multi_SOURCES = \
777  test_transport_api.c
778 test_transport_api_multi_LDADD = \
779  $(top_builddir)/src/transport/libgnunettransport.la \
780  $(top_builddir)/src/hello/libgnunethello.la \
781  $(top_builddir)/src/util/libgnunetutil.la \
782  $(top_builddir)/src/transport/libgnunettransporttesting.la 
783
784
785 EXTRA_DIST = \
786 gnunet-transport-certificate-creation \
787 template_cfg_peer1.conf\
788 template_cfg_peer2.conf\
789 test_plugin_transport_data.conf\
790 test_plugin_transport_data_udp.conf\
791 test_quota_compliance_data.conf\
792 test_quota_compliance_http_peer1.conf\
793 test_quota_compliance_http_peer2.conf\
794 test_quota_compliance_https_peer1.conf\
795 test_quota_compliance_https_peer2.conf\
796 test_quota_compliance_tcp_peer1.conf\
797 test_quota_compliance_tcp_peer2.conf\
798 test_quota_compliance_udp_peer1.conf\
799 test_quota_compliance_udp_peer2.conf\
800 test_quota_compliance_unix_peer1.conf\
801 test_quota_compliance_unix_peer2.conf\
802 test_quota_compliance_http_asymmetric_peer1.conf\
803 test_quota_compliance_http_asymmetric_peer2.conf\
804 test_quota_compliance_https_asymmetric_peer1.conf\
805 test_quota_compliance_https_asymmetric_peer2.conf\
806 test_quota_compliance_tcp_asymmetric_peer1.conf\
807 test_quota_compliance_tcp_asymmetric_peer2.conf\
808 test_quota_compliance_unix_asymmetric_peer1.conf\
809 test_quota_compliance_unix_asymmetric_peer2.conf\
810 test_transport_api_data.conf\
811 test_transport_api_http_peer1.conf\
812 test_transport_api_http_peer2.conf\
813 test_transport_api_https_peer1.conf\
814 test_transport_api_https_peer2.conf\
815 test_transport_api_limited_sockets_tcp_peer1.conf\
816 test_transport_api_limited_sockets_tcp_peer2.conf\
817 test_transport_api_timeout_tcp_peer1.conf\
818 test_transport_api_timeout_tcp_peer2.conf\
819 test_transport_api_multi_peer1.conf\
820 test_transport_api_multi_peer2.conf\
821 test_transport_api_reliability_http_peer1.conf\
822 test_transport_api_reliability_http_peer2.conf\
823 test_transport_api_reliability_https_peer1.conf\
824 test_transport_api_reliability_https_peer2.conf\
825 test_transport_api_reliability_tcp_nat_peer1.conf\
826 test_transport_api_reliability_tcp_nat_peer2.conf\
827 test_transport_api_reliability_tcp_peer1.conf\
828 test_transport_api_reliability_tcp_peer2.conf\
829 test_transport_api_reliability_wlan_peer1.conf\
830 test_transport_api_reliability_wlan_peer2.conf\
831 test_transport_api_bidirectional_connect_peer1.conf\
832 test_transport_api_bidirectional_connect_peer2.conf\
833 test_transport_api_tcp_nat_peer1.conf\
834 test_transport_api_tcp_nat_peer2.conf\
835 test_transport_api_tcp_peer1.conf\
836 test_transport_api_tcp_peer2.conf\
837 test_transport_api_udp_nat_peer1.conf\
838 test_transport_api_udp_nat_peer2.conf\
839 test_transport_api_udp_peer1.conf\
840 test_transport_api_udp_peer2.conf\
841 test_transport_api_timeout_udp_peer1.conf\
842 test_transport_api_timeout_udp_peer2.conf\
843 test_transport_api_unix_peer1.conf\
844 test_transport_api_unix_peer2.conf\
845 test_transport_api_timeout_unix_peer1.conf\
846 test_transport_api_timeout_unix_peer2.conf\
847 test_transport_api_unreliability_udp_peer1.conf\
848 test_transport_api_unreliability_udp_peer2.conf\
849 test_transport_api_unreliability_unix_peer1.conf\
850 test_transport_api_unreliability_unix_peer2.conf\
851 test_transport_api_unreliability_wlan_peer1.conf\
852 test_transport_api_unreliability_wlan_peer2.conf\
853 test_transport_api_wlan_peer1.conf\
854 test_transport_api_wlan_peer2.conf\
855 test_transport_defaults.conf\
856 test_transport_startonly.conf\
857 test_transport_api_disconnect_tcp_peer1.conf\
858 test_transport_api_disconnect_tcp_peer2.conf\
859 test_transport_api_http_nat_peer1.conf\
860 test_transport_api_http_nat_peer2.conf\
861 test_transport_api_https_nat_peer1.conf\
862 test_transport_api_https_nat_peer2.conf\
863 test_transport_api_reliability_http_nat_peer1.conf\
864 test_transport_api_reliability_http_nat_peer2.conf\
865 test_transport_api_reliability_https_nat_peer1.conf\
866 test_transport_api_reliability_https_nat_peer2.conf\
867 test_transport_api_timeout_http_peer1.conf\
868 test_transport_api_timeout_http_peer2.conf\
869 test_transport_api_timeout_https_peer1.conf\
870 test_transport_api_timeout_https_peer2.conf\
871 test_transport_api_unreliability_constant_udp_peer1.conf\
872 test_transport_api_unreliability_constant_udp_peer2.conf\
873 test_transport_api_http_reverse_proxy.conf