8a318b961b27bb011ec798acd98aedfc9b89a1b7
[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_PLUGIN_LA = libgnunet_plugin_transport_http.la
14  HTTP_API_TEST = test_transport_api_http
15  HTTP_NAT_API_TEST = test_transport_api_http_nat
16  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
17  HTTP_REL_TEST = test_transport_api_reliability_http
18  HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat
19  HTTP_QUOTA_TEST = test_quota_compliance_http \
20                    test_quota_compliance_http_asymmetric
21  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
22  HTTPS_API_TEST = test_transport_api_https
23  HTTPS_NAT_API_TEST = test_transport_api_https_nat
24  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
25  HTTPS_REL_TEST = test_transport_api_reliability_https
26  HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
27  HTTPS_QUOTA_TEST = test_quota_compliance_https \
28                 test_quota_compliance_https_asymmetric
29 endif
30
31 if USE_COVERAGE
32   AM_CFLAGS = --coverage -O0
33 endif
34
35 if LINUX
36  WLAN_BIN = gnunet-helper-transport-wlan
37  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
38  WLAN_BIN_SENDER = gnunet-transport-wlan-sender
39  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
40  WLAN_API_TEST = test_transport_api_wlan
41  WLAN_REL_TEST = test_transport_api_reliability_wlan
42  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
43 endif
44
45
46 if LINUX
47 install-exec-hook:
48         $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-transport-wlan || true
49         $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-transport-wlan || true
50 else
51 install-exec-hook:
52 endif
53
54 if !MINGW
55 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
56 UNIX_PLUGIN_TEST = test_transport_api_unix 
57 UNIX_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
58 UNIX_REL_TEST = test_transport_api_unreliability_unix
59 UNIX_QUOTA_TEST = test_quota_compliance_unix \
60      test_quota_compliance_unix_asymmetric
61 endif
62
63 noinst_PROGRAMS = \
64  $(WLAN_BIN_SENDER)
65 # gnunet-transport-connect-running-peers
66
67 lib_LTLIBRARIES = \
68   libgnunettransport.la \
69   libgnunettransporttesting.la
70
71 libgnunettransporttesting_la_SOURCES = \
72   transport-testing.c transport-testing.h
73 libgnunettransporttesting_la_LIBADD = \
74   $(top_builddir)/src/transport/libgnunettransport.la \
75   $(top_builddir)/src/hello/libgnunethello.la \
76   $(top_builddir)/src/util/libgnunetutil.la \
77   $(GN_LIBINTL) 
78 libgnunettransporttesting_la_DEPENDENCIES = \
79   libgnunettransport.la
80 libgnunettransporttesting_la_LDFLAGS = \
81  $(GN_LIB_LDFLAGS)
82
83 libgnunettransport_la_SOURCES = \
84   transport_api.c transport.h \
85   transport_api_blacklist.c \
86   transport_api_address_to_string.c \
87   transport_api_address_lookup.c
88 libgnunettransport_la_LIBADD = \
89   $(top_builddir)/src/hello/libgnunethello.la \
90   $(top_builddir)/src/util/libgnunetutil.la \
91   $(GN_LIBINTL) 
92 libgnunettransport_la_LDFLAGS = \
93   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
94   -version-info 1:0:0
95
96 bin_PROGRAMS = \
97  gnunet-transport \
98  $(WLAN_BIN) \
99  $(WLAN_BIN_DUMMY) \
100  gnunet-service-transport \
101  gnunet-transport-certificate-creation
102
103 #bin_SCRIPTS = \
104 # gnunet-transport-certificate-creation
105
106 gnunet_transport_certificate_creation_SOURCES = \
107  gnunet-transport-certificate-creation.c
108 gnunet_transport_certificate_creation_LDADD = \
109   $(top_builddir)/src/util/libgnunetutil.la
110
111 gnunet_helper_transport_wlan_SOURCES = \
112  gnunet-helper-transport-wlan.c
113
114 gnunet_helper_transport_wlan_dummy_SOURCES = \
115  gnunet-helper-transport-wlan-dummy.c
116 gnunet_helper_transport_wlan_dummy_LDADD = \
117   $(top_builddir)/src/util/libgnunetutil.la 
118
119 gnunet_transport_wlan_sender_SOURCES = \
120  gnunet-transport-wlan-sender.c
121 gnunet_transport_wlan_sender_LDADD = \
122   $(top_builddir)/src/util/libgnunetutil.la 
123
124 gnunet_transport_SOURCES = \
125  gnunet-transport.c         
126 gnunet_transport_LDADD = \
127   $(top_builddir)/src/transport/libgnunettransport.la \
128   $(top_builddir)/src/nat/libgnunetnat.la \
129   $(top_builddir)/src/hello/libgnunethello.la \
130   $(top_builddir)/src/util/libgnunetutil.la \
131   $(GN_LIBINTL)
132 gnunet_transport_DEPENDENCIES = \
133   libgnunettransport.la                         
134
135 gnunet_service_transport_SOURCES = \
136  gnunet-service-transport.c gnunet-service-transport.h \
137  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
138  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
139  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
140  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
141  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
142  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
143 gnunet_service_transport_LDADD = \
144   $(top_builddir)/src/ats/libgnunetats.la \
145   $(top_builddir)/src/hello/libgnunethello.la \
146   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
147   $(top_builddir)/src/statistics/libgnunetstatistics.la \
148   $(top_builddir)/src/util/libgnunetutil.la \
149   $(GN_GLPK) \
150   $(GN_LIBINTL)
151
152 plugin_LTLIBRARIES = \
153   libgnunet_plugin_transport_tcp.la \
154   libgnunet_plugin_transport_udp.la \
155   $(UNIX_PLUGIN_LA) \
156   $(HTTP_PLUGIN_LA) \
157   $(HTTPS_PLUGIN_LA) \
158   $(WLAN_PLUGIN_LA) \
159   libgnunet_plugin_transport_template.la
160
161 libgnunet_plugin_transport_tcp_la_SOURCES = \
162   plugin_transport_tcp.c
163 libgnunet_plugin_transport_tcp_la_LIBADD = \
164   $(top_builddir)/src/hello/libgnunethello.la \
165   $(top_builddir)/src/statistics/libgnunetstatistics.la \
166   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
167   $(top_builddir)/src/nat/libgnunetnat.la \
168   $(top_builddir)/src/util/libgnunetutil.la \
169   $(LTLIBINTL)
170 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
171  $(GN_PLUGIN_LDFLAGS)
172
173 libgnunet_plugin_transport_template_la_SOURCES = \
174   plugin_transport_template.c
175 libgnunet_plugin_transport_template_la_LIBADD = \
176   $(top_builddir)/src/util/libgnunetutil.la \
177   $(LTLIBINTL)
178 libgnunet_plugin_transport_template_la_LDFLAGS = \
179  $(GN_PLUGIN_LDFLAGS)
180
181 libgnunet_plugin_transport_wlan_la_SOURCES = \
182   plugin_transport_wlan.c plugin_transport_wlan.h
183 libgnunet_plugin_transport_wlan_la_LIBADD = \
184   $(top_builddir)/src/hello/libgnunethello.la \
185   $(top_builddir)/src/statistics/libgnunetstatistics.la \
186   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
187   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
188   $(top_builddir)/src/util/libgnunetutil.la 
189 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
190   $(GN_PLUGIN_LDFLAGS)
191
192 libgnunet_plugin_transport_udp_la_SOURCES = \
193   plugin_transport_udp.c plugin_transport_udp.h \
194   plugin_transport_udp_broadcasting.c
195 libgnunet_plugin_transport_udp_la_LIBADD = \
196   $(top_builddir)/src/hello/libgnunethello.la \
197   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
198   $(top_builddir)/src/statistics/libgnunetstatistics.la \
199   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
200   $(top_builddir)/src/nat/libgnunetnat.la \
201   $(top_builddir)/src/util/libgnunetutil.la \
202   $(LTLIBINTL)
203 libgnunet_plugin_transport_udp_la_LDFLAGS = \
204  $(GN_PLUGIN_LDFLAGS)
205
206 libgnunet_plugin_transport_unix_la_SOURCES = \
207   plugin_transport_unix.c
208 libgnunet_plugin_transport_unix_la_LIBADD = \
209   $(top_builddir)/src/hello/libgnunethello.la \
210   $(top_builddir)/src/statistics/libgnunetstatistics.la \
211   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
212   $(top_builddir)/src/util/libgnunetutil.la \
213   $(LTLIBINTL)
214 libgnunet_plugin_transport_unix_la_LDFLAGS = \
215  $(GN_PLUGIN_LDFLAGS)
216
217 libgnunet_plugin_transport_http_la_SOURCES = \
218   plugin_transport_http.c plugin_transport_http.h \
219   plugin_transport_http_client.c plugin_transport_http_server.c
220 libgnunet_plugin_transport_http_la_LIBADD = \
221   $(top_builddir)/src/hello/libgnunethello.la \
222   $(top_builddir)/src/statistics/libgnunetstatistics.la \
223   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
224   @LIBCURL@ \
225   $(top_builddir)/src/nat/libgnunetnat.la \
226   $(top_builddir)/src/util/libgnunetutil.la 
227 libgnunet_plugin_transport_http_la_LDFLAGS = \
228  $(GN_LIBMHD) \
229  $(GN_PLUGIN_LDFLAGS)
230 libgnunet_plugin_transport_http_la_CFLAGS = \
231  $(CFLAGS) 
232 libgnunet_plugin_transport_http_la_CPPFLAGS = \
233  @LIBCURL_CPPFLAGS@
234
235 libgnunet_plugin_transport_https_la_SOURCES = \
236   plugin_transport_http.c plugin_transport_http.h \
237   plugin_transport_http_client.c plugin_transport_http_server.c
238 libgnunet_plugin_transport_https_la_LIBADD = \
239   $(top_builddir)/src/hello/libgnunethello.la \
240   $(top_builddir)/src/statistics/libgnunetstatistics.la \
241   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
242   @LIBCURL@ \
243   $(top_builddir)/src/nat/libgnunetnat.la \
244   $(top_builddir)/src/util/libgnunetutil.la 
245 libgnunet_plugin_transport_https_la_LDFLAGS = \
246  $(GN_LIBMHD) \
247  $(GN_PLUGIN_LDFLAGS)
248 libgnunet_plugin_transport_https_la_CFLAGS = \
249  $(CFLAGS) -DBUILD_HTTPS 
250 libgnunet_plugin_transport_https_la_CPPFLAGS = \
251  @LIBCURL_CPPFLAGS@
252
253
254 check_PROGRAMS = \
255  test_transport_testing \
256  test_transport_startonly \
257  test_transport_api_blacklisting \
258  test_transport_api_disconnect_tcp \
259  test_transport_api_bidirectional_connect \
260  test_transport_api_tcp \
261  test_transport_api_restart_1peer \
262  test_transport_api_restart_2peers \
263  test_transport_api_timeout_tcp \
264  test_transport_api_limited_sockets_tcp \
265  test_transport_api_tcp_nat \
266  test_transport_api_udp \
267  test_transport_api_timeout_udp \
268  $(UNIX_PLUGIN_TEST) \
269  $(UNIX_PLUGIN_TIMEOUT_TEST) \
270  test_transport_api_udp_nat \
271  $(HTTP_API_TEST) \
272  $(HTTP_NAT_API_TEST) \
273  $(HTTP_API_TIMEOUT_TEST) \
274  $(HTTPS_API_TEST) \
275  $(HTTPS_NAT_API_TEST) \
276  $(HTTPS_API_TIMEOUT_TEST) \
277  test_transport_api_multi \
278  test_transport_api_reliability_tcp \
279  test_transport_api_reliability_tcp_nat \
280  test_transport_api_unreliability_udp \
281  test_transport_api_unreliability_constant_udp \
282  $(UNIX_REL_TEST) \
283  $(HTTP_REL_TEST) \
284  $(HTTP_NAT_REL_TEST) \
285  $(HTTPS_REL_TEST) \
286  $(HTTPS_NAT_REL_TEST) \
287  test_quota_compliance_tcp \
288  test_quota_compliance_tcp_asymmetric \
289  test_quota_compliance_udp \
290  $(UNIX_QUOTA_TEST) \
291  $(HTTP_QUOTA_TEST) \
292  $(HTTPS_QUOTA_TEST) \
293  $(WLAN_API_TEST) \
294  $(WLAN_REL_TEST) \
295  $(WLAN_UREL_TEST)
296
297 if ENABLE_TEST_RUN
298 TESTS = \
299  test_transport_testing \
300  test_transport_startonly \
301  test_transport_api_blacklisting \
302  test_transport_api_disconnect_tcp \
303  test_transport_api_bidirectional_connect \
304  test_transport_api_tcp \
305  test_transport_api_restart_1peer \
306  test_transport_api_restart_2peers \
307  test_transport_api_timeout_tcp \
308  test_transport_api_limited_sockets_tcp \
309  test_transport_api_tcp_nat \
310  test_transport_api_udp \
311  test_transport_api_timeout_udp \
312  $(UNIX_PLUGIN_TEST) \
313  $(UNIX_PLUGIN_TIMEOUT_TEST) \
314  test_transport_api_udp_nat \
315  $(HTTP_API_TEST) \
316  $(HTTP_NAT_API_TEST) \
317  $(HTTP_API_TIMEOUT_TEST) \
318  $(HTTPS_API_TEST) \
319  $(HTTPS_NAT_API_TEST) \
320  $(HTTPS_API_TIMEOUT_TEST) \
321  test_transport_api_multi \
322  test_transport_api_reliability_tcp \
323  test_transport_api_reliability_tcp_nat \
324  test_transport_api_unreliability_udp \
325  test_transport_api_unreliability_constant_udp \
326  $(UNIX_REL_TEST) \
327  $(HTTP_REL_TEST) \
328  $(HTTP_NAT_REL_TEST) \
329  $(HTTPS_REL_TEST) \
330  $(HTTPS_NAT_REL_TEST) \
331  test_quota_compliance_tcp \
332  test_quota_compliance_tcp_asymmetric \
333  test_quota_compliance_udp \
334  $(UNIX_QUOTA_TEST) \
335  $(HTTP_QUOTA_TEST) \
336  $(HTTPS_QUOTA_TEST) \
337  $(WLAN_API_TEST) \
338  $(WLAN_REL_TEST) \
339  $(WLAN_UREL_TEST)
340 endif
341
342 test_transport_testing_SOURCES = \
343  test_transport_testing.c
344 test_transport_testing_LDADD = \
345  $(top_builddir)/src/util/libgnunetutil.la \
346  $(top_builddir)/src/transport/libgnunettransport.la \
347  $(top_builddir)/src/hello/libgnunethello.la \
348  $(top_builddir)/src/transport/libgnunettransporttesting.la 
349
350 #gnunet_transport_connect_running_peers_SOURCES = \
351 # gnunet-transport-connect-running-peers.c
352 #gnunet_transport_connect_running_peers_LDADD = \
353 # $(top_builddir)/src/transport/libgnunettransport.la \
354 # $(top_builddir)/src/hello/libgnunethello.la \
355 # $(top_builddir)/src/util/libgnunetutil.la \
356 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
357
358 test_transport_api_blacklisting_SOURCES = \
359  test_transport_api_blacklisting.c
360 test_transport_api_blacklisting_LDADD = \
361  $(top_builddir)/src/transport/libgnunettransport.la \
362  $(top_builddir)/src/hello/libgnunethello.la \
363  $(top_builddir)/src/statistics/libgnunetstatistics.la \
364  $(top_builddir)/src/util/libgnunetutil.la \
365  $(top_builddir)/src/transport/libgnunettransporttesting.la 
366
367 test_transport_api_disconnect_tcp_SOURCES = \
368  test_transport_api_disconnect.c
369 test_transport_api_disconnect_tcp_LDADD = \
370  $(top_builddir)/src/transport/libgnunettransport.la \
371  $(top_builddir)/src/hello/libgnunethello.la \
372  $(top_builddir)/src/statistics/libgnunetstatistics.la \
373  $(top_builddir)/src/util/libgnunetutil.la \
374  $(top_builddir)/src/transport/libgnunettransporttesting.la 
375
376 test_transport_startonly_SOURCES = \
377  test_transport_startonly.c
378 test_transport_startonly_LDADD = \
379  $(top_builddir)/src/transport/libgnunettransport.la \
380  $(top_builddir)/src/hello/libgnunethello.la \
381  $(top_builddir)/src/statistics/libgnunetstatistics.la \
382  $(top_builddir)/src/util/libgnunetutil.la \
383  $(top_builddir)/src/transport/libgnunettransporttesting.la 
384
385 test_transport_api_tcp_SOURCES = \
386  test_transport_api.c
387 test_transport_api_tcp_LDADD = \
388  $(top_builddir)/src/transport/libgnunettransport.la \
389  $(top_builddir)/src/hello/libgnunethello.la \
390  $(top_builddir)/src/util/libgnunetutil.la  \
391  $(top_builddir)/src/transport/libgnunettransporttesting.la
392   
393 test_transport_api_bidirectional_connect_SOURCES = \
394  test_transport_api_bidirectional_connect.c
395 test_transport_api_bidirectional_connect_LDADD = \
396  $(top_builddir)/src/transport/libgnunettransport.la \
397  $(top_builddir)/src/hello/libgnunethello.la \
398  $(top_builddir)/src/util/libgnunetutil.la  \
399  $(top_builddir)/src/transport/libgnunettransporttesting.la
400
401 test_transport_api_restart_1peer_SOURCES = \
402  test_transport_api_restart_1peer.c
403 test_transport_api_restart_1peer_LDADD = \
404  $(top_builddir)/src/transport/libgnunettransport.la \
405  $(top_builddir)/src/hello/libgnunethello.la \
406  $(top_builddir)/src/statistics/libgnunetstatistics.la \
407  $(top_builddir)/src/util/libgnunetutil.la \
408  $(top_builddir)/src/transport/libgnunettransporttesting.la 
409
410 test_transport_api_restart_2peers_SOURCES = \
411  test_transport_api_restart_2peers.c
412 test_transport_api_restart_2peers_LDADD = \
413  $(top_builddir)/src/transport/libgnunettransport.la \
414  $(top_builddir)/src/hello/libgnunethello.la \
415  $(top_builddir)/src/statistics/libgnunetstatistics.la \
416  $(top_builddir)/src/util/libgnunetutil.la \
417  $(top_builddir)/src/transport/libgnunettransporttesting.la 
418   
419 test_transport_api_limited_sockets_tcp_SOURCES = \
420  test_transport_api_limited_sockets.c
421 test_transport_api_limited_sockets_tcp_LDADD = \
422  $(top_builddir)/src/transport/libgnunettransport.la \
423  $(top_builddir)/src/hello/libgnunethello.la \
424  $(top_builddir)/src/util/libgnunetutil.la  \
425  $(top_builddir)/src/transport/libgnunettransporttesting.la
426
427 test_transport_api_tcp_nat_SOURCES = \
428  test_transport_api.c
429 test_transport_api_tcp_nat_LDADD = \
430  $(top_builddir)/src/transport/libgnunettransport.la \
431  $(top_builddir)/src/hello/libgnunethello.la \
432  $(top_builddir)/src/util/libgnunetutil.la \
433  $(top_builddir)/src/transport/libgnunettransporttesting.la 
434
435 test_transport_api_reliability_tcp_SOURCES = \
436  test_transport_api_reliability.c
437 test_transport_api_reliability_tcp_LDADD = \
438  $(top_builddir)/src/transport/libgnunettransport.la \
439  $(top_builddir)/src/hello/libgnunethello.la \
440  $(top_builddir)/src/util/libgnunetutil.la \
441  $(top_builddir)/src/transport/libgnunettransporttesting.la 
442
443 test_transport_api_timeout_tcp_SOURCES = \
444  test_transport_api_timeout.c
445 test_transport_api_timeout_tcp_LDADD = \
446  $(top_builddir)/src/transport/libgnunettransport.la \
447  $(top_builddir)/src/hello/libgnunethello.la \
448  $(top_builddir)/src/util/libgnunetutil.la \
449  $(top_builddir)/src/transport/libgnunettransporttesting.la 
450
451 test_transport_api_timeout_unix_SOURCES = \
452  test_transport_api_timeout.c
453 test_transport_api_timeout_unix_LDADD = \
454  $(top_builddir)/src/transport/libgnunettransport.la \
455  $(top_builddir)/src/hello/libgnunethello.la \
456  $(top_builddir)/src/util/libgnunetutil.la \
457  $(top_builddir)/src/transport/libgnunettransporttesting.la 
458
459 test_transport_api_timeout_http_SOURCES = \
460  test_transport_api_timeout.c
461 test_transport_api_timeout_http_LDADD = \
462  $(top_builddir)/src/transport/libgnunettransport.la \
463  $(top_builddir)/src/hello/libgnunethello.la \
464  $(top_builddir)/src/util/libgnunetutil.la \
465  $(top_builddir)/src/transport/libgnunettransporttesting.la 
466  
467 test_transport_api_timeout_https_SOURCES = \
468  test_transport_api_timeout.c
469 test_transport_api_timeout_https_LDADD = \
470  $(top_builddir)/src/transport/libgnunettransport.la \
471  $(top_builddir)/src/hello/libgnunethello.la \
472  $(top_builddir)/src/util/libgnunetutil.la \
473  $(top_builddir)/src/transport/libgnunettransporttesting.la 
474  
475 test_transport_api_reliability_tcp_nat_SOURCES = \
476  test_transport_api_reliability.c
477 test_transport_api_reliability_tcp_nat_LDADD = \
478  $(top_builddir)/src/transport/libgnunettransport.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_reliability_wlan_SOURCES = \
484  test_transport_api_reliability.c
485 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
492  test_transport_api_unreliability.c
493 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
500  test_transport_api.c
501 test_transport_api_udp_LDADD = \
502  $(top_builddir)/src/transport/libgnunettransport.la \
503  $(top_builddir)/src/hello/libgnunethello.la \
504  $(top_builddir)/src/util/libgnunetutil.la  \
505  $(top_builddir)/src/transport/libgnunettransporttesting.la
506  
507 test_transport_api_timeout_udp_SOURCES = \
508  test_transport_api_timeout.c
509 test_transport_api_timeout_udp_LDADD = \
510  $(top_builddir)/src/transport/libgnunettransport.la \
511  $(top_builddir)/src/hello/libgnunethello.la \
512  $(top_builddir)/src/util/libgnunetutil.la \
513  $(top_builddir)/src/transport/libgnunettransporttesting.la  
514
515 test_transport_api_udp_nat_SOURCES = \
516  test_transport_api.c
517 test_transport_api_udp_nat_LDADD = \
518  $(top_builddir)/src/transport/libgnunettransport.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_transport_api_unix_SOURCES = \
524  test_transport_api.c
525 test_transport_api_unix_LDADD = \
526  $(top_builddir)/src/transport/libgnunettransport.la \
527  $(top_builddir)/src/hello/libgnunethello.la \
528  $(top_builddir)/src/util/libgnunetutil.la \
529  $(top_builddir)/src/transport/libgnunettransporttesting.la 
530
531 test_transport_api_http_SOURCES = \
532  test_transport_api.c
533 test_transport_api_http_LDADD = \
534  $(top_builddir)/src/transport/libgnunettransport.la \
535  $(top_builddir)/src/hello/libgnunethello.la \
536  $(top_builddir)/src/util/libgnunetutil.la \
537  $(top_builddir)/src/transport/libgnunettransporttesting.la 
538  
539  test_transport_api_http_nat_SOURCES = \
540  test_transport_api.c
541 test_transport_api_http_nat_LDADD = \
542  $(top_builddir)/src/transport/libgnunettransport.la \
543  $(top_builddir)/src/hello/libgnunethello.la \
544  $(top_builddir)/src/util/libgnunetutil.la \
545  $(top_builddir)/src/transport/libgnunettransporttesting.la 
546
547 test_transport_api_reliability_http_SOURCES = \
548  test_transport_api_reliability.c
549 test_transport_api_reliability_http_LDADD = \
550  $(top_builddir)/src/transport/libgnunettransport.la \
551  $(top_builddir)/src/hello/libgnunethello.la \
552  $(top_builddir)/src/util/libgnunetutil.la \
553  $(top_builddir)/src/transport/libgnunettransporttesting.la 
554
555 test_transport_api_reliability_http_nat_SOURCES = \
556  test_transport_api_reliability.c
557 test_transport_api_reliability_http_nat_LDADD = \
558  $(top_builddir)/src/transport/libgnunettransport.la \
559  $(top_builddir)/src/hello/libgnunethello.la \
560  $(top_builddir)/src/util/libgnunetutil.la \
561  $(top_builddir)/src/transport/libgnunettransporttesting.la 
562
563 test_transport_api_https_SOURCES = \
564  test_transport_api.c
565 test_transport_api_https_LDADD = \
566  $(top_builddir)/src/transport/libgnunettransport.la \
567  $(top_builddir)/src/hello/libgnunethello.la \
568  $(top_builddir)/src/util/libgnunetutil.la  \
569  $(top_builddir)/src/transport/libgnunettransporttesting.la 
570
571 test_transport_api_https_nat_SOURCES = \
572  test_transport_api.c
573 test_transport_api_https_nat_LDADD = \
574  $(top_builddir)/src/transport/libgnunettransport.la \
575  $(top_builddir)/src/hello/libgnunethello.la \
576  $(top_builddir)/src/util/libgnunetutil.la \
577  $(top_builddir)/src/transport/libgnunettransporttesting.la 
578
579 test_transport_api_reliability_https_SOURCES = \
580  test_transport_api_reliability.c
581 test_transport_api_reliability_https_LDADD = \
582  $(top_builddir)/src/transport/libgnunettransport.la \
583  $(top_builddir)/src/hello/libgnunethello.la \
584  $(top_builddir)/src/util/libgnunetutil.la \
585  $(top_builddir)/src/transport/libgnunettransporttesting.la 
586
587 test_transport_api_reliability_https_nat_SOURCES = \
588  test_transport_api_reliability.c
589 test_transport_api_reliability_https_nat_LDADD = \
590  $(top_builddir)/src/transport/libgnunettransport.la \
591  $(top_builddir)/src/hello/libgnunethello.la \
592  $(top_builddir)/src/util/libgnunetutil.la \
593  $(top_builddir)/src/transport/libgnunettransporttesting.la 
594
595 test_transport_api_unreliability_unix_SOURCES = \
596  test_transport_api_unreliability.c
597 test_transport_api_unreliability_unix_LDADD = \
598  $(top_builddir)/src/transport/libgnunettransport.la \
599  $(top_builddir)/src/hello/libgnunethello.la \
600  $(top_builddir)/src/util/libgnunetutil.la \
601  $(top_builddir)/src/transport/libgnunettransporttesting.la 
602
603 test_transport_api_unreliability_udp_SOURCES = \
604  test_transport_api_unreliability.c
605 test_transport_api_unreliability_udp_LDADD = \
606  $(top_builddir)/src/transport/libgnunettransport.la \
607  $(top_builddir)/src/hello/libgnunethello.la \
608  $(top_builddir)/src/util/libgnunetutil.la \
609  $(top_builddir)/src/transport/libgnunettransporttesting.la 
610
611 test_transport_api_unreliability_constant_udp_SOURCES = \
612  test_transport_api_unreliability_constant.c
613 test_transport_api_unreliability_constant_udp_LDADD = \
614  $(top_builddir)/src/transport/libgnunettransport.la \
615  $(top_builddir)/src/hello/libgnunethello.la \
616  $(top_builddir)/src/util/libgnunetutil.la \
617  $(top_builddir)/src/transport/libgnunettransporttesting.la 
618
619 if LINUX
620 test_transport_api_wlan_SOURCES = \
621  test_transport_api.c
622 test_transport_api_wlan_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 endif
628
629 test_quota_compliance_tcp_SOURCES = \
630  test_quota_compliance.c
631 test_quota_compliance_tcp_LDADD = \
632  $(top_builddir)/src/transport/libgnunettransport.la \
633  $(top_builddir)/src/hello/libgnunethello.la \
634  $(top_builddir)/src/util/libgnunetutil.la \
635  $(top_builddir)/src/transport/libgnunettransporttesting.la 
636
637 test_quota_compliance_tcp_asymmetric_SOURCES = \
638  test_quota_compliance.c
639 test_quota_compliance_tcp_asymmetric_LDADD = \
640  $(top_builddir)/src/transport/libgnunettransport.la \
641  $(top_builddir)/src/hello/libgnunethello.la \
642  $(top_builddir)/src/util/libgnunetutil.la \
643  $(top_builddir)/src/transport/libgnunettransporttesting.la 
644
645 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
646 # test_quota_compliance.c
647 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
648 # $(top_builddir)/src/transport/libgnunettransport.la \
649 # $(top_builddir)/src/util/libgnunetutil.la
650
651 test_quota_compliance_http_SOURCES = \
652  test_quota_compliance.c
653 test_quota_compliance_http_LDADD = \
654  $(top_builddir)/src/transport/libgnunettransport.la \
655  $(top_builddir)/src/hello/libgnunethello.la \
656  $(top_builddir)/src/util/libgnunetutil.la \
657  $(top_builddir)/src/transport/libgnunettransporttesting.la 
658
659  test_quota_compliance_http_asymmetric_SOURCES = \
660  test_quota_compliance.c
661 test_quota_compliance_http_asymmetric_LDADD = \
662  $(top_builddir)/src/transport/libgnunettransport.la \
663  $(top_builddir)/src/hello/libgnunethello.la \
664  $(top_builddir)/src/util/libgnunetutil.la \
665  $(top_builddir)/src/transport/libgnunettransporttesting.la
666
667 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
668 # test_quota_compliance.c
669 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
670 # $(top_builddir)/src/transport/libgnunettransport.la \
671 # $(top_builddir)/src/util/libgnunetutil.la
672
673 test_quota_compliance_https_SOURCES = \
674  test_quota_compliance.c
675 test_quota_compliance_https_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_quota_compliance_https_asymmetric_SOURCES = \
682  test_quota_compliance.c
683 test_quota_compliance_https_asymmetric_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_quota_compliance_https_asymmetric_send_constant_SOURCES = \
690 # test_quota_compliance.c
691 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
692 # $(top_builddir)/src/transport/libgnunettransport.la \
693 # $(top_builddir)/src/util/libgnunetutil.la
694
695 test_quota_compliance_udp_SOURCES = \
696  test_quota_compliance.c
697 test_quota_compliance_udp_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_unix_SOURCES = \
704  test_quota_compliance.c
705 test_quota_compliance_unix_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_unix_asymmetric_SOURCES = \
712  test_quota_compliance.c
713 test_quota_compliance_unix_asymmetric_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_transport_api_multi_SOURCES = \
720  test_transport_api.c
721 test_transport_api_multi_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
728 EXTRA_DIST = \
729 gnunet-transport-certificate-creation \
730 template_cfg_peer1.conf\
731 template_cfg_peer2.conf\
732 test_plugin_transport_data.conf\
733 test_plugin_transport_data_udp.conf\
734 test_quota_compliance_data.conf\
735 test_quota_compliance_http_peer1.conf\
736 test_quota_compliance_http_peer2.conf\
737 test_quota_compliance_https_peer1.conf\
738 test_quota_compliance_https_peer2.conf\
739 test_quota_compliance_tcp_peer1.conf\
740 test_quota_compliance_tcp_peer2.conf\
741 test_quota_compliance_udp_peer1.conf\
742 test_quota_compliance_udp_peer2.conf\
743 test_quota_compliance_unix_peer1.conf\
744 test_quota_compliance_unix_peer2.conf\
745 test_quota_compliance_http_asymmetric_peer1.conf\
746 test_quota_compliance_http_asymmetric_peer2.conf\
747 test_quota_compliance_https_asymmetric_peer1.conf\
748 test_quota_compliance_https_asymmetric_peer2.conf\
749 test_quota_compliance_tcp_asymmetric_peer1.conf\
750 test_quota_compliance_tcp_asymmetric_peer2.conf\
751 test_quota_compliance_unix_asymmetric_peer1.conf\
752 test_quota_compliance_unix_asymmetric_peer2.conf\
753 test_transport_api_data.conf\
754 test_transport_api_http_peer1.conf\
755 test_transport_api_http_peer2.conf\
756 test_transport_api_https_peer1.conf\
757 test_transport_api_https_peer2.conf\
758 test_transport_api_limited_sockets_tcp_peer1.conf\
759 test_transport_api_limited_sockets_tcp_peer2.conf\
760 test_transport_api_timeout_tcp_peer1.conf\
761 test_transport_api_timeout_tcp_peer2.conf\
762 test_transport_api_multi_peer1.conf\
763 test_transport_api_multi_peer2.conf\
764 test_transport_api_reliability_http_peer1.conf\
765 test_transport_api_reliability_http_peer2.conf\
766 test_transport_api_reliability_https_peer1.conf\
767 test_transport_api_reliability_https_peer2.conf\
768 test_transport_api_reliability_tcp_nat_peer1.conf\
769 test_transport_api_reliability_tcp_nat_peer2.conf\
770 test_transport_api_reliability_tcp_peer1.conf\
771 test_transport_api_reliability_tcp_peer2.conf\
772 test_transport_api_reliability_wlan_peer1.conf\
773 test_transport_api_reliability_wlan_peer2.conf\
774 test_transport_api_bidirectional_connect_peer1.conf\
775 test_transport_api_bidirectional_connect_peer2.conf\
776 test_transport_api_tcp_nat_peer1.conf\
777 test_transport_api_tcp_nat_peer2.conf\
778 test_transport_api_tcp_peer1.conf\
779 test_transport_api_tcp_peer2.conf\
780 test_transport_api_udp_nat_peer1.conf\
781 test_transport_api_udp_nat_peer2.conf\
782 test_transport_api_udp_peer1.conf\
783 test_transport_api_udp_peer2.conf\
784 test_transport_api_timeout_udp_peer1.conf\
785 test_transport_api_timeout_udp_peer2.conf\
786 test_transport_api_unix_peer1.conf\
787 test_transport_api_unix_peer2.conf\
788 test_transport_api_timeout_unix_peer1.conf\
789 test_transport_api_timeout_unix_peer2.conf\
790 test_transport_api_unreliability_udp_peer1.conf\
791 test_transport_api_unreliability_udp_peer2.conf\
792 test_transport_api_unreliability_unix_peer1.conf\
793 test_transport_api_unreliability_unix_peer2.conf\
794 test_transport_api_unreliability_wlan_peer1.conf\
795 test_transport_api_unreliability_wlan_peer2.conf\
796 test_transport_api_wlan_peer1.conf\
797 test_transport_api_wlan_peer2.conf\
798 test_transport_defaults.conf\
799 test_transport_startonly.conf\
800 test_transport_api_disconnect_tcp_peer1.conf\
801 test_transport_api_disconnect_tcp_peer2.conf\
802 test_transport_api_http_nat_peer1.conf\
803 test_transport_api_http_nat_peer2.conf\
804 test_transport_api_https_nat_peer1.conf\
805 test_transport_api_https_nat_peer2.conf\
806 test_transport_api_reliability_http_nat_peer1.conf\
807 test_transport_api_reliability_http_nat_peer2.conf\
808 test_transport_api_reliability_https_nat_peer1.conf\
809 test_transport_api_reliability_https_nat_peer2.conf\
810 test_transport_api_timeout_http_peer1.conf\
811 test_transport_api_timeout_http_peer2.conf\
812 test_transport_api_timeout_https_peer1.conf\
813 test_transport_api_timeout_https_peer2.conf\
814 test_transport_api_unreliability_constant_udp_peer1.conf\
815 test_transport_api_unreliability_constant_udp_peer2.conf