-makefile for new test_stream_local (commented)
[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_DUMMY) \
65  $(WLAN_BIN_SENDER)
66 # gnunet-transport-connect-running-peers
67
68 lib_LTLIBRARIES = \
69   libgnunettransport.la \
70   libgnunettransporttesting.la
71
72 libgnunettransporttesting_la_SOURCES = \
73   transport-testing.c transport-testing.h
74 libgnunettransporttesting_la_LIBADD = \
75   $(top_builddir)/src/transport/libgnunettransport.la \
76   $(top_builddir)/src/hello/libgnunethello.la \
77   $(top_builddir)/src/util/libgnunetutil.la \
78   $(GN_LIBINTL) 
79 libgnunettransporttesting_la_DEPENDENCIES = \
80   libgnunettransport.la
81 libgnunettransporttesting_la_LDFLAGS = \
82  $(GN_LIB_LDFLAGS)
83
84 libgnunettransport_la_SOURCES = \
85   transport_api.c transport.h \
86   transport_api_blacklist.c \
87   transport_api_address_to_string.c \
88   transport_api_address_lookup.c
89 libgnunettransport_la_LIBADD = \
90   $(top_builddir)/src/hello/libgnunethello.la \
91   $(top_builddir)/src/util/libgnunetutil.la \
92   $(GN_LIBINTL) 
93 libgnunettransport_la_LDFLAGS = \
94   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
95   -version-info 0:0:0
96
97 bin_PROGRAMS = \
98  gnunet-transport \
99  $(WLAN_BIN) \
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 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
170  $(GN_PLUGIN_LDFLAGS)
171
172 libgnunet_plugin_transport_template_la_SOURCES = \
173   plugin_transport_template.c
174 libgnunet_plugin_transport_template_la_LIBADD = \
175   $(top_builddir)/src/util/libgnunetutil.la 
176 libgnunet_plugin_transport_template_la_LDFLAGS = \
177  $(GN_PLUGIN_LDFLAGS)
178
179 libgnunet_plugin_transport_wlan_la_SOURCES = \
180   plugin_transport_wlan.c plugin_transport_wlan.h
181 libgnunet_plugin_transport_wlan_la_LIBADD = \
182   $(top_builddir)/src/hello/libgnunethello.la \
183   $(top_builddir)/src/statistics/libgnunetstatistics.la \
184   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
185   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
186   $(top_builddir)/src/util/libgnunetutil.la 
187 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
188   $(GN_PLUGIN_LDFLAGS)
189
190 libgnunet_plugin_transport_udp_la_SOURCES = \
191   plugin_transport_udp.c plugin_transport_udp.h \
192   plugin_transport_udp_broadcasting.c
193 libgnunet_plugin_transport_udp_la_LIBADD = \
194   $(top_builddir)/src/hello/libgnunethello.la \
195   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
196   $(top_builddir)/src/statistics/libgnunetstatistics.la \
197   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
198   $(top_builddir)/src/nat/libgnunetnat.la \
199   $(top_builddir)/src/util/libgnunetutil.la 
200 libgnunet_plugin_transport_udp_la_LDFLAGS = \
201  $(GN_PLUGIN_LDFLAGS)
202
203 libgnunet_plugin_transport_unix_la_SOURCES = \
204   plugin_transport_unix.c
205 libgnunet_plugin_transport_unix_la_LIBADD = \
206   $(top_builddir)/src/hello/libgnunethello.la \
207   $(top_builddir)/src/statistics/libgnunetstatistics.la \
208   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
209   $(top_builddir)/src/util/libgnunetutil.la 
210 libgnunet_plugin_transport_unix_la_LDFLAGS = \
211  $(GN_PLUGIN_LDFLAGS)
212
213 libgnunet_plugin_transport_http_la_SOURCES = \
214   plugin_transport_http.c plugin_transport_http.h \
215   plugin_transport_http_client.c plugin_transport_http_server.c
216 libgnunet_plugin_transport_http_la_LIBADD = \
217   $(top_builddir)/src/hello/libgnunethello.la \
218   $(top_builddir)/src/statistics/libgnunetstatistics.la \
219   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
220   @LIBCURL@ \
221   $(top_builddir)/src/nat/libgnunetnat.la \
222   $(top_builddir)/src/util/libgnunetutil.la 
223 libgnunet_plugin_transport_http_la_LDFLAGS = \
224  $(GN_LIBMHD) \
225  $(GN_PLUGIN_LDFLAGS)
226 libgnunet_plugin_transport_http_la_CFLAGS = \
227  $(CFLAGS) 
228 libgnunet_plugin_transport_http_la_CPPFLAGS = \
229  @LIBCURL_CPPFLAGS@
230
231 libgnunet_plugin_transport_https_la_SOURCES = \
232   plugin_transport_http.c plugin_transport_http.h \
233   plugin_transport_http_client.c plugin_transport_http_server.c
234 libgnunet_plugin_transport_https_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_https_la_LDFLAGS = \
242  $(GN_LIBMHD) \
243  $(GN_PLUGIN_LDFLAGS)
244 libgnunet_plugin_transport_https_la_CFLAGS = \
245  $(CFLAGS) -DBUILD_HTTPS 
246 libgnunet_plugin_transport_https_la_CPPFLAGS = \
247  @LIBCURL_CPPFLAGS@
248
249
250 check_PROGRAMS = \
251  test_transport_testing \
252  test_transport_startonly \
253  test_transport_api_blacklisting \
254  test_transport_api_disconnect_tcp \
255  test_transport_api_bidirectional_connect \
256  test_transport_api_tcp \
257  test_transport_api_restart_1peer \
258  test_transport_api_restart_2peers \
259  test_transport_api_timeout_tcp \
260  test_transport_api_limited_sockets_tcp \
261  test_transport_api_tcp_nat \
262  test_transport_api_udp \
263  test_transport_api_timeout_udp \
264  $(UNIX_PLUGIN_TEST) \
265  $(UNIX_PLUGIN_TIMEOUT_TEST) \
266  test_transport_api_udp_nat \
267  $(HTTP_API_TEST) \
268  $(HTTP_NAT_API_TEST) \
269  $(HTTP_API_TIMEOUT_TEST) \
270  $(HTTPS_API_TEST) \
271  $(HTTPS_NAT_API_TEST) \
272  $(HTTPS_API_TIMEOUT_TEST) \
273  test_transport_api_multi \
274  test_transport_api_reliability_tcp \
275  test_transport_api_reliability_tcp_nat \
276  test_transport_api_unreliability_udp \
277  test_transport_api_unreliability_constant_udp \
278  $(UNIX_REL_TEST) \
279  $(HTTP_REL_TEST) \
280  $(HTTP_NAT_REL_TEST) \
281  $(HTTPS_REL_TEST) \
282  $(HTTPS_NAT_REL_TEST) \
283  test_quota_compliance_tcp \
284  test_quota_compliance_tcp_asymmetric \
285  test_quota_compliance_udp \
286  $(UNIX_QUOTA_TEST) \
287  $(HTTP_QUOTA_TEST) \
288  $(HTTPS_QUOTA_TEST) \
289  $(WLAN_API_TEST) \
290  $(WLAN_REL_TEST) \
291  $(WLAN_UREL_TEST)
292
293 if ENABLE_TEST_RUN
294 TESTS = \
295  test_transport_testing \
296  test_transport_startonly \
297  test_transport_api_blacklisting \
298  test_transport_api_disconnect_tcp \
299  test_transport_api_bidirectional_connect \
300  test_transport_api_tcp \
301  test_transport_api_restart_1peer \
302  test_transport_api_restart_2peers \
303  test_transport_api_timeout_tcp \
304  test_transport_api_limited_sockets_tcp \
305  test_transport_api_tcp_nat \
306  test_transport_api_udp \
307  test_transport_api_timeout_udp \
308  $(UNIX_PLUGIN_TEST) \
309  $(UNIX_PLUGIN_TIMEOUT_TEST) \
310  test_transport_api_udp_nat \
311  $(HTTP_API_TEST) \
312  $(HTTP_NAT_API_TEST) \
313  $(HTTP_API_TIMEOUT_TEST) \
314  $(HTTPS_API_TEST) \
315  $(HTTPS_NAT_API_TEST) \
316  $(HTTPS_API_TIMEOUT_TEST) \
317  test_transport_api_multi \
318  test_transport_api_reliability_tcp \
319  test_transport_api_reliability_tcp_nat \
320  test_transport_api_unreliability_udp \
321  test_transport_api_unreliability_constant_udp \
322  $(UNIX_REL_TEST) \
323  $(HTTP_REL_TEST) \
324  $(HTTP_NAT_REL_TEST) \
325  $(HTTPS_REL_TEST) \
326  $(HTTPS_NAT_REL_TEST) \
327  test_quota_compliance_tcp \
328  test_quota_compliance_tcp_asymmetric \
329  test_quota_compliance_udp \
330  $(UNIX_QUOTA_TEST) \
331  $(HTTP_QUOTA_TEST) \
332  $(HTTPS_QUOTA_TEST) \
333  $(WLAN_API_TEST) \
334  $(WLAN_REL_TEST) \
335  $(WLAN_UREL_TEST)
336 endif
337
338 test_transport_testing_SOURCES = \
339  test_transport_testing.c
340 test_transport_testing_LDADD = \
341  $(top_builddir)/src/util/libgnunetutil.la \
342  $(top_builddir)/src/transport/libgnunettransport.la \
343  $(top_builddir)/src/hello/libgnunethello.la \
344  $(top_builddir)/src/transport/libgnunettransporttesting.la 
345
346 #gnunet_transport_connect_running_peers_SOURCES = \
347 # gnunet-transport-connect-running-peers.c
348 #gnunet_transport_connect_running_peers_LDADD = \
349 # $(top_builddir)/src/transport/libgnunettransport.la \
350 # $(top_builddir)/src/hello/libgnunethello.la \
351 # $(top_builddir)/src/util/libgnunetutil.la \
352 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
353
354 test_transport_api_blacklisting_SOURCES = \
355  test_transport_api_blacklisting.c
356 test_transport_api_blacklisting_LDADD = \
357  $(top_builddir)/src/transport/libgnunettransport.la \
358  $(top_builddir)/src/hello/libgnunethello.la \
359  $(top_builddir)/src/statistics/libgnunetstatistics.la \
360  $(top_builddir)/src/util/libgnunetutil.la \
361  $(top_builddir)/src/transport/libgnunettransporttesting.la 
362
363 test_transport_api_disconnect_tcp_SOURCES = \
364  test_transport_api_disconnect.c
365 test_transport_api_disconnect_tcp_LDADD = \
366  $(top_builddir)/src/transport/libgnunettransport.la \
367  $(top_builddir)/src/hello/libgnunethello.la \
368  $(top_builddir)/src/statistics/libgnunetstatistics.la \
369  $(top_builddir)/src/util/libgnunetutil.la \
370  $(top_builddir)/src/transport/libgnunettransporttesting.la 
371
372 test_transport_startonly_SOURCES = \
373  test_transport_startonly.c
374 test_transport_startonly_LDADD = \
375  $(top_builddir)/src/transport/libgnunettransport.la \
376  $(top_builddir)/src/hello/libgnunethello.la \
377  $(top_builddir)/src/statistics/libgnunetstatistics.la \
378  $(top_builddir)/src/util/libgnunetutil.la \
379  $(top_builddir)/src/transport/libgnunettransporttesting.la 
380
381 test_transport_api_tcp_SOURCES = \
382  test_transport_api.c
383 test_transport_api_tcp_LDADD = \
384  $(top_builddir)/src/transport/libgnunettransport.la \
385  $(top_builddir)/src/hello/libgnunethello.la \
386  $(top_builddir)/src/util/libgnunetutil.la  \
387  $(top_builddir)/src/transport/libgnunettransporttesting.la
388   
389 test_transport_api_bidirectional_connect_SOURCES = \
390  test_transport_api_bidirectional_connect.c
391 test_transport_api_bidirectional_connect_LDADD = \
392  $(top_builddir)/src/transport/libgnunettransport.la \
393  $(top_builddir)/src/hello/libgnunethello.la \
394  $(top_builddir)/src/util/libgnunetutil.la  \
395  $(top_builddir)/src/transport/libgnunettransporttesting.la
396
397 test_transport_api_restart_1peer_SOURCES = \
398  test_transport_api_restart_1peer.c
399 test_transport_api_restart_1peer_LDADD = \
400  $(top_builddir)/src/transport/libgnunettransport.la \
401  $(top_builddir)/src/hello/libgnunethello.la \
402  $(top_builddir)/src/statistics/libgnunetstatistics.la \
403  $(top_builddir)/src/util/libgnunetutil.la \
404  $(top_builddir)/src/transport/libgnunettransporttesting.la 
405
406 test_transport_api_restart_2peers_SOURCES = \
407  test_transport_api_restart_2peers.c
408 test_transport_api_restart_2peers_LDADD = \
409  $(top_builddir)/src/transport/libgnunettransport.la \
410  $(top_builddir)/src/hello/libgnunethello.la \
411  $(top_builddir)/src/statistics/libgnunetstatistics.la \
412  $(top_builddir)/src/util/libgnunetutil.la \
413  $(top_builddir)/src/transport/libgnunettransporttesting.la 
414   
415 test_transport_api_limited_sockets_tcp_SOURCES = \
416  test_transport_api_limited_sockets.c
417 test_transport_api_limited_sockets_tcp_LDADD = \
418  $(top_builddir)/src/transport/libgnunettransport.la \
419  $(top_builddir)/src/hello/libgnunethello.la \
420  $(top_builddir)/src/util/libgnunetutil.la  \
421  $(top_builddir)/src/transport/libgnunettransporttesting.la
422
423 test_transport_api_tcp_nat_SOURCES = \
424  test_transport_api.c
425 test_transport_api_tcp_nat_LDADD = \
426  $(top_builddir)/src/transport/libgnunettransport.la \
427  $(top_builddir)/src/hello/libgnunethello.la \
428  $(top_builddir)/src/util/libgnunetutil.la \
429  $(top_builddir)/src/transport/libgnunettransporttesting.la 
430
431 test_transport_api_reliability_tcp_SOURCES = \
432  test_transport_api_reliability.c
433 test_transport_api_reliability_tcp_LDADD = \
434  $(top_builddir)/src/transport/libgnunettransport.la \
435  $(top_builddir)/src/hello/libgnunethello.la \
436  $(top_builddir)/src/util/libgnunetutil.la \
437  $(top_builddir)/src/transport/libgnunettransporttesting.la 
438
439 test_transport_api_timeout_tcp_SOURCES = \
440  test_transport_api_timeout.c
441 test_transport_api_timeout_tcp_LDADD = \
442  $(top_builddir)/src/transport/libgnunettransport.la \
443  $(top_builddir)/src/hello/libgnunethello.la \
444  $(top_builddir)/src/util/libgnunetutil.la \
445  $(top_builddir)/src/transport/libgnunettransporttesting.la 
446
447 test_transport_api_timeout_unix_SOURCES = \
448  test_transport_api_timeout.c
449 test_transport_api_timeout_unix_LDADD = \
450  $(top_builddir)/src/transport/libgnunettransport.la \
451  $(top_builddir)/src/hello/libgnunethello.la \
452  $(top_builddir)/src/util/libgnunetutil.la \
453  $(top_builddir)/src/transport/libgnunettransporttesting.la 
454
455 test_transport_api_timeout_http_SOURCES = \
456  test_transport_api_timeout.c
457 test_transport_api_timeout_http_LDADD = \
458  $(top_builddir)/src/transport/libgnunettransport.la \
459  $(top_builddir)/src/hello/libgnunethello.la \
460  $(top_builddir)/src/util/libgnunetutil.la \
461  $(top_builddir)/src/transport/libgnunettransporttesting.la 
462  
463 test_transport_api_timeout_https_SOURCES = \
464  test_transport_api_timeout.c
465 test_transport_api_timeout_https_LDADD = \
466  $(top_builddir)/src/transport/libgnunettransport.la \
467  $(top_builddir)/src/hello/libgnunethello.la \
468  $(top_builddir)/src/util/libgnunetutil.la \
469  $(top_builddir)/src/transport/libgnunettransporttesting.la 
470  
471 test_transport_api_reliability_tcp_nat_SOURCES = \
472  test_transport_api_reliability.c
473 test_transport_api_reliability_tcp_nat_LDADD = \
474  $(top_builddir)/src/transport/libgnunettransport.la \
475  $(top_builddir)/src/hello/libgnunethello.la \
476  $(top_builddir)/src/util/libgnunetutil.la \
477  $(top_builddir)/src/transport/libgnunettransporttesting.la 
478
479 test_transport_api_reliability_wlan_SOURCES = \
480  test_transport_api_reliability.c
481 test_transport_api_reliability_wlan_LDADD = \
482  $(top_builddir)/src/transport/libgnunettransport.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_transport_api_unreliability_wlan_SOURCES = \
488  test_transport_api_unreliability.c
489 test_transport_api_unreliability_wlan_LDADD = \
490  $(top_builddir)/src/transport/libgnunettransport.la \
491  $(top_builddir)/src/hello/libgnunethello.la \
492  $(top_builddir)/src/util/libgnunetutil.la \
493  $(top_builddir)/src/transport/libgnunettransporttesting.la 
494  
495 test_transport_api_udp_SOURCES = \
496  test_transport_api.c
497 test_transport_api_udp_LDADD = \
498  $(top_builddir)/src/transport/libgnunettransport.la \
499  $(top_builddir)/src/hello/libgnunethello.la \
500  $(top_builddir)/src/util/libgnunetutil.la  \
501  $(top_builddir)/src/transport/libgnunettransporttesting.la
502  
503 test_transport_api_timeout_udp_SOURCES = \
504  test_transport_api_timeout.c
505 test_transport_api_timeout_udp_LDADD = \
506  $(top_builddir)/src/transport/libgnunettransport.la \
507  $(top_builddir)/src/hello/libgnunethello.la \
508  $(top_builddir)/src/util/libgnunetutil.la \
509  $(top_builddir)/src/transport/libgnunettransporttesting.la  
510
511 test_transport_api_udp_nat_SOURCES = \
512  test_transport_api.c
513 test_transport_api_udp_nat_LDADD = \
514  $(top_builddir)/src/transport/libgnunettransport.la \
515  $(top_builddir)/src/hello/libgnunethello.la \
516  $(top_builddir)/src/util/libgnunetutil.la  \
517  $(top_builddir)/src/transport/libgnunettransporttesting.la  
518
519 test_transport_api_unix_SOURCES = \
520  test_transport_api.c
521 test_transport_api_unix_LDADD = \
522  $(top_builddir)/src/transport/libgnunettransport.la \
523  $(top_builddir)/src/hello/libgnunethello.la \
524  $(top_builddir)/src/util/libgnunetutil.la \
525  $(top_builddir)/src/transport/libgnunettransporttesting.la 
526
527 test_transport_api_http_SOURCES = \
528  test_transport_api.c
529 test_transport_api_http_LDADD = \
530  $(top_builddir)/src/transport/libgnunettransport.la \
531  $(top_builddir)/src/hello/libgnunethello.la \
532  $(top_builddir)/src/util/libgnunetutil.la \
533  $(top_builddir)/src/transport/libgnunettransporttesting.la 
534  
535  test_transport_api_http_nat_SOURCES = \
536  test_transport_api.c
537 test_transport_api_http_nat_LDADD = \
538  $(top_builddir)/src/transport/libgnunettransport.la \
539  $(top_builddir)/src/hello/libgnunethello.la \
540  $(top_builddir)/src/util/libgnunetutil.la \
541  $(top_builddir)/src/transport/libgnunettransporttesting.la 
542
543 test_transport_api_reliability_http_SOURCES = \
544  test_transport_api_reliability.c
545 test_transport_api_reliability_http_LDADD = \
546  $(top_builddir)/src/transport/libgnunettransport.la \
547  $(top_builddir)/src/hello/libgnunethello.la \
548  $(top_builddir)/src/util/libgnunetutil.la \
549  $(top_builddir)/src/transport/libgnunettransporttesting.la 
550
551 test_transport_api_reliability_http_nat_SOURCES = \
552  test_transport_api_reliability.c
553 test_transport_api_reliability_http_nat_LDADD = \
554  $(top_builddir)/src/transport/libgnunettransport.la \
555  $(top_builddir)/src/hello/libgnunethello.la \
556  $(top_builddir)/src/util/libgnunetutil.la \
557  $(top_builddir)/src/transport/libgnunettransporttesting.la 
558
559 test_transport_api_https_SOURCES = \
560  test_transport_api.c
561 test_transport_api_https_LDADD = \
562  $(top_builddir)/src/transport/libgnunettransport.la \
563  $(top_builddir)/src/hello/libgnunethello.la \
564  $(top_builddir)/src/util/libgnunetutil.la  \
565  $(top_builddir)/src/transport/libgnunettransporttesting.la 
566
567 test_transport_api_https_nat_SOURCES = \
568  test_transport_api.c
569 test_transport_api_https_nat_LDADD = \
570  $(top_builddir)/src/transport/libgnunettransport.la \
571  $(top_builddir)/src/hello/libgnunethello.la \
572  $(top_builddir)/src/util/libgnunetutil.la \
573  $(top_builddir)/src/transport/libgnunettransporttesting.la 
574
575 test_transport_api_reliability_https_SOURCES = \
576  test_transport_api_reliability.c
577 test_transport_api_reliability_https_LDADD = \
578  $(top_builddir)/src/transport/libgnunettransport.la \
579  $(top_builddir)/src/hello/libgnunethello.la \
580  $(top_builddir)/src/util/libgnunetutil.la \
581  $(top_builddir)/src/transport/libgnunettransporttesting.la 
582
583 test_transport_api_reliability_https_nat_SOURCES = \
584  test_transport_api_reliability.c
585 test_transport_api_reliability_https_nat_LDADD = \
586  $(top_builddir)/src/transport/libgnunettransport.la \
587  $(top_builddir)/src/hello/libgnunethello.la \
588  $(top_builddir)/src/util/libgnunetutil.la \
589  $(top_builddir)/src/transport/libgnunettransporttesting.la 
590
591 test_transport_api_unreliability_unix_SOURCES = \
592  test_transport_api_unreliability.c
593 test_transport_api_unreliability_unix_LDADD = \
594  $(top_builddir)/src/transport/libgnunettransport.la \
595  $(top_builddir)/src/hello/libgnunethello.la \
596  $(top_builddir)/src/util/libgnunetutil.la \
597  $(top_builddir)/src/transport/libgnunettransporttesting.la 
598
599 test_transport_api_unreliability_udp_SOURCES = \
600  test_transport_api_unreliability.c
601 test_transport_api_unreliability_udp_LDADD = \
602  $(top_builddir)/src/transport/libgnunettransport.la \
603  $(top_builddir)/src/hello/libgnunethello.la \
604  $(top_builddir)/src/util/libgnunetutil.la \
605  $(top_builddir)/src/transport/libgnunettransporttesting.la 
606
607 test_transport_api_unreliability_constant_udp_SOURCES = \
608  test_transport_api_unreliability_constant.c
609 test_transport_api_unreliability_constant_udp_LDADD = \
610  $(top_builddir)/src/transport/libgnunettransport.la \
611  $(top_builddir)/src/hello/libgnunethello.la \
612  $(top_builddir)/src/util/libgnunetutil.la \
613  $(top_builddir)/src/transport/libgnunettransporttesting.la 
614
615 if LINUX
616 test_transport_api_wlan_SOURCES = \
617  test_transport_api.c
618 test_transport_api_wlan_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 endif
624
625 test_quota_compliance_tcp_SOURCES = \
626  test_quota_compliance.c
627 test_quota_compliance_tcp_LDADD = \
628  $(top_builddir)/src/transport/libgnunettransport.la \
629  $(top_builddir)/src/hello/libgnunethello.la \
630  $(top_builddir)/src/util/libgnunetutil.la \
631  $(top_builddir)/src/transport/libgnunettransporttesting.la 
632
633 test_quota_compliance_tcp_asymmetric_SOURCES = \
634  test_quota_compliance.c
635 test_quota_compliance_tcp_asymmetric_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_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
642 # test_quota_compliance.c
643 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
644 # $(top_builddir)/src/transport/libgnunettransport.la \
645 # $(top_builddir)/src/util/libgnunetutil.la
646
647 test_quota_compliance_http_SOURCES = \
648  test_quota_compliance.c
649 test_quota_compliance_http_LDADD = \
650  $(top_builddir)/src/transport/libgnunettransport.la \
651  $(top_builddir)/src/hello/libgnunethello.la \
652  $(top_builddir)/src/util/libgnunetutil.la \
653  $(top_builddir)/src/transport/libgnunettransporttesting.la 
654
655  test_quota_compliance_http_asymmetric_SOURCES = \
656  test_quota_compliance.c
657 test_quota_compliance_http_asymmetric_LDADD = \
658  $(top_builddir)/src/transport/libgnunettransport.la \
659  $(top_builddir)/src/hello/libgnunethello.la \
660  $(top_builddir)/src/util/libgnunetutil.la \
661  $(top_builddir)/src/transport/libgnunettransporttesting.la
662
663 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
664 # test_quota_compliance.c
665 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
666 # $(top_builddir)/src/transport/libgnunettransport.la \
667 # $(top_builddir)/src/util/libgnunetutil.la
668
669 test_quota_compliance_https_SOURCES = \
670  test_quota_compliance.c
671 test_quota_compliance_https_LDADD = \
672  $(top_builddir)/src/transport/libgnunettransport.la \
673  $(top_builddir)/src/hello/libgnunethello.la \
674  $(top_builddir)/src/util/libgnunetutil.la \
675  $(top_builddir)/src/transport/libgnunettransporttesting.la
676
677  test_quota_compliance_https_asymmetric_SOURCES = \
678  test_quota_compliance.c
679 test_quota_compliance_https_asymmetric_LDADD = \
680  $(top_builddir)/src/transport/libgnunettransport.la \
681  $(top_builddir)/src/hello/libgnunethello.la \
682  $(top_builddir)/src/util/libgnunetutil.la \
683  $(top_builddir)/src/transport/libgnunettransporttesting.la
684
685 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
686 # test_quota_compliance.c
687 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
688 # $(top_builddir)/src/transport/libgnunettransport.la \
689 # $(top_builddir)/src/util/libgnunetutil.la
690
691 test_quota_compliance_udp_SOURCES = \
692  test_quota_compliance.c
693 test_quota_compliance_udp_LDADD = \
694  $(top_builddir)/src/transport/libgnunettransport.la \
695  $(top_builddir)/src/hello/libgnunethello.la \
696  $(top_builddir)/src/util/libgnunetutil.la \
697  $(top_builddir)/src/transport/libgnunettransporttesting.la
698
699 test_quota_compliance_unix_SOURCES = \
700  test_quota_compliance.c
701 test_quota_compliance_unix_LDADD = \
702  $(top_builddir)/src/transport/libgnunettransport.la \
703  $(top_builddir)/src/hello/libgnunethello.la \
704  $(top_builddir)/src/util/libgnunetutil.la \
705  $(top_builddir)/src/transport/libgnunettransporttesting.la
706
707 test_quota_compliance_unix_asymmetric_SOURCES = \
708  test_quota_compliance.c
709 test_quota_compliance_unix_asymmetric_LDADD = \
710  $(top_builddir)/src/transport/libgnunettransport.la \
711  $(top_builddir)/src/hello/libgnunethello.la \
712  $(top_builddir)/src/util/libgnunetutil.la \
713  $(top_builddir)/src/transport/libgnunettransporttesting.la
714
715 test_transport_api_multi_SOURCES = \
716  test_transport_api.c
717 test_transport_api_multi_LDADD = \
718  $(top_builddir)/src/transport/libgnunettransport.la \
719  $(top_builddir)/src/hello/libgnunethello.la \
720  $(top_builddir)/src/util/libgnunetutil.la \
721  $(top_builddir)/src/transport/libgnunettransporttesting.la 
722
723
724 EXTRA_DIST = \
725 gnunet-transport-certificate-creation \
726 template_cfg_peer1.conf\
727 template_cfg_peer2.conf\
728 test_plugin_transport_data.conf\
729 test_plugin_transport_data_udp.conf\
730 test_quota_compliance_data.conf\
731 test_quota_compliance_http_peer1.conf\
732 test_quota_compliance_http_peer2.conf\
733 test_quota_compliance_https_peer1.conf\
734 test_quota_compliance_https_peer2.conf\
735 test_quota_compliance_tcp_peer1.conf\
736 test_quota_compliance_tcp_peer2.conf\
737 test_quota_compliance_udp_peer1.conf\
738 test_quota_compliance_udp_peer2.conf\
739 test_quota_compliance_unix_peer1.conf\
740 test_quota_compliance_unix_peer2.conf\
741 test_quota_compliance_http_asymmetric_peer1.conf\
742 test_quota_compliance_http_asymmetric_peer2.conf\
743 test_quota_compliance_https_asymmetric_peer1.conf\
744 test_quota_compliance_https_asymmetric_peer2.conf\
745 test_quota_compliance_tcp_asymmetric_peer1.conf\
746 test_quota_compliance_tcp_asymmetric_peer2.conf\
747 test_quota_compliance_unix_asymmetric_peer1.conf\
748 test_quota_compliance_unix_asymmetric_peer2.conf\
749 test_transport_api_data.conf\
750 test_transport_api_http_peer1.conf\
751 test_transport_api_http_peer2.conf\
752 test_transport_api_https_peer1.conf\
753 test_transport_api_https_peer2.conf\
754 test_transport_api_limited_sockets_tcp_peer1.conf\
755 test_transport_api_limited_sockets_tcp_peer2.conf\
756 test_transport_api_timeout_tcp_peer1.conf\
757 test_transport_api_timeout_tcp_peer2.conf\
758 test_transport_api_multi_peer1.conf\
759 test_transport_api_multi_peer2.conf\
760 test_transport_api_reliability_http_peer1.conf\
761 test_transport_api_reliability_http_peer2.conf\
762 test_transport_api_reliability_https_peer1.conf\
763 test_transport_api_reliability_https_peer2.conf\
764 test_transport_api_reliability_tcp_nat_peer1.conf\
765 test_transport_api_reliability_tcp_nat_peer2.conf\
766 test_transport_api_reliability_tcp_peer1.conf\
767 test_transport_api_reliability_tcp_peer2.conf\
768 test_transport_api_reliability_wlan_peer1.conf\
769 test_transport_api_reliability_wlan_peer2.conf\
770 test_transport_api_bidirectional_connect_peer1.conf\
771 test_transport_api_bidirectional_connect_peer2.conf\
772 test_transport_api_tcp_nat_peer1.conf\
773 test_transport_api_tcp_nat_peer2.conf\
774 test_transport_api_tcp_peer1.conf\
775 test_transport_api_tcp_peer2.conf\
776 test_transport_api_udp_nat_peer1.conf\
777 test_transport_api_udp_nat_peer2.conf\
778 test_transport_api_udp_peer1.conf\
779 test_transport_api_udp_peer2.conf\
780 test_transport_api_timeout_udp_peer1.conf\
781 test_transport_api_timeout_udp_peer2.conf\
782 test_transport_api_unix_peer1.conf\
783 test_transport_api_unix_peer2.conf\
784 test_transport_api_timeout_unix_peer1.conf\
785 test_transport_api_timeout_unix_peer2.conf\
786 test_transport_api_unreliability_udp_peer1.conf\
787 test_transport_api_unreliability_udp_peer2.conf\
788 test_transport_api_unreliability_unix_peer1.conf\
789 test_transport_api_unreliability_unix_peer2.conf\
790 test_transport_api_unreliability_wlan_peer1.conf\
791 test_transport_api_unreliability_wlan_peer2.conf\
792 test_transport_api_wlan_peer1.conf\
793 test_transport_api_wlan_peer2.conf\
794 test_transport_defaults.conf\
795 test_transport_startonly.conf\
796 test_transport_api_disconnect_tcp_peer1.conf\
797 test_transport_api_disconnect_tcp_peer2.conf\
798 test_transport_api_http_nat_peer1.conf\
799 test_transport_api_http_nat_peer2.conf\
800 test_transport_api_https_nat_peer1.conf\
801 test_transport_api_https_nat_peer2.conf\
802 test_transport_api_reliability_http_nat_peer1.conf\
803 test_transport_api_reliability_http_nat_peer2.conf\
804 test_transport_api_reliability_https_nat_peer1.conf\
805 test_transport_api_reliability_https_nat_peer2.conf\
806 test_transport_api_timeout_http_peer1.conf\
807 test_transport_api_timeout_http_peer2.conf\
808 test_transport_api_timeout_https_peer1.conf\
809 test_transport_api_timeout_https_peer2.conf\
810 test_transport_api_unreliability_constant_udp_peer1.conf\
811 test_transport_api_unreliability_constant_udp_peer2.conf