comment
[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         $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-transport-wlan || true
51         $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-transport-wlan || true
52 else
53 install-exec-hook:
54 endif
55
56 if !MINGW
57 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
58 UNIX_PLUGIN_TEST = test_transport_api_unix 
59 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
60 UNIX_REL_TEST = test_transport_api_unreliability_unix
61 UNIX_QUOTA_TEST = test_quota_compliance_unix \
62      test_quota_compliance_unix_asymmetric
63 endif
64
65 noinst_PROGRAMS = \
66  $(WLAN_BIN_SENDER)
67
68 lib_LTLIBRARIES = \
69   libgnunettransport.la \
70   libgnunettransporttesting.la
71
72 libgnunettransporttesting_la_SOURCES = \
73   transport-testing.c transport-testing.h
74 libgnunettransporttesting_la_LIBADD = \
75   $(top_builddir)/src/transport/libgnunettransport.la \
76   $(top_builddir)/src/hello/libgnunethello.la \
77   $(top_builddir)/src/util/libgnunetutil.la \
78   $(top_builddir)/src/testing/libgnunettesting.la \
79   $(GN_LIBINTL) 
80 libgnunettransporttesting_la_DEPENDENCIES = \
81   libgnunettransport.la
82 libgnunettransporttesting_la_LDFLAGS = \
83  $(GN_LIB_LDFLAGS)
84
85 libgnunettransport_la_SOURCES = \
86   transport_api.c transport.h \
87   transport_api_blacklist.c \
88   transport_api_address_to_string.c \
89   transport_api_address_lookup.c
90 libgnunettransport_la_LIBADD = \
91   $(top_builddir)/src/hello/libgnunethello.la \
92   $(top_builddir)/src/util/libgnunetutil.la \
93   $(GN_LIBINTL) 
94 libgnunettransport_la_LDFLAGS = \
95   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
96   -version-info 1:0:0
97
98 bin_PROGRAMS = \
99  gnunet-transport \
100  $(WLAN_BIN) \
101  $(WLAN_BIN_DUMMY) \
102  gnunet-service-transport \
103  gnunet-transport-certificate-creation
104
105 #bin_SCRIPTS = \
106 # gnunet-transport-certificate-creation
107
108 gnunet_transport_certificate_creation_SOURCES = \
109  gnunet-transport-certificate-creation.c
110 gnunet_transport_certificate_creation_LDADD = \
111   $(top_builddir)/src/util/libgnunetutil.la
112
113 gnunet_helper_transport_wlan_SOURCES = \
114  gnunet-helper-transport-wlan.c
115
116 gnunet_helper_transport_wlan_dummy_SOURCES = \
117  gnunet-helper-transport-wlan-dummy.c
118 gnunet_helper_transport_wlan_dummy_LDADD = \
119   $(top_builddir)/src/util/libgnunetutil.la 
120
121 gnunet_transport_wlan_sender_SOURCES = \
122  gnunet-transport-wlan-sender.c
123 gnunet_transport_wlan_sender_LDADD = \
124   $(top_builddir)/src/util/libgnunetutil.la 
125
126 gnunet_transport_SOURCES = \
127  gnunet-transport.c         
128 gnunet_transport_LDADD = \
129   $(top_builddir)/src/transport/libgnunettransport.la \
130   $(top_builddir)/src/nat/libgnunetnat.la \
131   $(top_builddir)/src/hello/libgnunethello.la \
132   $(top_builddir)/src/util/libgnunetutil.la \
133   $(GN_LIBINTL)
134 gnunet_transport_DEPENDENCIES = \
135   libgnunettransport.la                         
136
137 gnunet_service_transport_SOURCES = \
138  gnunet-service-transport.c gnunet-service-transport.h \
139  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
140  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
141  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
142  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
143  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
144  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
145 gnunet_service_transport_LDADD = \
146   $(top_builddir)/src/ats/libgnunetats.la \
147   $(top_builddir)/src/hello/libgnunethello.la \
148   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
149   $(top_builddir)/src/statistics/libgnunetstatistics.la \
150   $(top_builddir)/src/util/libgnunetutil.la \
151   $(GN_GLPK) \
152   $(GN_LIBINTL)
153
154 plugin_LTLIBRARIES = \
155   libgnunet_plugin_transport_tcp.la \
156   libgnunet_plugin_transport_udp.la \
157   $(UNIX_PLUGIN_LA) \
158   $(HTTP_PLUGIN_LA) \
159   $(HTTPS_PLUGIN_LA) \
160   $(WLAN_PLUGIN_LA) \
161   libgnunet_plugin_transport_template.la
162
163 libgnunet_plugin_transport_tcp_la_SOURCES = \
164   plugin_transport_tcp.c
165 libgnunet_plugin_transport_tcp_la_LIBADD = \
166   $(top_builddir)/src/hello/libgnunethello.la \
167   $(top_builddir)/src/statistics/libgnunetstatistics.la \
168   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
169   $(top_builddir)/src/nat/libgnunetnat.la \
170   $(top_builddir)/src/util/libgnunetutil.la \
171   $(LTLIBINTL)
172 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
173  $(GN_PLUGIN_LDFLAGS)
174
175 libgnunet_plugin_transport_template_la_SOURCES = \
176   plugin_transport_template.c
177 libgnunet_plugin_transport_template_la_LIBADD = \
178   $(top_builddir)/src/util/libgnunetutil.la \
179   $(LTLIBINTL)
180 libgnunet_plugin_transport_template_la_LDFLAGS = \
181  $(GN_PLUGIN_LDFLAGS)
182
183 libgnunet_plugin_transport_wlan_la_SOURCES = \
184   plugin_transport_wlan.c plugin_transport_wlan.h
185 libgnunet_plugin_transport_wlan_la_LIBADD = \
186   $(top_builddir)/src/hello/libgnunethello.la \
187   $(top_builddir)/src/statistics/libgnunetstatistics.la \
188   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
189   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
190   $(top_builddir)/src/util/libgnunetutil.la 
191 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
192   $(GN_PLUGIN_LDFLAGS)
193
194 libgnunet_plugin_transport_udp_la_SOURCES = \
195   plugin_transport_udp.c plugin_transport_udp.h \
196   plugin_transport_udp_broadcasting.c
197 libgnunet_plugin_transport_udp_la_LIBADD = \
198   $(top_builddir)/src/hello/libgnunethello.la \
199   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
200   $(top_builddir)/src/statistics/libgnunetstatistics.la \
201   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
202   $(top_builddir)/src/nat/libgnunetnat.la \
203   $(top_builddir)/src/util/libgnunetutil.la \
204   $(LTLIBINTL)
205 libgnunet_plugin_transport_udp_la_LDFLAGS = \
206  $(GN_PLUGIN_LDFLAGS)
207
208 libgnunet_plugin_transport_unix_la_SOURCES = \
209   plugin_transport_unix.c
210 libgnunet_plugin_transport_unix_la_LIBADD = \
211   $(top_builddir)/src/hello/libgnunethello.la \
212   $(top_builddir)/src/statistics/libgnunetstatistics.la \
213   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
214   $(top_builddir)/src/util/libgnunetutil.la \
215   $(LTLIBINTL)
216 libgnunet_plugin_transport_unix_la_LDFLAGS = \
217  $(GN_PLUGIN_LDFLAGS)
218
219 libgnunet_plugin_transport_http_la_SOURCES = \
220   plugin_transport_http.c plugin_transport_http.h \
221   plugin_transport_http_client.c plugin_transport_http_server.c
222 libgnunet_plugin_transport_http_la_LIBADD = \
223   $(top_builddir)/src/hello/libgnunethello.la \
224   $(top_builddir)/src/statistics/libgnunetstatistics.la \
225   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
226   @LIBCURL@ \
227   $(top_builddir)/src/nat/libgnunetnat.la \
228   $(top_builddir)/src/util/libgnunetutil.la 
229 libgnunet_plugin_transport_http_la_LDFLAGS = \
230  $(GN_LIBMHD) \
231  $(GN_PLUGIN_LDFLAGS)
232 libgnunet_plugin_transport_http_la_CFLAGS = \
233  $(CFLAGS) 
234 libgnunet_plugin_transport_http_la_CPPFLAGS = \
235  @LIBCURL_CPPFLAGS@
236
237 libgnunet_plugin_transport_https_la_SOURCES = \
238   plugin_transport_http.c plugin_transport_http.h \
239   plugin_transport_http_client.c plugin_transport_http_server.c
240 libgnunet_plugin_transport_https_la_LIBADD = \
241   $(top_builddir)/src/hello/libgnunethello.la \
242   $(top_builddir)/src/statistics/libgnunetstatistics.la \
243   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
244   @LIBCURL@ \
245   $(top_builddir)/src/nat/libgnunetnat.la \
246   $(top_builddir)/src/util/libgnunetutil.la 
247 libgnunet_plugin_transport_https_la_LDFLAGS = \
248  $(GN_LIBMHD) \
249  $(GN_PLUGIN_LDFLAGS)
250 libgnunet_plugin_transport_https_la_CFLAGS = \
251  $(CFLAGS) -DBUILD_HTTPS 
252 libgnunet_plugin_transport_https_la_CPPFLAGS = \
253  @LIBCURL_CPPFLAGS@
254
255
256 check_PROGRAMS = \
257  test_transport_testing_startstop \
258  test_transport_testing_restart \
259  test_transport_testing \
260  test_transport_startonly \
261  test_transport_api_blacklisting \
262  test_transport_api_disconnect_tcp \
263  test_transport_api_bidirectional_connect \
264  test_transport_api_tcp \
265  test_transport_api_restart_1peer \
266  test_transport_api_restart_2peers \
267  test_transport_api_timeout_tcp \
268  test_transport_api_limited_sockets_tcp \
269  test_transport_api_tcp_nat \
270  test_transport_api_udp \
271  test_transport_api_timeout_udp \
272  $(UNIX_PLUGIN_TEST) \
273  $(UNIX_PLUGIN_TIMEOUT_TEST) \
274  test_transport_api_udp_nat \
275  $(HTTP_API_TEST) \
276  $(HTTP_NAT_API_TEST) \
277  $(HTTP_API_TIMEOUT_TEST) \
278  $(HTTPS_API_TEST) \
279  $(HTTPS_NAT_API_TEST) \
280  $(HTTPS_API_TIMEOUT_TEST) \
281  $(WLAN_API_TEST) \
282  test_transport_api_multi \
283  test_transport_api_reliability_tcp \
284  test_transport_api_reliability_tcp_nat \
285  test_transport_api_unreliability_udp \
286  test_transport_api_unreliability_constant_udp \
287  $(UNIX_REL_TEST) \
288  $(HTTP_REL_TEST) \
289  $(HTTP_NAT_REL_TEST) \
290  $(HTTPS_REL_TEST) \
291  $(HTTPS_NAT_REL_TEST) \
292  $(WLAN_REL_TEST) \
293  $(WLAN_UREL_TEST) \
294  test_quota_compliance_tcp \
295  test_quota_compliance_tcp_asymmetric \
296  test_quota_compliance_udp \
297  $(UNIX_QUOTA_TEST) \
298  $(HTTP_QUOTA_TEST) \
299  $(HTTPS_QUOTA_TEST) \
300  $(WLAN_QUOTA_TEST)
301
302 if ENABLE_TEST_RUN
303 TESTS = \
304  test_transport_testing_startstop \
305  test_transport_testing_restart \
306  test_transport_testing \
307  test_transport_startonly \
308  test_transport_api_blacklisting \
309  test_transport_api_disconnect_tcp \
310  test_transport_api_bidirectional_connect \
311  test_transport_api_tcp \
312  test_transport_api_restart_1peer \
313  test_transport_api_restart_2peers \
314  test_transport_api_timeout_tcp \
315  test_transport_api_limited_sockets_tcp \
316  test_transport_api_tcp_nat \
317  test_transport_api_udp \
318  test_transport_api_timeout_udp \
319  $(UNIX_PLUGIN_TEST) \
320  $(UNIX_PLUGIN_TIMEOUT_TEST) \
321  test_transport_api_udp_nat \
322  $(HTTP_API_TEST) \
323  $(HTTP_NAT_API_TEST) \
324  $(HTTP_API_TIMEOUT_TEST) \
325  $(HTTPS_API_TEST) \
326  $(HTTPS_NAT_API_TEST) \
327  $(HTTPS_API_TIMEOUT_TEST) \
328  $(WLAN_API_TEST) \
329  test_transport_api_multi \
330  test_transport_api_reliability_tcp \
331  test_transport_api_reliability_tcp_nat \
332  test_transport_api_unreliability_udp \
333  test_transport_api_unreliability_constant_udp \
334  $(UNIX_REL_TEST) \
335  $(HTTP_REL_TEST) \
336  $(HTTP_NAT_REL_TEST) \
337  $(HTTPS_REL_TEST) \
338  $(HTTPS_NAT_REL_TEST) \
339  $(WLAN_REL_TEST) \
340  $(WLAN_UREL_TEST) \
341  test_quota_compliance_tcp \
342  test_quota_compliance_tcp_asymmetric \
343  test_quota_compliance_udp \
344  $(UNIX_QUOTA_TEST) \
345  $(HTTP_QUOTA_TEST) \
346  $(HTTPS_QUOTA_TEST)
347 endif
348
349 test_transport_testing_startstop_SOURCES = \
350  test_transport_testing_startstop.c
351 test_transport_testing_startstop_LDADD = \
352  $(top_builddir)/src/util/libgnunetutil.la \
353  $(top_builddir)/src/transport/libgnunettransport.la \
354  $(top_builddir)/src/hello/libgnunethello.la \
355  $(top_builddir)/src/transport/libgnunettransporttesting.la 
356
357 test_transport_testing_restart_SOURCES = \
358  test_transport_testing_restart.c
359 test_transport_testing_restart_LDADD = \
360  $(top_builddir)/src/util/libgnunetutil.la \
361  $(top_builddir)/src/transport/libgnunettransport.la \
362  $(top_builddir)/src/hello/libgnunethello.la \
363  $(top_builddir)/src/transport/libgnunettransporttesting.la 
364
365 test_transport_testing_SOURCES = \
366  test_transport_testing.c
367 test_transport_testing_LDADD = \
368  $(top_builddir)/src/util/libgnunetutil.la \
369  $(top_builddir)/src/transport/libgnunettransport.la \
370  $(top_builddir)/src/hello/libgnunethello.la \
371  $(top_builddir)/src/transport/libgnunettransporttesting.la 
372
373
374 test_transport_api_blacklisting_SOURCES = \
375  test_transport_api_blacklisting.c
376 test_transport_api_blacklisting_LDADD = \
377  $(top_builddir)/src/transport/libgnunettransport.la \
378  $(top_builddir)/src/hello/libgnunethello.la \
379  $(top_builddir)/src/statistics/libgnunetstatistics.la \
380  $(top_builddir)/src/util/libgnunetutil.la \
381  $(top_builddir)/src/transport/libgnunettransporttesting.la 
382
383 test_transport_api_disconnect_tcp_SOURCES = \
384  test_transport_api_disconnect.c
385 test_transport_api_disconnect_tcp_LDADD = \
386  $(top_builddir)/src/transport/libgnunettransport.la \
387  $(top_builddir)/src/hello/libgnunethello.la \
388  $(top_builddir)/src/statistics/libgnunetstatistics.la \
389  $(top_builddir)/src/util/libgnunetutil.la \
390  $(top_builddir)/src/transport/libgnunettransporttesting.la 
391
392 test_transport_startonly_SOURCES = \
393  test_transport_startonly.c
394 test_transport_startonly_LDADD = \
395  $(top_builddir)/src/transport/libgnunettransport.la \
396  $(top_builddir)/src/hello/libgnunethello.la \
397  $(top_builddir)/src/statistics/libgnunetstatistics.la \
398  $(top_builddir)/src/util/libgnunetutil.la \
399  $(top_builddir)/src/transport/libgnunettransporttesting.la 
400
401 test_transport_api_tcp_SOURCES = \
402  test_transport_api.c
403 test_transport_api_tcp_LDADD = \
404  $(top_builddir)/src/transport/libgnunettransport.la \
405  $(top_builddir)/src/hello/libgnunethello.la \
406  $(top_builddir)/src/util/libgnunetutil.la  \
407  $(top_builddir)/src/transport/libgnunettransporttesting.la
408
409 test_transport_api_bidirectional_connect_SOURCES = \
410  test_transport_api_bidirectional_connect.c
411 test_transport_api_bidirectional_connect_LDADD = \
412  $(top_builddir)/src/transport/libgnunettransport.la \
413  $(top_builddir)/src/hello/libgnunethello.la \
414  $(top_builddir)/src/util/libgnunetutil.la  \
415  $(top_builddir)/src/transport/libgnunettransporttesting.la
416
417 test_transport_api_restart_1peer_SOURCES = \
418  test_transport_api_restart_1peer.c
419 test_transport_api_restart_1peer_LDADD = \
420  $(top_builddir)/src/transport/libgnunettransport.la \
421  $(top_builddir)/src/hello/libgnunethello.la \
422  $(top_builddir)/src/statistics/libgnunetstatistics.la \
423  $(top_builddir)/src/util/libgnunetutil.la \
424  $(top_builddir)/src/transport/libgnunettransporttesting.la 
425
426 test_transport_api_restart_2peers_SOURCES = \
427  test_transport_api_restart_2peers.c
428 test_transport_api_restart_2peers_LDADD = \
429  $(top_builddir)/src/transport/libgnunettransport.la \
430  $(top_builddir)/src/hello/libgnunethello.la \
431  $(top_builddir)/src/statistics/libgnunetstatistics.la \
432  $(top_builddir)/src/util/libgnunetutil.la \
433  $(top_builddir)/src/transport/libgnunettransporttesting.la 
434
435 test_transport_api_limited_sockets_tcp_SOURCES = \
436  test_transport_api_limited_sockets.c
437 test_transport_api_limited_sockets_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_tcp_nat_SOURCES = \
444  test_transport_api.c
445 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
452  test_transport_api_reliability.c
453 test_transport_api_reliability_tcp_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_tcp_SOURCES = \
460  test_transport_api_timeout.c
461 test_transport_api_timeout_tcp_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_timeout_unix_SOURCES = \
468  test_transport_api_timeout.c
469 test_transport_api_timeout_unix_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_timeout_http_SOURCES = \
476  test_transport_api_timeout.c
477 test_transport_api_timeout_http_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_timeout_https_SOURCES = \
484  test_transport_api_timeout.c
485 test_transport_api_timeout_https_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_reliability_tcp_nat_SOURCES = \
492  test_transport_api_reliability.c
493 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
500  test_transport_api_reliability.c
501 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
508  test_transport_api_unreliability.c
509 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
516  test_transport_api.c
517 test_transport_api_udp_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_timeout_udp_SOURCES = \
524  test_transport_api_timeout.c
525 test_transport_api_timeout_udp_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_udp_nat_SOURCES = \
532  test_transport_api.c
533 test_transport_api_udp_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_unix_SOURCES = \
540  test_transport_api.c
541 test_transport_api_unix_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_http_SOURCES = \
548  test_transport_api.c
549 test_transport_api_http_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_http_nat_SOURCES = \
556  test_transport_api.c
557 test_transport_api_http_nat_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_reliability_http_SOURCES = \
564  test_transport_api_reliability.c
565 test_transport_api_reliability_http_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_http_nat_SOURCES = \
572  test_transport_api_reliability.c
573 test_transport_api_reliability_http_nat_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_https_SOURCES = \
580  test_transport_api.c
581 test_transport_api_https_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_https_nat_SOURCES = \
588  test_transport_api.c
589 test_transport_api_https_nat_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_reliability_https_SOURCES = \
596  test_transport_api_reliability.c
597 test_transport_api_reliability_https_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_https_nat_SOURCES = \
604  test_transport_api_reliability.c
605 test_transport_api_reliability_https_nat_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_unreliability_unix_SOURCES = \
612  test_transport_api_unreliability.c
613 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
620  test_transport_api_unreliability.c
621 test_transport_api_unreliability_udp_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_unreliability_constant_udp_SOURCES = \
628  test_transport_api_unreliability_constant.c
629 test_transport_api_unreliability_constant_udp_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 if LINUX
636 test_transport_api_wlan_SOURCES = \
637  test_transport_api.c
638 test_transport_api_wlan_LDADD = \
639  $(top_builddir)/src/transport/libgnunettransport.la \
640  $(top_builddir)/src/hello/libgnunethello.la \
641  $(top_builddir)/src/util/libgnunetutil.la \
642  $(top_builddir)/src/transport/libgnunettransporttesting.la  
643 endif
644
645 test_quota_compliance_tcp_SOURCES = \
646  test_quota_compliance.c
647 test_quota_compliance_tcp_LDADD = \
648  $(top_builddir)/src/transport/libgnunettransport.la \
649  $(top_builddir)/src/hello/libgnunethello.la \
650  $(top_builddir)/src/util/libgnunetutil.la \
651  $(top_builddir)/src/transport/libgnunettransporttesting.la 
652
653 test_quota_compliance_tcp_asymmetric_SOURCES = \
654  test_quota_compliance.c
655 test_quota_compliance_tcp_asymmetric_LDADD = \
656  $(top_builddir)/src/transport/libgnunettransport.la \
657  $(top_builddir)/src/hello/libgnunethello.la \
658  $(top_builddir)/src/util/libgnunetutil.la \
659  $(top_builddir)/src/transport/libgnunettransporttesting.la 
660
661 test_quota_compliance_http_SOURCES = \
662  test_quota_compliance.c
663 test_quota_compliance_http_LDADD = \
664  $(top_builddir)/src/transport/libgnunettransport.la \
665  $(top_builddir)/src/hello/libgnunethello.la \
666  $(top_builddir)/src/util/libgnunetutil.la \
667  $(top_builddir)/src/transport/libgnunettransporttesting.la 
668
669 test_quota_compliance_http_asymmetric_SOURCES = \
670  test_quota_compliance.c
671 test_quota_compliance_http_asymmetric_LDADD = \
672  $(top_builddir)/src/transport/libgnunettransport.la \
673  $(top_builddir)/src/hello/libgnunethello.la \
674  $(top_builddir)/src/util/libgnunetutil.la \
675  $(top_builddir)/src/transport/libgnunettransporttesting.la
676
677 test_quota_compliance_https_SOURCES = \
678  test_quota_compliance.c
679 test_quota_compliance_https_LDADD = \
680  $(top_builddir)/src/transport/libgnunettransport.la \
681  $(top_builddir)/src/hello/libgnunethello.la \
682  $(top_builddir)/src/util/libgnunetutil.la \
683  $(top_builddir)/src/transport/libgnunettransporttesting.la
684
685 test_quota_compliance_https_asymmetric_SOURCES = \
686  test_quota_compliance.c
687 test_quota_compliance_https_asymmetric_LDADD = \
688  $(top_builddir)/src/transport/libgnunettransport.la \
689  $(top_builddir)/src/hello/libgnunethello.la \
690  $(top_builddir)/src/util/libgnunetutil.la \
691  $(top_builddir)/src/transport/libgnunettransporttesting.la
692
693 test_quota_compliance_udp_SOURCES = \
694  test_quota_compliance.c
695 test_quota_compliance_udp_LDADD = \
696  $(top_builddir)/src/transport/libgnunettransport.la \
697  $(top_builddir)/src/hello/libgnunethello.la \
698  $(top_builddir)/src/util/libgnunetutil.la \
699  $(top_builddir)/src/transport/libgnunettransporttesting.la
700
701 test_quota_compliance_unix_SOURCES = \
702  test_quota_compliance.c
703 test_quota_compliance_unix_LDADD = \
704  $(top_builddir)/src/transport/libgnunettransport.la \
705  $(top_builddir)/src/hello/libgnunethello.la \
706  $(top_builddir)/src/util/libgnunetutil.la \
707  $(top_builddir)/src/transport/libgnunettransporttesting.la
708
709 test_quota_compliance_unix_asymmetric_SOURCES = \
710  test_quota_compliance.c
711 test_quota_compliance_unix_asymmetric_LDADD = \
712  $(top_builddir)/src/transport/libgnunettransport.la \
713  $(top_builddir)/src/hello/libgnunethello.la \
714  $(top_builddir)/src/util/libgnunetutil.la \
715  $(top_builddir)/src/transport/libgnunettransporttesting.la
716
717 test_quota_compliance_wlan_SOURCES = \
718  test_quota_compliance.c
719 test_quota_compliance_wlan_LDADD = \
720  $(top_builddir)/src/transport/libgnunettransport.la \
721  $(top_builddir)/src/hello/libgnunethello.la \
722  $(top_builddir)/src/util/libgnunetutil.la \
723  $(top_builddir)/src/transport/libgnunettransporttesting.la
724
725 test_quota_compliance_wlan_asymmetric_SOURCES = \
726  test_quota_compliance.c
727 test_quota_compliance_wlan_asymmetric_LDADD = \
728  $(top_builddir)/src/transport/libgnunettransport.la \
729  $(top_builddir)/src/hello/libgnunethello.la \
730  $(top_builddir)/src/util/libgnunetutil.la \
731  $(top_builddir)/src/transport/libgnunettransporttesting.la
732
733 test_transport_api_multi_SOURCES = \
734  test_transport_api.c
735 test_transport_api_multi_LDADD = \
736  $(top_builddir)/src/transport/libgnunettransport.la \
737  $(top_builddir)/src/hello/libgnunethello.la \
738  $(top_builddir)/src/util/libgnunetutil.la \
739  $(top_builddir)/src/transport/libgnunettransporttesting.la 
740
741
742 EXTRA_DIST = \
743 gnunet-transport-certificate-creation \
744 template_cfg_peer1.conf\
745 template_cfg_peer2.conf\
746 test_plugin_transport_data.conf\
747 test_plugin_transport_data_udp.conf\
748 test_quota_compliance_data.conf\
749 test_quota_compliance_http_peer1.conf\
750 test_quota_compliance_http_peer2.conf\
751 test_quota_compliance_https_peer1.conf\
752 test_quota_compliance_https_peer2.conf\
753 test_quota_compliance_tcp_peer1.conf\
754 test_quota_compliance_tcp_peer2.conf\
755 test_quota_compliance_udp_peer1.conf\
756 test_quota_compliance_udp_peer2.conf\
757 test_quota_compliance_unix_peer1.conf\
758 test_quota_compliance_unix_peer2.conf\
759 test_quota_compliance_http_asymmetric_peer1.conf\
760 test_quota_compliance_http_asymmetric_peer2.conf\
761 test_quota_compliance_https_asymmetric_peer1.conf\
762 test_quota_compliance_https_asymmetric_peer2.conf\
763 test_quota_compliance_tcp_asymmetric_peer1.conf\
764 test_quota_compliance_tcp_asymmetric_peer2.conf\
765 test_quota_compliance_unix_asymmetric_peer1.conf\
766 test_quota_compliance_unix_asymmetric_peer2.conf\
767 test_transport_api_data.conf\
768 test_transport_api_http_peer1.conf\
769 test_transport_api_http_peer2.conf\
770 test_transport_api_https_peer1.conf\
771 test_transport_api_https_peer2.conf\
772 test_transport_api_limited_sockets_tcp_peer1.conf\
773 test_transport_api_limited_sockets_tcp_peer2.conf\
774 test_transport_api_timeout_tcp_peer1.conf\
775 test_transport_api_timeout_tcp_peer2.conf\
776 test_transport_api_multi_peer1.conf\
777 test_transport_api_multi_peer2.conf\
778 test_transport_api_reliability_http_peer1.conf\
779 test_transport_api_reliability_http_peer2.conf\
780 test_transport_api_reliability_https_peer1.conf\
781 test_transport_api_reliability_https_peer2.conf\
782 test_transport_api_reliability_tcp_nat_peer1.conf\
783 test_transport_api_reliability_tcp_nat_peer2.conf\
784 test_transport_api_reliability_tcp_peer1.conf\
785 test_transport_api_reliability_tcp_peer2.conf\
786 test_transport_api_reliability_wlan_peer1.conf\
787 test_transport_api_reliability_wlan_peer2.conf\
788 test_transport_api_bidirectional_connect_peer1.conf\
789 test_transport_api_bidirectional_connect_peer2.conf\
790 test_transport_api_tcp_nat_peer1.conf\
791 test_transport_api_tcp_nat_peer2.conf\
792 test_transport_api_tcp_peer1.conf\
793 test_transport_api_tcp_peer2.conf\
794 test_transport_api_udp_nat_peer1.conf\
795 test_transport_api_udp_nat_peer2.conf\
796 test_transport_api_udp_peer1.conf\
797 test_transport_api_udp_peer2.conf\
798 test_transport_api_timeout_udp_peer1.conf\
799 test_transport_api_timeout_udp_peer2.conf\
800 test_transport_api_unix_peer1.conf\
801 test_transport_api_unix_peer2.conf\
802 test_transport_api_timeout_unix_peer1.conf\
803 test_transport_api_timeout_unix_peer2.conf\
804 test_transport_api_unreliability_udp_peer1.conf\
805 test_transport_api_unreliability_udp_peer2.conf\
806 test_transport_api_unreliability_unix_peer1.conf\
807 test_transport_api_unreliability_unix_peer2.conf\
808 test_transport_api_unreliability_wlan_peer1.conf\
809 test_transport_api_unreliability_wlan_peer2.conf\
810 test_transport_api_wlan_peer1.conf\
811 test_transport_api_wlan_peer2.conf\
812 test_transport_defaults.conf\
813 test_transport_startonly.conf\
814 test_transport_api_disconnect_tcp_peer1.conf\
815 test_transport_api_disconnect_tcp_peer2.conf\
816 test_transport_api_http_nat_peer1.conf\
817 test_transport_api_http_nat_peer2.conf\
818 test_transport_api_https_nat_peer1.conf\
819 test_transport_api_https_nat_peer2.conf\
820 test_transport_api_reliability_http_nat_peer1.conf\
821 test_transport_api_reliability_http_nat_peer2.conf\
822 test_transport_api_reliability_https_nat_peer1.conf\
823 test_transport_api_reliability_https_nat_peer2.conf\
824 test_transport_api_timeout_http_peer1.conf\
825 test_transport_api_timeout_http_peer2.conf\
826 test_transport_api_timeout_https_peer1.conf\
827 test_transport_api_timeout_https_peer2.conf\
828 test_transport_api_unreliability_constant_udp_peer1.conf\
829 test_transport_api_unreliability_constant_udp_peer2.conf