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