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