stuff
[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_blacklist.h gnunet-service-transport_blacklist.c \
157  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
158  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
159  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
160  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
161  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
162 gnunet_service_transport_new_LDADD = \
163   $(top_builddir)/src/hello/libgnunethello.la \
164   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
165   $(top_builddir)/src/statistics/libgnunetstatistics.la \
166   $(top_builddir)/src/util/libgnunetutil.la \
167   $(GN_GLPK) \
168   $(GN_LIBINTL)
169
170 plugin_LTLIBRARIES = \
171   libgnunet_plugin_transport_tcp.la \
172   libgnunet_plugin_transport_udp.la \
173   $(UNIX_PLUGIN_LA) \
174   $(HTTP_PLUGIN_LA) \
175   $(HTTPS_PLUGIN_LA) \
176   $(WLAN_PLUGIN_LA) \
177   libgnunet_plugin_transport_template.la
178
179 libgnunet_plugin_transport_tcp_la_SOURCES = \
180   plugin_transport_tcp.c
181 libgnunet_plugin_transport_tcp_la_LIBADD = \
182   $(top_builddir)/src/hello/libgnunethello.la \
183   $(top_builddir)/src/statistics/libgnunetstatistics.la \
184   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
185   $(top_builddir)/src/nat/libgnunetnat.la \
186   $(top_builddir)/src/util/libgnunetutil.la 
187 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
188  $(GN_PLUGIN_LDFLAGS)
189
190 libgnunet_plugin_transport_template_la_SOURCES = \
191   plugin_transport_template.c
192 libgnunet_plugin_transport_template_la_LIBADD = \
193   $(top_builddir)/src/util/libgnunetutil.la 
194 libgnunet_plugin_transport_template_la_LDFLAGS = \
195  $(GN_PLUGIN_LDFLAGS)
196
197 libgnunet_plugin_transport_wlan_la_SOURCES = \
198   plugin_transport_wlan.c plugin_transport_wlan.h
199 libgnunet_plugin_transport_wlan_la_LIBADD = \
200   $(top_builddir)/src/hello/libgnunethello.la \
201   $(top_builddir)/src/statistics/libgnunetstatistics.la \
202   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
203   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
204   $(top_builddir)/src/util/libgnunetutil.la 
205 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
206   $(GN_PLUGIN_LDFLAGS)
207
208 libgnunet_plugin_transport_udp_la_SOURCES = \
209   plugin_transport_udp.c
210 libgnunet_plugin_transport_udp_la_LIBADD = \
211   $(top_builddir)/src/hello/libgnunethello.la \
212   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
213   $(top_builddir)/src/statistics/libgnunetstatistics.la \
214   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
215   $(top_builddir)/src/nat/libgnunetnat.la \
216   $(top_builddir)/src/util/libgnunetutil.la 
217 libgnunet_plugin_transport_udp_la_LDFLAGS = \
218  $(GN_PLUGIN_LDFLAGS)
219
220 libgnunet_plugin_transport_unix_la_SOURCES = \
221   plugin_transport_unix.c
222 libgnunet_plugin_transport_unix_la_LIBADD = \
223   $(top_builddir)/src/hello/libgnunethello.la \
224   $(top_builddir)/src/statistics/libgnunetstatistics.la \
225   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
226   $(top_builddir)/src/util/libgnunetutil.la 
227 libgnunet_plugin_transport_unix_la_LDFLAGS = \
228  $(GN_PLUGIN_LDFLAGS)
229
230 libgnunet_plugin_transport_http_la_SOURCES = \
231   plugin_transport_http.c
232 libgnunet_plugin_transport_http_la_LIBADD = \
233   $(top_builddir)/src/hello/libgnunethello.la \
234   $(top_builddir)/src/statistics/libgnunetstatistics.la \
235   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
236   @LIBCURL@ \
237   $(top_builddir)/src/nat/libgnunetnat.la \
238   $(top_builddir)/src/util/libgnunetutil.la 
239 libgnunet_plugin_transport_http_la_LDFLAGS = \
240  $(GN_LIBMHD) \
241  $(GN_PLUGIN_LDFLAGS)
242 libgnunet_plugin_transport_http_la_CFLAGS = \
243  $(CFLAGS) 
244 libgnunet_plugin_transport_http_la_CPPFLAGS = \
245  @LIBCURL_CPPFLAGS@
246
247 libgnunet_plugin_transport_https_la_SOURCES = \
248   plugin_transport_http.c
249 libgnunet_plugin_transport_https_la_LIBADD = \
250   $(top_builddir)/src/hello/libgnunethello.la \
251   $(top_builddir)/src/statistics/libgnunetstatistics.la \
252   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
253   @LIBCURL@ \
254   $(top_builddir)/src/nat/libgnunetnat.la \
255   $(top_builddir)/src/util/libgnunetutil.la 
256 libgnunet_plugin_transport_https_la_LDFLAGS = \
257  $(GN_LIBMHD) \
258  $(GN_PLUGIN_LDFLAGS)
259 libgnunet_plugin_transport_https_la_CFLAGS = \
260  $(CFLAGS) -DBUILD_HTTPS 
261 libgnunet_plugin_transport_https_la_CPPFLAGS = \
262  @LIBCURL_CPPFLAGS@
263
264
265 check_PROGRAMS = \
266  test_transport_api_disconnect \
267  $(TEST_TRANSPORT_ATS) \
268  $(ATS_TRANSPORT_BENCHMARKS) \
269  test_transport_api_tcp \
270  test_transport_api_tcp_nat \
271  test_transport_api_udp \
272  $(UNIX_PLUGIN_TEST) \
273  test_transport_api_udp_nat \
274  $(HTTP_PLUGIN_TEST) \
275  $(HTTP_API_TEST) \
276  $(HTTPS_PLUGIN_TEST) \
277  $(HTTPS_API_TEST) \
278  test_transport_api_multi \
279  test_transport_api_reliability_tcp \
280  test_transport_api_reliability_tcp_nat \
281  test_transport_api_unreliability_udp \
282  $(UNIX_REL_TEST) \
283  $(HTTP_REL_TEST) \
284  $(HTTPS_REL_TEST) \
285  test_transport_api_multiaddress_tcp \
286  test_quota_compliance_tcp \
287  test_quota_compliance_tcp_asymmetric_recv_constant \
288  test_quota_compliance_udp \
289  test_quota_compliance_udp_asymmetric_recv_constant \
290  $(UNIX_QUOTA_TEST) \
291  $(HTTP_QUOTA_TEST) \
292  $(HTTPS_QUOTA_TEST) \
293  $(WLAN_API_TEST) \
294  $(WLAN_REL_TEST) \
295  $(WLAN_UREL_TEST)
296
297 if ENABLE_TEST_RUN
298 TESTS = \
299  test_transport_api_disconnect \
300  $(TEST_TRANSPORT_ATS) \
301  $(ATS_TRANSPORT_BENCHMARKS) \
302  test_transport_api_tcp \
303  test_transport_api_tcp_nat \
304  test_transport_api_udp \
305  $(UNIX_PLUGIN_TEST) \
306  test_transport_api_udp_nat \
307  $(HTTP_PLUGIN_TEST) \
308  $(HTTP_API_TEST) \
309  $(HTTPS_PLUGIN_TEST) \
310  $(HTTPS_API_TEST) \
311  test_transport_api_multiaddress_tcp \
312  test_transport_api_multi \
313  test_transport_api_reliability_tcp \
314  test_transport_api_reliability_tcp_nat \
315  test_transport_api_unreliability_udp \
316  $(UNIX_REL_TEST) \
317  $(HTTP_REL_TEST) \
318  $(HTTPS_REL_TEST) \
319  test_quota_compliance_tcp \
320  test_quota_compliance_tcp_asymmetric_recv_constant \
321  test_quota_compliance_udp \
322  test_quota_compliance_udp_asymmetric_recv_constant \
323  $(UNIX_QUOTA_TEST) \
324  $(HTTP_QUOTA_TEST) \
325  $(HTTPS_QUOTA_TEST) \
326  $(WLAN_API_TEST) \
327  $(WLAN_REL_TEST) \
328  $(WLAN_UREL_TEST)
329 endif
330
331
332 test_transport_api_disconnect_SOURCES = \
333  test_transport_api_disconnect.c
334 test_transport_api_disconnect_LDADD = \
335  $(top_builddir)/src/transport/libgnunettransport.la \
336  $(top_builddir)/src/statistics/libgnunetstatistics.la \
337  $(top_builddir)/src/testing/libgnunettesting.la \
338  $(top_builddir)/src/util/libgnunetutil.la 
339
340
341 test_transport_ats_SOURCES = \
342  test_transport_ats.c $(TRANSPORT_ATS_SRC)
343 test_transport_ats_LDADD = -lm \
344  -lglpk \
345  $(top_builddir)/src/transport/libgnunettransport.la \
346  $(top_builddir)/src/statistics/libgnunetstatistics.la \
347  $(top_builddir)/src/testing/libgnunettesting.la \
348  $(top_builddir)/src/util/libgnunetutil.la 
349
350 test_transport_ats_multiple_peers_SOURCES = \
351  test_transport_ats_multiple_peers.c $(TRANSPORT_ATS_SRC)
352 test_transport_ats_multiple_peers_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 perf_transport_ats_SOURCES = \
360  perf_transport_ats.c
361 perf_transport_ats_LDADD = \
362  -lglpk \
363  $(top_builddir)/src/util/libgnunetutil.la  
364
365 test_transport_api_tcp_SOURCES = \
366  test_transport_api.c
367 test_transport_api_tcp_LDADD = \
368  $(top_builddir)/src/transport/libgnunettransport.la \
369  $(top_builddir)/src/hello/libgnunethello.la \
370  $(top_builddir)/src/util/libgnunetutil.la  
371
372 test_transport_api_tcp_nat_SOURCES = \
373  test_transport_api.c
374 test_transport_api_tcp_nat_LDADD = \
375  $(top_builddir)/src/transport/libgnunettransport.la \
376  $(top_builddir)/src/hello/libgnunethello.la \
377  $(top_builddir)/src/util/libgnunetutil.la  
378
379 test_transport_api_reliability_tcp_SOURCES = \
380  test_transport_api_reliability.c
381 test_transport_api_reliability_tcp_LDADD = \
382  $(top_builddir)/src/transport/libgnunettransport.la \
383  $(top_builddir)/src/hello/libgnunethello.la \
384  $(top_builddir)/src/util/libgnunetutil.la  
385
386 test_transport_api_multiaddress_tcp_SOURCES = \
387  test_transport_api_multiaddress.c
388 test_transport_api_multiaddress_tcp_LDADD = \
389  $(top_builddir)/src/transport/libgnunettransport.la \
390  $(top_builddir)/src/hello/libgnunethello.la \
391  $(top_builddir)/src/util/libgnunetutil.la  
392
393 test_transport_api_reliability_tcp_nat_SOURCES = \
394  test_transport_api_reliability.c
395 test_transport_api_reliability_tcp_nat_LDADD = \
396  $(top_builddir)/src/transport/libgnunettransport.la \
397  $(top_builddir)/src/hello/libgnunethello.la \
398  $(top_builddir)/src/util/libgnunetutil.la 
399
400 test_transport_api_reliability_wlan_SOURCES = \
401  test_transport_api_reliability.c
402 test_transport_api_reliability_wlan_LDADD = \
403  $(top_builddir)/src/transport/libgnunettransport.la \
404  $(top_builddir)/src/hello/libgnunethello.la \
405  $(top_builddir)/src/util/libgnunetutil.la
406
407 test_transport_api_unreliability_wlan_SOURCES = \
408  test_transport_api_unreliability.c
409 test_transport_api_unreliability_wlan_LDADD = \
410  $(top_builddir)/src/transport/libgnunettransport.la \
411  $(top_builddir)/src/hello/libgnunethello.la \
412  $(top_builddir)/src/util/libgnunetutil.la
413
414 test_transport_api_udp_SOURCES = \
415  test_transport_api.c
416 test_transport_api_udp_LDADD = \
417  $(top_builddir)/src/transport/libgnunettransport.la \
418  $(top_builddir)/src/hello/libgnunethello.la \
419  $(top_builddir)/src/util/libgnunetutil.la  
420
421 test_transport_api_udp_nat_SOURCES = \
422  test_transport_api.c
423 test_transport_api_udp_nat_LDADD = \
424  $(top_builddir)/src/transport/libgnunettransport.la \
425  $(top_builddir)/src/hello/libgnunethello.la \
426  $(top_builddir)/src/util/libgnunetutil.la   
427
428 test_transport_api_unix_SOURCES = \
429  test_transport_api.c
430 test_transport_api_unix_LDADD = \
431  $(top_builddir)/src/transport/libgnunettransport.la \
432  $(top_builddir)/src/hello/libgnunethello.la \
433  $(top_builddir)/src/util/libgnunetutil.la 
434
435 #test_plugin_transport_http_SOURCES = \
436 # test_plugin_transport_http.c
437 #test_plugin_transport_http_LDADD = \
438 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
439 # @LIBCURL@ \
440 # $(top_builddir)/src/hello/libgnunethello.la \
441 # $(top_builddir)/src/util/libgnunetutil.la  
442
443 test_transport_api_http_SOURCES = \
444  test_transport_api.c
445 test_transport_api_http_LDADD = \
446  $(top_builddir)/src/transport/libgnunettransport.la \
447  $(top_builddir)/src/hello/libgnunethello.la \
448  $(top_builddir)/src/util/libgnunetutil.la  
449
450 test_transport_api_reliability_http_SOURCES = \
451  test_transport_api_reliability.c
452 test_transport_api_reliability_http_LDADD = \
453  $(top_builddir)/src/transport/libgnunettransport.la \
454  $(top_builddir)/src/hello/libgnunethello.la \
455  $(top_builddir)/src/util/libgnunetutil.la
456
457 #test_plugin_transport_https_SOURCES = \
458 # test_plugin_transport_https.c
459 #test_plugin_transport_https_LDADD = \
460 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
461 # @LIBCURL@ \
462 # $(top_builddir)/src/hello/libgnunethello.la \
463 # $(top_builddir)/src/util/libgnunetutil.la  
464
465 test_transport_api_https_SOURCES = \
466  test_transport_api.c
467 test_transport_api_https_LDADD = \
468  $(top_builddir)/src/transport/libgnunettransport.la \
469  $(top_builddir)/src/hello/libgnunethello.la \
470  $(top_builddir)/src/util/libgnunetutil.la  
471
472 test_transport_api_reliability_https_SOURCES = \
473  test_transport_api_reliability.c
474 test_transport_api_reliability_https_LDADD = \
475  $(top_builddir)/src/transport/libgnunettransport.la \
476  $(top_builddir)/src/hello/libgnunethello.la \
477  $(top_builddir)/src/util/libgnunetutil.la
478
479 test_transport_api_unreliability_unix_SOURCES = \
480  test_transport_api_unreliability.c
481 test_transport_api_unreliability_unix_LDADD = \
482  $(top_builddir)/src/transport/libgnunettransport.la \
483  $(top_builddir)/src/hello/libgnunethello.la \
484  $(top_builddir)/src/util/libgnunetutil.la
485
486 test_transport_api_unreliability_udp_SOURCES = \
487  test_transport_api_unreliability.c
488 test_transport_api_unreliability_udp_LDADD = \
489  $(top_builddir)/src/transport/libgnunettransport.la \
490  $(top_builddir)/src/hello/libgnunethello.la \
491  $(top_builddir)/src/util/libgnunetutil.la
492
493 if LINUX
494 test_transport_api_wlan_SOURCES = \
495  test_transport_api.c
496 test_transport_api_wlan_LDADD = \
497  $(top_builddir)/src/transport/libgnunettransport.la \
498  $(top_builddir)/src/hello/libgnunethello.la \
499  $(top_builddir)/src/util/libgnunetutil.la  
500 endif
501
502 test_quota_compliance_tcp_SOURCES = \
503  test_quota_compliance.c
504 test_quota_compliance_tcp_LDADD = \
505  $(top_builddir)/src/transport/libgnunettransport.la \
506  $(top_builddir)/src/hello/libgnunethello.la \
507  $(top_builddir)/src/util/libgnunetutil.la
508
509 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
510  test_quota_compliance.c
511 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
512  $(top_builddir)/src/transport/libgnunettransport.la \
513  $(top_builddir)/src/hello/libgnunethello.la \
514  $(top_builddir)/src/util/libgnunetutil.la
515
516 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
517 # test_quota_compliance.c
518 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
519 # $(top_builddir)/src/transport/libgnunettransport.la \
520 # $(top_builddir)/src/util/libgnunetutil.la
521
522 test_quota_compliance_http_SOURCES = \
523  test_quota_compliance.c
524 test_quota_compliance_http_LDADD = \
525  $(top_builddir)/src/transport/libgnunettransport.la \
526  $(top_builddir)/src/hello/libgnunethello.la \
527  $(top_builddir)/src/util/libgnunetutil.la
528
529  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
530  test_quota_compliance.c
531 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
532  $(top_builddir)/src/transport/libgnunettransport.la \
533  $(top_builddir)/src/hello/libgnunethello.la \
534  $(top_builddir)/src/util/libgnunetutil.la
535
536 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
537 # test_quota_compliance.c
538 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
539 # $(top_builddir)/src/transport/libgnunettransport.la \
540 # $(top_builddir)/src/util/libgnunetutil.la
541
542 test_quota_compliance_https_SOURCES = \
543  test_quota_compliance.c
544 test_quota_compliance_https_LDADD = \
545  $(top_builddir)/src/transport/libgnunettransport.la \
546  $(top_builddir)/src/hello/libgnunethello.la \
547  $(top_builddir)/src/util/libgnunetutil.la
548
549  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
550  test_quota_compliance.c
551 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
552  $(top_builddir)/src/transport/libgnunettransport.la \
553  $(top_builddir)/src/hello/libgnunethello.la \
554  $(top_builddir)/src/util/libgnunetutil.la
555
556 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
557 # test_quota_compliance.c
558 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
559 # $(top_builddir)/src/transport/libgnunettransport.la \
560 # $(top_builddir)/src/util/libgnunetutil.la
561
562 test_quota_compliance_udp_SOURCES = \
563  test_quota_compliance.c
564 test_quota_compliance_udp_LDADD = \
565  $(top_builddir)/src/transport/libgnunettransport.la \
566  $(top_builddir)/src/hello/libgnunethello.la \
567  $(top_builddir)/src/util/libgnunetutil.la
568
569 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
570  test_quota_compliance.c
571 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
572  $(top_builddir)/src/transport/libgnunettransport.la \
573  $(top_builddir)/src/hello/libgnunethello.la \
574  $(top_builddir)/src/util/libgnunetutil.la
575
576 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
577 # test_quota_compliance.c
578 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
579 # $(top_builddir)/src/transport/libgnunettransport.la \
580 # $(top_builddir)/src/util/libgnunetutil.la 
581
582 test_quota_compliance_unix_SOURCES = \
583  test_quota_compliance.c
584 test_quota_compliance_unix_LDADD = \
585  $(top_builddir)/src/transport/libgnunettransport.la \
586  $(top_builddir)/src/hello/libgnunethello.la \
587  $(top_builddir)/src/util/libgnunetutil.la
588
589 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
590  test_quota_compliance.c
591 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
592  $(top_builddir)/src/transport/libgnunettransport.la \
593  $(top_builddir)/src/hello/libgnunethello.la \
594  $(top_builddir)/src/util/libgnunetutil.la
595
596
597 test_transport_api_multi_SOURCES = \
598  test_transport_api.c
599 test_transport_api_multi_LDADD = \
600  $(top_builddir)/src/transport/libgnunettransport.la \
601  $(top_builddir)/src/hello/libgnunethello.la \
602  $(top_builddir)/src/util/libgnunetutil.la  
603 EXTRA_DIST = \
604   gnunet-transport-certificate-creation \
605   ats_mlp_p100_m400.problem \
606   test_transport_defaults.conf \
607   test_transport_api_data.conf \
608   test_transport_api_tcp_peer1.conf \
609   test_transport_api_tcp_peer2.conf \
610   test_transport_api_udp_peer1.conf \
611   test_transport_api_udp_peer2.conf \
612   test_transport_api_unix_peer1.conf \
613   test_transport_api_unix_peer2.conf \
614   test_transport_api_udp_nat_peer1.conf \
615   test_transport_api_udp_nat_peer2.conf \
616   test_transport_api_tcp_nat_peer1.conf \
617   test_transport_api_tcp_nat_peer2.conf \
618   test_plugin_transport_data.conf \
619   test_transport_api_http_peer1.conf \
620   test_transport_api_http_peer2.conf \
621   test_transport_api_https_peer1.conf \
622   test_transport_api_https_peer2.conf \
623   test_transport_api_wlan_peer1.conf \
624   test_transport_api_wlan_peer2.conf \
625   test_transport_api_multi_peer1.conf \
626   test_transport_api_multi_peer2.conf \
627   test_transport_api_rel_http_peer1.conf \
628   test_transport_api_rel_http_peer2.conf \
629   test_transport_api_rel_https_peer1.conf \
630   test_transport_api_rel_https_peer2.conf \
631   test_plugin_transport_data_http.conf \
632   test_plugin_transport_data.conf \
633   test_quota_compliance_data.conf \
634   test_quota_compliance_tcp_peer1.conf \
635   test_quota_compliance_tcp_peer2.conf \
636   test_quota_compliance_http_peer1.conf \
637   test_quota_compliance_http_peer2.conf \
638   test_quota_compliance_https_peer1.conf \
639   test_quota_compliance_https_peer2.conf \
640   test_quota_compliance_udp_peer1.conf \
641   test_quota_compliance_udp_peer2.conf \
642   test_quota_compliance_unix_peer1.conf \
643   test_quota_compliance_unix_peer2.conf \
644   test_plugin_transport_data_udp.conf \
645   test_transport_ats_1addr.conf \
646   test_transport_ats_2addr.conf \
647   test_transport_ats_4addr.conf