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