ats
[oweals/gnunet.git] / src / transport / Makefile.am
1 INCLUDES = -I$(top_srcdir)/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 USE_COVERAGE
23   AM_CFLAGS = --coverage -O0
24 endif
25
26 if LINUX
27 if HAVE_EXPERIMENTAL
28  WLAN_BIN = gnunet-transport-wlan-helper
29  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
30  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
31  WLAN_API_TEST = test_transport_api_wlan
32  WLAN_REL_TEST = test_transport_api_reliability_wlan
33  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
34 endif
35 endif
36
37 if LINUX
38 install-exec-hook:
39         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
40         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
41 else
42 install-exec-hook:
43 endif
44
45 if !MINGW
46 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
47 UNIX_PLUGIN_TEST = test_transport_api_unix 
48 UNIX_REL_TEST = test_transport_api_unreliability_unix
49 UNIX_QUOTA_TEST = test_quota_compliance_unix \
50      test_quota_compliance_unix_asymmetric_recv_constant
51 endif
52
53 #noinst_PROGRAMS = ${check_PROGRAMS}
54
55 lib_LTLIBRARIES = \
56   libgnunettransport.la \
57   libgnunettransportnew.la
58
59 libgnunettransportnew_la_SOURCES = \
60   transport_api_new.c transport.h \
61   transport_api_blacklist.c \
62   transport_api_address_lookup.c 
63 libgnunettransportnew_la_LIBADD = \
64   $(top_builddir)/src/hello/libgnunethello.la \
65   $(top_builddir)/src/util/libgnunetutil.la \
66   $(GN_LIBINTL) 
67 libgnunettransportnew_la_LDFLAGS = \
68   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
69   -version-info 0:0:0
70
71 libgnunettransport_la_SOURCES = \
72   transport_api.c transport.h \
73   transport_api_blacklist.c \
74   transport_api_address_lookup.c 
75 libgnunettransport_la_LIBADD = \
76   $(top_builddir)/src/hello/libgnunethello.la \
77   $(top_builddir)/src/util/libgnunetutil.la \
78   $(GN_LIBINTL) 
79 libgnunettransport_la_LDFLAGS = \
80   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
81   -version-info 0:0:0
82
83
84 bin_PROGRAMS = \
85  gnunet-transport \
86  $(WLAN_BIN) \
87  gnunet-service-transport \
88  $(WLAN_BIN_DUMMY)
89
90 bin_SCRIPTS = \
91  gnunet-transport-certificate-creation
92
93
94 gnunet_transport_wlan_helper_SOURCES = \
95  wlan/byteorder.h \
96  wlan/crctable_osdep.h \
97  wlan/helper_common.c wlan/helper_common.h \
98  wlan/ieee80211.h \
99  wlan/ieee80211_radiotap.h \
100  wlan/loopback_helper.h \
101  wlan/radiotap-parser.c wlan/radiotap-parser.h \
102  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
103
104 gnunet_transport_wlan_helper_dummy_SOURCES = \
105  wlan/radiotap-parser.c \
106  wlan/helper_common.c \
107  test_plugin_transport_wlan_dummy.c
108
109 gnunet_transport_wlan_helper_LDADD = \
110   $(top_builddir)/src/util/libgnunetutil.la 
111
112 gnunet_transport_wlan_helper_dummy_LDADD = \
113   $(top_builddir)/src/util/libgnunetutil.la 
114
115 gnunet_transport_SOURCES = \
116  gnunet-transport.c         
117 gnunet_transport_LDADD = \
118   $(top_builddir)/src/transport/libgnunettransportnew.la \
119   $(top_builddir)/src/util/libgnunetutil.la \
120   $(GN_LIBINTL)
121 gnunet_transport_DEPENDENCIES = \
122   libgnunettransportnew.la                              
123
124 if HAVE_LIBGLPK
125   GN_GLPK = -lglpk
126 endif
127
128 gnunet_service_transport_SOURCES = \
129  gnunet-service-transport.c transport_ats.c
130 gnunet_service_transport_LDADD = \
131   $(top_builddir)/src/hello/libgnunethello.la \
132   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
133   $(top_builddir)/src/statistics/libgnunetstatistics.la \
134   $(top_builddir)/src/util/libgnunetutil.la \
135   $(GN_GLPK) \
136   $(GN_LIBINTL)
137
138 plugin_LTLIBRARIES = \
139   libgnunet_plugin_transport_tcp.la \
140   libgnunet_plugin_transport_udp.la \
141   $(UNIX_PLUGIN_LA) \
142   $(HTTP_PLUGIN_LA) \
143   $(HTTPS_PLUGIN_LA) \
144   $(WLAN_PLUGIN_LA) \
145   libgnunet_plugin_transport_template.la
146
147 libgnunet_plugin_transport_tcp_la_SOURCES = \
148   plugin_transport_tcp.c
149 libgnunet_plugin_transport_tcp_la_LIBADD = \
150   $(top_builddir)/src/hello/libgnunethello.la \
151   $(top_builddir)/src/statistics/libgnunetstatistics.la \
152   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
153   $(top_builddir)/src/nat/libgnunetnat.la \
154   $(top_builddir)/src/util/libgnunetutil.la 
155 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
156  $(GN_PLUGIN_LDFLAGS)
157
158 libgnunet_plugin_transport_template_la_SOURCES = \
159   plugin_transport_template.c
160 libgnunet_plugin_transport_template_la_LIBADD = \
161   $(top_builddir)/src/util/libgnunetutil.la 
162 libgnunet_plugin_transport_template_la_LDFLAGS = \
163  $(GN_PLUGIN_LDFLAGS)
164
165 libgnunet_plugin_transport_wlan_la_SOURCES = \
166   plugin_transport_wlan.c plugin_transport_wlan.h
167 libgnunet_plugin_transport_wlan_la_LIBADD = \
168   $(top_builddir)/src/hello/libgnunethello.la \
169   $(top_builddir)/src/statistics/libgnunetstatistics.la \
170   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
171   $(top_builddir)/src/util/libgnunetutil.la 
172 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
173   $(GN_PLUGIN_LDFLAGS)
174
175 libgnunet_plugin_transport_udp_la_SOURCES = \
176   plugin_transport_udp.c
177 libgnunet_plugin_transport_udp_la_LIBADD = \
178   $(top_builddir)/src/hello/libgnunethello.la \
179   $(top_builddir)/src/statistics/libgnunetstatistics.la \
180   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
181   $(top_builddir)/src/nat/libgnunetnat.la \
182   $(top_builddir)/src/util/libgnunetutil.la 
183 libgnunet_plugin_transport_udp_la_LDFLAGS = \
184  $(GN_PLUGIN_LDFLAGS)
185
186 libgnunet_plugin_transport_unix_la_SOURCES = \
187   plugin_transport_unix.c
188 libgnunet_plugin_transport_unix_la_LIBADD = \
189   $(top_builddir)/src/hello/libgnunethello.la \
190   $(top_builddir)/src/statistics/libgnunetstatistics.la \
191   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
192   $(top_builddir)/src/util/libgnunetutil.la 
193 libgnunet_plugin_transport_unix_la_LDFLAGS = \
194  $(GN_PLUGIN_LDFLAGS)
195
196 libgnunet_plugin_transport_http_la_SOURCES = \
197   plugin_transport_http.c
198 libgnunet_plugin_transport_http_la_LIBADD = \
199   $(top_builddir)/src/hello/libgnunethello.la \
200   $(top_builddir)/src/statistics/libgnunetstatistics.la \
201   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
202   @LIBCURL@ \
203   $(top_builddir)/src/nat/libgnunetnat.la \
204   $(top_builddir)/src/util/libgnunetutil.la 
205 libgnunet_plugin_transport_http_la_LDFLAGS = \
206  $(GN_LIBMHD) \
207  $(GN_PLUGIN_LDFLAGS)
208 libgnunet_plugin_transport_http_la_CFLAGS = \
209  $(CFLAGS) 
210 libgnunet_plugin_transport_http_la_CPPFLAGS = \
211  @LIBCURL_CPPFLAGS@
212
213 libgnunet_plugin_transport_https_la_SOURCES = \
214   plugin_transport_http.c
215 libgnunet_plugin_transport_https_la_LIBADD = \
216   $(top_builddir)/src/hello/libgnunethello.la \
217   $(top_builddir)/src/statistics/libgnunetstatistics.la \
218   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
219   @LIBCURL@ \
220   $(top_builddir)/src/nat/libgnunetnat.la \
221   $(top_builddir)/src/util/libgnunetutil.la 
222 libgnunet_plugin_transport_https_la_LDFLAGS = \
223  $(GN_LIBMHD) \
224  $(GN_PLUGIN_LDFLAGS)
225 libgnunet_plugin_transport_https_la_CFLAGS = \
226  $(CFLAGS) -DBUILD_HTTPS 
227 libgnunet_plugin_transport_https_la_CPPFLAGS = \
228  @LIBCURL_CPPFLAGS@
229
230 if HAVE_BENCHMARKS
231  TRANSPORT_BENCHMARKS = \
232    perf_transport_ats 
233 endif
234
235 check_PROGRAMS = \
236  test_transport_ats \
237  $(TRANSPORT_BENCHMARKS) \
238  test_transport_api_tcp \
239  test_transport_api_tcp_nat \
240  test_transport_api_udp \
241  $(UNIX_PLUGIN_TEST) \
242  test_transport_api_udp_nat \
243  $(HTTP_PLUGIN_TEST) \
244  $(HTTP_API_TEST) \
245  $(HTTPS_PLUGIN_TEST) \
246  $(HTTPS_API_TEST) \
247  test_transport_api_multi \
248  test_transport_api_reliability_tcp \
249  test_transport_api_reliability_tcp_nat \
250  test_transport_api_unreliability_udp \
251  $(UNIX_REL_TEST) \
252  $(HTTP_REL_TEST) \
253  $(HTTPS_REL_TEST) \
254  test_transport_api_multiaddress_tcp \
255  test_quota_compliance_tcp \
256  test_quota_compliance_tcp_asymmetric_recv_constant \
257  test_quota_compliance_udp \
258  test_quota_compliance_udp_asymmetric_recv_constant \
259  $(UNIX_QUOTA_TEST) \
260  $(HTTP_QUOTA_TEST) \
261  $(HTTPS_QUOTA_TEST) \
262  $(WLAN_API_TEST) \
263  $(WLAN_REL_TEST) \
264  $(WLAN_UREL_TEST)
265
266 if ENABLE_TEST_RUN
267 TESTS = \
268  test_transport_ats \
269  perf_transport_ats \
270  test_transport_api_tcp \
271  test_transport_api_tcp_nat \
272  test_transport_api_udp \
273  $(UNIX_PLUGIN_TEST) \
274  test_transport_api_udp_nat \
275  $(HTTP_PLUGIN_TEST) \
276  $(HTTP_API_TEST) \
277  $(HTTPS_PLUGIN_TEST) \
278  $(HTTPS_API_TEST) \
279  test_transport_api_multiaddress_tcp \
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_quota_compliance_tcp \
288  test_quota_compliance_tcp_asymmetric_recv_constant \
289  test_quota_compliance_udp \
290  test_quota_compliance_udp_asymmetric_recv_constant \
291  $(UNIX_QUOTA_TEST) \
292  $(HTTP_QUOTA_TEST) \
293  $(HTTPS_QUOTA_TEST) \
294  $(WLAN_API_TEST) \
295  $(WLAN_REL_TEST) \
296  $(WLAN_UREL_TEST)
297 endif
298
299 test_transport_ats_SOURCES = \
300  test_transport_ats.c
301 test_transport_ats_LDADD = -lm \
302  $(top_builddir)/src/transport/libgnunettransportnew.la \
303  $(top_builddir)/src/statistics/libgnunetstatistics.la \
304  $(top_builddir)/src/testing/libgnunettesting.la \
305  $(top_builddir)/src/util/libgnunetutil.la  
306
307 perf_transport_ats_SOURCES = \
308  perf_transport_ats.c
309 perf_transport_ats_LDADD = \
310  $(GN_GLPK) \
311  $(top_builddir)/src/util/libgnunetutil.la  
312
313 test_transport_api_tcp_SOURCES = \
314  test_transport_api.c
315 test_transport_api_tcp_LDADD = \
316  $(top_builddir)/src/transport/libgnunettransportnew.la \
317  $(top_builddir)/src/hello/libgnunethello.la \
318  $(top_builddir)/src/util/libgnunetutil.la  
319
320 test_transport_api_tcp_nat_SOURCES = \
321  test_transport_api.c
322 test_transport_api_tcp_nat_LDADD = \
323  $(top_builddir)/src/transport/libgnunettransportnew.la \
324  $(top_builddir)/src/hello/libgnunethello.la \
325  $(top_builddir)/src/util/libgnunetutil.la  
326
327 test_transport_api_reliability_tcp_SOURCES = \
328  test_transport_api_reliability.c
329 test_transport_api_reliability_tcp_LDADD = \
330  $(top_builddir)/src/transport/libgnunettransportnew.la \
331  $(top_builddir)/src/hello/libgnunethello.la \
332  $(top_builddir)/src/util/libgnunetutil.la  
333
334 test_transport_api_multiaddress_tcp_SOURCES = \
335  test_transport_api_multiaddress.c
336 test_transport_api_multiaddress_tcp_LDADD = \
337  $(top_builddir)/src/transport/libgnunettransportnew.la \
338  $(top_builddir)/src/hello/libgnunethello.la \
339  $(top_builddir)/src/util/libgnunetutil.la  
340
341 test_transport_api_reliability_tcp_nat_SOURCES = \
342  test_transport_api_reliability.c
343 test_transport_api_reliability_tcp_nat_LDADD = \
344  $(top_builddir)/src/transport/libgnunettransportnew.la \
345  $(top_builddir)/src/hello/libgnunethello.la \
346  $(top_builddir)/src/util/libgnunetutil.la 
347
348 test_transport_api_reliability_wlan_SOURCES = \
349  test_transport_api_reliability.c
350 test_transport_api_reliability_wlan_LDADD = \
351  $(top_builddir)/src/transport/libgnunettransportnew.la \
352  $(top_builddir)/src/hello/libgnunethello.la \
353  $(top_builddir)/src/util/libgnunetutil.la
354
355 test_transport_api_unreliability_wlan_SOURCES = \
356  test_transport_api_unreliability.c
357 test_transport_api_unreliability_wlan_LDADD = \
358  $(top_builddir)/src/transport/libgnunettransportnew.la \
359  $(top_builddir)/src/hello/libgnunethello.la \
360  $(top_builddir)/src/util/libgnunetutil.la
361
362 test_transport_api_udp_SOURCES = \
363  test_transport_api.c
364 test_transport_api_udp_LDADD = \
365  $(top_builddir)/src/transport/libgnunettransportnew.la \
366  $(top_builddir)/src/hello/libgnunethello.la \
367  $(top_builddir)/src/util/libgnunetutil.la  
368
369 test_transport_api_udp_nat_SOURCES = \
370  test_transport_api.c
371 test_transport_api_udp_nat_LDADD = \
372  $(top_builddir)/src/transport/libgnunettransportnew.la \
373  $(top_builddir)/src/hello/libgnunethello.la \
374  $(top_builddir)/src/util/libgnunetutil.la   
375
376 test_transport_api_unix_SOURCES = \
377  test_transport_api.c
378 test_transport_api_unix_LDADD = \
379  $(top_builddir)/src/transport/libgnunettransportnew.la \
380  $(top_builddir)/src/hello/libgnunethello.la \
381  $(top_builddir)/src/util/libgnunetutil.la 
382
383 #test_plugin_transport_http_SOURCES = \
384 # test_plugin_transport_http.c
385 #test_plugin_transport_http_LDADD = \
386 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
387 # @LIBCURL@ \
388 # $(top_builddir)/src/hello/libgnunethello.la \
389 # $(top_builddir)/src/util/libgnunetutil.la  
390
391 test_transport_api_http_SOURCES = \
392  test_transport_api.c
393 test_transport_api_http_LDADD = \
394  $(top_builddir)/src/transport/libgnunettransportnew.la \
395  $(top_builddir)/src/hello/libgnunethello.la \
396  $(top_builddir)/src/util/libgnunetutil.la  
397
398 test_transport_api_reliability_http_SOURCES = \
399  test_transport_api_reliability.c
400 test_transport_api_reliability_http_LDADD = \
401  $(top_builddir)/src/transport/libgnunettransportnew.la \
402  $(top_builddir)/src/hello/libgnunethello.la \
403  $(top_builddir)/src/util/libgnunetutil.la
404
405 #test_plugin_transport_https_SOURCES = \
406 # test_plugin_transport_https.c
407 #test_plugin_transport_https_LDADD = \
408 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
409 # @LIBCURL@ \
410 # $(top_builddir)/src/hello/libgnunethello.la \
411 # $(top_builddir)/src/util/libgnunetutil.la  
412
413 test_transport_api_https_SOURCES = \
414  test_transport_api.c
415 test_transport_api_https_LDADD = \
416  $(top_builddir)/src/transport/libgnunettransportnew.la \
417  $(top_builddir)/src/hello/libgnunethello.la \
418  $(top_builddir)/src/util/libgnunetutil.la  
419
420 test_transport_api_reliability_https_SOURCES = \
421  test_transport_api_reliability.c
422 test_transport_api_reliability_https_LDADD = \
423  $(top_builddir)/src/transport/libgnunettransportnew.la \
424  $(top_builddir)/src/hello/libgnunethello.la \
425  $(top_builddir)/src/util/libgnunetutil.la
426
427 test_transport_api_unreliability_unix_SOURCES = \
428  test_transport_api_unreliability.c
429 test_transport_api_unreliability_unix_LDADD = \
430  $(top_builddir)/src/transport/libgnunettransportnew.la \
431  $(top_builddir)/src/hello/libgnunethello.la \
432  $(top_builddir)/src/util/libgnunetutil.la
433
434 test_transport_api_unreliability_udp_SOURCES = \
435  test_transport_api_unreliability.c
436 test_transport_api_unreliability_udp_LDADD = \
437  $(top_builddir)/src/transport/libgnunettransportnew.la \
438  $(top_builddir)/src/hello/libgnunethello.la \
439  $(top_builddir)/src/util/libgnunetutil.la
440
441 if LINUX
442 test_transport_api_wlan_SOURCES = \
443  test_transport_api.c
444 test_transport_api_wlan_LDADD = \
445  $(top_builddir)/src/transport/libgnunettransportnew.la \
446  $(top_builddir)/src/hello/libgnunethello.la \
447  $(top_builddir)/src/util/libgnunetutil.la  
448 endif
449
450 test_quota_compliance_tcp_SOURCES = \
451  test_quota_compliance.c
452 test_quota_compliance_tcp_LDADD = \
453  $(top_builddir)/src/transport/libgnunettransportnew.la \
454  $(top_builddir)/src/hello/libgnunethello.la \
455  $(top_builddir)/src/util/libgnunetutil.la
456
457 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
458  test_quota_compliance.c
459 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
460  $(top_builddir)/src/transport/libgnunettransportnew.la \
461  $(top_builddir)/src/hello/libgnunethello.la \
462  $(top_builddir)/src/util/libgnunetutil.la
463
464 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
465 # test_quota_compliance.c
466 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
467 # $(top_builddir)/src/transport/libgnunettransportnew.la \
468 # $(top_builddir)/src/util/libgnunetutil.la
469
470 test_quota_compliance_http_SOURCES = \
471  test_quota_compliance.c
472 test_quota_compliance_http_LDADD = \
473  $(top_builddir)/src/transport/libgnunettransportnew.la \
474  $(top_builddir)/src/hello/libgnunethello.la \
475  $(top_builddir)/src/util/libgnunetutil.la
476
477  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
478  test_quota_compliance.c
479 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
480  $(top_builddir)/src/transport/libgnunettransportnew.la \
481  $(top_builddir)/src/hello/libgnunethello.la \
482  $(top_builddir)/src/util/libgnunetutil.la
483
484 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
485 # test_quota_compliance.c
486 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
487 # $(top_builddir)/src/transport/libgnunettransportnew.la \
488 # $(top_builddir)/src/util/libgnunetutil.la
489
490 test_quota_compliance_https_SOURCES = \
491  test_quota_compliance.c
492 test_quota_compliance_https_LDADD = \
493  $(top_builddir)/src/transport/libgnunettransportnew.la \
494  $(top_builddir)/src/hello/libgnunethello.la \
495  $(top_builddir)/src/util/libgnunetutil.la
496
497  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
498  test_quota_compliance.c
499 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
500  $(top_builddir)/src/transport/libgnunettransportnew.la \
501  $(top_builddir)/src/hello/libgnunethello.la \
502  $(top_builddir)/src/util/libgnunetutil.la
503
504 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
505 # test_quota_compliance.c
506 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
507 # $(top_builddir)/src/transport/libgnunettransportnew.la \
508 # $(top_builddir)/src/util/libgnunetutil.la
509
510 test_quota_compliance_udp_SOURCES = \
511  test_quota_compliance.c
512 test_quota_compliance_udp_LDADD = \
513  $(top_builddir)/src/transport/libgnunettransportnew.la \
514  $(top_builddir)/src/hello/libgnunethello.la \
515  $(top_builddir)/src/util/libgnunetutil.la
516
517 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
518  test_quota_compliance.c
519 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
520  $(top_builddir)/src/transport/libgnunettransportnew.la \
521  $(top_builddir)/src/hello/libgnunethello.la \
522  $(top_builddir)/src/util/libgnunetutil.la
523
524 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
525 # test_quota_compliance.c
526 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
527 # $(top_builddir)/src/transport/libgnunettransportnew.la \
528 # $(top_builddir)/src/util/libgnunetutil.la 
529
530 test_quota_compliance_unix_SOURCES = \
531  test_quota_compliance.c
532 test_quota_compliance_unix_LDADD = \
533  $(top_builddir)/src/transport/libgnunettransportnew.la \
534  $(top_builddir)/src/hello/libgnunethello.la \
535  $(top_builddir)/src/util/libgnunetutil.la
536
537 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
538  test_quota_compliance.c
539 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
540  $(top_builddir)/src/transport/libgnunettransportnew.la \
541  $(top_builddir)/src/hello/libgnunethello.la \
542  $(top_builddir)/src/util/libgnunetutil.la
543
544
545 test_transport_api_multi_SOURCES = \
546  test_transport_api.c
547 test_transport_api_multi_LDADD = \
548  $(top_builddir)/src/transport/libgnunettransportnew.la \
549  $(top_builddir)/src/hello/libgnunethello.la \
550  $(top_builddir)/src/util/libgnunetutil.la  
551 EXTRA_DIST = \
552   gnunet-transport-certificate-creation \
553   ats_mlp_p100_m400.problem \
554   test_transport_api_data.conf \
555   test_transport_api_tcp_peer1.conf \
556   test_transport_api_tcp_peer2.conf \
557   test_transport_api_udp_peer1.conf \
558   test_transport_api_udp_peer2.conf \
559   test_transport_api_unix_peer1.conf \
560   test_transport_api_unix_peer2.conf \
561   test_transport_api_udp_nat_peer1.conf \
562   test_transport_api_udp_nat_peer2.conf \
563   test_transport_api_tcp_nat_peer1.conf \
564   test_transport_api_tcp_nat_peer2.conf \
565   test_plugin_transport_data.conf \
566   test_transport_api_http_peer1.conf \
567   test_transport_api_http_peer2.conf \
568   test_transport_api_https_peer1.conf \
569   test_transport_api_https_peer2.conf \
570   test_transport_api_wlan_peer1.conf \
571   test_transport_api_wlan_peer2.conf \
572   test_transport_api_multi_peer1.conf \
573   test_transport_api_multi_peer2.conf \
574   test_transport_api_rel_http_peer1.conf \
575   test_transport_api_rel_http_peer2.conf \
576   test_transport_api_rel_https_peer1.conf \
577   test_transport_api_rel_https_peer2.conf \
578   test_plugin_transport_data_http.conf \
579   test_plugin_transport_data.conf \
580   test_quota_compliance_data.conf \
581   test_quota_compliance_tcp_peer1.conf \
582   test_quota_compliance_tcp_peer2.conf \
583   test_quota_compliance_http_peer1.conf \
584   test_quota_compliance_http_peer2.conf \
585   test_quota_compliance_https_peer1.conf \
586   test_quota_compliance_https_peer2.conf \
587   test_quota_compliance_udp_peer1.conf \
588   test_quota_compliance_udp_peer2.conf \
589   test_quota_compliance_unix_peer1.conf \
590   test_quota_compliance_unix_peer2.conf \
591   test_plugin_transport_data_udp.conf \
592   test_transport_ats_1addr.conf \
593   test_transport_ats_2addr.conf \
594   test_transport_ats_4addr.conf