- renaming test_transport_api_multiaddress to test_transport_api_timeout
[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
6 if HAVE_MHD
7 if HAVE_EXPERIMENTAL
8  GN_LIBMHD = -lmicrohttpd
9  HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la
10  HTTP_API_TEST = test_transport_api_http
11  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
12  HTTP_REL_TEST = test_transport_api_reliability_http
13  HTTP_QUOTA_TEST = test_quota_compliance_http \
14                    test_quota_compliance_http_asymmetric_recv_constant
15  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
16  HTTPS_API_TEST = test_transport_api_https
17  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
18  HTTPS_REL_TEST = test_transport_api_reliability_https
19  HTTPS_QUOTA_TEST = test_quota_compliance_https \
20                 test_quota_compliance_https_asymmetric_recv_constant
21 endif
22 endif
23
24 if USE_COVERAGE
25   AM_CFLAGS = --coverage -O0
26 endif
27
28 if LINUX
29 if HAVE_EXPERIMENTAL
30  WLAN_BIN = gnunet-transport-wlan-helper
31  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
32  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
33  WLAN_API_TEST = test_transport_api_wlan
34  WLAN_REL_TEST = test_transport_api_reliability_wlan
35  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
36 endif
37 endif
38
39
40 if LINUX
41 install-exec-hook:
42         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
43         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
44 else
45 install-exec-hook:
46 endif
47
48 if !MINGW
49 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
50 UNIX_PLUGIN_TEST = test_transport_api_unix 
51 UNIX_REL_TEST = test_transport_api_unreliability_unix
52 UNIX_QUOTA_TEST = test_quota_compliance_unix \
53      test_quota_compliance_unix_asymmetric_recv_constant
54 endif
55
56 noinst_PROGRAMS = \
57  $(WLAN_BIN_DUMMY) \
58  gnunet-transport-connect-running-peers
59
60 lib_LTLIBRARIES = \
61   libgnunettransport.la \
62   libgnunettransporttesting.la
63
64 libgnunettransporttesting_la_SOURCES = \
65   transport-testing.c transport-testing.h
66 libgnunettransporttesting_la_LIBADD = \
67   $(top_builddir)/src/transport/libgnunettransport.la \
68   $(top_builddir)/src/hello/libgnunethello.la \
69   $(top_builddir)/src/util/libgnunetutil.la \
70   $(GN_LIBINTL) 
71 libgnunettransporttesting_la_DEPENDENCIES = \
72   libgnunettransport.la
73
74 libgnunettransport_la_SOURCES = \
75   transport_api.c transport.h \
76   transport_api_blacklist.c \
77   transport_api_address_lookup.c \
78   transport_api_peer_address_lookup.c \
79   transport_api_address_iterate.c
80 libgnunettransport_la_LIBADD = \
81   $(top_builddir)/src/hello/libgnunethello.la \
82   $(top_builddir)/src/util/libgnunetutil.la \
83   $(GN_LIBINTL) 
84 libgnunettransport_la_LDFLAGS = \
85   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
86   -version-info 0:0:0
87
88 bin_PROGRAMS = \
89  gnunet-transport \
90  $(WLAN_BIN) \
91  gnunet-service-transport \
92  gnunet-transport-list-connections \
93  gnunet-transport-certificate-creation
94
95 #bin_SCRIPTS = \
96 # gnunet-transport-certificate-creation
97
98 gnunet_transport_certificate_creation_SOURCES = \
99  gnunet-transport-certificate-creation.c
100 gnunet_transport_certificate_creation_LDADD = \
101   $(top_builddir)/src/util/libgnunetutil.la
102
103 gnunet_transport_wlan_helper_SOURCES = \
104  wlan/byteorder.h \
105  wlan/crctable_osdep.h \
106  wlan/helper_common.c wlan/helper_common.h \
107  wlan/ieee80211.h \
108  wlan/ieee80211_radiotap.h \
109  wlan/loopback_helper.h \
110  wlan/radiotap-parser.c wlan/radiotap-parser.h \
111  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
112 gnunet_transport_wlan_helper_LDADD = \
113   $(top_builddir)/src/util/libgnunetutil.la 
114
115 gnunet_transport_wlan_helper_dummy_SOURCES = \
116  wlan/radiotap-parser.c \
117  wlan/helper_common.c \
118  test_plugin_transport_wlan_dummy.c
119 gnunet_transport_wlan_helper_dummy_LDADD = \
120   $(top_builddir)/src/util/libgnunetutil.la 
121
122 gnunet_transport_list_connections_SOURCES = \
123  gnunet-transport-list-connections.c         
124 gnunet_transport_list_connections_LDADD = \
125   $(top_builddir)/src/transport/libgnunettransport.la \
126   $(top_builddir)/src/util/libgnunetutil.la \
127   $(GN_LIBINTL)
128 gnunet_transport_list_connections_DEPENDENCIES = \
129   libgnunettransport.la
130
131 gnunet_transport_SOURCES = \
132  gnunet-transport.c         
133 gnunet_transport_LDADD = \
134   $(top_builddir)/src/transport/libgnunettransport.la \
135   $(top_builddir)/src/util/libgnunetutil.la \
136   $(GN_LIBINTL)
137 gnunet_transport_DEPENDENCIES = \
138   libgnunettransport.la                         
139
140 gnunet_service_transport_SOURCES = \
141  gnunet-service-transport.c gnunet-service-transport.h \
142  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
143  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
144  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
145  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
146  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
147  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
148 gnunet_service_transport_LDADD = \
149   $(top_builddir)/src/ats/libgnunetats.la \
150   $(top_builddir)/src/hello/libgnunethello.la \
151   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
152   $(top_builddir)/src/statistics/libgnunetstatistics.la \
153   $(top_builddir)/src/util/libgnunetutil.la \
154   $(GN_GLPK) \
155   $(GN_LIBINTL)
156
157 plugin_LTLIBRARIES = \
158   libgnunet_plugin_transport_tcp.la \
159   libgnunet_plugin_transport_udp.la \
160   $(UNIX_PLUGIN_LA) \
161   $(HTTP_PLUGIN_LA) \
162   $(HTTPS_PLUGIN_LA) \
163   $(WLAN_PLUGIN_LA) \
164   libgnunet_plugin_transport_template.la
165
166 libgnunet_plugin_transport_tcp_la_SOURCES = \
167   plugin_transport_tcp.c
168 libgnunet_plugin_transport_tcp_la_LIBADD = \
169   $(top_builddir)/src/hello/libgnunethello.la \
170   $(top_builddir)/src/statistics/libgnunetstatistics.la \
171   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
172   $(top_builddir)/src/nat/libgnunetnat.la \
173   $(top_builddir)/src/util/libgnunetutil.la 
174 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
175  $(GN_PLUGIN_LDFLAGS)
176
177 libgnunet_plugin_transport_template_la_SOURCES = \
178   plugin_transport_template.c
179 libgnunet_plugin_transport_template_la_LIBADD = \
180   $(top_builddir)/src/util/libgnunetutil.la 
181 libgnunet_plugin_transport_template_la_LDFLAGS = \
182  $(GN_PLUGIN_LDFLAGS)
183
184 libgnunet_plugin_transport_wlan_la_SOURCES = \
185   plugin_transport_wlan.c plugin_transport_wlan.h
186 libgnunet_plugin_transport_wlan_la_LIBADD = \
187   $(top_builddir)/src/hello/libgnunethello.la \
188   $(top_builddir)/src/statistics/libgnunetstatistics.la \
189   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
190   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
191   $(top_builddir)/src/util/libgnunetutil.la 
192 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
193   $(GN_PLUGIN_LDFLAGS)
194
195 libgnunet_plugin_transport_udp_la_SOURCES = \
196   plugin_transport_udp.c
197 libgnunet_plugin_transport_udp_la_LIBADD = \
198   $(top_builddir)/src/hello/libgnunethello.la \
199   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
200   $(top_builddir)/src/statistics/libgnunetstatistics.la \
201   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
202   $(top_builddir)/src/nat/libgnunetnat.la \
203   $(top_builddir)/src/util/libgnunetutil.la 
204 libgnunet_plugin_transport_udp_la_LDFLAGS = \
205  $(GN_PLUGIN_LDFLAGS)
206
207 libgnunet_plugin_transport_unix_la_SOURCES = \
208   plugin_transport_unix.c
209 libgnunet_plugin_transport_unix_la_LIBADD = \
210   $(top_builddir)/src/hello/libgnunethello.la \
211   $(top_builddir)/src/statistics/libgnunetstatistics.la \
212   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
213   $(top_builddir)/src/util/libgnunetutil.la 
214 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_client.c plugin_transport_http_server.c
219 libgnunet_plugin_transport_http_la_LIBADD = \
220   $(top_builddir)/src/hello/libgnunethello.la \
221   $(top_builddir)/src/statistics/libgnunetstatistics.la \
222   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
223   @LIBCURL@ \
224   $(top_builddir)/src/nat/libgnunetnat.la \
225   $(top_builddir)/src/util/libgnunetutil.la 
226 libgnunet_plugin_transport_http_la_LDFLAGS = \
227  $(GN_LIBMHD) \
228  $(GN_PLUGIN_LDFLAGS)
229 libgnunet_plugin_transport_http_la_CFLAGS = \
230  $(CFLAGS) 
231 libgnunet_plugin_transport_http_la_CPPFLAGS = \
232  @LIBCURL_CPPFLAGS@
233
234 libgnunet_plugin_transport_https_la_SOURCES = \
235   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
236 libgnunet_plugin_transport_https_la_LIBADD = \
237   $(top_builddir)/src/hello/libgnunethello.la \
238   $(top_builddir)/src/statistics/libgnunetstatistics.la \
239   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
240   @LIBCURL@ \
241   $(top_builddir)/src/nat/libgnunetnat.la \
242   $(top_builddir)/src/util/libgnunetutil.la 
243 libgnunet_plugin_transport_https_la_LDFLAGS = \
244  $(GN_LIBMHD) \
245  $(GN_PLUGIN_LDFLAGS)
246 libgnunet_plugin_transport_https_la_CFLAGS = \
247  $(CFLAGS) -DBUILD_HTTPS 
248 libgnunet_plugin_transport_https_la_CPPFLAGS = \
249  @LIBCURL_CPPFLAGS@
250
251
252 check_PROGRAMS = \
253  test_transport_testing \
254  test_transport_startonly \
255  test_transport_api_disconnect \
256  test_transport_api_tcp \
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_API_TIMEOUT_TEST) \
265  $(HTTPS_API_TEST) \
266  $(HTTPS_API_TIMEOUT_TEST) \
267  test_transport_api_multi \
268  test_transport_api_reliability_tcp \
269  test_transport_api_reliability_tcp_nat \
270  test_transport_api_unreliability_udp \
271  test_transport_api_unreliability_constant_udp \
272  $(UNIX_REL_TEST) \
273  $(HTTP_REL_TEST) \
274  $(HTTPS_REL_TEST) \
275  test_quota_compliance_tcp \
276  test_quota_compliance_tcp_asymmetric_recv_constant \
277  test_quota_compliance_udp \
278  test_quota_compliance_udp_asymmetric_recv_constant \
279  $(UNIX_QUOTA_TEST) \
280  $(HTTP_QUOTA_TEST) \
281  $(HTTPS_QUOTA_TEST) \
282  $(WLAN_API_TEST) \
283  $(WLAN_REL_TEST) \
284  $(WLAN_UREL_TEST)
285
286 if ENABLE_TEST_RUN
287 TESTS = \
288  test_transport_testing \
289  test_transport_startonly \
290  test_transport_api_disconnect \
291  test_transport_api_tcp \
292  test_transport_api_timeout_tcp \
293  test_transport_api_limited_sockets_tcp \
294  test_transport_api_tcp_nat \
295  test_transport_api_udp \
296  $(UNIX_PLUGIN_TEST) \
297  test_transport_api_udp_nat \
298  $(HTTP_API_TEST) \
299  $(HTTP_API_TIMEOUT_TEST) \
300  $(HTTPS_API_TEST) \
301  $(HTTPS_API_TIMEOUT_TEST) \
302  test_transport_api_multi \
303  test_transport_api_reliability_tcp \
304  test_transport_api_reliability_tcp_nat \
305  test_transport_api_unreliability_udp \
306  test_transport_api_unreliability_constant_udp \
307  $(UNIX_REL_TEST) \
308  $(HTTP_REL_TEST) \
309  $(HTTPS_REL_TEST) \
310  test_quota_compliance_tcp \
311  test_quota_compliance_tcp_asymmetric_recv_constant \
312  test_quota_compliance_udp \
313  test_quota_compliance_udp_asymmetric_recv_constant \
314  $(UNIX_QUOTA_TEST) \
315  $(HTTP_QUOTA_TEST) \
316  $(HTTPS_QUOTA_TEST) \
317  $(WLAN_API_TEST) \
318  $(WLAN_REL_TEST) \
319  $(WLAN_UREL_TEST)
320 endif
321
322 test_transport_testing_SOURCES = \
323  test_transport_testing.c
324 test_transport_testing_LDADD = \
325  $(top_builddir)/src/util/libgnunetutil.la \
326  $(top_builddir)/src/transport/libgnunettransport.la \
327  $(top_builddir)/src/hello/libgnunethello.la \
328  $(top_builddir)/src/transport/libgnunettransporttesting.la 
329
330 gnunet_transport_connect_running_peers_SOURCES = \
331  gnunet-transport-connect-running-peers.c
332 gnunet_transport_connect_running_peers_LDADD = \
333  $(top_builddir)/src/transport/libgnunettransport.la \
334  $(top_builddir)/src/hello/libgnunethello.la \
335  $(top_builddir)/src/util/libgnunetutil.la \
336  $(top_builddir)/src/transport/libgnunettransporttesting.la 
337
338 test_transport_api_disconnect_SOURCES = \
339  test_transport_api_disconnect.c
340 test_transport_api_disconnect_LDADD = \
341  $(top_builddir)/src/transport/libgnunettransport.la \
342  $(top_builddir)/src/hello/libgnunethello.la \
343  $(top_builddir)/src/statistics/libgnunetstatistics.la \
344  $(top_builddir)/src/util/libgnunetutil.la 
345
346 test_transport_startonly_SOURCES = \
347  test_transport_startonly.c
348 test_transport_startonly_LDADD = \
349  $(top_builddir)/src/transport/libgnunettransport.la \
350  $(top_builddir)/src/hello/libgnunethello.la \
351  $(top_builddir)/src/statistics/libgnunetstatistics.la \
352  $(top_builddir)/src/util/libgnunetutil.la \
353  $(top_builddir)/src/transport/libgnunettransporttesting.la 
354
355 test_transport_api_tcp_SOURCES = \
356  test_transport_api.c
357 test_transport_api_tcp_LDADD = \
358  $(top_builddir)/src/transport/libgnunettransport.la \
359  $(top_builddir)/src/hello/libgnunethello.la \
360  $(top_builddir)/src/util/libgnunetutil.la  \
361  $(top_builddir)/src/transport/libgnunettransporttesting.la
362   
363 test_transport_api_limited_sockets_tcp_SOURCES = \
364  test_transport_api_limited_sockets.c
365 test_transport_api_limited_sockets_tcp_LDADD = \
366  $(top_builddir)/src/transport/libgnunettransport.la \
367  $(top_builddir)/src/hello/libgnunethello.la \
368  $(top_builddir)/src/util/libgnunetutil.la  \
369  $(top_builddir)/src/transport/libgnunettransporttesting.la
370
371 test_transport_api_tcp_nat_SOURCES = \
372  test_transport_api.c
373 test_transport_api_tcp_nat_LDADD = \
374  $(top_builddir)/src/transport/libgnunettransport.la \
375  $(top_builddir)/src/hello/libgnunethello.la \
376  $(top_builddir)/src/util/libgnunetutil.la \
377  $(top_builddir)/src/transport/libgnunettransporttesting.la 
378
379 test_transport_api_reliability_tcp_SOURCES = \
380  test_transport_api_reliability.c
381 test_transport_api_reliability_tcp_LDADD = \
382  $(top_builddir)/src/transport/libgnunettransport.la \
383  $(top_builddir)/src/hello/libgnunethello.la \
384  $(top_builddir)/src/util/libgnunetutil.la \
385  $(top_builddir)/src/transport/libgnunettransporttesting.la 
386
387 test_transport_api_timeout_tcp_SOURCES = \
388  test_transport_api_timeout.c
389 test_transport_api_timeout_tcp_LDADD = \
390  $(top_builddir)/src/transport/libgnunettransport.la \
391  $(top_builddir)/src/hello/libgnunethello.la \
392  $(top_builddir)/src/util/libgnunetutil.la \
393  $(top_builddir)/src/transport/libgnunettransporttesting.la 
394
395 test_transport_api_timeout_http_SOURCES = \
396  test_transport_api_timeout.c
397 test_transport_api_timeout_http_LDADD = \
398  $(top_builddir)/src/transport/libgnunettransport.la \
399  $(top_builddir)/src/hello/libgnunethello.la \
400  $(top_builddir)/src/util/libgnunetutil.la \
401  $(top_builddir)/src/transport/libgnunettransporttesting.la 
402  
403 test_transport_api_timeout_https_SOURCES = \
404  test_transport_api_timeout.c
405 test_transport_api_timeout_https_LDADD = \
406  $(top_builddir)/src/transport/libgnunettransport.la \
407  $(top_builddir)/src/hello/libgnunethello.la \
408  $(top_builddir)/src/util/libgnunetutil.la \
409  $(top_builddir)/src/transport/libgnunettransporttesting.la 
410  
411 test_transport_api_reliability_tcp_nat_SOURCES = \
412  test_transport_api_reliability.c
413 test_transport_api_reliability_tcp_nat_LDADD = \
414  $(top_builddir)/src/transport/libgnunettransport.la \
415  $(top_builddir)/src/hello/libgnunethello.la \
416  $(top_builddir)/src/util/libgnunetutil.la \
417  $(top_builddir)/src/transport/libgnunettransporttesting.la 
418
419 test_transport_api_reliability_wlan_SOURCES = \
420  test_transport_api_reliability.c
421 test_transport_api_reliability_wlan_LDADD = \
422  $(top_builddir)/src/transport/libgnunettransport.la \
423  $(top_builddir)/src/hello/libgnunethello.la \
424  $(top_builddir)/src/util/libgnunetutil.la \
425  $(top_builddir)/src/transport/libgnunettransporttesting.la 
426
427 test_transport_api_unreliability_wlan_SOURCES = \
428  test_transport_api_unreliability.c
429 test_transport_api_unreliability_wlan_LDADD = \
430  $(top_builddir)/src/transport/libgnunettransport.la \
431  $(top_builddir)/src/hello/libgnunethello.la \
432  $(top_builddir)/src/util/libgnunetutil.la \
433  $(top_builddir)/src/transport/libgnunettransporttesting.la 
434  
435 test_transport_api_udp_SOURCES = \
436  test_transport_api.c
437 test_transport_api_udp_LDADD = \
438  $(top_builddir)/src/transport/libgnunettransport.la \
439  $(top_builddir)/src/hello/libgnunethello.la \
440  $(top_builddir)/src/util/libgnunetutil.la  \
441  $(top_builddir)/src/transport/libgnunettransporttesting.la 
442
443 test_transport_api_udp_nat_SOURCES = \
444  test_transport_api.c
445 test_transport_api_udp_nat_LDADD = \
446  $(top_builddir)/src/transport/libgnunettransport.la \
447  $(top_builddir)/src/hello/libgnunethello.la \
448  $(top_builddir)/src/util/libgnunetutil.la  \
449  $(top_builddir)/src/transport/libgnunettransporttesting.la  
450
451 test_transport_api_unix_SOURCES = \
452  test_transport_api.c
453 test_transport_api_unix_LDADD = \
454  $(top_builddir)/src/transport/libgnunettransport.la \
455  $(top_builddir)/src/hello/libgnunethello.la \
456  $(top_builddir)/src/util/libgnunetutil.la \
457  $(top_builddir)/src/transport/libgnunettransporttesting.la 
458
459 #test_plugin_transport_http_SOURCES = \
460 # test_plugin_transport_http.c
461 #test_plugin_transport_http_LDADD = \
462 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
463 # @LIBCURL@ \
464 # $(top_builddir)/src/hello/libgnunethello.la \
465 # $(top_builddir)/src/util/libgnunetutil.la  
466
467 test_transport_api_http_SOURCES = \
468  test_transport_api.c
469 test_transport_api_http_LDADD = \
470  $(top_builddir)/src/transport/libgnunettransport.la \
471  $(top_builddir)/src/hello/libgnunethello.la \
472  $(top_builddir)/src/util/libgnunetutil.la \
473  $(top_builddir)/src/transport/libgnunettransporttesting.la 
474
475 test_transport_api_reliability_http_SOURCES = \
476  test_transport_api_reliability.c
477 test_transport_api_reliability_http_LDADD = \
478  $(top_builddir)/src/transport/libgnunettransport.la \
479  $(top_builddir)/src/hello/libgnunethello.la \
480  $(top_builddir)/src/util/libgnunetutil.la \
481  $(top_builddir)/src/transport/libgnunettransporttesting.la 
482
483 test_transport_api_https_SOURCES = \
484  test_transport_api.c
485 test_transport_api_https_LDADD = \
486  $(top_builddir)/src/transport/libgnunettransport.la \
487  $(top_builddir)/src/hello/libgnunethello.la \
488  $(top_builddir)/src/util/libgnunetutil.la  \
489  $(top_builddir)/src/transport/libgnunettransporttesting.la 
490
491 test_transport_api_reliability_https_SOURCES = \
492  test_transport_api_reliability.c
493 test_transport_api_reliability_https_LDADD = \
494  $(top_builddir)/src/transport/libgnunettransport.la \
495  $(top_builddir)/src/hello/libgnunethello.la \
496  $(top_builddir)/src/util/libgnunetutil.la \
497  $(top_builddir)/src/transport/libgnunettransporttesting.la 
498
499 test_transport_api_unreliability_unix_SOURCES = \
500  test_transport_api_unreliability.c
501 test_transport_api_unreliability_unix_LDADD = \
502  $(top_builddir)/src/transport/libgnunettransport.la \
503  $(top_builddir)/src/hello/libgnunethello.la \
504  $(top_builddir)/src/util/libgnunetutil.la \
505  $(top_builddir)/src/transport/libgnunettransporttesting.la 
506
507 test_transport_api_unreliability_udp_SOURCES = \
508  test_transport_api_unreliability.c
509 test_transport_api_unreliability_udp_LDADD = \
510  $(top_builddir)/src/transport/libgnunettransport.la \
511  $(top_builddir)/src/hello/libgnunethello.la \
512  $(top_builddir)/src/util/libgnunetutil.la \
513  $(top_builddir)/src/transport/libgnunettransporttesting.la 
514
515 test_transport_api_unreliability_constant_udp_SOURCES = \
516  test_transport_api_unreliability_constant.c
517 test_transport_api_unreliability_constant_udp_LDADD = \
518  $(top_builddir)/src/transport/libgnunettransport.la \
519  $(top_builddir)/src/hello/libgnunethello.la \
520  $(top_builddir)/src/util/libgnunetutil.la \
521  $(top_builddir)/src/transport/libgnunettransporttesting.la 
522
523 if LINUX
524 test_transport_api_wlan_SOURCES = \
525  test_transport_api.c
526 test_transport_api_wlan_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 endif
532
533 test_quota_compliance_tcp_SOURCES = \
534  test_quota_compliance.c
535 test_quota_compliance_tcp_LDADD = \
536  $(top_builddir)/src/transport/libgnunettransport.la \
537  $(top_builddir)/src/hello/libgnunethello.la \
538  $(top_builddir)/src/util/libgnunetutil.la \
539  $(top_builddir)/src/transport/libgnunettransporttesting.la 
540
541 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
542  test_quota_compliance.c
543 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
544  $(top_builddir)/src/transport/libgnunettransport.la \
545  $(top_builddir)/src/hello/libgnunethello.la \
546  $(top_builddir)/src/util/libgnunetutil.la
547
548 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
549 # test_quota_compliance.c
550 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
551 # $(top_builddir)/src/transport/libgnunettransport.la \
552 # $(top_builddir)/src/util/libgnunetutil.la
553
554 test_quota_compliance_http_SOURCES = \
555  test_quota_compliance.c
556 test_quota_compliance_http_LDADD = \
557  $(top_builddir)/src/transport/libgnunettransport.la \
558  $(top_builddir)/src/hello/libgnunethello.la \
559  $(top_builddir)/src/util/libgnunetutil.la
560
561  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
562  test_quota_compliance.c
563 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
564  $(top_builddir)/src/transport/libgnunettransport.la \
565  $(top_builddir)/src/hello/libgnunethello.la \
566  $(top_builddir)/src/util/libgnunetutil.la
567
568 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
569 # test_quota_compliance.c
570 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
571 # $(top_builddir)/src/transport/libgnunettransport.la \
572 # $(top_builddir)/src/util/libgnunetutil.la
573
574 test_quota_compliance_https_SOURCES = \
575  test_quota_compliance.c
576 test_quota_compliance_https_LDADD = \
577  $(top_builddir)/src/transport/libgnunettransport.la \
578  $(top_builddir)/src/hello/libgnunethello.la \
579  $(top_builddir)/src/util/libgnunetutil.la
580
581  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
582  test_quota_compliance.c
583 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
584  $(top_builddir)/src/transport/libgnunettransport.la \
585  $(top_builddir)/src/hello/libgnunethello.la \
586  $(top_builddir)/src/util/libgnunetutil.la
587
588 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
589 # test_quota_compliance.c
590 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
591 # $(top_builddir)/src/transport/libgnunettransport.la \
592 # $(top_builddir)/src/util/libgnunetutil.la
593
594 test_quota_compliance_udp_SOURCES = \
595  test_quota_compliance.c
596 test_quota_compliance_udp_LDADD = \
597  $(top_builddir)/src/transport/libgnunettransport.la \
598  $(top_builddir)/src/hello/libgnunethello.la \
599  $(top_builddir)/src/util/libgnunetutil.la
600
601 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
602  test_quota_compliance.c
603 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
604  $(top_builddir)/src/transport/libgnunettransport.la \
605  $(top_builddir)/src/hello/libgnunethello.la \
606  $(top_builddir)/src/util/libgnunetutil.la
607
608 test_quota_compliance_unix_SOURCES = \
609  test_quota_compliance.c
610 test_quota_compliance_unix_LDADD = \
611  $(top_builddir)/src/transport/libgnunettransport.la \
612  $(top_builddir)/src/hello/libgnunethello.la \
613  $(top_builddir)/src/util/libgnunetutil.la
614
615 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
616  test_quota_compliance.c
617 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
618  $(top_builddir)/src/transport/libgnunettransport.la \
619  $(top_builddir)/src/hello/libgnunethello.la \
620  $(top_builddir)/src/util/libgnunetutil.la
621
622 test_transport_api_multi_SOURCES = \
623  test_transport_api.c
624 test_transport_api_multi_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
631 EXTRA_DIST = \
632 gnunet-transport-certificate-creation \
633 template_cfg_peer1.conf\
634 template_cfg_peer2.conf\
635 test_plugin_transport_data.conf\
636 test_plugin_transport_data_http.conf\
637 test_plugin_transport_data_udp.conf\
638 test_quota_compliance_data.conf\
639 test_quota_compliance_http_peer1.conf\
640 test_quota_compliance_http_peer2.conf\
641 test_quota_compliance_https_peer1.conf\
642 test_quota_compliance_https_peer2.conf\
643 test_quota_compliance_tcp_peer1.conf\
644 test_quota_compliance_tcp_peer2.conf\
645 test_quota_compliance_udp_peer1.conf\
646 test_quota_compliance_udp_peer2.conf\
647 test_quota_compliance_unix_peer1.conf\
648 test_quota_compliance_unix_peer2.conf\
649 test_transport_api_data.conf\
650 test_transport_api_http_peer1.conf\
651 test_transport_api_http_peer2.conf\
652 test_transport_api_https_peer1.conf\
653 test_transport_api_https_peer2.conf\
654 test_transport_api_limited_sockets_tcp_peer1.conf\
655 test_transport_api_limited_sockets_tcp_peer2.conf\
656 test_transport_api_timeout_tcp_peer1.conf\
657 test_transport_api_timeout_tcp_peer2.conf\
658 test_transport_api_multi_peer1.conf\
659 test_transport_api_multi_peer2.conf\
660 test_transport_api_reliability_http_peer1.conf\
661 test_transport_api_reliability_http_peer2.conf\
662 test_transport_api_reliability_https_peer1.conf\
663 test_transport_api_reliability_https_peer2.conf\
664 test_transport_api_reliability_tcp_nat_peer1.conf\
665 test_transport_api_reliability_tcp_nat_peer2.conf\
666 test_transport_api_reliability_tcp_peer1.conf\
667 test_transport_api_reliability_tcp_peer2.conf\
668 test_transport_api_reliability_wlan_peer1.conf\
669 test_transport_api_reliability_wlan_peer2.conf\
670 test_transport_api_tcp_nat_peer1.conf\
671 test_transport_api_tcp_nat_peer2.conf\
672 test_transport_api_tcp_peer1.conf\
673 test_transport_api_tcp_peer2.conf\
674 test_transport_api_udp_nat_peer1.conf\
675 test_transport_api_udp_nat_peer2.conf\
676 test_transport_api_udp_peer1.conf\
677 test_transport_api_udp_peer2.conf\
678 test_transport_api_unix_peer1.conf\
679 test_transport_api_unix_peer2.conf\
680 test_transport_api_unreliability_udp_peer1.conf\
681 test_transport_api_unreliability_udp_peer2.conf\
682 test_transport_api_unreliability_unix_peer1.conf\
683 test_transport_api_unreliability_unix_peer2.conf\
684 test_transport_api_unreliability_wlan_peer1.conf\
685 test_transport_api_unreliability_wlan_peer2.conf\
686 test_transport_api_wlan_peer1.conf\
687 test_transport_api_wlan_peer2.conf\
688 test_transport_defaults.conf\
689 test_transport_startonly.conf