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