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