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