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