cleanup API for get_hello and get_hello_cancel
[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_startonly \
277  test_transport_api_disconnect \
278  test_transport_api_multiaddress_tcp \
279  $(TEST_TRANSPORT_ATS) \
280  $(ATS_TRANSPORT_BENCHMARKS) \
281  test_transport_api_tcp \
282  test_transport_api_tcp_nat \
283  test_transport_api_udp \
284  $(UNIX_PLUGIN_TEST) \
285  test_transport_api_udp_nat \
286  $(HTTP_PLUGIN_TEST) \
287  $(HTTP_API_TEST) \
288  $(HTTPS_PLUGIN_TEST) \
289  $(HTTPS_API_TEST) \
290  test_transport_api_multi \
291  test_transport_api_reliability_tcp \
292  test_transport_api_reliability_tcp_nat \
293  test_transport_api_unreliability_udp \
294  $(UNIX_REL_TEST) \
295  $(HTTP_REL_TEST) \
296  $(HTTPS_REL_TEST) \
297  test_quota_compliance_tcp \
298  test_quota_compliance_tcp_asymmetric_recv_constant \
299  test_quota_compliance_udp \
300  test_quota_compliance_udp_asymmetric_recv_constant \
301  $(UNIX_QUOTA_TEST) \
302  $(HTTP_QUOTA_TEST) \
303  $(HTTPS_QUOTA_TEST) \
304  $(WLAN_API_TEST) \
305  $(WLAN_REL_TEST) \
306  $(WLAN_UREL_TEST)
307
308 if ENABLE_TEST_RUN
309 TESTS = \
310  test_transport_testing \
311  test_transport_startonly \
312  test_transport_api_disconnect \
313  test_transport_api_multiaddress_tcp \
314  $(TEST_TRANSPORT_ATS) \
315  $(ATS_TRANSPORT_BENCHMARKS) \
316  test_transport_api_tcp \
317  test_transport_api_tcp_nat \
318  test_transport_api_udp \
319  $(UNIX_PLUGIN_TEST) \
320  test_transport_api_udp_nat \
321  $(HTTP_PLUGIN_TEST) \
322  $(HTTP_API_TEST) \
323  $(HTTPS_PLUGIN_TEST) \
324  $(HTTPS_API_TEST) \
325  test_transport_api_multi \
326  test_transport_api_reliability_tcp \
327  test_transport_api_reliability_tcp_nat \
328  test_transport_api_unreliability_udp \
329  $(UNIX_REL_TEST) \
330  $(HTTP_REL_TEST) \
331  $(HTTPS_REL_TEST) \
332  test_quota_compliance_tcp \
333  test_quota_compliance_tcp_asymmetric_recv_constant \
334  test_quota_compliance_udp \
335  test_quota_compliance_udp_asymmetric_recv_constant \
336  $(UNIX_QUOTA_TEST) \
337  $(HTTP_QUOTA_TEST) \
338  $(HTTPS_QUOTA_TEST) \
339  $(WLAN_API_TEST) \
340  $(WLAN_REL_TEST) \
341  $(WLAN_UREL_TEST)
342 endif
343
344 test_transport_testing_SOURCES = \
345  test_transport_testing.c
346 test_transport_testing_LDADD = \
347  $(top_builddir)/src/util/libgnunetutil.la \
348  $(top_builddir)/src/transport/libgnunettransport.la \
349  $(top_builddir)/src/hello/libgnunethello.la \
350  $(top_builddir)/src/transport/libgnunettransporttesting.la 
351
352 test_transport_api_disconnect_SOURCES = \
353  test_transport_api_disconnect.c
354 test_transport_api_disconnect_LDADD = \
355  $(top_builddir)/src/transport/libgnunettransport.la \
356  $(top_builddir)/src/hello/libgnunethello.la \
357  $(top_builddir)/src/statistics/libgnunetstatistics.la \
358  $(top_builddir)/src/util/libgnunetutil.la 
359
360 test_transport_startonly_SOURCES = \
361  test_transport_startonly.c
362 test_transport_startonly_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_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/util/libgnunetutil.la 
376
377 test_transport_ats_multiple_peers_SOURCES = \
378  test_transport_ats_multiple_peers.c $(TRANSPORT_ATS_SRC)
379 test_transport_ats_multiple_peers_LDADD = -lm \
380  -lglpk \
381  $(top_builddir)/src/transport/libgnunettransport.la \
382  $(top_builddir)/src/statistics/libgnunetstatistics.la \
383  $(top_builddir)/src/testing/libgnunettesting.la \
384  $(top_builddir)/src/util/libgnunetutil.la  
385
386 perf_transport_ats_SOURCES = \
387  perf_transport_ats.c
388 perf_transport_ats_LDADD = \
389  -lglpk \
390  $(top_builddir)/src/util/libgnunetutil.la  
391
392 test_transport_api_tcp_SOURCES = \
393  test_transport_api.c
394 test_transport_api_tcp_LDADD = \
395  $(top_builddir)/src/transport/libgnunettransport.la \
396  $(top_builddir)/src/hello/libgnunethello.la \
397  $(top_builddir)/src/util/libgnunetutil.la  \
398  $(top_builddir)/src/transport/libgnunettransporttesting.la 
399
400 test_transport_api_tcp_nat_SOURCES = \
401  test_transport_api.c
402 test_transport_api_tcp_nat_LDADD = \
403  $(top_builddir)/src/transport/libgnunettransport.la \
404  $(top_builddir)/src/hello/libgnunethello.la \
405  $(top_builddir)/src/util/libgnunetutil.la \
406  $(top_builddir)/src/transport/libgnunettransporttesting.la 
407
408 test_transport_api_reliability_tcp_SOURCES = \
409  test_transport_api_reliability.c
410 test_transport_api_reliability_tcp_LDADD = \
411  $(top_builddir)/src/transport/libgnunettransport.la \
412  $(top_builddir)/src/hello/libgnunethello.la \
413  $(top_builddir)/src/util/libgnunetutil.la \
414  $(top_builddir)/src/transport/libgnunettransporttesting.la 
415  
416
417 test_transport_api_multiaddress_tcp_SOURCES = \
418  test_transport_api_multiaddress.c
419 test_transport_api_multiaddress_tcp_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_nat_SOURCES = \
426  test_transport_api_reliability.c
427 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
434  test_transport_api_reliability.c
435 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
442  test_transport_api_unreliability.c
443 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
450  test_transport_api.c
451 test_transport_api_udp_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_udp_nat_SOURCES = \
458  test_transport_api.c
459 test_transport_api_udp_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_unix_SOURCES = \
466  test_transport_api.c
467 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
474 # test_plugin_transport_http.c
475 #test_plugin_transport_http_LDADD = \
476 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
477 # @LIBCURL@ \
478 # $(top_builddir)/src/hello/libgnunethello.la \
479 # $(top_builddir)/src/util/libgnunetutil.la  
480
481 test_transport_api_http_SOURCES = \
482  test_transport_api.c
483 test_transport_api_http_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_reliability_http_SOURCES = \
490  test_transport_api_reliability.c
491 test_transport_api_reliability_http_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_plugin_transport_https_SOURCES = \
498 # test_plugin_transport_https.c
499 #test_plugin_transport_https_LDADD = \
500 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
501 # @LIBCURL@ \
502 # $(top_builddir)/src/hello/libgnunethello.la \
503 # $(top_builddir)/src/util/libgnunetutil.la  
504
505 test_transport_api_https_SOURCES = \
506  test_transport_api.c
507 test_transport_api_https_LDADD = \
508  $(top_builddir)/src/transport/libgnunettransport.la \
509  $(top_builddir)/src/hello/libgnunethello.la \
510  $(top_builddir)/src/util/libgnunetutil.la  \
511  $(top_builddir)/src/transport/libgnunettransporttesting.la 
512
513 test_transport_api_reliability_https_SOURCES = \
514  test_transport_api_reliability.c
515 test_transport_api_reliability_https_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_unreliability_unix_SOURCES = \
522  test_transport_api_unreliability.c
523 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
530  test_transport_api_unreliability.c
531 test_transport_api_unreliability_udp_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
538 if LINUX
539 test_transport_api_wlan_SOURCES = \
540  test_transport_api.c
541 test_transport_api_wlan_LDADD = \
542  $(top_builddir)/src/transport/libgnunettransport.la \
543  $(top_builddir)/src/hello/libgnunethello.la \
544  $(top_builddir)/src/util/libgnunetutil.la \
545  $(top_builddir)/src/transport/libgnunettransporttesting.la  
546 endif
547
548 test_quota_compliance_tcp_SOURCES = \
549  test_quota_compliance.c
550 test_quota_compliance_tcp_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_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