- minor
[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 libgnunet_plugin_transport_udp_la_LIBADD = \
192   $(top_builddir)/src/hello/libgnunethello.la \
193   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
194   $(top_builddir)/src/statistics/libgnunetstatistics.la \
195   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
196   $(top_builddir)/src/nat/libgnunetnat.la \
197   $(top_builddir)/src/util/libgnunetutil.la 
198 libgnunet_plugin_transport_udp_la_LDFLAGS = \
199  $(GN_PLUGIN_LDFLAGS)
200
201 libgnunet_plugin_transport_unix_la_SOURCES = \
202   plugin_transport_unix.c
203 libgnunet_plugin_transport_unix_la_LIBADD = \
204   $(top_builddir)/src/hello/libgnunethello.la \
205   $(top_builddir)/src/statistics/libgnunetstatistics.la \
206   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
207   $(top_builddir)/src/util/libgnunetutil.la 
208 libgnunet_plugin_transport_unix_la_LDFLAGS = \
209  $(GN_PLUGIN_LDFLAGS)
210
211 libgnunet_plugin_transport_http_la_SOURCES = \
212   plugin_transport_http.c plugin_transport_http.h \
213   plugin_transport_http_client.c plugin_transport_http_server.c
214 libgnunet_plugin_transport_http_la_LIBADD = \
215   $(top_builddir)/src/hello/libgnunethello.la \
216   $(top_builddir)/src/statistics/libgnunetstatistics.la \
217   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
218   @LIBCURL@ \
219   $(top_builddir)/src/nat/libgnunetnat.la \
220   $(top_builddir)/src/util/libgnunetutil.la 
221 libgnunet_plugin_transport_http_la_LDFLAGS = \
222  $(GN_LIBMHD) \
223  $(GN_PLUGIN_LDFLAGS)
224 libgnunet_plugin_transport_http_la_CFLAGS = \
225  $(CFLAGS) 
226 libgnunet_plugin_transport_http_la_CPPFLAGS = \
227  @LIBCURL_CPPFLAGS@
228
229 libgnunet_plugin_transport_https_la_SOURCES = \
230   plugin_transport_http.c plugin_transport_http.h \
231   plugin_transport_http_client.c plugin_transport_http_server.c
232 libgnunet_plugin_transport_https_la_LIBADD = \
233   $(top_builddir)/src/hello/libgnunethello.la \
234   $(top_builddir)/src/statistics/libgnunetstatistics.la \
235   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
236   @LIBCURL@ \
237   $(top_builddir)/src/nat/libgnunetnat.la \
238   $(top_builddir)/src/util/libgnunetutil.la 
239 libgnunet_plugin_transport_https_la_LDFLAGS = \
240  $(GN_LIBMHD) \
241  $(GN_PLUGIN_LDFLAGS)
242 libgnunet_plugin_transport_https_la_CFLAGS = \
243  $(CFLAGS) -DBUILD_HTTPS 
244 libgnunet_plugin_transport_https_la_CPPFLAGS = \
245  @LIBCURL_CPPFLAGS@
246
247
248 check_PROGRAMS = \
249  test_transport_testing \
250  test_transport_startonly \
251  test_transport_api_blacklisting \
252  test_transport_api_disconnect_tcp \
253  test_transport_api_bidirectional_connect \
254  test_transport_api_tcp \
255  test_transport_api_restart_1peer \
256  test_transport_api_restart_2peers \
257  test_transport_api_timeout_tcp \
258  test_transport_api_limited_sockets_tcp \
259  test_transport_api_tcp_nat \
260  test_transport_api_udp \
261  $(UNIX_PLUGIN_TEST) \
262  test_transport_api_udp_nat \
263  $(HTTP_API_TEST) \
264  $(HTTP_NAT_API_TEST) \
265  $(HTTP_API_TIMEOUT_TEST) \
266  $(HTTPS_API_TEST) \
267  $(HTTPS_NAT_API_TEST) \
268  $(HTTPS_API_TIMEOUT_TEST) \
269  test_transport_api_multi \
270  test_transport_api_reliability_tcp \
271  test_transport_api_reliability_tcp_nat \
272  test_transport_api_unreliability_udp \
273  test_transport_api_unreliability_constant_udp \
274  $(UNIX_REL_TEST) \
275  $(HTTP_REL_TEST) \
276  $(HTTP_NAT_REL_TEST) \
277  $(HTTPS_REL_TEST) \
278  $(HTTPS_NAT_REL_TEST) \
279  test_quota_compliance_tcp \
280  test_quota_compliance_tcp_asymmetric \
281  test_quota_compliance_udp \
282  $(UNIX_QUOTA_TEST) \
283  $(HTTP_QUOTA_TEST) \
284  $(HTTPS_QUOTA_TEST) \
285  $(WLAN_API_TEST) \
286  $(WLAN_REL_TEST) \
287  $(WLAN_UREL_TEST)
288
289 if ENABLE_TEST_RUN
290 TESTS = \
291  test_transport_testing \
292  test_transport_startonly \
293  test_transport_api_blacklisting \
294  test_transport_api_disconnect_tcp \
295  test_transport_api_bidirectional_connect \
296  test_transport_api_tcp \
297  test_transport_api_restart_1peer \
298  test_transport_api_restart_2peers \
299  test_transport_api_timeout_tcp \
300  test_transport_api_limited_sockets_tcp \
301  test_transport_api_tcp_nat \
302  test_transport_api_udp \
303  $(UNIX_PLUGIN_TEST) \
304  test_transport_api_udp_nat \
305  $(HTTP_API_TEST) \
306  $(HTTP_NAT_API_TEST) \
307  $(HTTP_API_TIMEOUT_TEST) \
308  $(HTTPS_API_TEST) \
309  $(HTTPS_NAT_API_TEST) \
310  $(HTTPS_API_TIMEOUT_TEST) \
311  test_transport_api_multi \
312  test_transport_api_reliability_tcp \
313  test_transport_api_reliability_tcp_nat \
314  test_transport_api_unreliability_udp \
315  test_transport_api_unreliability_constant_udp \
316  $(UNIX_REL_TEST) \
317  $(HTTP_REL_TEST) \
318  $(HTTP_NAT_REL_TEST) \
319  $(HTTPS_REL_TEST) \
320  $(HTTPS_NAT_REL_TEST) \
321  test_quota_compliance_tcp \
322  test_quota_compliance_tcp_asymmetric \
323  test_quota_compliance_udp \
324  $(UNIX_QUOTA_TEST) \
325  $(HTTP_QUOTA_TEST) \
326  $(HTTPS_QUOTA_TEST) \
327  $(WLAN_API_TEST) \
328  $(WLAN_REL_TEST) \
329  $(WLAN_UREL_TEST)
330 endif
331
332 test_transport_testing_SOURCES = \
333  test_transport_testing.c
334 test_transport_testing_LDADD = \
335  $(top_builddir)/src/util/libgnunetutil.la \
336  $(top_builddir)/src/transport/libgnunettransport.la \
337  $(top_builddir)/src/hello/libgnunethello.la \
338  $(top_builddir)/src/transport/libgnunettransporttesting.la 
339
340 #gnunet_transport_connect_running_peers_SOURCES = \
341 # gnunet-transport-connect-running-peers.c
342 #gnunet_transport_connect_running_peers_LDADD = \
343 # $(top_builddir)/src/transport/libgnunettransport.la \
344 # $(top_builddir)/src/hello/libgnunethello.la \
345 # $(top_builddir)/src/util/libgnunetutil.la \
346 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
347
348 test_transport_api_blacklisting_SOURCES = \
349  test_transport_api_blacklisting.c
350 test_transport_api_blacklisting_LDADD = \
351  $(top_builddir)/src/transport/libgnunettransport.la \
352  $(top_builddir)/src/hello/libgnunethello.la \
353  $(top_builddir)/src/statistics/libgnunetstatistics.la \
354  $(top_builddir)/src/util/libgnunetutil.la \
355  $(top_builddir)/src/transport/libgnunettransporttesting.la 
356
357 test_transport_api_disconnect_tcp_SOURCES = \
358  test_transport_api_disconnect.c
359 test_transport_api_disconnect_tcp_LDADD = \
360  $(top_builddir)/src/transport/libgnunettransport.la \
361  $(top_builddir)/src/hello/libgnunethello.la \
362  $(top_builddir)/src/statistics/libgnunetstatistics.la \
363  $(top_builddir)/src/util/libgnunetutil.la \
364  $(top_builddir)/src/transport/libgnunettransporttesting.la 
365
366 test_transport_startonly_SOURCES = \
367  test_transport_startonly.c
368 test_transport_startonly_LDADD = \
369  $(top_builddir)/src/transport/libgnunettransport.la \
370  $(top_builddir)/src/hello/libgnunethello.la \
371  $(top_builddir)/src/statistics/libgnunetstatistics.la \
372  $(top_builddir)/src/util/libgnunetutil.la \
373  $(top_builddir)/src/transport/libgnunettransporttesting.la 
374
375 test_transport_api_tcp_SOURCES = \
376  test_transport_api.c
377 test_transport_api_tcp_LDADD = \
378  $(top_builddir)/src/transport/libgnunettransport.la \
379  $(top_builddir)/src/hello/libgnunethello.la \
380  $(top_builddir)/src/util/libgnunetutil.la  \
381  $(top_builddir)/src/transport/libgnunettransporttesting.la
382   
383 test_transport_api_bidirectional_connect_SOURCES = \
384  test_transport_api_bidirectional_connect.c
385 test_transport_api_bidirectional_connect_LDADD = \
386  $(top_builddir)/src/transport/libgnunettransport.la \
387  $(top_builddir)/src/hello/libgnunethello.la \
388  $(top_builddir)/src/util/libgnunetutil.la  \
389  $(top_builddir)/src/transport/libgnunettransporttesting.la
390
391 test_transport_api_restart_1peer_SOURCES = \
392  test_transport_api_restart_1peer.c
393 test_transport_api_restart_1peer_LDADD = \
394  $(top_builddir)/src/transport/libgnunettransport.la \
395  $(top_builddir)/src/hello/libgnunethello.la \
396  $(top_builddir)/src/statistics/libgnunetstatistics.la \
397  $(top_builddir)/src/util/libgnunetutil.la \
398  $(top_builddir)/src/transport/libgnunettransporttesting.la 
399
400 test_transport_api_restart_2peers_SOURCES = \
401  test_transport_api_restart_2peers.c
402 test_transport_api_restart_2peers_LDADD = \
403  $(top_builddir)/src/transport/libgnunettransport.la \
404  $(top_builddir)/src/hello/libgnunethello.la \
405  $(top_builddir)/src/statistics/libgnunetstatistics.la \
406  $(top_builddir)/src/util/libgnunetutil.la \
407  $(top_builddir)/src/transport/libgnunettransporttesting.la 
408   
409 test_transport_api_limited_sockets_tcp_SOURCES = \
410  test_transport_api_limited_sockets.c
411 test_transport_api_limited_sockets_tcp_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_tcp_nat_SOURCES = \
418  test_transport_api.c
419 test_transport_api_tcp_nat_LDADD = \
420  $(top_builddir)/src/transport/libgnunettransport.la \
421  $(top_builddir)/src/hello/libgnunethello.la \
422  $(top_builddir)/src/util/libgnunetutil.la \
423  $(top_builddir)/src/transport/libgnunettransporttesting.la 
424
425 test_transport_api_reliability_tcp_SOURCES = \
426  test_transport_api_reliability.c
427 test_transport_api_reliability_tcp_LDADD = \
428  $(top_builddir)/src/transport/libgnunettransport.la \
429  $(top_builddir)/src/hello/libgnunethello.la \
430  $(top_builddir)/src/util/libgnunetutil.la \
431  $(top_builddir)/src/transport/libgnunettransporttesting.la 
432
433 test_transport_api_timeout_tcp_SOURCES = \
434  test_transport_api_timeout.c
435 test_transport_api_timeout_tcp_LDADD = \
436  $(top_builddir)/src/transport/libgnunettransport.la \
437  $(top_builddir)/src/hello/libgnunethello.la \
438  $(top_builddir)/src/util/libgnunetutil.la \
439  $(top_builddir)/src/transport/libgnunettransporttesting.la 
440
441 test_transport_api_timeout_http_SOURCES = \
442  test_transport_api_timeout.c
443 test_transport_api_timeout_http_LDADD = \
444  $(top_builddir)/src/transport/libgnunettransport.la \
445  $(top_builddir)/src/hello/libgnunethello.la \
446  $(top_builddir)/src/util/libgnunetutil.la \
447  $(top_builddir)/src/transport/libgnunettransporttesting.la 
448  
449 test_transport_api_timeout_https_SOURCES = \
450  test_transport_api_timeout.c
451 test_transport_api_timeout_https_LDADD = \
452  $(top_builddir)/src/transport/libgnunettransport.la \
453  $(top_builddir)/src/hello/libgnunethello.la \
454  $(top_builddir)/src/util/libgnunetutil.la \
455  $(top_builddir)/src/transport/libgnunettransporttesting.la 
456  
457 test_transport_api_reliability_tcp_nat_SOURCES = \
458  test_transport_api_reliability.c
459 test_transport_api_reliability_tcp_nat_LDADD = \
460  $(top_builddir)/src/transport/libgnunettransport.la \
461  $(top_builddir)/src/hello/libgnunethello.la \
462  $(top_builddir)/src/util/libgnunetutil.la \
463  $(top_builddir)/src/transport/libgnunettransporttesting.la 
464
465 test_transport_api_reliability_wlan_SOURCES = \
466  test_transport_api_reliability.c
467 test_transport_api_reliability_wlan_LDADD = \
468  $(top_builddir)/src/transport/libgnunettransport.la \
469  $(top_builddir)/src/hello/libgnunethello.la \
470  $(top_builddir)/src/util/libgnunetutil.la \
471  $(top_builddir)/src/transport/libgnunettransporttesting.la 
472
473 test_transport_api_unreliability_wlan_SOURCES = \
474  test_transport_api_unreliability.c
475 test_transport_api_unreliability_wlan_LDADD = \
476  $(top_builddir)/src/transport/libgnunettransport.la \
477  $(top_builddir)/src/hello/libgnunethello.la \
478  $(top_builddir)/src/util/libgnunetutil.la \
479  $(top_builddir)/src/transport/libgnunettransporttesting.la 
480  
481 test_transport_api_udp_SOURCES = \
482  test_transport_api.c
483 test_transport_api_udp_LDADD = \
484  $(top_builddir)/src/transport/libgnunettransport.la \
485  $(top_builddir)/src/hello/libgnunethello.la \
486  $(top_builddir)/src/util/libgnunetutil.la  \
487  $(top_builddir)/src/transport/libgnunettransporttesting.la 
488
489 test_transport_api_udp_nat_SOURCES = \
490  test_transport_api.c
491 test_transport_api_udp_nat_LDADD = \
492  $(top_builddir)/src/transport/libgnunettransport.la \
493  $(top_builddir)/src/hello/libgnunethello.la \
494  $(top_builddir)/src/util/libgnunetutil.la  \
495  $(top_builddir)/src/transport/libgnunettransporttesting.la  
496
497 test_transport_api_unix_SOURCES = \
498  test_transport_api.c
499 test_transport_api_unix_LDADD = \
500  $(top_builddir)/src/transport/libgnunettransport.la \
501  $(top_builddir)/src/hello/libgnunethello.la \
502  $(top_builddir)/src/util/libgnunetutil.la \
503  $(top_builddir)/src/transport/libgnunettransporttesting.la 
504
505 #test_plugin_transport_http_SOURCES = \
506 # test_plugin_transport_http.c
507 #test_plugin_transport_http_LDADD = \
508 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
509 # @LIBCURL@ \
510 # $(top_builddir)/src/hello/libgnunethello.la \
511 # $(top_builddir)/src/util/libgnunetutil.la  
512
513 test_transport_api_http_SOURCES = \
514  test_transport_api.c
515 test_transport_api_http_LDADD = \
516  $(top_builddir)/src/transport/libgnunettransport.la \
517  $(top_builddir)/src/hello/libgnunethello.la \
518  $(top_builddir)/src/util/libgnunetutil.la \
519  $(top_builddir)/src/transport/libgnunettransporttesting.la 
520  
521  test_transport_api_http_nat_SOURCES = \
522  test_transport_api.c
523 test_transport_api_http_nat_LDADD = \
524  $(top_builddir)/src/transport/libgnunettransport.la \
525  $(top_builddir)/src/hello/libgnunethello.la \
526  $(top_builddir)/src/util/libgnunetutil.la \
527  $(top_builddir)/src/transport/libgnunettransporttesting.la 
528
529 test_transport_api_reliability_http_SOURCES = \
530  test_transport_api_reliability.c
531 test_transport_api_reliability_http_LDADD = \
532  $(top_builddir)/src/transport/libgnunettransport.la \
533  $(top_builddir)/src/hello/libgnunethello.la \
534  $(top_builddir)/src/util/libgnunetutil.la \
535  $(top_builddir)/src/transport/libgnunettransporttesting.la 
536
537 test_transport_api_reliability_http_nat_SOURCES = \
538  test_transport_api_reliability.c
539 test_transport_api_reliability_http_nat_LDADD = \
540  $(top_builddir)/src/transport/libgnunettransport.la \
541  $(top_builddir)/src/hello/libgnunethello.la \
542  $(top_builddir)/src/util/libgnunetutil.la \
543  $(top_builddir)/src/transport/libgnunettransporttesting.la 
544
545 test_transport_api_https_SOURCES = \
546  test_transport_api.c
547 test_transport_api_https_LDADD = \
548  $(top_builddir)/src/transport/libgnunettransport.la \
549  $(top_builddir)/src/hello/libgnunethello.la \
550  $(top_builddir)/src/util/libgnunetutil.la  \
551  $(top_builddir)/src/transport/libgnunettransporttesting.la 
552
553 test_transport_api_https_nat_SOURCES = \
554  test_transport_api.c
555 test_transport_api_https_nat_LDADD = \
556  $(top_builddir)/src/transport/libgnunettransport.la \
557  $(top_builddir)/src/hello/libgnunethello.la \
558  $(top_builddir)/src/util/libgnunetutil.la \
559  $(top_builddir)/src/transport/libgnunettransporttesting.la 
560
561 test_transport_api_reliability_https_SOURCES = \
562  test_transport_api_reliability.c
563 test_transport_api_reliability_https_LDADD = \
564  $(top_builddir)/src/transport/libgnunettransport.la \
565  $(top_builddir)/src/hello/libgnunethello.la \
566  $(top_builddir)/src/util/libgnunetutil.la \
567  $(top_builddir)/src/transport/libgnunettransporttesting.la 
568
569 test_transport_api_reliability_https_nat_SOURCES = \
570  test_transport_api_reliability.c
571 test_transport_api_reliability_https_nat_LDADD = \
572  $(top_builddir)/src/transport/libgnunettransport.la \
573  $(top_builddir)/src/hello/libgnunethello.la \
574  $(top_builddir)/src/util/libgnunetutil.la \
575  $(top_builddir)/src/transport/libgnunettransporttesting.la 
576
577 test_transport_api_unreliability_unix_SOURCES = \
578  test_transport_api_unreliability.c
579 test_transport_api_unreliability_unix_LDADD = \
580  $(top_builddir)/src/transport/libgnunettransport.la \
581  $(top_builddir)/src/hello/libgnunethello.la \
582  $(top_builddir)/src/util/libgnunetutil.la \
583  $(top_builddir)/src/transport/libgnunettransporttesting.la 
584
585 test_transport_api_unreliability_udp_SOURCES = \
586  test_transport_api_unreliability.c
587 test_transport_api_unreliability_udp_LDADD = \
588  $(top_builddir)/src/transport/libgnunettransport.la \
589  $(top_builddir)/src/hello/libgnunethello.la \
590  $(top_builddir)/src/util/libgnunetutil.la \
591  $(top_builddir)/src/transport/libgnunettransporttesting.la 
592
593 test_transport_api_unreliability_constant_udp_SOURCES = \
594  test_transport_api_unreliability_constant.c
595 test_transport_api_unreliability_constant_udp_LDADD = \
596  $(top_builddir)/src/transport/libgnunettransport.la \
597  $(top_builddir)/src/hello/libgnunethello.la \
598  $(top_builddir)/src/util/libgnunetutil.la \
599  $(top_builddir)/src/transport/libgnunettransporttesting.la 
600
601 if LINUX
602 test_transport_api_wlan_SOURCES = \
603  test_transport_api.c
604 test_transport_api_wlan_LDADD = \
605  $(top_builddir)/src/transport/libgnunettransport.la \
606  $(top_builddir)/src/hello/libgnunethello.la \
607  $(top_builddir)/src/util/libgnunetutil.la \
608  $(top_builddir)/src/transport/libgnunettransporttesting.la  
609 endif
610
611 test_quota_compliance_tcp_SOURCES = \
612  test_quota_compliance.c
613 test_quota_compliance_tcp_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_quota_compliance_tcp_asymmetric_SOURCES = \
620  test_quota_compliance.c
621 test_quota_compliance_tcp_asymmetric_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_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
628 # test_quota_compliance.c
629 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
630 # $(top_builddir)/src/transport/libgnunettransport.la \
631 # $(top_builddir)/src/util/libgnunetutil.la
632
633 test_quota_compliance_http_SOURCES = \
634  test_quota_compliance.c
635 test_quota_compliance_http_LDADD = \
636  $(top_builddir)/src/transport/libgnunettransport.la \
637  $(top_builddir)/src/hello/libgnunethello.la \
638  $(top_builddir)/src/util/libgnunetutil.la \
639  $(top_builddir)/src/transport/libgnunettransporttesting.la 
640
641  test_quota_compliance_http_asymmetric_SOURCES = \
642  test_quota_compliance.c
643 test_quota_compliance_http_asymmetric_LDADD = \
644  $(top_builddir)/src/transport/libgnunettransport.la \
645  $(top_builddir)/src/hello/libgnunethello.la \
646  $(top_builddir)/src/util/libgnunetutil.la \
647  $(top_builddir)/src/transport/libgnunettransporttesting.la
648
649 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
650 # test_quota_compliance.c
651 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
652 # $(top_builddir)/src/transport/libgnunettransport.la \
653 # $(top_builddir)/src/util/libgnunetutil.la
654
655 test_quota_compliance_https_SOURCES = \
656  test_quota_compliance.c
657 test_quota_compliance_https_LDADD = \
658  $(top_builddir)/src/transport/libgnunettransport.la \
659  $(top_builddir)/src/hello/libgnunethello.la \
660  $(top_builddir)/src/util/libgnunetutil.la \
661  $(top_builddir)/src/transport/libgnunettransporttesting.la
662
663  test_quota_compliance_https_asymmetric_SOURCES = \
664  test_quota_compliance.c
665 test_quota_compliance_https_asymmetric_LDADD = \
666  $(top_builddir)/src/transport/libgnunettransport.la \
667  $(top_builddir)/src/hello/libgnunethello.la \
668  $(top_builddir)/src/util/libgnunetutil.la \
669  $(top_builddir)/src/transport/libgnunettransporttesting.la
670
671 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
672 # test_quota_compliance.c
673 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
674 # $(top_builddir)/src/transport/libgnunettransport.la \
675 # $(top_builddir)/src/util/libgnunetutil.la
676
677 test_quota_compliance_udp_SOURCES = \
678  test_quota_compliance.c
679 test_quota_compliance_udp_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_unix_SOURCES = \
686  test_quota_compliance.c
687 test_quota_compliance_unix_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_unix_asymmetric_SOURCES = \
694  test_quota_compliance.c
695 test_quota_compliance_unix_asymmetric_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_transport_api_multi_SOURCES = \
702  test_transport_api.c
703 test_transport_api_multi_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
710 EXTRA_DIST = \
711 gnunet-transport-certificate-creation \
712 template_cfg_peer1.conf\
713 template_cfg_peer2.conf\
714 test_plugin_transport_data.conf\
715 test_plugin_transport_data_udp.conf\
716 test_quota_compliance_data.conf\
717 test_quota_compliance_http_peer1.conf\
718 test_quota_compliance_http_peer2.conf\
719 test_quota_compliance_https_peer1.conf\
720 test_quota_compliance_https_peer2.conf\
721 test_quota_compliance_tcp_peer1.conf\
722 test_quota_compliance_tcp_peer2.conf\
723 test_quota_compliance_udp_peer1.conf\
724 test_quota_compliance_udp_peer2.conf\
725 test_quota_compliance_unix_peer1.conf\
726 test_quota_compliance_unix_peer2.conf\
727 test_quota_compliance_http_asymmetric_peer1.conf\
728 test_quota_compliance_http_asymmetric_peer2.conf\
729 test_quota_compliance_https_asymmetric_peer1.conf\
730 test_quota_compliance_https_asymmetric_peer2.conf\
731 test_quota_compliance_tcp_asymmetric_peer1.conf\
732 test_quota_compliance_tcp_asymmetric_peer2.conf\
733 test_quota_compliance_unix_asymmetric_peer1.conf\
734 test_quota_compliance_unix_asymmetric_peer2.conf\
735 test_transport_api_data.conf\
736 test_transport_api_http_peer1.conf\
737 test_transport_api_http_peer2.conf\
738 test_transport_api_https_peer1.conf\
739 test_transport_api_https_peer2.conf\
740 test_transport_api_limited_sockets_tcp_peer1.conf\
741 test_transport_api_limited_sockets_tcp_peer2.conf\
742 test_transport_api_timeout_tcp_peer1.conf\
743 test_transport_api_timeout_tcp_peer2.conf\
744 test_transport_api_multi_peer1.conf\
745 test_transport_api_multi_peer2.conf\
746 test_transport_api_reliability_http_peer1.conf\
747 test_transport_api_reliability_http_peer2.conf\
748 test_transport_api_reliability_https_peer1.conf\
749 test_transport_api_reliability_https_peer2.conf\
750 test_transport_api_reliability_tcp_nat_peer1.conf\
751 test_transport_api_reliability_tcp_nat_peer2.conf\
752 test_transport_api_reliability_tcp_peer1.conf\
753 test_transport_api_reliability_tcp_peer2.conf\
754 test_transport_api_reliability_wlan_peer1.conf\
755 test_transport_api_reliability_wlan_peer2.conf\
756 test_transport_api_bidirectional_connect_peer1.conf\
757 test_transport_api_bidirectional_connect_peer2.conf\
758 test_transport_api_tcp_nat_peer1.conf\
759 test_transport_api_tcp_nat_peer2.conf\
760 test_transport_api_tcp_peer1.conf\
761 test_transport_api_tcp_peer2.conf\
762 test_transport_api_udp_nat_peer1.conf\
763 test_transport_api_udp_nat_peer2.conf\
764 test_transport_api_udp_peer1.conf\
765 test_transport_api_udp_peer2.conf\
766 test_transport_api_unix_peer1.conf\
767 test_transport_api_unix_peer2.conf\
768 test_transport_api_unreliability_udp_peer1.conf\
769 test_transport_api_unreliability_udp_peer2.conf\
770 test_transport_api_unreliability_unix_peer1.conf\
771 test_transport_api_unreliability_unix_peer2.conf\
772 test_transport_api_unreliability_wlan_peer1.conf\
773 test_transport_api_unreliability_wlan_peer2.conf\
774 test_transport_api_wlan_peer1.conf\
775 test_transport_api_wlan_peer2.conf\
776 test_transport_defaults.conf\
777 test_transport_startonly.conf\
778 test_transport_api_disconnect_tcp_peer1.conf\
779 test_transport_api_disconnect_tcp_peer2.conf\
780 test_transport_api_http_nat_peer1.conf\
781 test_transport_api_http_nat_peer2.conf\
782 test_transport_api_https_nat_peer1.conf\
783 test_transport_api_https_nat_peer2.conf\
784 test_transport_api_reliability_http_nat_peer1.conf\
785 test_transport_api_reliability_http_nat_peer2.conf\
786 test_transport_api_reliability_https_nat_peer1.conf\
787 test_transport_api_reliability_https_nat_peer2.conf\
788 test_transport_api_timeout_http_peer1.conf\
789 test_transport_api_timeout_http_peer2.conf\
790 test_transport_api_timeout_https_peer1.conf\
791 test_transport_api_timeout_https_peer2.conf\
792 test_transport_api_unreliability_constant_udp_peer1.conf\
793 test_transport_api_unreliability_constant_udp_peer2.conf