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