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