1 INCLUDES = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
8 GN_LIBMHD = -lmicrohttpd
9 HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la
10 HTTP_PLUGIN_TEST = test_plugin_transport_http
11 HTTP_API_TEST = test_transport_api_http
12 HTTP_REL_TEST = test_transport_api_reliability_http
13 HTTP_QUOTA_TEST = test_quota_compliance_http \
14 test_quota_compliance_http_asymmetric_recv_constant
15 HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
16 HTTPS_PLUGIN_TEST = test_plugin_transport_https
17 HTTPS_API_TEST = test_transport_api_https
18 HTTPS_REL_TEST = test_transport_api_reliability_https
19 HTTPS_QUOTA_TEST = test_quota_compliance_https \
20 test_quota_compliance_https_asymmetric_recv_constant
25 AM_CFLAGS = --coverage -O0
30 WLAN_BIN = gnunet-transport-wlan-helper
31 WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
32 WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
33 WLAN_API_TEST = test_transport_api_wlan
34 WLAN_REL_TEST = test_transport_api_reliability_wlan
35 WLAN_UREL_TEST = test_transport_api_unreliability_wlan
40 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
41 UNIX_PLUGIN_TEST = test_transport_api_unix
42 UNIX_REL_TEST = test_transport_api_unreliability_unix
43 UNIX_QUOTA_TEST = test_quota_compliance_unix \
44 test_quota_compliance_unix_asymmetric_recv_constant
47 #noinst_PROGRAMS = ${check_PROGRAMS}
50 libgnunettransport.la \
51 libgnunettransportnew.la
53 libgnunettransportnew_la_SOURCES = \
54 transport_api_new.c transport.h \
55 transport_api_blacklist.c \
56 transport_api_address_lookup.c
57 libgnunettransportnew_la_LIBADD = \
58 $(top_builddir)/src/hello/libgnunethello.la \
59 $(top_builddir)/src/util/libgnunetutil.la \
61 libgnunettransportnew_la_LDFLAGS = \
62 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
65 libgnunettransport_la_SOURCES = \
66 transport_api.c transport.h \
67 transport_api_blacklist.c \
68 transport_api_address_lookup.c
69 libgnunettransport_la_LIBADD = \
70 $(top_builddir)/src/hello/libgnunethello.la \
71 $(top_builddir)/src/util/libgnunetutil.la \
73 libgnunettransport_la_LDFLAGS = \
74 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
81 gnunet-service-transport \
85 gnunet-transport-certificate-creation
88 gnunet_transport_wlan_helper_SOURCES = \
90 wlan/crctable_osdep.h \
91 wlan/helper_common.c wlan/helper_common.h \
93 wlan/ieee80211_radiotap.h \
94 wlan/loopback_helper.h \
95 wlan/radiotap-parser.c wlan/radiotap-parser.h \
96 gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
98 gnunet_transport_wlan_helper_dummy_SOURCES = \
99 wlan/radiotap-parser.c \
100 wlan/helper_common.c \
101 test_plugin_transport_wlan_dummy.c
103 gnunet_transport_wlan_helper_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la
106 gnunet_transport_wlan_helper_dummy_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la
109 gnunet_transport_SOURCES = \
111 gnunet_transport_LDADD = \
112 $(top_builddir)/src/transport/libgnunettransportnew.la \
113 $(top_builddir)/src/util/libgnunetutil.la \
115 gnunet_transport_DEPENDENCIES = \
116 libgnunettransportnew.la
122 gnunet_service_transport_SOURCES = \
123 gnunet-service-transport.c
124 gnunet_service_transport_LDADD = \
125 $(top_builddir)/src/hello/libgnunethello.la \
126 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
127 $(top_builddir)/src/statistics/libgnunetstatistics.la \
128 $(top_builddir)/src/util/libgnunetutil.la \
132 plugin_LTLIBRARIES = \
133 libgnunet_plugin_transport_tcp.la \
134 libgnunet_plugin_transport_udp.la \
139 libgnunet_plugin_transport_template.la
141 libgnunet_plugin_transport_tcp_la_SOURCES = \
142 plugin_transport_tcp.c
143 libgnunet_plugin_transport_tcp_la_LIBADD = \
144 $(top_builddir)/src/hello/libgnunethello.la \
145 $(top_builddir)/src/statistics/libgnunetstatistics.la \
146 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
147 $(top_builddir)/src/nat/libgnunetnat.la \
148 $(top_builddir)/src/util/libgnunetutil.la
149 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
152 libgnunet_plugin_transport_template_la_SOURCES = \
153 plugin_transport_template.c
154 libgnunet_plugin_transport_template_la_LIBADD = \
155 $(top_builddir)/src/util/libgnunetutil.la
156 libgnunet_plugin_transport_template_la_LDFLAGS = \
159 libgnunet_plugin_transport_wlan_la_SOURCES = \
160 plugin_transport_wlan.c plugin_transport_wlan.h
161 libgnunet_plugin_transport_wlan_la_LIBADD = \
162 $(top_builddir)/src/hello/libgnunethello.la \
163 $(top_builddir)/src/statistics/libgnunetstatistics.la \
164 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
165 $(top_builddir)/src/util/libgnunetutil.la
166 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
169 libgnunet_plugin_transport_udp_la_SOURCES = \
170 plugin_transport_udp.c
171 libgnunet_plugin_transport_udp_la_LIBADD = \
172 $(top_builddir)/src/hello/libgnunethello.la \
173 $(top_builddir)/src/statistics/libgnunetstatistics.la \
174 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
175 $(top_builddir)/src/nat/libgnunetnat.la \
176 $(top_builddir)/src/util/libgnunetutil.la
177 libgnunet_plugin_transport_udp_la_LDFLAGS = \
180 libgnunet_plugin_transport_unix_la_SOURCES = \
181 plugin_transport_unix.c
182 libgnunet_plugin_transport_unix_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/util/libgnunetutil.la
187 libgnunet_plugin_transport_unix_la_LDFLAGS = \
190 libgnunet_plugin_transport_http_la_SOURCES = \
191 plugin_transport_http.c
192 libgnunet_plugin_transport_http_la_LIBADD = \
193 $(top_builddir)/src/hello/libgnunethello.la \
194 $(top_builddir)/src/statistics/libgnunetstatistics.la \
195 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
197 $(top_builddir)/src/nat/libgnunetnat.la \
198 $(top_builddir)/src/util/libgnunetutil.la
199 libgnunet_plugin_transport_http_la_LDFLAGS = \
202 libgnunet_plugin_transport_http_la_CFLAGS = \
204 libgnunet_plugin_transport_http_la_CPPFLAGS = \
207 libgnunet_plugin_transport_https_la_SOURCES = \
208 plugin_transport_http.c
209 libgnunet_plugin_transport_https_la_LIBADD = \
210 $(top_builddir)/src/hello/libgnunethello.la \
211 $(top_builddir)/src/statistics/libgnunetstatistics.la \
212 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
214 $(top_builddir)/src/nat/libgnunetnat.la \
215 $(top_builddir)/src/util/libgnunetutil.la
216 libgnunet_plugin_transport_https_la_LDFLAGS = \
219 libgnunet_plugin_transport_https_la_CFLAGS = \
220 $(CFLAGS) -DBUILD_HTTPS
221 libgnunet_plugin_transport_https_la_CPPFLAGS = \
225 TRANSPORT_BENCHMARKS = \
231 $(TRANSPORT_BENCHMARKS) \
232 test_transport_api_tcp \
233 test_transport_api_tcp_nat \
234 test_transport_api_udp \
235 $(UNIX_PLUGIN_TEST) \
236 test_transport_api_udp_nat \
237 $(HTTP_PLUGIN_TEST) \
239 $(HTTPS_PLUGIN_TEST) \
241 test_transport_api_multi \
242 test_transport_api_reliability_tcp \
243 test_transport_api_reliability_tcp_nat \
244 test_transport_api_unreliability_udp \
248 test_quota_compliance_tcp \
249 test_quota_compliance_tcp_asymmetric_recv_constant \
250 test_quota_compliance_udp \
251 test_quota_compliance_udp_asymmetric_recv_constant \
254 $(HTTPS_QUOTA_TEST) \
263 test_transport_api_tcp \
264 test_transport_api_tcp_nat \
265 test_transport_api_udp \
266 $(UNIX_PLUGIN_TEST) \
267 test_transport_api_udp_nat \
268 $(HTTP_PLUGIN_TEST) \
270 $(HTTPS_PLUGIN_TEST) \
272 test_transport_api_multi \
273 test_transport_api_reliability_tcp \
274 test_transport_api_reliability_tcp_nat \
275 test_transport_api_unreliability_udp \
279 test_quota_compliance_tcp \
280 test_quota_compliance_tcp_asymmetric_recv_constant \
281 test_quota_compliance_udp \
282 test_quota_compliance_udp_asymmetric_recv_constant \
285 $(HTTPS_QUOTA_TEST) \
291 test_transport_ats_SOURCES = \
293 test_transport_ats_LDADD = -lm \
294 $(top_builddir)/src/transport/libgnunettransportnew.la \
295 $(top_builddir)/src/statistics/libgnunetstatistics.la \
296 $(top_builddir)/src/testing/libgnunettesting.la \
297 $(top_builddir)/src/util/libgnunetutil.la
299 perf_transport_ats_SOURCES = \
301 perf_transport_ats_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_transport_api_tcp_SOURCES = \
307 test_transport_api_tcp_LDADD = \
308 $(top_builddir)/src/transport/libgnunettransportnew.la \
309 $(top_builddir)/src/hello/libgnunethello.la \
310 $(top_builddir)/src/util/libgnunetutil.la
312 test_transport_api_tcp_nat_SOURCES = \
314 test_transport_api_tcp_nat_LDADD = \
315 $(top_builddir)/src/transport/libgnunettransportnew.la \
316 $(top_builddir)/src/hello/libgnunethello.la \
317 $(top_builddir)/src/util/libgnunetutil.la
319 test_transport_api_reliability_tcp_SOURCES = \
320 test_transport_api_reliability.c
321 test_transport_api_reliability_tcp_LDADD = \
322 $(top_builddir)/src/transport/libgnunettransportnew.la \
323 $(top_builddir)/src/hello/libgnunethello.la \
324 $(top_builddir)/src/util/libgnunetutil.la
326 test_transport_api_reliability_tcp_nat_SOURCES = \
327 test_transport_api_reliability.c
328 test_transport_api_reliability_tcp_nat_LDADD = \
329 $(top_builddir)/src/transport/libgnunettransportnew.la \
330 $(top_builddir)/src/hello/libgnunethello.la \
331 $(top_builddir)/src/util/libgnunetutil.la
333 test_transport_api_reliability_wlan_SOURCES = \
334 test_transport_api_reliability.c
335 test_transport_api_reliability_wlan_LDADD = \
336 $(top_builddir)/src/transport/libgnunettransportnew.la \
337 $(top_builddir)/src/hello/libgnunethello.la \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_transport_api_unreliability_wlan_SOURCES = \
341 test_transport_api_unreliability.c
342 test_transport_api_unreliability_wlan_LDADD = \
343 $(top_builddir)/src/transport/libgnunettransportnew.la \
344 $(top_builddir)/src/hello/libgnunethello.la \
345 $(top_builddir)/src/util/libgnunetutil.la
347 test_transport_api_udp_SOURCES = \
349 test_transport_api_udp_LDADD = \
350 $(top_builddir)/src/transport/libgnunettransportnew.la \
351 $(top_builddir)/src/hello/libgnunethello.la \
352 $(top_builddir)/src/util/libgnunetutil.la
354 test_transport_api_udp_nat_SOURCES = \
356 test_transport_api_udp_nat_LDADD = \
357 $(top_builddir)/src/transport/libgnunettransportnew.la \
358 $(top_builddir)/src/hello/libgnunethello.la \
359 $(top_builddir)/src/util/libgnunetutil.la
361 test_transport_api_unix_SOURCES = \
363 test_transport_api_unix_LDADD = \
364 $(top_builddir)/src/transport/libgnunettransportnew.la \
365 $(top_builddir)/src/hello/libgnunethello.la \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_plugin_transport_http_SOURCES = \
369 test_plugin_transport_http.c
370 test_plugin_transport_http_LDADD = \
371 $(top_builddir)/src/statistics/libgnunetstatistics.la \
373 $(top_builddir)/src/hello/libgnunethello.la \
374 $(top_builddir)/src/util/libgnunetutil.la
376 test_transport_api_http_SOURCES = \
378 test_transport_api_http_LDADD = \
379 $(top_builddir)/src/transport/libgnunettransportnew.la \
380 $(top_builddir)/src/hello/libgnunethello.la \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_transport_api_reliability_http_SOURCES = \
384 test_transport_api_reliability.c
385 test_transport_api_reliability_http_LDADD = \
386 $(top_builddir)/src/transport/libgnunettransportnew.la \
387 $(top_builddir)/src/hello/libgnunethello.la \
388 $(top_builddir)/src/util/libgnunetutil.la
390 test_plugin_transport_https_SOURCES = \
391 test_plugin_transport_https.c
392 test_plugin_transport_https_LDADD = \
393 $(top_builddir)/src/statistics/libgnunetstatistics.la \
395 $(top_builddir)/src/hello/libgnunethello.la \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_transport_api_https_SOURCES = \
400 test_transport_api_https_LDADD = \
401 $(top_builddir)/src/transport/libgnunettransportnew.la \
402 $(top_builddir)/src/hello/libgnunethello.la \
403 $(top_builddir)/src/util/libgnunetutil.la
405 test_transport_api_reliability_https_SOURCES = \
406 test_transport_api_reliability.c
407 test_transport_api_reliability_https_LDADD = \
408 $(top_builddir)/src/transport/libgnunettransportnew.la \
409 $(top_builddir)/src/hello/libgnunethello.la \
410 $(top_builddir)/src/util/libgnunetutil.la
412 test_transport_api_unreliability_unix_SOURCES = \
413 test_transport_api_unreliability.c
414 test_transport_api_unreliability_unix_LDADD = \
415 $(top_builddir)/src/transport/libgnunettransportnew.la \
416 $(top_builddir)/src/hello/libgnunethello.la \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_transport_api_unreliability_udp_SOURCES = \
420 test_transport_api_unreliability.c
421 test_transport_api_unreliability_udp_LDADD = \
422 $(top_builddir)/src/transport/libgnunettransportnew.la \
423 $(top_builddir)/src/hello/libgnunethello.la \
424 $(top_builddir)/src/util/libgnunetutil.la
427 test_transport_api_wlan_SOURCES = \
429 test_transport_api_wlan_LDADD = \
430 $(top_builddir)/src/transport/libgnunettransportnew.la \
431 $(top_builddir)/src/hello/libgnunethello.la \
432 $(top_builddir)/src/util/libgnunetutil.la
435 test_quota_compliance_tcp_SOURCES = \
436 test_quota_compliance.c
437 test_quota_compliance_tcp_LDADD = \
438 $(top_builddir)/src/transport/libgnunettransportnew.la \
439 $(top_builddir)/src/hello/libgnunethello.la \
440 $(top_builddir)/src/util/libgnunetutil.la
442 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
443 test_quota_compliance.c
444 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
445 $(top_builddir)/src/transport/libgnunettransportnew.la \
446 $(top_builddir)/src/hello/libgnunethello.la \
447 $(top_builddir)/src/util/libgnunetutil.la
449 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
450 # test_quota_compliance.c
451 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
452 # $(top_builddir)/src/transport/libgnunettransportnew.la \
453 # $(top_builddir)/src/util/libgnunetutil.la
455 test_quota_compliance_http_SOURCES = \
456 test_quota_compliance.c
457 test_quota_compliance_http_LDADD = \
458 $(top_builddir)/src/transport/libgnunettransportnew.la \
459 $(top_builddir)/src/hello/libgnunethello.la \
460 $(top_builddir)/src/util/libgnunetutil.la
462 test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
463 test_quota_compliance.c
464 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
465 $(top_builddir)/src/transport/libgnunettransportnew.la \
466 $(top_builddir)/src/hello/libgnunethello.la \
467 $(top_builddir)/src/util/libgnunetutil.la
469 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
470 # test_quota_compliance.c
471 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
472 # $(top_builddir)/src/transport/libgnunettransportnew.la \
473 # $(top_builddir)/src/util/libgnunetutil.la
475 test_quota_compliance_https_SOURCES = \
476 test_quota_compliance.c
477 test_quota_compliance_https_LDADD = \
478 $(top_builddir)/src/transport/libgnunettransportnew.la \
479 $(top_builddir)/src/hello/libgnunethello.la \
480 $(top_builddir)/src/util/libgnunetutil.la
482 test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
483 test_quota_compliance.c
484 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
485 $(top_builddir)/src/transport/libgnunettransportnew.la \
486 $(top_builddir)/src/hello/libgnunethello.la \
487 $(top_builddir)/src/util/libgnunetutil.la
489 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
490 # test_quota_compliance.c
491 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
492 # $(top_builddir)/src/transport/libgnunettransportnew.la \
493 # $(top_builddir)/src/util/libgnunetutil.la
495 test_quota_compliance_udp_SOURCES = \
496 test_quota_compliance.c
497 test_quota_compliance_udp_LDADD = \
498 $(top_builddir)/src/transport/libgnunettransportnew.la \
499 $(top_builddir)/src/hello/libgnunethello.la \
500 $(top_builddir)/src/util/libgnunetutil.la
502 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
503 test_quota_compliance.c
504 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
505 $(top_builddir)/src/transport/libgnunettransportnew.la \
506 $(top_builddir)/src/hello/libgnunethello.la \
507 $(top_builddir)/src/util/libgnunetutil.la
509 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
510 # test_quota_compliance.c
511 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
512 # $(top_builddir)/src/transport/libgnunettransportnew.la \
513 # $(top_builddir)/src/util/libgnunetutil.la
515 test_quota_compliance_unix_SOURCES = \
516 test_quota_compliance.c
517 test_quota_compliance_unix_LDADD = \
518 $(top_builddir)/src/transport/libgnunettransportnew.la \
519 $(top_builddir)/src/hello/libgnunethello.la \
520 $(top_builddir)/src/util/libgnunetutil.la
522 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
523 test_quota_compliance.c
524 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
525 $(top_builddir)/src/transport/libgnunettransportnew.la \
526 $(top_builddir)/src/hello/libgnunethello.la \
527 $(top_builddir)/src/util/libgnunetutil.la
530 test_transport_api_multi_SOURCES = \
532 test_transport_api_multi_LDADD = \
533 $(top_builddir)/src/transport/libgnunettransportnew.la \
534 $(top_builddir)/src/hello/libgnunethello.la \
535 $(top_builddir)/src/util/libgnunetutil.la
537 gnunet-transport-certificate-creation \
538 ats_mlp_p100_m400.problem \
539 test_transport_api_data.conf \
540 test_transport_api_tcp_peer1.conf \
541 test_transport_api_tcp_peer2.conf \
542 test_transport_api_udp_peer1.conf \
543 test_transport_api_udp_peer2.conf \
544 test_transport_api_unix_peer1.conf \
545 test_transport_api_unix_peer2.conf \
546 test_transport_api_udp_nat_peer1.conf \
547 test_transport_api_udp_nat_peer2.conf \
548 test_transport_api_tcp_nat_peer1.conf \
549 test_transport_api_tcp_nat_peer2.conf \
550 test_plugin_transport_data.conf \
551 test_transport_api_http_peer1.conf \
552 test_transport_api_http_peer2.conf \
553 test_transport_api_https_peer1.conf \
554 test_transport_api_https_peer2.conf \
555 test_transport_api_wlan_peer1.conf \
556 test_transport_api_wlan_peer2.conf \
557 test_transport_api_multi_peer1.conf \
558 test_transport_api_multi_peer2.conf \
559 test_transport_api_rel_http_peer1.conf \
560 test_transport_api_rel_http_peer2.conf \
561 test_transport_api_rel_https_peer1.conf \
562 test_transport_api_rel_https_peer2.conf \
563 test_plugin_transport_data_http.conf \
564 test_plugin_transport_data.conf \
565 test_quota_compliance_data.conf \
566 test_quota_compliance_tcp_peer1.conf \
567 test_quota_compliance_tcp_peer2.conf \
568 test_quota_compliance_http_peer1.conf \
569 test_quota_compliance_http_peer2.conf \
570 test_quota_compliance_https_peer1.conf \
571 test_quota_compliance_https_peer2.conf \
572 test_quota_compliance_udp_peer1.conf \
573 test_quota_compliance_udp_peer2.conf \
574 test_quota_compliance_unix_peer1.conf \
575 test_quota_compliance_unix_peer2.conf \
576 test_plugin_transport_data_udp.conf \
577 test_transport_ats_1addr.conf \
578 test_transport_ats_2addr.conf \
579 test_transport_ats_4addr.conf