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