- fix logging to remove error messages
[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_REL_TEST = test_transport_api_unreliability_unix
58 UNIX_QUOTA_TEST = test_quota_compliance_unix \
59      test_quota_compliance_unix_asymmetric
60 endif
61
62 noinst_PROGRAMS = \
63  $(WLAN_BIN_DUMMY) \
64  $(WLAN_BIN_SENDER)
65 # gnunet-transport-connect-running-peers
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   $(GN_LIBINTL) 
78 libgnunettransporttesting_la_DEPENDENCIES = \
79   libgnunettransport.la
80 libgnunettransporttesting_la_LDFLAGS = \
81  $(GN_LIB_LDFLAGS)
82
83 libgnunettransport_la_SOURCES = \
84   transport_api.c transport.h \
85   transport_api_blacklist.c \
86   transport_api_address_to_string.c \
87   transport_api_address_lookup.c
88 libgnunettransport_la_LIBADD = \
89   $(top_builddir)/src/hello/libgnunethello.la \
90   $(top_builddir)/src/util/libgnunetutil.la \
91   $(GN_LIBINTL) 
92 libgnunettransport_la_LDFLAGS = \
93   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
94   -version-info 0:0:0
95
96 bin_PROGRAMS = \
97  gnunet-transport \
98  $(WLAN_BIN) \
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 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
169  $(GN_PLUGIN_LDFLAGS)
170
171 libgnunet_plugin_transport_template_la_SOURCES = \
172   plugin_transport_template.c
173 libgnunet_plugin_transport_template_la_LIBADD = \
174   $(top_builddir)/src/util/libgnunetutil.la 
175 libgnunet_plugin_transport_template_la_LDFLAGS = \
176  $(GN_PLUGIN_LDFLAGS)
177
178 libgnunet_plugin_transport_wlan_la_SOURCES = \
179   plugin_transport_wlan.c plugin_transport_wlan.h
180 libgnunet_plugin_transport_wlan_la_LIBADD = \
181   $(top_builddir)/src/hello/libgnunethello.la \
182   $(top_builddir)/src/statistics/libgnunetstatistics.la \
183   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
184   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
185   $(top_builddir)/src/util/libgnunetutil.la 
186 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
187   $(GN_PLUGIN_LDFLAGS)
188
189 libgnunet_plugin_transport_udp_la_SOURCES = \
190   plugin_transport_udp.c \
191   plugin_transport_udp_broadcasting.c
192 libgnunet_plugin_transport_udp_la_LIBADD = \
193   $(top_builddir)/src/hello/libgnunethello.la \
194   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
195   $(top_builddir)/src/statistics/libgnunetstatistics.la \
196   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
197   $(top_builddir)/src/nat/libgnunetnat.la \
198   $(top_builddir)/src/util/libgnunetutil.la 
199 libgnunet_plugin_transport_udp_la_LDFLAGS = \
200  $(GN_PLUGIN_LDFLAGS)
201
202 libgnunet_plugin_transport_unix_la_SOURCES = \
203   plugin_transport_unix.c
204 libgnunet_plugin_transport_unix_la_LIBADD = \
205   $(top_builddir)/src/hello/libgnunethello.la \
206   $(top_builddir)/src/statistics/libgnunetstatistics.la \
207   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
208   $(top_builddir)/src/util/libgnunetutil.la 
209 libgnunet_plugin_transport_unix_la_LDFLAGS = \
210  $(GN_PLUGIN_LDFLAGS)
211
212 libgnunet_plugin_transport_http_la_SOURCES = \
213   plugin_transport_http.c plugin_transport_http.h \
214   plugin_transport_http_client.c plugin_transport_http_server.c
215 libgnunet_plugin_transport_http_la_LIBADD = \
216   $(top_builddir)/src/hello/libgnunethello.la \
217   $(top_builddir)/src/statistics/libgnunetstatistics.la \
218   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
219   @LIBCURL@ \
220   $(top_builddir)/src/nat/libgnunetnat.la \
221   $(top_builddir)/src/util/libgnunetutil.la 
222 libgnunet_plugin_transport_http_la_LDFLAGS = \
223  $(GN_LIBMHD) \
224  $(GN_PLUGIN_LDFLAGS)
225 libgnunet_plugin_transport_http_la_CFLAGS = \
226  $(CFLAGS) 
227 libgnunet_plugin_transport_http_la_CPPFLAGS = \
228  @LIBCURL_CPPFLAGS@
229
230 libgnunet_plugin_transport_https_la_SOURCES = \
231   plugin_transport_http.c plugin_transport_http.h \
232   plugin_transport_http_client.c plugin_transport_http_server.c
233 libgnunet_plugin_transport_https_la_LIBADD = \
234   $(top_builddir)/src/hello/libgnunethello.la \
235   $(top_builddir)/src/statistics/libgnunetstatistics.la \
236   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
237   @LIBCURL@ \
238   $(top_builddir)/src/nat/libgnunetnat.la \
239   $(top_builddir)/src/util/libgnunetutil.la 
240 libgnunet_plugin_transport_https_la_LDFLAGS = \
241  $(GN_LIBMHD) \
242  $(GN_PLUGIN_LDFLAGS)
243 libgnunet_plugin_transport_https_la_CFLAGS = \
244  $(CFLAGS) -DBUILD_HTTPS 
245 libgnunet_plugin_transport_https_la_CPPFLAGS = \
246  @LIBCURL_CPPFLAGS@
247
248
249 check_PROGRAMS = \
250  test_transport_testing \
251  test_transport_startonly \
252  test_transport_api_blacklisting \
253  test_transport_api_disconnect_tcp \
254  test_transport_api_bidirectional_connect \
255  test_transport_api_tcp \
256  test_transport_api_restart_1peer \
257  test_transport_api_restart_2peers \
258  test_transport_api_timeout_tcp \
259  test_transport_api_limited_sockets_tcp \
260  test_transport_api_tcp_nat \
261  test_transport_api_udp \
262  $(UNIX_PLUGIN_TEST) \
263  test_transport_api_udp_nat \
264  $(HTTP_API_TEST) \
265  $(HTTP_NAT_API_TEST) \
266  $(HTTP_API_TIMEOUT_TEST) \
267  $(HTTPS_API_TEST) \
268  $(HTTPS_NAT_API_TEST) \
269  $(HTTPS_API_TIMEOUT_TEST) \
270  test_transport_api_multi \
271  test_transport_api_reliability_tcp \
272  test_transport_api_reliability_tcp_nat \
273  test_transport_api_unreliability_udp \
274  test_transport_api_unreliability_constant_udp \
275  $(UNIX_REL_TEST) \
276  $(HTTP_REL_TEST) \
277  $(HTTP_NAT_REL_TEST) \
278  $(HTTPS_REL_TEST) \
279  $(HTTPS_NAT_REL_TEST) \
280  test_quota_compliance_tcp \
281  test_quota_compliance_tcp_asymmetric \
282  test_quota_compliance_udp \
283  $(UNIX_QUOTA_TEST) \
284  $(HTTP_QUOTA_TEST) \
285  $(HTTPS_QUOTA_TEST) \
286  $(WLAN_API_TEST) \
287  $(WLAN_REL_TEST) \
288  $(WLAN_UREL_TEST)
289
290 if ENABLE_TEST_RUN
291 TESTS = \
292  test_transport_testing \
293  test_transport_startonly \
294  test_transport_api_blacklisting \
295  test_transport_api_disconnect_tcp \
296  test_transport_api_bidirectional_connect \
297  test_transport_api_tcp \
298  test_transport_api_restart_1peer \
299  test_transport_api_restart_2peers \
300  test_transport_api_timeout_tcp \
301  test_transport_api_limited_sockets_tcp \
302  test_transport_api_tcp_nat \
303  test_transport_api_udp \
304  $(UNIX_PLUGIN_TEST) \
305  test_transport_api_udp_nat \
306  $(HTTP_API_TEST) \
307  $(HTTP_NAT_API_TEST) \
308  $(HTTP_API_TIMEOUT_TEST) \
309  $(HTTPS_API_TEST) \
310  $(HTTPS_NAT_API_TEST) \
311  $(HTTPS_API_TIMEOUT_TEST) \
312  test_transport_api_multi \
313  test_transport_api_reliability_tcp \
314  test_transport_api_reliability_tcp_nat \
315  test_transport_api_unreliability_udp \
316  test_transport_api_unreliability_constant_udp \
317  $(UNIX_REL_TEST) \
318  $(HTTP_REL_TEST) \
319  $(HTTP_NAT_REL_TEST) \
320  $(HTTPS_REL_TEST) \
321  $(HTTPS_NAT_REL_TEST) \
322  test_quota_compliance_tcp \
323  test_quota_compliance_tcp_asymmetric \
324  test_quota_compliance_udp \
325  $(UNIX_QUOTA_TEST) \
326  $(HTTP_QUOTA_TEST) \
327  $(HTTPS_QUOTA_TEST) \
328  $(WLAN_API_TEST) \
329  $(WLAN_REL_TEST) \
330  $(WLAN_UREL_TEST)
331 endif
332
333 test_transport_testing_SOURCES = \
334  test_transport_testing.c
335 test_transport_testing_LDADD = \
336  $(top_builddir)/src/util/libgnunetutil.la \
337  $(top_builddir)/src/transport/libgnunettransport.la \
338  $(top_builddir)/src/hello/libgnunethello.la \
339  $(top_builddir)/src/transport/libgnunettransporttesting.la 
340
341 #gnunet_transport_connect_running_peers_SOURCES = \
342 # gnunet-transport-connect-running-peers.c
343 #gnunet_transport_connect_running_peers_LDADD = \
344 # $(top_builddir)/src/transport/libgnunettransport.la \
345 # $(top_builddir)/src/hello/libgnunethello.la \
346 # $(top_builddir)/src/util/libgnunetutil.la \
347 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
348
349 test_transport_api_blacklisting_SOURCES = \
350  test_transport_api_blacklisting.c
351 test_transport_api_blacklisting_LDADD = \
352  $(top_builddir)/src/transport/libgnunettransport.la \
353  $(top_builddir)/src/hello/libgnunethello.la \
354  $(top_builddir)/src/statistics/libgnunetstatistics.la \
355  $(top_builddir)/src/util/libgnunetutil.la \
356  $(top_builddir)/src/transport/libgnunettransporttesting.la 
357
358 test_transport_api_disconnect_tcp_SOURCES = \
359  test_transport_api_disconnect.c
360 test_transport_api_disconnect_tcp_LDADD = \
361  $(top_builddir)/src/transport/libgnunettransport.la \
362  $(top_builddir)/src/hello/libgnunethello.la \
363  $(top_builddir)/src/statistics/libgnunetstatistics.la \
364  $(top_builddir)/src/util/libgnunetutil.la \
365  $(top_builddir)/src/transport/libgnunettransporttesting.la 
366
367 test_transport_startonly_SOURCES = \
368  test_transport_startonly.c
369 test_transport_startonly_LDADD = \
370  $(top_builddir)/src/transport/libgnunettransport.la \
371  $(top_builddir)/src/hello/libgnunethello.la \
372  $(top_builddir)/src/statistics/libgnunetstatistics.la \
373  $(top_builddir)/src/util/libgnunetutil.la \
374  $(top_builddir)/src/transport/libgnunettransporttesting.la 
375
376 test_transport_api_tcp_SOURCES = \
377  test_transport_api.c
378 test_transport_api_tcp_LDADD = \
379  $(top_builddir)/src/transport/libgnunettransport.la \
380  $(top_builddir)/src/hello/libgnunethello.la \
381  $(top_builddir)/src/util/libgnunetutil.la  \
382  $(top_builddir)/src/transport/libgnunettransporttesting.la
383   
384 test_transport_api_bidirectional_connect_SOURCES = \
385  test_transport_api_bidirectional_connect.c
386 test_transport_api_bidirectional_connect_LDADD = \
387  $(top_builddir)/src/transport/libgnunettransport.la \
388  $(top_builddir)/src/hello/libgnunethello.la \
389  $(top_builddir)/src/util/libgnunetutil.la  \
390  $(top_builddir)/src/transport/libgnunettransporttesting.la
391
392 test_transport_api_restart_1peer_SOURCES = \
393  test_transport_api_restart_1peer.c
394 test_transport_api_restart_1peer_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_restart_2peers_SOURCES = \
402  test_transport_api_restart_2peers.c
403 test_transport_api_restart_2peers_LDADD = \
404  $(top_builddir)/src/transport/libgnunettransport.la \
405  $(top_builddir)/src/hello/libgnunethello.la \
406  $(top_builddir)/src/statistics/libgnunetstatistics.la \
407  $(top_builddir)/src/util/libgnunetutil.la \
408  $(top_builddir)/src/transport/libgnunettransporttesting.la 
409   
410 test_transport_api_limited_sockets_tcp_SOURCES = \
411  test_transport_api_limited_sockets.c
412 test_transport_api_limited_sockets_tcp_LDADD = \
413  $(top_builddir)/src/transport/libgnunettransport.la \
414  $(top_builddir)/src/hello/libgnunethello.la \
415  $(top_builddir)/src/util/libgnunetutil.la  \
416  $(top_builddir)/src/transport/libgnunettransporttesting.la
417
418 test_transport_api_tcp_nat_SOURCES = \
419  test_transport_api.c
420 test_transport_api_tcp_nat_LDADD = \
421  $(top_builddir)/src/transport/libgnunettransport.la \
422  $(top_builddir)/src/hello/libgnunethello.la \
423  $(top_builddir)/src/util/libgnunetutil.la \
424  $(top_builddir)/src/transport/libgnunettransporttesting.la 
425
426 test_transport_api_reliability_tcp_SOURCES = \
427  test_transport_api_reliability.c
428 test_transport_api_reliability_tcp_LDADD = \
429  $(top_builddir)/src/transport/libgnunettransport.la \
430  $(top_builddir)/src/hello/libgnunethello.la \
431  $(top_builddir)/src/util/libgnunetutil.la \
432  $(top_builddir)/src/transport/libgnunettransporttesting.la 
433
434 test_transport_api_timeout_tcp_SOURCES = \
435  test_transport_api_timeout.c
436 test_transport_api_timeout_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_timeout_http_SOURCES = \
443  test_transport_api_timeout.c
444 test_transport_api_timeout_http_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_timeout_https_SOURCES = \
451  test_transport_api_timeout.c
452 test_transport_api_timeout_https_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_reliability_tcp_nat_SOURCES = \
459  test_transport_api_reliability.c
460 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
467  test_transport_api_reliability.c
468 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
475  test_transport_api_unreliability.c
476 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
483  test_transport_api.c
484 test_transport_api_udp_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_udp_nat_SOURCES = \
491  test_transport_api.c
492 test_transport_api_udp_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_unix_SOURCES = \
499  test_transport_api.c
500 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
507 # test_plugin_transport_http.c
508 #test_plugin_transport_http_LDADD = \
509 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
510 # @LIBCURL@ \
511 # $(top_builddir)/src/hello/libgnunethello.la \
512 # $(top_builddir)/src/util/libgnunetutil.la  
513
514 test_transport_api_http_SOURCES = \
515  test_transport_api.c
516 test_transport_api_http_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_http_nat_SOURCES = \
523  test_transport_api.c
524 test_transport_api_http_nat_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_reliability_http_SOURCES = \
531  test_transport_api_reliability.c
532 test_transport_api_reliability_http_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_reliability_http_nat_SOURCES = \
539  test_transport_api_reliability.c
540 test_transport_api_reliability_http_nat_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_https_SOURCES = \
547  test_transport_api.c
548 test_transport_api_https_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_https_nat_SOURCES = \
555  test_transport_api.c
556 test_transport_api_https_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_https_SOURCES = \
563  test_transport_api_reliability.c
564 test_transport_api_reliability_https_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_https_nat_SOURCES = \
571  test_transport_api_reliability.c
572 test_transport_api_reliability_https_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_unreliability_unix_SOURCES = \
579  test_transport_api_unreliability.c
580 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
587  test_transport_api_unreliability.c
588 test_transport_api_unreliability_udp_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_unreliability_constant_udp_SOURCES = \
595  test_transport_api_unreliability_constant.c
596 test_transport_api_unreliability_constant_udp_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 if LINUX
603 test_transport_api_wlan_SOURCES = \
604  test_transport_api.c
605 test_transport_api_wlan_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 endif
611
612 test_quota_compliance_tcp_SOURCES = \
613  test_quota_compliance.c
614 test_quota_compliance_tcp_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
620 test_quota_compliance_tcp_asymmetric_SOURCES = \
621  test_quota_compliance.c
622 test_quota_compliance_tcp_asymmetric_LDADD = \
623  $(top_builddir)/src/transport/libgnunettransport.la \
624  $(top_builddir)/src/hello/libgnunethello.la \
625  $(top_builddir)/src/util/libgnunetutil.la \
626  $(top_builddir)/src/transport/libgnunettransporttesting.la 
627
628 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
629 # test_quota_compliance.c
630 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
631 # $(top_builddir)/src/transport/libgnunettransport.la \
632 # $(top_builddir)/src/util/libgnunetutil.la
633
634 test_quota_compliance_http_SOURCES = \
635  test_quota_compliance.c
636 test_quota_compliance_http_LDADD = \
637  $(top_builddir)/src/transport/libgnunettransport.la \
638  $(top_builddir)/src/hello/libgnunethello.la \
639  $(top_builddir)/src/util/libgnunetutil.la \
640  $(top_builddir)/src/transport/libgnunettransporttesting.la 
641
642  test_quota_compliance_http_asymmetric_SOURCES = \
643  test_quota_compliance.c
644 test_quota_compliance_http_asymmetric_LDADD = \
645  $(top_builddir)/src/transport/libgnunettransport.la \
646  $(top_builddir)/src/hello/libgnunethello.la \
647  $(top_builddir)/src/util/libgnunetutil.la \
648  $(top_builddir)/src/transport/libgnunettransporttesting.la
649
650 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
651 # test_quota_compliance.c
652 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
653 # $(top_builddir)/src/transport/libgnunettransport.la \
654 # $(top_builddir)/src/util/libgnunetutil.la
655
656 test_quota_compliance_https_SOURCES = \
657  test_quota_compliance.c
658 test_quota_compliance_https_LDADD = \
659  $(top_builddir)/src/transport/libgnunettransport.la \
660  $(top_builddir)/src/hello/libgnunethello.la \
661  $(top_builddir)/src/util/libgnunetutil.la \
662  $(top_builddir)/src/transport/libgnunettransporttesting.la
663
664  test_quota_compliance_https_asymmetric_SOURCES = \
665  test_quota_compliance.c
666 test_quota_compliance_https_asymmetric_LDADD = \
667  $(top_builddir)/src/transport/libgnunettransport.la \
668  $(top_builddir)/src/hello/libgnunethello.la \
669  $(top_builddir)/src/util/libgnunetutil.la \
670  $(top_builddir)/src/transport/libgnunettransporttesting.la
671
672 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
673 # test_quota_compliance.c
674 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
675 # $(top_builddir)/src/transport/libgnunettransport.la \
676 # $(top_builddir)/src/util/libgnunetutil.la
677
678 test_quota_compliance_udp_SOURCES = \
679  test_quota_compliance.c
680 test_quota_compliance_udp_LDADD = \
681  $(top_builddir)/src/transport/libgnunettransport.la \
682  $(top_builddir)/src/hello/libgnunethello.la \
683  $(top_builddir)/src/util/libgnunetutil.la \
684  $(top_builddir)/src/transport/libgnunettransporttesting.la
685
686 test_quota_compliance_unix_SOURCES = \
687  test_quota_compliance.c
688 test_quota_compliance_unix_LDADD = \
689  $(top_builddir)/src/transport/libgnunettransport.la \
690  $(top_builddir)/src/hello/libgnunethello.la \
691  $(top_builddir)/src/util/libgnunetutil.la \
692  $(top_builddir)/src/transport/libgnunettransporttesting.la
693
694 test_quota_compliance_unix_asymmetric_SOURCES = \
695  test_quota_compliance.c
696 test_quota_compliance_unix_asymmetric_LDADD = \
697  $(top_builddir)/src/transport/libgnunettransport.la \
698  $(top_builddir)/src/hello/libgnunethello.la \
699  $(top_builddir)/src/util/libgnunetutil.la \
700  $(top_builddir)/src/transport/libgnunettransporttesting.la
701
702 test_transport_api_multi_SOURCES = \
703  test_transport_api.c
704 test_transport_api_multi_LDADD = \
705  $(top_builddir)/src/transport/libgnunettransport.la \
706  $(top_builddir)/src/hello/libgnunethello.la \
707  $(top_builddir)/src/util/libgnunetutil.la \
708  $(top_builddir)/src/transport/libgnunettransporttesting.la 
709
710
711 EXTRA_DIST = \
712 gnunet-transport-certificate-creation \
713 template_cfg_peer1.conf\
714 template_cfg_peer2.conf\
715 test_plugin_transport_data.conf\
716 test_plugin_transport_data_udp.conf\
717 test_quota_compliance_data.conf\
718 test_quota_compliance_http_peer1.conf\
719 test_quota_compliance_http_peer2.conf\
720 test_quota_compliance_https_peer1.conf\
721 test_quota_compliance_https_peer2.conf\
722 test_quota_compliance_tcp_peer1.conf\
723 test_quota_compliance_tcp_peer2.conf\
724 test_quota_compliance_udp_peer1.conf\
725 test_quota_compliance_udp_peer2.conf\
726 test_quota_compliance_unix_peer1.conf\
727 test_quota_compliance_unix_peer2.conf\
728 test_quota_compliance_http_asymmetric_peer1.conf\
729 test_quota_compliance_http_asymmetric_peer2.conf\
730 test_quota_compliance_https_asymmetric_peer1.conf\
731 test_quota_compliance_https_asymmetric_peer2.conf\
732 test_quota_compliance_tcp_asymmetric_peer1.conf\
733 test_quota_compliance_tcp_asymmetric_peer2.conf\
734 test_quota_compliance_unix_asymmetric_peer1.conf\
735 test_quota_compliance_unix_asymmetric_peer2.conf\
736 test_transport_api_data.conf\
737 test_transport_api_http_peer1.conf\
738 test_transport_api_http_peer2.conf\
739 test_transport_api_https_peer1.conf\
740 test_transport_api_https_peer2.conf\
741 test_transport_api_limited_sockets_tcp_peer1.conf\
742 test_transport_api_limited_sockets_tcp_peer2.conf\
743 test_transport_api_timeout_tcp_peer1.conf\
744 test_transport_api_timeout_tcp_peer2.conf\
745 test_transport_api_multi_peer1.conf\
746 test_transport_api_multi_peer2.conf\
747 test_transport_api_reliability_http_peer1.conf\
748 test_transport_api_reliability_http_peer2.conf\
749 test_transport_api_reliability_https_peer1.conf\
750 test_transport_api_reliability_https_peer2.conf\
751 test_transport_api_reliability_tcp_nat_peer1.conf\
752 test_transport_api_reliability_tcp_nat_peer2.conf\
753 test_transport_api_reliability_tcp_peer1.conf\
754 test_transport_api_reliability_tcp_peer2.conf\
755 test_transport_api_reliability_wlan_peer1.conf\
756 test_transport_api_reliability_wlan_peer2.conf\
757 test_transport_api_bidirectional_connect_peer1.conf\
758 test_transport_api_bidirectional_connect_peer2.conf\
759 test_transport_api_tcp_nat_peer1.conf\
760 test_transport_api_tcp_nat_peer2.conf\
761 test_transport_api_tcp_peer1.conf\
762 test_transport_api_tcp_peer2.conf\
763 test_transport_api_udp_nat_peer1.conf\
764 test_transport_api_udp_nat_peer2.conf\
765 test_transport_api_udp_peer1.conf\
766 test_transport_api_udp_peer2.conf\
767 test_transport_api_unix_peer1.conf\
768 test_transport_api_unix_peer2.conf\
769 test_transport_api_unreliability_udp_peer1.conf\
770 test_transport_api_unreliability_udp_peer2.conf\
771 test_transport_api_unreliability_unix_peer1.conf\
772 test_transport_api_unreliability_unix_peer2.conf\
773 test_transport_api_unreliability_wlan_peer1.conf\
774 test_transport_api_unreliability_wlan_peer2.conf\
775 test_transport_api_wlan_peer1.conf\
776 test_transport_api_wlan_peer2.conf\
777 test_transport_defaults.conf\
778 test_transport_startonly.conf\
779 test_transport_api_disconnect_tcp_peer1.conf\
780 test_transport_api_disconnect_tcp_peer2.conf\
781 test_transport_api_http_nat_peer1.conf\
782 test_transport_api_http_nat_peer2.conf\
783 test_transport_api_https_nat_peer1.conf\
784 test_transport_api_https_nat_peer2.conf\
785 test_transport_api_reliability_http_nat_peer1.conf\
786 test_transport_api_reliability_http_nat_peer2.conf\
787 test_transport_api_reliability_https_nat_peer1.conf\
788 test_transport_api_reliability_https_nat_peer2.conf\
789 test_transport_api_timeout_http_peer1.conf\
790 test_transport_api_timeout_http_peer2.conf\
791 test_transport_api_timeout_https_peer1.conf\
792 test_transport_api_timeout_https_peer2.conf\
793 test_transport_api_unreliability_constant_udp_peer1.conf\
794 test_transport_api_unreliability_constant_udp_peer2.conf