372ff115eb471f187c9b322c89394f0f828b7349
[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 if LINUX
50 install-exec-hook:
51         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
52         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
53 else
54 install-exec-hook:
55 endif
56
57 if !MINGW
58 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
59 UNIX_PLUGIN_TEST = test_transport_api_unix 
60 UNIX_REL_TEST = test_transport_api_unreliability_unix
61 UNIX_QUOTA_TEST = test_quota_compliance_unix \
62      test_quota_compliance_unix_asymmetric_recv_constant
63 endif
64
65 noinst_PROGRAMS = $(WLAN_BIN_DUMMY)
66
67
68 lib_LTLIBRARIES = \
69   libgnunettransport.la \
70   libgnunettransporttesting.la
71  
72 libgnunettransporttesting_la_SOURCES = \
73         transport-testing.c
74
75 libgnunettransport_la_SOURCES = \
76   transport_api.c transport.h \
77   transport_api_blacklist.c \
78   transport_api_address_lookup.c \
79   transport_api_peer_address_lookup.c \
80   transport_api_address_iterate.c
81 libgnunettransport_la_LIBADD = \
82   $(top_builddir)/src/hello/libgnunethello.la \
83   $(top_builddir)/src/util/libgnunetutil.la \
84   $(GN_LIBINTL) 
85 libgnunettransport_la_LDFLAGS = \
86   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
87   -version-info 0:0:0
88
89 bin_PROGRAMS = \
90  gnunet-transport \
91  $(WLAN_BIN) \
92  gnunet-service-transport \
93  gnunet-service-transport-new \
94  gnunet-transport-list-connections \
95  gnunet-transport-certificate-creation
96
97 #bin_SCRIPTS = \
98 # gnunet-transport-certificate-creation
99
100 gnunet_transport_certificate_creation_SOURCES = \
101  gnunet-transport-certificate-creation.c
102 gnunet_transport_certificate_creation_LDADD = \
103   $(top_builddir)/src/util/libgnunetutil.la
104
105 gnunet_transport_wlan_helper_SOURCES = \
106  wlan/byteorder.h \
107  wlan/crctable_osdep.h \
108  wlan/helper_common.c wlan/helper_common.h \
109  wlan/ieee80211.h \
110  wlan/ieee80211_radiotap.h \
111  wlan/loopback_helper.h \
112  wlan/radiotap-parser.c wlan/radiotap-parser.h \
113  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
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
120 gnunet_transport_wlan_helper_LDADD = \
121   $(top_builddir)/src/util/libgnunetutil.la 
122
123 gnunet_transport_wlan_helper_dummy_LDADD = \
124   $(top_builddir)/src/util/libgnunetutil.la 
125
126 gnunet_transport_list_connections_SOURCES = \
127  gnunet-transport-list-connections.c         
128 gnunet_transport_list_connections_LDADD = \
129   $(top_builddir)/src/transport/libgnunettransport.la \
130   $(top_builddir)/src/util/libgnunetutil.la \
131   $(GN_LIBINTL)
132 gnunet_transport_list_connections_DEPENDENCIES = \
133   libgnunettransport.la
134
135 gnunet_transport_SOURCES = \
136  gnunet-transport.c         
137 gnunet_transport_LDADD = \
138   $(top_builddir)/src/transport/libgnunettransport.la \
139   $(top_builddir)/src/util/libgnunetutil.la \
140   $(GN_LIBINTL)
141 gnunet_transport_DEPENDENCIES = \
142   libgnunettransport.la                         
143
144 gnunet_service_transport_SOURCES = \
145  gnunet-service-transport.c $(TRANSPORT_ATS_SRC)
146 gnunet_service_transport_LDADD = \
147   $(top_builddir)/src/hello/libgnunethello.la \
148   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
149   $(top_builddir)/src/statistics/libgnunetstatistics.la \
150   $(top_builddir)/src/util/libgnunetutil.la \
151   $(GN_GLPK) \
152   $(GN_LIBINTL)
153
154 gnunet_service_transport_new_SOURCES = \
155  gnunet-service-transport-new.c gnunet-service-transport.h \
156  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
157  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
158  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
159  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
160  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
161  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
162 gnunet_service_transport_new_LDADD = \
163   $(top_builddir)/src/ats/libgnunetats.la \
164   $(top_builddir)/src/hello/libgnunethello.la \
165   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
166   $(top_builddir)/src/statistics/libgnunetstatistics.la \
167   $(top_builddir)/src/util/libgnunetutil.la \
168   $(GN_GLPK) \
169   $(GN_LIBINTL)
170
171 plugin_LTLIBRARIES = \
172   libgnunet_plugin_transport_tcp.la \
173   libgnunet_plugin_transport_udp.la \
174   $(UNIX_PLUGIN_LA) \
175   $(HTTP_PLUGIN_LA) \
176   $(HTTPS_PLUGIN_LA) \
177   $(WLAN_PLUGIN_LA) \
178   libgnunet_plugin_transport_template.la
179
180 libgnunet_plugin_transport_tcp_la_SOURCES = \
181   plugin_transport_tcp.c
182 libgnunet_plugin_transport_tcp_la_LIBADD = \
183   $(top_builddir)/src/hello/libgnunethello.la \
184   $(top_builddir)/src/statistics/libgnunetstatistics.la \
185   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
186   $(top_builddir)/src/nat/libgnunetnat.la \
187   $(top_builddir)/src/util/libgnunetutil.la 
188 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
189  $(GN_PLUGIN_LDFLAGS)
190
191 libgnunet_plugin_transport_template_la_SOURCES = \
192   plugin_transport_template.c
193 libgnunet_plugin_transport_template_la_LIBADD = \
194   $(top_builddir)/src/util/libgnunetutil.la 
195 libgnunet_plugin_transport_template_la_LDFLAGS = \
196  $(GN_PLUGIN_LDFLAGS)
197
198 libgnunet_plugin_transport_wlan_la_SOURCES = \
199   plugin_transport_wlan.c plugin_transport_wlan.h
200 libgnunet_plugin_transport_wlan_la_LIBADD = \
201   $(top_builddir)/src/hello/libgnunethello.la \
202   $(top_builddir)/src/statistics/libgnunetstatistics.la \
203   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
204   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
205   $(top_builddir)/src/util/libgnunetutil.la 
206 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
207   $(GN_PLUGIN_LDFLAGS)
208
209 libgnunet_plugin_transport_udp_la_SOURCES = \
210   plugin_transport_udp.c
211 libgnunet_plugin_transport_udp_la_LIBADD = \
212   $(top_builddir)/src/hello/libgnunethello.la \
213   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
214   $(top_builddir)/src/statistics/libgnunetstatistics.la \
215   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
216   $(top_builddir)/src/nat/libgnunetnat.la \
217   $(top_builddir)/src/util/libgnunetutil.la 
218 libgnunet_plugin_transport_udp_la_LDFLAGS = \
219  $(GN_PLUGIN_LDFLAGS)
220
221 libgnunet_plugin_transport_unix_la_SOURCES = \
222   plugin_transport_unix.c
223 libgnunet_plugin_transport_unix_la_LIBADD = \
224   $(top_builddir)/src/hello/libgnunethello.la \
225   $(top_builddir)/src/statistics/libgnunetstatistics.la \
226   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
227   $(top_builddir)/src/util/libgnunetutil.la 
228 libgnunet_plugin_transport_unix_la_LDFLAGS = \
229  $(GN_PLUGIN_LDFLAGS)
230
231 libgnunet_plugin_transport_http_la_SOURCES = \
232   plugin_transport_http.c
233 libgnunet_plugin_transport_http_la_LIBADD = \
234   $(top_builddir)/src/hello/libgnunethello.la \
235   $(top_builddir)/src/statistics/libgnunetstatistics.la \
236   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
237   @LIBCURL@ \
238   $(top_builddir)/src/nat/libgnunetnat.la \
239   $(top_builddir)/src/util/libgnunetutil.la 
240 libgnunet_plugin_transport_http_la_LDFLAGS = \
241  $(GN_LIBMHD) \
242  $(GN_PLUGIN_LDFLAGS)
243 libgnunet_plugin_transport_http_la_CFLAGS = \
244  $(CFLAGS) 
245 libgnunet_plugin_transport_http_la_CPPFLAGS = \
246  @LIBCURL_CPPFLAGS@
247
248 libgnunet_plugin_transport_https_la_SOURCES = \
249   plugin_transport_http.c
250 libgnunet_plugin_transport_https_la_LIBADD = \
251   $(top_builddir)/src/hello/libgnunethello.la \
252   $(top_builddir)/src/statistics/libgnunetstatistics.la \
253   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
254   @LIBCURL@ \
255   $(top_builddir)/src/nat/libgnunetnat.la \
256   $(top_builddir)/src/util/libgnunetutil.la 
257 libgnunet_plugin_transport_https_la_LDFLAGS = \
258  $(GN_LIBMHD) \
259  $(GN_PLUGIN_LDFLAGS)
260 libgnunet_plugin_transport_https_la_CFLAGS = \
261  $(CFLAGS) -DBUILD_HTTPS 
262 libgnunet_plugin_transport_https_la_CPPFLAGS = \
263  @LIBCURL_CPPFLAGS@
264
265
266 check_PROGRAMS = \
267  test_transport_testing \
268  test_transport_api_disconnect \
269  $(TEST_TRANSPORT_ATS) \
270  $(ATS_TRANSPORT_BENCHMARKS) \
271  test_transport_api_tcp \
272  test_transport_api_tcp_nat \
273  test_transport_api_udp \
274  $(UNIX_PLUGIN_TEST) \
275  test_transport_api_udp_nat \
276  $(HTTP_PLUGIN_TEST) \
277  $(HTTP_API_TEST) \
278  $(HTTPS_PLUGIN_TEST) \
279  $(HTTPS_API_TEST) \
280  test_transport_api_multi \
281  test_transport_api_reliability_tcp \
282  test_transport_api_reliability_tcp_nat \
283  test_transport_api_unreliability_udp \
284  $(UNIX_REL_TEST) \
285  $(HTTP_REL_TEST) \
286  $(HTTPS_REL_TEST) \
287  test_transport_api_multiaddress_tcp \
288  test_quota_compliance_tcp \
289  test_quota_compliance_tcp_asymmetric_recv_constant \
290  test_quota_compliance_udp \
291  test_quota_compliance_udp_asymmetric_recv_constant \
292  $(UNIX_QUOTA_TEST) \
293  $(HTTP_QUOTA_TEST) \
294  $(HTTPS_QUOTA_TEST) \
295  $(WLAN_API_TEST) \
296  $(WLAN_REL_TEST) \
297  $(WLAN_UREL_TEST)
298
299 if ENABLE_TEST_RUN
300 TESTS = \
301  test_transport_testing \
302  test_transport_api_disconnect \
303  $(TEST_TRANSPORT_ATS) \
304  $(ATS_TRANSPORT_BENCHMARKS) \
305  test_transport_api_tcp \
306  test_transport_api_tcp_nat \
307  test_transport_api_udp \
308  $(UNIX_PLUGIN_TEST) \
309  test_transport_api_udp_nat \
310  $(HTTP_PLUGIN_TEST) \
311  $(HTTP_API_TEST) \
312  $(HTTPS_PLUGIN_TEST) \
313  $(HTTPS_API_TEST) \
314  test_transport_api_multiaddress_tcp \
315  test_transport_api_multi \
316  test_transport_api_reliability_tcp \
317  test_transport_api_reliability_tcp_nat \
318  test_transport_api_unreliability_udp \
319  $(UNIX_REL_TEST) \
320  $(HTTP_REL_TEST) \
321  $(HTTPS_REL_TEST) \
322  test_quota_compliance_tcp \
323  test_quota_compliance_tcp_asymmetric_recv_constant \
324  test_quota_compliance_udp \
325  test_quota_compliance_udp_asymmetric_recv_constant \
326  $(UNIX_QUOTA_TEST) \
327  $(HTTP_QUOTA_TEST) \
328  $(HTTPS_QUOTA_TEST) \
329  $(WLAN_API_TEST) \
330  $(WLAN_REL_TEST) \
331  $(WLAN_UREL_TEST)
332 endif
333
334 test_transport_testing_SOURCES = \
335  test_transport_testing.c
336 test_transport_testing_LDADD = \
337  $(top_builddir)/src/util/libgnunetutil.la \
338  $(top_builddir)/src/transport/libgnunettransport.la \
339  $(top_builddir)/src/hello/libgnunethello.la \
340  $(top_builddir)/src/transport/libgnunettransporttesting.la 
341
342 test_transport_api_disconnect_SOURCES = \
343  test_transport_api_disconnect.c
344 test_transport_api_disconnect_LDADD = \
345  $(top_builddir)/src/transport/libgnunettransport.la \
346  $(top_builddir)/src/hello/libgnunethello.la \
347  $(top_builddir)/src/statistics/libgnunetstatistics.la \
348  $(top_builddir)/src/testing/libgnunettesting.la \
349  $(top_builddir)/src/util/libgnunetutil.la 
350
351
352 test_transport_ats_SOURCES = \
353  test_transport_ats.c $(TRANSPORT_ATS_SRC)
354 test_transport_ats_LDADD = -lm \
355  -lglpk \
356  $(top_builddir)/src/transport/libgnunettransport.la \
357  $(top_builddir)/src/statistics/libgnunetstatistics.la \
358  $(top_builddir)/src/testing/libgnunettesting.la \
359  $(top_builddir)/src/util/libgnunetutil.la 
360
361 test_transport_ats_multiple_peers_SOURCES = \
362  test_transport_ats_multiple_peers.c $(TRANSPORT_ATS_SRC)
363 test_transport_ats_multiple_peers_LDADD = -lm \
364  -lglpk \
365  $(top_builddir)/src/transport/libgnunettransport.la \
366  $(top_builddir)/src/statistics/libgnunetstatistics.la \
367  $(top_builddir)/src/testing/libgnunettesting.la \
368  $(top_builddir)/src/util/libgnunetutil.la  
369
370 perf_transport_ats_SOURCES = \
371  perf_transport_ats.c
372 perf_transport_ats_LDADD = \
373  -lglpk \
374  $(top_builddir)/src/util/libgnunetutil.la  
375
376 test_transport_api_tcp_SOURCES = \
377  test_transport_api.c
378 test_transport_api_tcp_LDADD = \
379  $(top_builddir)/src/transport/libgnunettransport.la \
380  $(top_builddir)/src/hello/libgnunethello.la \
381  $(top_builddir)/src/util/libgnunetutil.la  \
382  $(top_builddir)/src/transport/libgnunettransporttesting.la 
383
384 test_transport_api_tcp_nat_SOURCES = \
385  test_transport_api.c
386 test_transport_api_tcp_nat_LDADD = \
387  $(top_builddir)/src/transport/libgnunettransport.la \
388  $(top_builddir)/src/hello/libgnunethello.la \
389  $(top_builddir)/src/util/libgnunetutil.la \
390  $(top_builddir)/src/transport/libgnunettransporttesting.la 
391
392 test_transport_api_reliability_tcp_SOURCES = \
393  test_transport_api_reliability.c
394 test_transport_api_reliability_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
401 test_transport_api_multiaddress_tcp_SOURCES = \
402  test_transport_api_multiaddress.c
403 test_transport_api_multiaddress_tcp_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_nat_SOURCES = \
410  test_transport_api_reliability.c
411 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
418  test_transport_api_reliability.c
419 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
426  test_transport_api_unreliability.c
427 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
434  test_transport_api.c
435 test_transport_api_udp_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_udp_nat_SOURCES = \
442  test_transport_api.c
443 test_transport_api_udp_nat_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_unix_SOURCES = \
450  test_transport_api.c
451 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
458 # test_plugin_transport_http.c
459 #test_plugin_transport_http_LDADD = \
460 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
461 # @LIBCURL@ \
462 # $(top_builddir)/src/hello/libgnunethello.la \
463 # $(top_builddir)/src/util/libgnunetutil.la  
464
465 test_transport_api_http_SOURCES = \
466  test_transport_api.c
467 test_transport_api_http_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_reliability_http_SOURCES = \
474  test_transport_api_reliability.c
475 test_transport_api_reliability_http_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_plugin_transport_https_SOURCES = \
482 # test_plugin_transport_https.c
483 #test_plugin_transport_https_LDADD = \
484 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
485 # @LIBCURL@ \
486 # $(top_builddir)/src/hello/libgnunethello.la \
487 # $(top_builddir)/src/util/libgnunetutil.la  
488
489 test_transport_api_https_SOURCES = \
490  test_transport_api.c
491 test_transport_api_https_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_reliability_https_SOURCES = \
498  test_transport_api_reliability.c
499 test_transport_api_reliability_https_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_transport_api_unreliability_unix_SOURCES = \
506  test_transport_api_unreliability.c
507 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
514  test_transport_api_unreliability.c
515 test_transport_api_unreliability_udp_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
522 if LINUX
523 test_transport_api_wlan_SOURCES = \
524  test_transport_api.c
525 test_transport_api_wlan_LDADD = \
526  $(top_builddir)/src/transport/libgnunettransport.la \
527  $(top_builddir)/src/hello/libgnunethello.la \
528  $(top_builddir)/src/util/libgnunetutil.la  
529 endif
530
531 test_quota_compliance_tcp_SOURCES = \
532  test_quota_compliance.c
533 test_quota_compliance_tcp_LDADD = \
534  $(top_builddir)/src/transport/libgnunettransport.la \
535  $(top_builddir)/src/hello/libgnunethello.la \
536  $(top_builddir)/src/util/libgnunetutil.la
537
538 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
539  test_quota_compliance.c
540 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
541  $(top_builddir)/src/transport/libgnunettransport.la \
542  $(top_builddir)/src/hello/libgnunethello.la \
543  $(top_builddir)/src/util/libgnunetutil.la
544
545 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
546 # test_quota_compliance.c
547 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
548 # $(top_builddir)/src/transport/libgnunettransport.la \
549 # $(top_builddir)/src/util/libgnunetutil.la
550
551 test_quota_compliance_http_SOURCES = \
552  test_quota_compliance.c
553 test_quota_compliance_http_LDADD = \
554  $(top_builddir)/src/transport/libgnunettransport.la \
555  $(top_builddir)/src/hello/libgnunethello.la \
556  $(top_builddir)/src/util/libgnunetutil.la
557
558  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
559  test_quota_compliance.c
560 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
561  $(top_builddir)/src/transport/libgnunettransport.la \
562  $(top_builddir)/src/hello/libgnunethello.la \
563  $(top_builddir)/src/util/libgnunetutil.la
564
565 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
566 # test_quota_compliance.c
567 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
568 # $(top_builddir)/src/transport/libgnunettransport.la \
569 # $(top_builddir)/src/util/libgnunetutil.la
570
571 test_quota_compliance_https_SOURCES = \
572  test_quota_compliance.c
573 test_quota_compliance_https_LDADD = \
574  $(top_builddir)/src/transport/libgnunettransport.la \
575  $(top_builddir)/src/hello/libgnunethello.la \
576  $(top_builddir)/src/util/libgnunetutil.la
577
578  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
579  test_quota_compliance.c
580 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
581  $(top_builddir)/src/transport/libgnunettransport.la \
582  $(top_builddir)/src/hello/libgnunethello.la \
583  $(top_builddir)/src/util/libgnunetutil.la
584
585 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
586 # test_quota_compliance.c
587 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
588 # $(top_builddir)/src/transport/libgnunettransport.la \
589 # $(top_builddir)/src/util/libgnunetutil.la
590
591 test_quota_compliance_udp_SOURCES = \
592  test_quota_compliance.c
593 test_quota_compliance_udp_LDADD = \
594  $(top_builddir)/src/transport/libgnunettransport.la \
595  $(top_builddir)/src/hello/libgnunethello.la \
596  $(top_builddir)/src/util/libgnunetutil.la
597
598 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
599  test_quota_compliance.c
600 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
601  $(top_builddir)/src/transport/libgnunettransport.la \
602  $(top_builddir)/src/hello/libgnunethello.la \
603  $(top_builddir)/src/util/libgnunetutil.la
604
605 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
606 # test_quota_compliance.c
607 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
608 # $(top_builddir)/src/transport/libgnunettransport.la \
609 # $(top_builddir)/src/util/libgnunetutil.la 
610
611 test_quota_compliance_unix_SOURCES = \
612  test_quota_compliance.c
613 test_quota_compliance_unix_LDADD = \
614  $(top_builddir)/src/transport/libgnunettransport.la \
615  $(top_builddir)/src/hello/libgnunethello.la \
616  $(top_builddir)/src/util/libgnunetutil.la
617
618 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
619  test_quota_compliance.c
620 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
621  $(top_builddir)/src/transport/libgnunettransport.la \
622  $(top_builddir)/src/hello/libgnunethello.la \
623  $(top_builddir)/src/util/libgnunetutil.la
624
625
626 test_transport_api_multi_SOURCES = \
627  test_transport_api.c
628 test_transport_api_multi_LDADD = \
629  $(top_builddir)/src/transport/libgnunettransport.la \
630  $(top_builddir)/src/hello/libgnunethello.la \
631  $(top_builddir)/src/util/libgnunetutil.la \
632  $(top_builddir)/src/transport/libgnunettransporttesting.la 
633  
634  
635 EXTRA_DIST = \
636   gnunet-transport-certificate-creation \
637   ats_mlp_p100_m400.problem \
638   test_transport_defaults.conf \
639   test_transport_api_data.conf \
640   test_transport_api_tcp_peer1.conf \
641   test_transport_api_tcp_peer2.conf \
642   test_transport_api_udp_peer1.conf \
643   test_transport_api_udp_peer2.conf \
644   test_transport_api_unix_peer1.conf \
645   test_transport_api_unix_peer2.conf \
646   test_transport_api_udp_nat_peer1.conf \
647   test_transport_api_udp_nat_peer2.conf \
648   test_transport_api_tcp_nat_peer1.conf \
649   test_transport_api_tcp_nat_peer2.conf \
650   test_plugin_transport_data.conf \
651   test_transport_api_http_peer1.conf \
652   test_transport_api_http_peer2.conf \
653   test_transport_api_https_peer1.conf \
654   test_transport_api_https_peer2.conf \
655   test_transport_api_wlan_peer1.conf \
656   test_transport_api_wlan_peer2.conf \
657   test_transport_api_multi_peer1.conf \
658   test_transport_api_multi_peer2.conf \
659   test_transport_api_rel_http_peer1.conf \
660   test_transport_api_rel_http_peer2.conf \
661   test_transport_api_rel_https_peer1.conf \
662   test_transport_api_rel_https_peer2.conf \
663   test_plugin_transport_data_http.conf \
664   test_plugin_transport_data.conf \
665   test_quota_compliance_data.conf \
666   test_quota_compliance_tcp_peer1.conf \
667   test_quota_compliance_tcp_peer2.conf \
668   test_quota_compliance_http_peer1.conf \
669   test_quota_compliance_http_peer2.conf \
670   test_quota_compliance_https_peer1.conf \
671   test_quota_compliance_https_peer2.conf \
672   test_quota_compliance_udp_peer1.conf \
673   test_quota_compliance_udp_peer2.conf \
674   test_quota_compliance_unix_peer1.conf \
675   test_quota_compliance_unix_peer2.conf \
676   test_plugin_transport_data_udp.conf \
677   test_transport_ats_1addr.conf \
678   test_transport_ats_2addr.conf \
679   test_transport_ats_4addr.conf