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