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