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