7f13db342db746c7111ade663a6f9d81ea2c6b1f
[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 pkgcfgdir= $(pkgdatadir)/config.d/
6
7 pkgcfg_DATA = \
8   transport.conf
9
10
11 if HAVE_MHD
12  GN_LIBMHD = -lmicrohttpd
13  HTTP_SERVER_PLUGIN_LA = libgnunet_plugin_transport_http_server.la
14  HTTPS_SERVER_PLUGIN_LA = libgnunet_plugin_transport_https_server.la
15  
16  HTTP_SERVER_PLUGIN_TEST = test_plugin_http_server
17  HTTPS_SERVER_PLUGIN_TEST = test_plugin_https_server
18 endif
19
20 if HAVE_LIBCURL
21  HTTP_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_http_client.la
22  HTTPS_CLIENT_PLUGIN_LA = libgnunet_plugin_transport_https_client.la
23 endif
24
25 if FALSE 
26  HTTP_API_TEST = test_transport_api_http
27  HTTP_NAT_API_TEST = test_transport_api_http_nat
28  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
29  HTTP_REL_TEST = test_transport_api_reliability_http
30  HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat
31  HTTP_QUOTA_TEST = test_quota_compliance_http \
32                    test_quota_compliance_http_asymmetric
33
34  HTTPS_API_TEST = test_transport_api_https
35  HTTPS_NAT_API_TEST = test_transport_api_https_nat
36  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
37  HTTPS_REL_TEST = test_transport_api_reliability_https
38  HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
39  HTTPS_QUOTA_TEST = test_quota_compliance_https \
40                 test_quota_compliance_https_asymmetric
41 endif
42
43
44 if USE_COVERAGE
45   AM_CFLAGS = --coverage -O0
46 endif
47
48 if LINUX
49  WLAN_BIN = gnunet-helper-transport-wlan
50  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
51  WLAN_BIN_SENDER = gnunet-transport-wlan-sender
52  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
53  WLAN_PLUGIN_TEST = test_plugin_wlan
54  WLAN_API_TEST = test_transport_api_wlan
55  WLAN_REL_TEST = test_transport_api_reliability_wlan
56  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
57  WLAN_QUOTA_TEST = test_quota_compliance_wlan \
58                 test_quota_compliance_wlan_asymmetric
59 endif
60
61
62 if LINUX
63 install-exec-hook:
64         $(top_srcdir)/src/transport/install-wlan-helper.sh $(bindir) $(SUDO_BINARY) || true
65 else
66 install-exec-hook:
67 endif
68
69 if !MINGW
70 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
71 UNIX_PLUGIN_TEST = test_transport_api_unix 
72 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
73 UNIX_REL_TEST = test_transport_api_unreliability_unix
74 UNIX_QUOTA_TEST = test_quota_compliance_unix \
75      test_quota_compliance_unix_asymmetric
76 endif
77
78 noinst_PROGRAMS = \
79  $(WLAN_BIN_SENDER)
80
81 lib_LTLIBRARIES = \
82   libgnunettransport.la \
83   libgnunettransporttesting.la
84
85 libgnunettransporttesting_la_SOURCES = \
86   transport-testing.c transport-testing.h
87 libgnunettransporttesting_la_LIBADD = \
88   $(top_builddir)/src/transport/libgnunettransport.la \
89   $(top_builddir)/src/hello/libgnunethello.la \
90   $(top_builddir)/src/util/libgnunetutil.la \
91   $(top_builddir)/src/testing/libgnunettesting.la \
92   $(GN_LIBINTL) 
93 libgnunettransporttesting_la_DEPENDENCIES = \
94   libgnunettransport.la
95 libgnunettransporttesting_la_LDFLAGS = \
96  $(GN_LIB_LDFLAGS)
97
98 libgnunettransport_la_SOURCES = \
99   transport_api.c transport.h \
100   transport_api_blacklist.c \
101   transport_api_address_to_string.c \
102   transport_api_address_lookup.c
103 libgnunettransport_la_LIBADD = \
104   $(top_builddir)/src/hello/libgnunethello.la \
105   $(top_builddir)/src/util/libgnunetutil.la \
106   $(GN_LIBINTL) 
107 libgnunettransport_la_LDFLAGS = \
108   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
109   -version-info 1:0:0
110
111 bin_PROGRAMS = \
112  gnunet-transport \
113  $(WLAN_BIN) \
114  $(WLAN_BIN_DUMMY) \
115  gnunet-service-transport \
116  gnunet-transport-certificate-creation
117
118 #bin_SCRIPTS = \
119 # gnunet-transport-certificate-creation
120
121 gnunet_transport_certificate_creation_SOURCES = \
122  gnunet-transport-certificate-creation.c
123 gnunet_transport_certificate_creation_LDADD = \
124   $(top_builddir)/src/util/libgnunetutil.la
125
126 gnunet_helper_transport_wlan_SOURCES = \
127  gnunet-helper-transport-wlan.c
128
129 gnunet_helper_transport_wlan_dummy_SOURCES = \
130  gnunet-helper-transport-wlan-dummy.c
131 gnunet_helper_transport_wlan_dummy_LDADD = \
132   $(top_builddir)/src/util/libgnunetutil.la 
133
134 gnunet_transport_wlan_sender_SOURCES = \
135  gnunet-transport-wlan-sender.c
136 gnunet_transport_wlan_sender_LDADD = \
137   $(top_builddir)/src/util/libgnunetutil.la 
138
139 gnunet_transport_SOURCES = \
140  gnunet-transport.c         
141 gnunet_transport_LDADD = \
142   $(top_builddir)/src/transport/libgnunettransport.la \
143   $(top_builddir)/src/nat/libgnunetnat.la \
144   $(top_builddir)/src/hello/libgnunethello.la \
145   $(top_builddir)/src/util/libgnunetutil.la \
146   $(GN_LIBINTL)
147 gnunet_transport_DEPENDENCIES = \
148   libgnunettransport.la                         
149
150 gnunet_service_transport_SOURCES = \
151  gnunet-service-transport.c gnunet-service-transport.h \
152  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
153  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
154  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
155  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
156  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
157  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
158 gnunet_service_transport_LDADD = \
159   $(top_builddir)/src/ats/libgnunetats.la \
160   $(top_builddir)/src/hello/libgnunethello.la \
161   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
162   $(top_builddir)/src/statistics/libgnunetstatistics.la \
163   $(top_builddir)/src/util/libgnunetutil.la \
164   $(GN_GLPK) \
165   $(GN_LIBINTL)
166
167 plugin_LTLIBRARIES = \
168   libgnunet_plugin_transport_tcp.la \
169   libgnunet_plugin_transport_udp.la \
170   $(UNIX_PLUGIN_LA) \
171   $(HTTP_CLIENT_PLUGIN_LA) \
172   $(HTTPS_CLIENT_PLUGIN_LA) \
173   $(HTTP_SERVER_PLUGIN_LA) \
174   $(HTTPS_SERVER_PLUGIN_LA) \
175   $(WLAN_PLUGIN_LA) \
176   libgnunet_plugin_transport_template.la
177
178 libgnunet_plugin_transport_tcp_la_SOURCES = \
179   plugin_transport_tcp.c
180 libgnunet_plugin_transport_tcp_la_LIBADD = \
181   $(top_builddir)/src/hello/libgnunethello.la \
182   $(top_builddir)/src/statistics/libgnunetstatistics.la \
183   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
184   $(top_builddir)/src/nat/libgnunetnat.la \
185   $(top_builddir)/src/util/libgnunetutil.la \
186   $(LTLIBINTL)
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   $(LTLIBINTL)
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 plugin_transport_udp.h \
211   plugin_transport_udp_broadcasting.c
212 libgnunet_plugin_transport_udp_la_LIBADD = \
213   $(top_builddir)/src/hello/libgnunethello.la \
214   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
215   $(top_builddir)/src/statistics/libgnunetstatistics.la \
216   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
217   $(top_builddir)/src/nat/libgnunetnat.la \
218   $(top_builddir)/src/util/libgnunetutil.la \
219   $(LTLIBINTL)
220 libgnunet_plugin_transport_udp_la_LDFLAGS = \
221  $(GN_PLUGIN_LDFLAGS)
222
223 libgnunet_plugin_transport_unix_la_SOURCES = \
224   plugin_transport_unix.c
225 libgnunet_plugin_transport_unix_la_LIBADD = \
226   $(top_builddir)/src/hello/libgnunethello.la \
227   $(top_builddir)/src/statistics/libgnunetstatistics.la \
228   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
229   $(top_builddir)/src/util/libgnunetutil.la \
230   $(LTLIBINTL)
231 libgnunet_plugin_transport_unix_la_LDFLAGS = \
232  $(GN_PLUGIN_LDFLAGS)
233  
234  
235 libgnunet_plugin_transport_http_client_la_SOURCES = \
236   plugin_transport_http_client.c plugin_transport_http_common.c
237 libgnunet_plugin_transport_http_client_la_LIBADD = \
238   $(top_builddir)/src/hello/libgnunethello.la \
239   $(top_builddir)/src/statistics/libgnunetstatistics.la \
240   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
241   @LIBCURL@ \
242   $(top_builddir)/src/nat/libgnunetnat.la \
243   $(top_builddir)/src/util/libgnunetutil.la 
244 libgnunet_plugin_transport_http_client_laLDFLAGS = \
245  $(GN_PLUGIN_LDFLAGS)
246 libgnunet_plugin_transport_http_client_la_CFLAGS = \
247  $(CFLAGS) 
248 libgnunet_plugin_transport_http_client_la_CPPFLAGS = \
249  @LIBCURL_CPPFLAGS@
250  
251  
252 libgnunet_plugin_transport_http_server_la_SOURCES = \
253   plugin_transport_http_server.c plugin_transport_http_common.c
254 libgnunet_plugin_transport_http_server_la_LIBADD = \
255   $(top_builddir)/src/hello/libgnunethello.la \
256   $(top_builddir)/src/statistics/libgnunetstatistics.la \
257   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
258   $(top_builddir)/src/nat/libgnunetnat.la \
259   $(top_builddir)/src/util/libgnunetutil.la 
260 libgnunet_plugin_transport_http_server_la_LDFLAGS = \
261  $(GN_LIBMHD) \
262  $(GN_PLUGIN_LDFLAGS)
263 libgnunet_plugin_transport_http_server_la_CFLAGS = \
264  $(CFLAGS) 
265
266 libgnunet_plugin_transport_https_client_la_SOURCES = \
267   plugin_transport_http_client.c plugin_transport_http_common.c
268 libgnunet_plugin_transport_https_client_la_LIBADD = \
269   $(top_builddir)/src/hello/libgnunethello.la \
270   $(top_builddir)/src/statistics/libgnunetstatistics.la \
271   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
272   @LIBCURL@ \
273   $(top_builddir)/src/nat/libgnunetnat.la \
274   $(top_builddir)/src/util/libgnunetutil.la 
275 libgnunet_plugin_transport_https_client_laLDFLAGS = \
276  $(GN_PLUGIN_LDFLAGS)
277 libgnunet_plugin_transport_https_client_la_CFLAGS = \
278  $(CFLAGS) -DBUILD_HTTPS 
279 libgnunet_plugin_transport_https_client_la_CPPFLAGS = \
280  @LIBCURL_CPPFLAGS@
281  
282  
283 libgnunet_plugin_transport_https_server_la_SOURCES = \
284   plugin_transport_http_server.c plugin_transport_http_common.c
285 libgnunet_plugin_transport_https_server_la_LIBADD = \
286   $(top_builddir)/src/hello/libgnunethello.la \
287   $(top_builddir)/src/statistics/libgnunetstatistics.la \
288   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
289   $(top_builddir)/src/nat/libgnunetnat.la \
290   $(top_builddir)/src/util/libgnunetutil.la 
291 libgnunet_plugin_transport_https_server_la_LDFLAGS = \
292  $(GN_LIBMHD) \
293  $(GN_PLUGIN_LDFLAGS)
294 libgnunet_plugin_transport_https_server_la_CFLAGS = \
295  $(CFLAGS) -DBUILD_HTTPS 
296
297 check_PROGRAMS = \
298  test_transport_testing_startstop \
299  test_transport_testing_restart \
300  test_transport_testing \
301  test_transport_startonly \
302  test_plugin_tcp \
303  test_plugin_udp \
304  test_plugin_unix \
305  $(WLAN_PLUGIN_TEST) \
306  $(HTTP_SERVER_PLUGIN_TEST) \
307  $(HTTPS_SERVER_PLUGIN_TEST) \
308  test_transport_api_blacklisting \
309  test_transport_api_disconnect_tcp \
310  test_transport_api_bidirectional_connect \
311  test_transport_api_tcp \
312  test_transport_api_restart_1peer \
313  test_transport_api_restart_2peers \
314  test_transport_api_timeout_tcp \
315  test_transport_api_limited_sockets_tcp \
316  test_transport_api_tcp_nat \
317  test_transport_api_udp \
318  test_transport_api_timeout_udp \
319  $(UNIX_PLUGIN_TEST) \
320  $(UNIX_PLUGIN_TIMEOUT_TEST) \
321  test_transport_api_udp_nat \
322  $(HTTP_API_TEST) \
323  $(HTTP_NAT_API_TEST) \
324  $(HTTP_API_TIMEOUT_TEST) \
325  $(HTTPS_API_TEST) \
326  $(HTTPS_NAT_API_TEST) \
327  $(HTTPS_API_TIMEOUT_TEST) \
328  $(WLAN_API_TEST) \
329  test_transport_api_multi \
330  test_transport_api_reliability_tcp \
331  test_transport_api_reliability_tcp_nat \
332  test_transport_api_unreliability_udp \
333  test_transport_api_unreliability_constant_udp \
334  $(UNIX_REL_TEST) \
335  $(HTTP_REL_TEST) \
336  $(HTTP_NAT_REL_TEST) \
337  $(HTTPS_REL_TEST) \
338  $(HTTPS_NAT_REL_TEST) \
339  $(WLAN_REL_TEST) \
340  $(WLAN_UREL_TEST) \
341  test_quota_compliance_tcp \
342  test_quota_compliance_tcp_asymmetric \
343  test_quota_compliance_udp \
344  $(UNIX_QUOTA_TEST) \
345  $(HTTP_QUOTA_TEST) \
346  $(HTTPS_QUOTA_TEST) \
347  $(WLAN_QUOTA_TEST)
348
349 if ENABLE_TEST_RUN
350 TESTS = \
351  test_transport_testing_startstop \
352  test_transport_testing_restart \
353  test_transport_testing \
354  test_transport_startonly \
355  test_plugin_tcp \
356  test_plugin_udp \
357  test_plugin_unix \
358  $(WLAN_PLUGIN_TEST) \
359  test_transport_api_blacklisting \
360  test_transport_api_disconnect_tcp \
361  test_transport_api_bidirectional_connect \
362  test_transport_api_tcp \
363  test_transport_api_restart_1peer \
364  test_transport_api_restart_2peers \
365  test_transport_api_timeout_tcp \
366  test_transport_api_limited_sockets_tcp \
367  test_transport_api_tcp_nat \
368  test_transport_api_udp \
369  test_transport_api_timeout_udp \
370  $(UNIX_PLUGIN_TEST) \
371  $(UNIX_PLUGIN_TIMEOUT_TEST) \
372  test_transport_api_udp_nat \
373  $(HTTP_API_TEST) \
374  $(HTTP_NAT_API_TEST) \
375  $(HTTP_API_TIMEOUT_TEST) \
376  $(HTTPS_API_TEST) \
377  $(HTTPS_NAT_API_TEST) \
378  $(HTTPS_API_TIMEOUT_TEST) \
379  $(WLAN_API_TEST) \
380  test_transport_api_multi \
381  test_transport_api_reliability_tcp \
382  test_transport_api_reliability_tcp_nat \
383  test_transport_api_unreliability_udp \
384  test_transport_api_unreliability_constant_udp \
385  $(UNIX_REL_TEST) \
386  $(HTTP_REL_TEST) \
387  $(HTTP_NAT_REL_TEST) \
388  $(HTTPS_REL_TEST) \
389  $(HTTPS_NAT_REL_TEST) \
390  $(WLAN_REL_TEST) \
391  $(WLAN_UREL_TEST) \
392  test_quota_compliance_tcp \
393  test_quota_compliance_tcp_asymmetric \
394  test_quota_compliance_udp \
395  $(UNIX_QUOTA_TEST) \
396  $(HTTP_QUOTA_TEST) \
397  $(HTTPS_QUOTA_TEST)
398 endif
399
400 test_transport_testing_startstop_SOURCES = \
401  test_transport_testing_startstop.c
402 test_transport_testing_startstop_LDADD = \
403  $(top_builddir)/src/util/libgnunetutil.la \
404  $(top_builddir)/src/transport/libgnunettransport.la \
405  $(top_builddir)/src/hello/libgnunethello.la \
406  $(top_builddir)/src/transport/libgnunettransporttesting.la 
407
408 test_transport_testing_restart_SOURCES = \
409  test_transport_testing_restart.c
410 test_transport_testing_restart_LDADD = \
411  $(top_builddir)/src/util/libgnunetutil.la \
412  $(top_builddir)/src/transport/libgnunettransport.la \
413  $(top_builddir)/src/hello/libgnunethello.la \
414  $(top_builddir)/src/transport/libgnunettransporttesting.la 
415
416 test_transport_testing_SOURCES = \
417  test_transport_testing.c
418 test_transport_testing_LDADD = \
419  $(top_builddir)/src/util/libgnunetutil.la \
420  $(top_builddir)/src/transport/libgnunettransport.la \
421  $(top_builddir)/src/hello/libgnunethello.la \
422  $(top_builddir)/src/transport/libgnunettransporttesting.la 
423
424
425 test_transport_api_blacklisting_SOURCES = \
426  test_transport_api_blacklisting.c
427 test_transport_api_blacklisting_LDADD = \
428  $(top_builddir)/src/transport/libgnunettransport.la \
429  $(top_builddir)/src/hello/libgnunethello.la \
430  $(top_builddir)/src/statistics/libgnunetstatistics.la \
431  $(top_builddir)/src/util/libgnunetutil.la \
432  $(top_builddir)/src/transport/libgnunettransporttesting.la 
433
434 test_transport_api_disconnect_tcp_SOURCES = \
435  test_transport_api_disconnect.c
436 test_transport_api_disconnect_tcp_LDADD = \
437  $(top_builddir)/src/transport/libgnunettransport.la \
438  $(top_builddir)/src/hello/libgnunethello.la \
439  $(top_builddir)/src/statistics/libgnunetstatistics.la \
440  $(top_builddir)/src/util/libgnunetutil.la \
441  $(top_builddir)/src/transport/libgnunettransporttesting.la 
442
443 test_transport_startonly_SOURCES = \
444  test_transport_startonly.c
445 test_transport_startonly_LDADD = \
446  $(top_builddir)/src/transport/libgnunettransport.la \
447  $(top_builddir)/src/hello/libgnunethello.la \
448  $(top_builddir)/src/statistics/libgnunetstatistics.la \
449  $(top_builddir)/src/util/libgnunetutil.la \
450  $(top_builddir)/src/transport/libgnunettransporttesting.la 
451
452 test_plugin_tcp_SOURCES = \
453  test_plugin_transport.c
454 test_plugin_tcp_LDADD = \
455  $(top_builddir)/src/transport/libgnunettransport.la \
456  $(top_builddir)/src/statistics/libgnunetstatistics.la \
457  $(top_builddir)/src/hello/libgnunethello.la \
458  $(top_builddir)/src/util/libgnunetutil.la  \
459  $(top_builddir)/src/transport/libgnunettransporttesting.la
460  
461 test_plugin_udp_SOURCES = \
462  test_plugin_transport.c
463 test_plugin_udp_LDADD = \
464  $(top_builddir)/src/transport/libgnunettransport.la \
465  $(top_builddir)/src/statistics/libgnunetstatistics.la \
466  $(top_builddir)/src/hello/libgnunethello.la \
467  $(top_builddir)/src/util/libgnunetutil.la  \
468  $(top_builddir)/src/transport/libgnunettransporttesting.la
469
470 test_plugin_unix_SOURCES = \
471  test_plugin_transport.c
472 test_plugin_unix_LDADD = \
473  $(top_builddir)/src/transport/libgnunettransport.la \
474  $(top_builddir)/src/statistics/libgnunetstatistics.la \
475  $(top_builddir)/src/hello/libgnunethello.la \
476  $(top_builddir)/src/util/libgnunetutil.la  \
477  $(top_builddir)/src/transport/libgnunettransporttesting.la
478
479 test_plugin_wlan_SOURCES = \
480  test_plugin_transport.c
481 test_plugin_wlan_LDADD = \
482  $(top_builddir)/src/transport/libgnunettransport.la \
483  $(top_builddir)/src/statistics/libgnunetstatistics.la \
484  $(top_builddir)/src/hello/libgnunethello.la \
485  $(top_builddir)/src/util/libgnunetutil.la  \
486  $(top_builddir)/src/transport/libgnunettransporttesting.la 
487
488 test_plugin_http_server_SOURCES = \
489  test_plugin_transport.c
490 test_plugin_http_server_LDADD = \
491  $(top_builddir)/src/transport/libgnunettransport.la \
492  $(top_builddir)/src/statistics/libgnunetstatistics.la \
493  $(top_builddir)/src/hello/libgnunethello.la \
494  $(top_builddir)/src/util/libgnunetutil.la  \
495  $(top_builddir)/src/transport/libgnunettransporttesting.la 
496  
497 test_plugin_https_server_SOURCES = \
498  test_plugin_transport.c
499 test_plugin_https_server_LDADD = \
500  $(top_builddir)/src/transport/libgnunettransport.la \
501  $(top_builddir)/src/statistics/libgnunetstatistics.la \
502  $(top_builddir)/src/hello/libgnunethello.la \
503  $(top_builddir)/src/util/libgnunetutil.la  \
504  $(top_builddir)/src/transport/libgnunettransporttesting.la 
505
506 test_transport_api_tcp_SOURCES = \
507  test_transport_api.c
508 test_transport_api_tcp_LDADD = \
509  $(top_builddir)/src/transport/libgnunettransport.la \
510  $(top_builddir)/src/hello/libgnunethello.la \
511  $(top_builddir)/src/util/libgnunetutil.la  \
512  $(top_builddir)/src/transport/libgnunettransporttesting.la
513
514 test_transport_api_bidirectional_connect_SOURCES = \
515  test_transport_api_bidirectional_connect.c
516 test_transport_api_bidirectional_connect_LDADD = \
517  $(top_builddir)/src/transport/libgnunettransport.la \
518  $(top_builddir)/src/hello/libgnunethello.la \
519  $(top_builddir)/src/util/libgnunetutil.la  \
520  $(top_builddir)/src/transport/libgnunettransporttesting.la
521
522 test_transport_api_restart_1peer_SOURCES = \
523  test_transport_api_restart_1peer.c
524 test_transport_api_restart_1peer_LDADD = \
525  $(top_builddir)/src/transport/libgnunettransport.la \
526  $(top_builddir)/src/hello/libgnunethello.la \
527  $(top_builddir)/src/statistics/libgnunetstatistics.la \
528  $(top_builddir)/src/util/libgnunetutil.la \
529  $(top_builddir)/src/transport/libgnunettransporttesting.la 
530
531 test_transport_api_restart_2peers_SOURCES = \
532  test_transport_api_restart_2peers.c
533 test_transport_api_restart_2peers_LDADD = \
534  $(top_builddir)/src/transport/libgnunettransport.la \
535  $(top_builddir)/src/hello/libgnunethello.la \
536  $(top_builddir)/src/statistics/libgnunetstatistics.la \
537  $(top_builddir)/src/util/libgnunetutil.la \
538  $(top_builddir)/src/transport/libgnunettransporttesting.la 
539
540 test_transport_api_limited_sockets_tcp_SOURCES = \
541  test_transport_api_limited_sockets.c
542 test_transport_api_limited_sockets_tcp_LDADD = \
543  $(top_builddir)/src/transport/libgnunettransport.la \
544  $(top_builddir)/src/hello/libgnunethello.la \
545  $(top_builddir)/src/util/libgnunetutil.la  \
546  $(top_builddir)/src/transport/libgnunettransporttesting.la
547
548 test_transport_api_tcp_nat_SOURCES = \
549  test_transport_api.c
550 test_transport_api_tcp_nat_LDADD = \
551  $(top_builddir)/src/transport/libgnunettransport.la \
552  $(top_builddir)/src/hello/libgnunethello.la \
553  $(top_builddir)/src/util/libgnunetutil.la \
554  $(top_builddir)/src/transport/libgnunettransporttesting.la 
555
556 test_transport_api_reliability_tcp_SOURCES = \
557  test_transport_api_reliability.c
558 test_transport_api_reliability_tcp_LDADD = \
559  $(top_builddir)/src/transport/libgnunettransport.la \
560  $(top_builddir)/src/hello/libgnunethello.la \
561  $(top_builddir)/src/util/libgnunetutil.la \
562  $(top_builddir)/src/transport/libgnunettransporttesting.la 
563
564 test_transport_api_timeout_tcp_SOURCES = \
565  test_transport_api_timeout.c
566 test_transport_api_timeout_tcp_LDADD = \
567  $(top_builddir)/src/transport/libgnunettransport.la \
568  $(top_builddir)/src/hello/libgnunethello.la \
569  $(top_builddir)/src/util/libgnunetutil.la \
570  $(top_builddir)/src/transport/libgnunettransporttesting.la 
571
572 test_transport_api_timeout_unix_SOURCES = \
573  test_transport_api_timeout.c
574 test_transport_api_timeout_unix_LDADD = \
575  $(top_builddir)/src/transport/libgnunettransport.la \
576  $(top_builddir)/src/hello/libgnunethello.la \
577  $(top_builddir)/src/util/libgnunetutil.la \
578  $(top_builddir)/src/transport/libgnunettransporttesting.la 
579
580 test_transport_api_reliability_tcp_nat_SOURCES = \
581  test_transport_api_reliability.c
582 test_transport_api_reliability_tcp_nat_LDADD = \
583  $(top_builddir)/src/transport/libgnunettransport.la \
584  $(top_builddir)/src/hello/libgnunethello.la \
585  $(top_builddir)/src/util/libgnunetutil.la \
586  $(top_builddir)/src/transport/libgnunettransporttesting.la 
587
588 test_transport_api_reliability_wlan_SOURCES = \
589  test_transport_api_reliability.c
590 test_transport_api_reliability_wlan_LDADD = \
591  $(top_builddir)/src/transport/libgnunettransport.la \
592  $(top_builddir)/src/hello/libgnunethello.la \
593  $(top_builddir)/src/util/libgnunetutil.la \
594  $(top_builddir)/src/transport/libgnunettransporttesting.la 
595
596 test_transport_api_unreliability_wlan_SOURCES = \
597  test_transport_api_unreliability.c
598 test_transport_api_unreliability_wlan_LDADD = \
599  $(top_builddir)/src/transport/libgnunettransport.la \
600  $(top_builddir)/src/hello/libgnunethello.la \
601  $(top_builddir)/src/util/libgnunetutil.la \
602  $(top_builddir)/src/transport/libgnunettransporttesting.la 
603
604 test_transport_api_udp_SOURCES = \
605  test_transport_api.c
606 test_transport_api_udp_LDADD = \
607  $(top_builddir)/src/transport/libgnunettransport.la \
608  $(top_builddir)/src/hello/libgnunethello.la \
609  $(top_builddir)/src/util/libgnunetutil.la  \
610  $(top_builddir)/src/transport/libgnunettransporttesting.la
611
612 test_transport_api_timeout_udp_SOURCES = \
613  test_transport_api_timeout.c
614 test_transport_api_timeout_udp_LDADD = \
615  $(top_builddir)/src/transport/libgnunettransport.la \
616  $(top_builddir)/src/hello/libgnunethello.la \
617  $(top_builddir)/src/util/libgnunetutil.la \
618  $(top_builddir)/src/transport/libgnunettransporttesting.la  
619
620 test_transport_api_udp_nat_SOURCES = \
621  test_transport_api.c
622 test_transport_api_udp_nat_LDADD = \
623  $(top_builddir)/src/transport/libgnunettransport.la \
624  $(top_builddir)/src/hello/libgnunethello.la \
625  $(top_builddir)/src/util/libgnunetutil.la  \
626  $(top_builddir)/src/transport/libgnunettransporttesting.la  
627
628 test_transport_api_unix_SOURCES = \
629  test_transport_api.c
630 test_transport_api_unix_LDADD = \
631  $(top_builddir)/src/transport/libgnunettransport.la \
632  $(top_builddir)/src/hello/libgnunethello.la \
633  $(top_builddir)/src/util/libgnunetutil.la \
634  $(top_builddir)/src/transport/libgnunettransporttesting.la 
635
636 # HTTP/S tests
637 if FALSE
638
639 test_transport_api_timeout_http_SOURCES = \
640  test_transport_api_timeout.c
641 test_transport_api_timeout_http_LDADD = \
642  $(top_builddir)/src/transport/libgnunettransport.la \
643  $(top_builddir)/src/hello/libgnunethello.la \
644  $(top_builddir)/src/util/libgnunetutil.la \
645  $(top_builddir)/src/transport/libgnunettransporttesting.la 
646
647 test_transport_api_timeout_https_SOURCES = \
648  test_transport_api_timeout.c
649 test_transport_api_timeout_https_LDADD = \
650  $(top_builddir)/src/transport/libgnunettransport.la \
651  $(top_builddir)/src/hello/libgnunethello.la \
652  $(top_builddir)/src/util/libgnunetutil.la \
653  $(top_builddir)/src/transport/libgnunettransporttesting.la 
654
655
656 test_transport_api_http_SOURCES = \
657  test_transport_api.c
658 test_transport_api_http_LDADD = \
659  $(top_builddir)/src/transport/libgnunettransport.la \
660  $(top_builddir)/src/hello/libgnunethello.la \
661  $(top_builddir)/src/util/libgnunetutil.la \
662  $(top_builddir)/src/transport/libgnunettransporttesting.la 
663
664 test_transport_api_http_nat_SOURCES = \
665  test_transport_api.c
666 test_transport_api_http_nat_LDADD = \
667  $(top_builddir)/src/transport/libgnunettransport.la \
668  $(top_builddir)/src/hello/libgnunethello.la \
669  $(top_builddir)/src/util/libgnunetutil.la \
670  $(top_builddir)/src/transport/libgnunettransporttesting.la 
671
672 test_transport_api_reliability_http_SOURCES = \
673  test_transport_api_reliability.c
674 test_transport_api_reliability_http_LDADD = \
675  $(top_builddir)/src/transport/libgnunettransport.la \
676  $(top_builddir)/src/hello/libgnunethello.la \
677  $(top_builddir)/src/util/libgnunetutil.la \
678  $(top_builddir)/src/transport/libgnunettransporttesting.la 
679
680 test_transport_api_reliability_http_nat_SOURCES = \
681  test_transport_api_reliability.c
682 test_transport_api_reliability_http_nat_LDADD = \
683  $(top_builddir)/src/transport/libgnunettransport.la \
684  $(top_builddir)/src/hello/libgnunethello.la \
685  $(top_builddir)/src/util/libgnunetutil.la \
686  $(top_builddir)/src/transport/libgnunettransporttesting.la 
687
688 test_transport_api_https_SOURCES = \
689  test_transport_api.c
690 test_transport_api_https_LDADD = \
691  $(top_builddir)/src/transport/libgnunettransport.la \
692  $(top_builddir)/src/hello/libgnunethello.la \
693  $(top_builddir)/src/util/libgnunetutil.la  \
694  $(top_builddir)/src/transport/libgnunettransporttesting.la 
695
696 test_transport_api_https_nat_SOURCES = \
697  test_transport_api.c
698 test_transport_api_https_nat_LDADD = \
699  $(top_builddir)/src/transport/libgnunettransport.la \
700  $(top_builddir)/src/hello/libgnunethello.la \
701  $(top_builddir)/src/util/libgnunetutil.la \
702  $(top_builddir)/src/transport/libgnunettransporttesting.la 
703
704 test_transport_api_reliability_https_SOURCES = \
705  test_transport_api_reliability.c
706 test_transport_api_reliability_https_LDADD = \
707  $(top_builddir)/src/transport/libgnunettransport.la \
708  $(top_builddir)/src/hello/libgnunethello.la \
709  $(top_builddir)/src/util/libgnunetutil.la \
710  $(top_builddir)/src/transport/libgnunettransporttesting.la 
711
712 test_transport_api_reliability_https_nat_SOURCES = \
713  test_transport_api_reliability.c
714 test_transport_api_reliability_https_nat_LDADD = \
715  $(top_builddir)/src/transport/libgnunettransport.la \
716  $(top_builddir)/src/hello/libgnunethello.la \
717  $(top_builddir)/src/util/libgnunetutil.la \
718  $(top_builddir)/src/transport/libgnunettransporttesting.la 
719
720 test_quota_compliance_http_SOURCES = \
721  test_quota_compliance.c
722 test_quota_compliance_http_LDADD = \
723  $(top_builddir)/src/transport/libgnunettransport.la \
724  $(top_builddir)/src/hello/libgnunethello.la \
725  $(top_builddir)/src/util/libgnunetutil.la \
726  $(top_builddir)/src/transport/libgnunettransporttesting.la 
727
728 test_quota_compliance_http_asymmetric_SOURCES = \
729  test_quota_compliance.c
730 test_quota_compliance_http_asymmetric_LDADD = \
731  $(top_builddir)/src/transport/libgnunettransport.la \
732  $(top_builddir)/src/hello/libgnunethello.la \
733  $(top_builddir)/src/util/libgnunetutil.la \
734  $(top_builddir)/src/transport/libgnunettransporttesting.la
735
736 test_quota_compliance_https_SOURCES = \
737  test_quota_compliance.c
738 test_quota_compliance_https_LDADD = \
739  $(top_builddir)/src/transport/libgnunettransport.la \
740  $(top_builddir)/src/hello/libgnunethello.la \
741  $(top_builddir)/src/util/libgnunetutil.la \
742  $(top_builddir)/src/transport/libgnunettransporttesting.la
743
744 test_quota_compliance_https_asymmetric_SOURCES = \
745  test_quota_compliance.c
746 test_quota_compliance_https_asymmetric_LDADD = \
747  $(top_builddir)/src/transport/libgnunettransport.la \
748  $(top_builddir)/src/hello/libgnunethello.la \
749  $(top_builddir)/src/util/libgnunetutil.la \
750  $(top_builddir)/src/transport/libgnunettransporttesting.la
751
752
753 endif
754
755 test_transport_api_unreliability_unix_SOURCES = \
756  test_transport_api_unreliability.c
757 test_transport_api_unreliability_unix_LDADD = \
758  $(top_builddir)/src/transport/libgnunettransport.la \
759  $(top_builddir)/src/hello/libgnunethello.la \
760  $(top_builddir)/src/util/libgnunetutil.la \
761  $(top_builddir)/src/transport/libgnunettransporttesting.la 
762
763 test_transport_api_unreliability_udp_SOURCES = \
764  test_transport_api_unreliability.c
765 test_transport_api_unreliability_udp_LDADD = \
766  $(top_builddir)/src/transport/libgnunettransport.la \
767  $(top_builddir)/src/hello/libgnunethello.la \
768  $(top_builddir)/src/util/libgnunetutil.la \
769  $(top_builddir)/src/transport/libgnunettransporttesting.la 
770
771 test_transport_api_unreliability_constant_udp_SOURCES = \
772  test_transport_api_unreliability_constant.c
773 test_transport_api_unreliability_constant_udp_LDADD = \
774  $(top_builddir)/src/transport/libgnunettransport.la \
775  $(top_builddir)/src/hello/libgnunethello.la \
776  $(top_builddir)/src/util/libgnunetutil.la \
777  $(top_builddir)/src/transport/libgnunettransporttesting.la 
778
779 if LINUX
780 test_transport_api_wlan_SOURCES = \
781  test_transport_api.c
782 test_transport_api_wlan_LDADD = \
783  $(top_builddir)/src/transport/libgnunettransport.la \
784  $(top_builddir)/src/hello/libgnunethello.la \
785  $(top_builddir)/src/util/libgnunetutil.la \
786  $(top_builddir)/src/transport/libgnunettransporttesting.la  
787 endif
788
789 test_quota_compliance_tcp_SOURCES = \
790  test_quota_compliance.c
791 test_quota_compliance_tcp_LDADD = \
792  $(top_builddir)/src/transport/libgnunettransport.la \
793  $(top_builddir)/src/hello/libgnunethello.la \
794  $(top_builddir)/src/util/libgnunetutil.la \
795  $(top_builddir)/src/transport/libgnunettransporttesting.la 
796
797 test_quota_compliance_tcp_asymmetric_SOURCES = \
798  test_quota_compliance.c
799 test_quota_compliance_tcp_asymmetric_LDADD = \
800  $(top_builddir)/src/transport/libgnunettransport.la \
801  $(top_builddir)/src/hello/libgnunethello.la \
802  $(top_builddir)/src/util/libgnunetutil.la \
803  $(top_builddir)/src/transport/libgnunettransporttesting.la 
804
805 test_quota_compliance_udp_SOURCES = \
806  test_quota_compliance.c
807 test_quota_compliance_udp_LDADD = \
808  $(top_builddir)/src/transport/libgnunettransport.la \
809  $(top_builddir)/src/hello/libgnunethello.la \
810  $(top_builddir)/src/util/libgnunetutil.la \
811  $(top_builddir)/src/transport/libgnunettransporttesting.la
812
813 test_quota_compliance_unix_SOURCES = \
814  test_quota_compliance.c
815 test_quota_compliance_unix_LDADD = \
816  $(top_builddir)/src/transport/libgnunettransport.la \
817  $(top_builddir)/src/hello/libgnunethello.la \
818  $(top_builddir)/src/util/libgnunetutil.la \
819  $(top_builddir)/src/transport/libgnunettransporttesting.la
820
821 test_quota_compliance_unix_asymmetric_SOURCES = \
822  test_quota_compliance.c
823 test_quota_compliance_unix_asymmetric_LDADD = \
824  $(top_builddir)/src/transport/libgnunettransport.la \
825  $(top_builddir)/src/hello/libgnunethello.la \
826  $(top_builddir)/src/util/libgnunetutil.la \
827  $(top_builddir)/src/transport/libgnunettransporttesting.la
828
829 test_quota_compliance_wlan_SOURCES = \
830  test_quota_compliance.c
831 test_quota_compliance_wlan_LDADD = \
832  $(top_builddir)/src/transport/libgnunettransport.la \
833  $(top_builddir)/src/hello/libgnunethello.la \
834  $(top_builddir)/src/util/libgnunetutil.la \
835  $(top_builddir)/src/transport/libgnunettransporttesting.la
836
837 test_quota_compliance_wlan_asymmetric_SOURCES = \
838  test_quota_compliance.c
839 test_quota_compliance_wlan_asymmetric_LDADD = \
840  $(top_builddir)/src/transport/libgnunettransport.la \
841  $(top_builddir)/src/hello/libgnunethello.la \
842  $(top_builddir)/src/util/libgnunetutil.la \
843  $(top_builddir)/src/transport/libgnunettransporttesting.la
844
845 test_transport_api_multi_SOURCES = \
846  test_transport_api.c
847 test_transport_api_multi_LDADD = \
848  $(top_builddir)/src/transport/libgnunettransport.la \
849  $(top_builddir)/src/hello/libgnunethello.la \
850  $(top_builddir)/src/util/libgnunetutil.la \
851  $(top_builddir)/src/transport/libgnunettransporttesting.la 
852
853
854 EXTRA_DIST = \
855 gnunet-transport-certificate-creation \
856 template_cfg_peer1.conf\
857 template_cfg_peer2.conf\
858 test_plugin_transport_data.conf\
859 test_plugin_transport_data_udp.conf\
860 test_quota_compliance_data.conf\
861 test_quota_compliance_http_peer1.conf\
862 test_quota_compliance_http_peer2.conf\
863 test_quota_compliance_https_peer1.conf\
864 test_quota_compliance_https_peer2.conf\
865 test_quota_compliance_tcp_peer1.conf\
866 test_quota_compliance_tcp_peer2.conf\
867 test_quota_compliance_udp_peer1.conf\
868 test_quota_compliance_udp_peer2.conf\
869 test_quota_compliance_unix_peer1.conf\
870 test_quota_compliance_unix_peer2.conf\
871 test_quota_compliance_http_asymmetric_peer1.conf\
872 test_quota_compliance_http_asymmetric_peer2.conf\
873 test_quota_compliance_https_asymmetric_peer1.conf\
874 test_quota_compliance_https_asymmetric_peer2.conf\
875 test_quota_compliance_tcp_asymmetric_peer1.conf\
876 test_quota_compliance_tcp_asymmetric_peer2.conf\
877 test_quota_compliance_unix_asymmetric_peer1.conf\
878 test_quota_compliance_unix_asymmetric_peer2.conf\
879 test_transport_api_data.conf\
880 test_transport_api_http_peer1.conf\
881 test_transport_api_http_peer2.conf\
882 test_transport_api_https_peer1.conf\
883 test_transport_api_https_peer2.conf\
884 test_transport_api_limited_sockets_tcp_peer1.conf\
885 test_transport_api_limited_sockets_tcp_peer2.conf\
886 test_transport_api_timeout_tcp_peer1.conf\
887 test_transport_api_timeout_tcp_peer2.conf\
888 test_transport_api_multi_peer1.conf\
889 test_transport_api_multi_peer2.conf\
890 test_transport_api_reliability_http_peer1.conf\
891 test_transport_api_reliability_http_peer2.conf\
892 test_transport_api_reliability_https_peer1.conf\
893 test_transport_api_reliability_https_peer2.conf\
894 test_transport_api_reliability_tcp_nat_peer1.conf\
895 test_transport_api_reliability_tcp_nat_peer2.conf\
896 test_transport_api_reliability_tcp_peer1.conf\
897 test_transport_api_reliability_tcp_peer2.conf\
898 test_transport_api_reliability_wlan_peer1.conf\
899 test_transport_api_reliability_wlan_peer2.conf\
900 test_transport_api_bidirectional_connect_peer1.conf\
901 test_transport_api_bidirectional_connect_peer2.conf\
902 test_transport_api_tcp_nat_peer1.conf\
903 test_transport_api_tcp_nat_peer2.conf\
904 test_transport_api_tcp_peer1.conf\
905 test_transport_api_tcp_peer2.conf\
906 test_transport_api_udp_nat_peer1.conf\
907 test_transport_api_udp_nat_peer2.conf\
908 test_transport_api_udp_peer1.conf\
909 test_transport_api_udp_peer2.conf\
910 test_transport_api_timeout_udp_peer1.conf\
911 test_transport_api_timeout_udp_peer2.conf\
912 test_transport_api_unix_peer1.conf\
913 test_transport_api_unix_peer2.conf\
914 test_transport_api_timeout_unix_peer1.conf\
915 test_transport_api_timeout_unix_peer2.conf\
916 test_transport_api_unreliability_udp_peer1.conf\
917 test_transport_api_unreliability_udp_peer2.conf\
918 test_transport_api_unreliability_unix_peer1.conf\
919 test_transport_api_unreliability_unix_peer2.conf\
920 test_transport_api_unreliability_wlan_peer1.conf\
921 test_transport_api_unreliability_wlan_peer2.conf\
922 test_transport_api_wlan_peer1.conf\
923 test_transport_api_wlan_peer2.conf\
924 test_transport_defaults.conf\
925 test_transport_startonly.conf\
926 test_transport_api_disconnect_tcp_peer1.conf\
927 test_transport_api_disconnect_tcp_peer2.conf\
928 test_transport_api_http_nat_peer1.conf\
929 test_transport_api_http_nat_peer2.conf\
930 test_transport_api_https_nat_peer1.conf\
931 test_transport_api_https_nat_peer2.conf\
932 test_transport_api_reliability_http_nat_peer1.conf\
933 test_transport_api_reliability_http_nat_peer2.conf\
934 test_transport_api_reliability_https_nat_peer1.conf\
935 test_transport_api_reliability_https_nat_peer2.conf\
936 test_transport_api_timeout_http_peer1.conf\
937 test_transport_api_timeout_http_peer2.conf\
938 test_transport_api_timeout_https_peer1.conf\
939 test_transport_api_timeout_https_peer2.conf\
940 test_transport_api_unreliability_constant_udp_peer1.conf\
941 test_transport_api_unreliability_constant_udp_peer2.conf\
942 test_transport_api_http_reverse_proxy.conf