http/https nat tests
[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
6 if HAVE_MHD
7  GN_LIBMHD = -lmicrohttpd
8  HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la
9  HTTP_API_TEST = test_transport_api_http
10  HTTP_NAT_API_TEST = test_transport_api_http_nat
11  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
12  HTTP_REL_TEST = test_transport_api_reliability_http
13  HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat
14  HTTP_QUOTA_TEST = test_quota_compliance_http \
15                    test_quota_compliance_http_asymmetric_recv_constant
16  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
17  HTTPS_API_TEST = test_transport_api_https
18  HTTPS_NAT_API_TEST = test_transport_api_https_nat
19  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
20  HTTPS_REL_TEST = test_transport_api_reliability_https
21  HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
22  HTTPS_QUOTA_TEST = test_quota_compliance_https \
23                 test_quota_compliance_https_asymmetric_recv_constant
24 endif
25
26 if USE_COVERAGE
27   AM_CFLAGS = --coverage -O0
28 endif
29
30 if LINUX
31 if HAVE_EXPERIMENTAL
32  WLAN_BIN = gnunet-transport-wlan-helper
33  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
34  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
35  WLAN_API_TEST = test_transport_api_wlan
36  WLAN_REL_TEST = test_transport_api_reliability_wlan
37  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
38 endif
39 endif
40
41
42 if LINUX
43 install-exec-hook:
44         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
45         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
46 else
47 install-exec-hook:
48 endif
49
50 if !MINGW
51 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
52 UNIX_PLUGIN_TEST = test_transport_api_unix 
53 UNIX_REL_TEST = test_transport_api_unreliability_unix
54 UNIX_QUOTA_TEST = test_quota_compliance_unix \
55      test_quota_compliance_unix_asymmetric_recv_constant
56 endif
57
58 noinst_PROGRAMS = \
59  $(WLAN_BIN_DUMMY) \
60  gnunet-transport-connect-running-peers
61
62 lib_LTLIBRARIES = \
63   libgnunettransport.la \
64   libgnunettransporttesting.la
65
66 libgnunettransporttesting_la_SOURCES = \
67   transport-testing.c transport-testing.h
68 libgnunettransporttesting_la_LIBADD = \
69   $(top_builddir)/src/transport/libgnunettransport.la \
70   $(top_builddir)/src/hello/libgnunethello.la \
71   $(top_builddir)/src/util/libgnunetutil.la \
72   $(GN_LIBINTL) 
73 libgnunettransporttesting_la_DEPENDENCIES = \
74   libgnunettransport.la
75
76 libgnunettransport_la_SOURCES = \
77   transport_api.c transport.h \
78   transport_api_blacklist.c \
79   transport_api_address_lookup.c \
80   transport_api_peer_address_lookup.c \
81   transport_api_address_iterate.c
82 libgnunettransport_la_LIBADD = \
83   $(top_builddir)/src/hello/libgnunethello.la \
84   $(top_builddir)/src/util/libgnunetutil.la \
85   $(GN_LIBINTL) 
86 libgnunettransport_la_LDFLAGS = \
87   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
88   -version-info 0:0:0
89
90 bin_PROGRAMS = \
91  gnunet-transport \
92  $(WLAN_BIN) \
93  gnunet-service-transport \
94  gnunet-transport-list-connections \
95  gnunet-transport-certificate-creation
96
97 #bin_SCRIPTS = \
98 # gnunet-transport-certificate-creation
99
100 gnunet_transport_certificate_creation_SOURCES = \
101  gnunet-transport-certificate-creation.c
102 gnunet_transport_certificate_creation_LDADD = \
103   $(top_builddir)/src/util/libgnunetutil.la
104
105 gnunet_transport_wlan_helper_SOURCES = \
106  wlan/byteorder.h \
107  wlan/crctable_osdep.h \
108  wlan/helper_common.c wlan/helper_common.h \
109  wlan/ieee80211.h \
110  wlan/ieee80211_radiotap.h \
111  wlan/loopback_helper.h \
112  wlan/radiotap-parser.c wlan/radiotap-parser.h \
113  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
114 gnunet_transport_wlan_helper_LDADD = \
115   $(top_builddir)/src/util/libgnunetutil.la 
116
117 gnunet_transport_wlan_helper_dummy_SOURCES = \
118  wlan/radiotap-parser.c \
119  wlan/helper_common.c \
120  test_plugin_transport_wlan_dummy.c
121 gnunet_transport_wlan_helper_dummy_LDADD = \
122   $(top_builddir)/src/util/libgnunetutil.la 
123
124 gnunet_transport_list_connections_SOURCES = \
125  gnunet-transport-list-connections.c         
126 gnunet_transport_list_connections_LDADD = \
127   $(top_builddir)/src/transport/libgnunettransport.la \
128   $(top_builddir)/src/util/libgnunetutil.la \
129   $(GN_LIBINTL)
130 gnunet_transport_list_connections_DEPENDENCIES = \
131   libgnunettransport.la
132
133 gnunet_transport_SOURCES = \
134  gnunet-transport.c         
135 gnunet_transport_LDADD = \
136   $(top_builddir)/src/transport/libgnunettransport.la \
137   $(top_builddir)/src/util/libgnunetutil.la \
138   $(GN_LIBINTL)
139 gnunet_transport_DEPENDENCIES = \
140   libgnunettransport.la                         
141
142 gnunet_service_transport_SOURCES = \
143  gnunet-service-transport.c gnunet-service-transport.h \
144  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
145  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
146  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
147  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
148  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
149  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
150 gnunet_service_transport_LDADD = \
151   $(top_builddir)/src/ats/libgnunetats.la \
152   $(top_builddir)/src/hello/libgnunethello.la \
153   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
154   $(top_builddir)/src/statistics/libgnunetstatistics.la \
155   $(top_builddir)/src/util/libgnunetutil.la \
156   $(GN_GLPK) \
157   $(GN_LIBINTL)
158
159 plugin_LTLIBRARIES = \
160   libgnunet_plugin_transport_tcp.la \
161   libgnunet_plugin_transport_udp.la \
162   $(UNIX_PLUGIN_LA) \
163   $(HTTP_PLUGIN_LA) \
164   $(HTTPS_PLUGIN_LA) \
165   $(WLAN_PLUGIN_LA) \
166   libgnunet_plugin_transport_template.la
167
168 libgnunet_plugin_transport_tcp_la_SOURCES = \
169   plugin_transport_tcp.c
170 libgnunet_plugin_transport_tcp_la_LIBADD = \
171   $(top_builddir)/src/hello/libgnunethello.la \
172   $(top_builddir)/src/statistics/libgnunetstatistics.la \
173   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
174   $(top_builddir)/src/nat/libgnunetnat.la \
175   $(top_builddir)/src/util/libgnunetutil.la 
176 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
177  $(GN_PLUGIN_LDFLAGS)
178
179 libgnunet_plugin_transport_template_la_SOURCES = \
180   plugin_transport_template.c
181 libgnunet_plugin_transport_template_la_LIBADD = \
182   $(top_builddir)/src/util/libgnunetutil.la 
183 libgnunet_plugin_transport_template_la_LDFLAGS = \
184  $(GN_PLUGIN_LDFLAGS)
185
186 libgnunet_plugin_transport_wlan_la_SOURCES = \
187   plugin_transport_wlan.c plugin_transport_wlan.h
188 libgnunet_plugin_transport_wlan_la_LIBADD = \
189   $(top_builddir)/src/hello/libgnunethello.la \
190   $(top_builddir)/src/statistics/libgnunetstatistics.la \
191   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
192   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
193   $(top_builddir)/src/util/libgnunetutil.la 
194 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
195   $(GN_PLUGIN_LDFLAGS)
196
197 libgnunet_plugin_transport_udp_la_SOURCES = \
198   plugin_transport_udp.c
199 libgnunet_plugin_transport_udp_la_LIBADD = \
200   $(top_builddir)/src/hello/libgnunethello.la \
201   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
202   $(top_builddir)/src/statistics/libgnunetstatistics.la \
203   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
204   $(top_builddir)/src/nat/libgnunetnat.la \
205   $(top_builddir)/src/util/libgnunetutil.la 
206 libgnunet_plugin_transport_udp_la_LDFLAGS = \
207  $(GN_PLUGIN_LDFLAGS)
208
209 libgnunet_plugin_transport_unix_la_SOURCES = \
210   plugin_transport_unix.c
211 libgnunet_plugin_transport_unix_la_LIBADD = \
212   $(top_builddir)/src/hello/libgnunethello.la \
213   $(top_builddir)/src/statistics/libgnunetstatistics.la \
214   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
215   $(top_builddir)/src/util/libgnunetutil.la 
216 libgnunet_plugin_transport_unix_la_LDFLAGS = \
217  $(GN_PLUGIN_LDFLAGS)
218
219 libgnunet_plugin_transport_http_la_SOURCES = \
220   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
221 libgnunet_plugin_transport_http_la_LIBADD = \
222   $(top_builddir)/src/hello/libgnunethello.la \
223   $(top_builddir)/src/statistics/libgnunetstatistics.la \
224   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
225   @LIBCURL@ \
226   $(top_builddir)/src/nat/libgnunetnat.la \
227   $(top_builddir)/src/util/libgnunetutil.la 
228 libgnunet_plugin_transport_http_la_LDFLAGS = \
229  $(GN_LIBMHD) \
230  $(GN_PLUGIN_LDFLAGS)
231 libgnunet_plugin_transport_http_la_CFLAGS = \
232  $(CFLAGS) 
233 libgnunet_plugin_transport_http_la_CPPFLAGS = \
234  @LIBCURL_CPPFLAGS@
235
236 libgnunet_plugin_transport_https_la_SOURCES = \
237   plugin_transport_http.c 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_disconnect \
258  test_transport_api_tcp \
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  $(UNIX_PLUGIN_TEST) \
264  test_transport_api_udp_nat \
265  $(HTTP_API_TEST) \
266  $(HTTP_NAT_API_TEST) \
267  $(HTTP_API_TIMEOUT_TEST) \
268  $(HTTPS_API_TEST) \
269  $(HTTPS_NAT_API_TEST) \
270  $(HTTPS_API_TIMEOUT_TEST) \
271  test_transport_api_multi \
272  test_transport_api_reliability_tcp \
273  test_transport_api_reliability_tcp_nat \
274  test_transport_api_unreliability_udp \
275  test_transport_api_unreliability_constant_udp \
276  $(UNIX_REL_TEST) \
277  $(HTTP_REL_TEST) \
278  $(HTTP_NAT_REL_TEST) \
279  $(HTTPS_REL_TEST) \
280  $(HTTPS_NAT_REL_TEST) \
281  test_quota_compliance_tcp \
282  test_quota_compliance_tcp_asymmetric_recv_constant \
283  test_quota_compliance_udp \
284  test_quota_compliance_udp_asymmetric_recv_constant \
285  $(UNIX_QUOTA_TEST) \
286  $(HTTP_QUOTA_TEST) \
287  $(HTTPS_QUOTA_TEST) \
288  $(WLAN_API_TEST) \
289  $(WLAN_REL_TEST) \
290  $(WLAN_UREL_TEST)
291
292 if ENABLE_TEST_RUN
293 TESTS = \
294  test_transport_testing \
295  test_transport_startonly \
296  test_transport_api_disconnect \
297  test_transport_api_tcp \
298  test_transport_api_timeout_tcp \
299  test_transport_api_limited_sockets_tcp \
300  test_transport_api_tcp_nat \
301  test_transport_api_udp \
302  $(UNIX_PLUGIN_TEST) \
303  test_transport_api_udp_nat \
304  $(HTTP_API_TEST) \
305  $(HTTP_NAT_API_TEST) \
306  $(HTTP_API_TIMEOUT_TEST) \
307  $(HTTPS_API_TEST) \
308  $(HTTPS_NAT_API_TEST) \
309  $(HTTPS_API_TIMEOUT_TEST) \
310  test_transport_api_multi \
311  test_transport_api_reliability_tcp \
312  test_transport_api_reliability_tcp_nat \
313  test_transport_api_unreliability_udp \
314  test_transport_api_unreliability_constant_udp \
315  $(UNIX_REL_TEST) \
316  $(HTTP_REL_TEST) \
317  $(HTTP_NAT_REL_TEST) \
318  $(HTTPS_REL_TEST) \
319  $(HTTPS_NAT_REL_TEST) \
320  test_quota_compliance_tcp \
321  test_quota_compliance_tcp_asymmetric_recv_constant \
322  test_quota_compliance_udp \
323  test_quota_compliance_udp_asymmetric_recv_constant \
324  $(UNIX_QUOTA_TEST) \
325  $(HTTP_QUOTA_TEST) \
326  $(HTTPS_QUOTA_TEST) \
327  $(WLAN_API_TEST) \
328  $(WLAN_REL_TEST) \
329  $(WLAN_UREL_TEST)
330 endif
331
332 test_transport_testing_SOURCES = \
333  test_transport_testing.c
334 test_transport_testing_LDADD = \
335  $(top_builddir)/src/util/libgnunetutil.la \
336  $(top_builddir)/src/transport/libgnunettransport.la \
337  $(top_builddir)/src/hello/libgnunethello.la \
338  $(top_builddir)/src/transport/libgnunettransporttesting.la 
339
340 gnunet_transport_connect_running_peers_SOURCES = \
341  gnunet-transport-connect-running-peers.c
342 gnunet_transport_connect_running_peers_LDADD = \
343  $(top_builddir)/src/transport/libgnunettransport.la \
344  $(top_builddir)/src/hello/libgnunethello.la \
345  $(top_builddir)/src/util/libgnunetutil.la \
346  $(top_builddir)/src/transport/libgnunettransporttesting.la 
347
348 test_transport_api_disconnect_SOURCES = \
349  test_transport_api_disconnect.c
350 test_transport_api_disconnect_LDADD = \
351  $(top_builddir)/src/transport/libgnunettransport.la \
352  $(top_builddir)/src/hello/libgnunethello.la \
353  $(top_builddir)/src/statistics/libgnunetstatistics.la \
354  $(top_builddir)/src/util/libgnunetutil.la 
355
356 test_transport_startonly_SOURCES = \
357  test_transport_startonly.c
358 test_transport_startonly_LDADD = \
359  $(top_builddir)/src/transport/libgnunettransport.la \
360  $(top_builddir)/src/hello/libgnunethello.la \
361  $(top_builddir)/src/statistics/libgnunetstatistics.la \
362  $(top_builddir)/src/util/libgnunetutil.la \
363  $(top_builddir)/src/transport/libgnunettransporttesting.la 
364
365 test_transport_api_tcp_SOURCES = \
366  test_transport_api.c
367 test_transport_api_tcp_LDADD = \
368  $(top_builddir)/src/transport/libgnunettransport.la \
369  $(top_builddir)/src/hello/libgnunethello.la \
370  $(top_builddir)/src/util/libgnunetutil.la  \
371  $(top_builddir)/src/transport/libgnunettransporttesting.la
372   
373 test_transport_api_limited_sockets_tcp_SOURCES = \
374  test_transport_api_limited_sockets.c
375 test_transport_api_limited_sockets_tcp_LDADD = \
376  $(top_builddir)/src/transport/libgnunettransport.la \
377  $(top_builddir)/src/hello/libgnunethello.la \
378  $(top_builddir)/src/util/libgnunetutil.la  \
379  $(top_builddir)/src/transport/libgnunettransporttesting.la
380
381 test_transport_api_tcp_nat_SOURCES = \
382  test_transport_api.c
383 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
390  test_transport_api_reliability.c
391 test_transport_api_reliability_tcp_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_timeout_tcp_SOURCES = \
398  test_transport_api_timeout.c
399 test_transport_api_timeout_tcp_LDADD = \
400  $(top_builddir)/src/transport/libgnunettransport.la \
401  $(top_builddir)/src/hello/libgnunethello.la \
402  $(top_builddir)/src/util/libgnunetutil.la \
403  $(top_builddir)/src/transport/libgnunettransporttesting.la 
404
405 test_transport_api_timeout_http_SOURCES = \
406  test_transport_api_timeout.c
407 test_transport_api_timeout_http_LDADD = \
408  $(top_builddir)/src/transport/libgnunettransport.la \
409  $(top_builddir)/src/hello/libgnunethello.la \
410  $(top_builddir)/src/util/libgnunetutil.la \
411  $(top_builddir)/src/transport/libgnunettransporttesting.la 
412  
413 test_transport_api_timeout_https_SOURCES = \
414  test_transport_api_timeout.c
415 test_transport_api_timeout_https_LDADD = \
416  $(top_builddir)/src/transport/libgnunettransport.la \
417  $(top_builddir)/src/hello/libgnunethello.la \
418  $(top_builddir)/src/util/libgnunetutil.la \
419  $(top_builddir)/src/transport/libgnunettransporttesting.la 
420  
421 test_transport_api_reliability_tcp_nat_SOURCES = \
422  test_transport_api_reliability.c
423 test_transport_api_reliability_tcp_nat_LDADD = \
424  $(top_builddir)/src/transport/libgnunettransport.la \
425  $(top_builddir)/src/hello/libgnunethello.la \
426  $(top_builddir)/src/util/libgnunetutil.la \
427  $(top_builddir)/src/transport/libgnunettransporttesting.la 
428
429 test_transport_api_reliability_wlan_SOURCES = \
430  test_transport_api_reliability.c
431 test_transport_api_reliability_wlan_LDADD = \
432  $(top_builddir)/src/transport/libgnunettransport.la \
433  $(top_builddir)/src/hello/libgnunethello.la \
434  $(top_builddir)/src/util/libgnunetutil.la \
435  $(top_builddir)/src/transport/libgnunettransporttesting.la 
436
437 test_transport_api_unreliability_wlan_SOURCES = \
438  test_transport_api_unreliability.c
439 test_transport_api_unreliability_wlan_LDADD = \
440  $(top_builddir)/src/transport/libgnunettransport.la \
441  $(top_builddir)/src/hello/libgnunethello.la \
442  $(top_builddir)/src/util/libgnunetutil.la \
443  $(top_builddir)/src/transport/libgnunettransporttesting.la 
444  
445 test_transport_api_udp_SOURCES = \
446  test_transport_api.c
447 test_transport_api_udp_LDADD = \
448  $(top_builddir)/src/transport/libgnunettransport.la \
449  $(top_builddir)/src/hello/libgnunethello.la \
450  $(top_builddir)/src/util/libgnunetutil.la  \
451  $(top_builddir)/src/transport/libgnunettransporttesting.la 
452
453 test_transport_api_udp_nat_SOURCES = \
454  test_transport_api.c
455 test_transport_api_udp_nat_LDADD = \
456  $(top_builddir)/src/transport/libgnunettransport.la \
457  $(top_builddir)/src/hello/libgnunethello.la \
458  $(top_builddir)/src/util/libgnunetutil.la  \
459  $(top_builddir)/src/transport/libgnunettransporttesting.la  
460
461 test_transport_api_unix_SOURCES = \
462  test_transport_api.c
463 test_transport_api_unix_LDADD = \
464  $(top_builddir)/src/transport/libgnunettransport.la \
465  $(top_builddir)/src/hello/libgnunethello.la \
466  $(top_builddir)/src/util/libgnunetutil.la \
467  $(top_builddir)/src/transport/libgnunettransporttesting.la 
468
469 #test_plugin_transport_http_SOURCES = \
470 # test_plugin_transport_http.c
471 #test_plugin_transport_http_LDADD = \
472 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
473 # @LIBCURL@ \
474 # $(top_builddir)/src/hello/libgnunethello.la \
475 # $(top_builddir)/src/util/libgnunetutil.la  
476
477 test_transport_api_http_SOURCES = \
478  test_transport_api.c
479 test_transport_api_http_LDADD = \
480  $(top_builddir)/src/transport/libgnunettransport.la \
481  $(top_builddir)/src/hello/libgnunethello.la \
482  $(top_builddir)/src/util/libgnunetutil.la \
483  $(top_builddir)/src/transport/libgnunettransporttesting.la 
484  
485  test_transport_api_http_nat_SOURCES = \
486  test_transport_api.c
487 test_transport_api_http_nat_LDADD = \
488  $(top_builddir)/src/transport/libgnunettransport.la \
489  $(top_builddir)/src/hello/libgnunethello.la \
490  $(top_builddir)/src/util/libgnunetutil.la \
491  $(top_builddir)/src/transport/libgnunettransporttesting.la 
492
493 test_transport_api_reliability_http_SOURCES = \
494  test_transport_api_reliability.c
495 test_transport_api_reliability_http_LDADD = \
496  $(top_builddir)/src/transport/libgnunettransport.la \
497  $(top_builddir)/src/hello/libgnunethello.la \
498  $(top_builddir)/src/util/libgnunetutil.la \
499  $(top_builddir)/src/transport/libgnunettransporttesting.la 
500
501 test_transport_api_reliability_http_nat_SOURCES = \
502  test_transport_api_reliability.c
503 test_transport_api_reliability_http_nat_LDADD = \
504  $(top_builddir)/src/transport/libgnunettransport.la \
505  $(top_builddir)/src/hello/libgnunethello.la \
506  $(top_builddir)/src/util/libgnunetutil.la \
507  $(top_builddir)/src/transport/libgnunettransporttesting.la 
508
509 test_transport_api_https_SOURCES = \
510  test_transport_api.c
511 test_transport_api_https_LDADD = \
512  $(top_builddir)/src/transport/libgnunettransport.la \
513  $(top_builddir)/src/hello/libgnunethello.la \
514  $(top_builddir)/src/util/libgnunetutil.la  \
515  $(top_builddir)/src/transport/libgnunettransporttesting.la 
516
517 test_transport_api_https_nat_SOURCES = \
518  test_transport_api.c
519 test_transport_api_https_nat_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_reliability_https_SOURCES = \
526  test_transport_api_reliability.c
527 test_transport_api_reliability_https_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_https_nat_SOURCES = \
534  test_transport_api_reliability.c
535 test_transport_api_reliability_https_nat_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_unreliability_unix_SOURCES = \
542  test_transport_api_unreliability.c
543 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
550  test_transport_api_unreliability.c
551 test_transport_api_unreliability_udp_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_unreliability_constant_udp_SOURCES = \
558  test_transport_api_unreliability_constant.c
559 test_transport_api_unreliability_constant_udp_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 if LINUX
566 test_transport_api_wlan_SOURCES = \
567  test_transport_api.c
568 test_transport_api_wlan_LDADD = \
569  $(top_builddir)/src/transport/libgnunettransport.la \
570  $(top_builddir)/src/hello/libgnunethello.la \
571  $(top_builddir)/src/util/libgnunetutil.la \
572  $(top_builddir)/src/transport/libgnunettransporttesting.la  
573 endif
574
575 test_quota_compliance_tcp_SOURCES = \
576  test_quota_compliance.c
577 test_quota_compliance_tcp_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_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
584  test_quota_compliance.c
585 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
586  $(top_builddir)/src/transport/libgnunettransport.la \
587  $(top_builddir)/src/hello/libgnunethello.la \
588  $(top_builddir)/src/util/libgnunetutil.la
589
590 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
591 # test_quota_compliance.c
592 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
593 # $(top_builddir)/src/transport/libgnunettransport.la \
594 # $(top_builddir)/src/util/libgnunetutil.la
595
596 test_quota_compliance_http_SOURCES = \
597  test_quota_compliance.c
598 test_quota_compliance_http_LDADD = \
599  $(top_builddir)/src/transport/libgnunettransport.la \
600  $(top_builddir)/src/hello/libgnunethello.la \
601  $(top_builddir)/src/util/libgnunetutil.la
602
603  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
604  test_quota_compliance.c
605 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
606  $(top_builddir)/src/transport/libgnunettransport.la \
607  $(top_builddir)/src/hello/libgnunethello.la \
608  $(top_builddir)/src/util/libgnunetutil.la
609
610 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
611 # test_quota_compliance.c
612 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
613 # $(top_builddir)/src/transport/libgnunettransport.la \
614 # $(top_builddir)/src/util/libgnunetutil.la
615
616 test_quota_compliance_https_SOURCES = \
617  test_quota_compliance.c
618 test_quota_compliance_https_LDADD = \
619  $(top_builddir)/src/transport/libgnunettransport.la \
620  $(top_builddir)/src/hello/libgnunethello.la \
621  $(top_builddir)/src/util/libgnunetutil.la
622
623  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
624  test_quota_compliance.c
625 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
626  $(top_builddir)/src/transport/libgnunettransport.la \
627  $(top_builddir)/src/hello/libgnunethello.la \
628  $(top_builddir)/src/util/libgnunetutil.la
629
630 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
631 # test_quota_compliance.c
632 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
633 # $(top_builddir)/src/transport/libgnunettransport.la \
634 # $(top_builddir)/src/util/libgnunetutil.la
635
636 test_quota_compliance_udp_SOURCES = \
637  test_quota_compliance.c
638 test_quota_compliance_udp_LDADD = \
639  $(top_builddir)/src/transport/libgnunettransport.la \
640  $(top_builddir)/src/hello/libgnunethello.la \
641  $(top_builddir)/src/util/libgnunetutil.la
642
643 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
644  test_quota_compliance.c
645 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
646  $(top_builddir)/src/transport/libgnunettransport.la \
647  $(top_builddir)/src/hello/libgnunethello.la \
648  $(top_builddir)/src/util/libgnunetutil.la
649
650 test_quota_compliance_unix_SOURCES = \
651  test_quota_compliance.c
652 test_quota_compliance_unix_LDADD = \
653  $(top_builddir)/src/transport/libgnunettransport.la \
654  $(top_builddir)/src/hello/libgnunethello.la \
655  $(top_builddir)/src/util/libgnunetutil.la
656
657 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
658  test_quota_compliance.c
659 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
660  $(top_builddir)/src/transport/libgnunettransport.la \
661  $(top_builddir)/src/hello/libgnunethello.la \
662  $(top_builddir)/src/util/libgnunetutil.la
663
664 test_transport_api_multi_SOURCES = \
665  test_transport_api.c
666 test_transport_api_multi_LDADD = \
667  $(top_builddir)/src/transport/libgnunettransport.la \
668  $(top_builddir)/src/hello/libgnunethello.la \
669  $(top_builddir)/src/util/libgnunetutil.la \
670  $(top_builddir)/src/transport/libgnunettransporttesting.la 
671
672
673 EXTRA_DIST = \
674 gnunet-transport-certificate-creation \
675 template_cfg_peer1.conf\
676 template_cfg_peer2.conf\
677 test_plugin_transport_data.conf\
678 test_plugin_transport_data_http.conf\
679 test_plugin_transport_data_udp.conf\
680 test_quota_compliance_data.conf\
681 test_quota_compliance_http_peer1.conf\
682 test_quota_compliance_http_peer2.conf\
683 test_quota_compliance_https_peer1.conf\
684 test_quota_compliance_https_peer2.conf\
685 test_quota_compliance_tcp_peer1.conf\
686 test_quota_compliance_tcp_peer2.conf\
687 test_quota_compliance_udp_peer1.conf\
688 test_quota_compliance_udp_peer2.conf\
689 test_quota_compliance_unix_peer1.conf\
690 test_quota_compliance_unix_peer2.conf\
691 test_transport_api_data.conf\
692 test_transport_api_http_peer1.conf\
693 test_transport_api_http_peer2.conf\
694 test_transport_api_https_peer1.conf\
695 test_transport_api_https_peer2.conf\
696 test_transport_api_limited_sockets_tcp_peer1.conf\
697 test_transport_api_limited_sockets_tcp_peer2.conf\
698 test_transport_api_timeout_tcp_peer1.conf\
699 test_transport_api_timeout_tcp_peer2.conf\
700 test_transport_api_multi_peer1.conf\
701 test_transport_api_multi_peer2.conf\
702 test_transport_api_reliability_http_peer1.conf\
703 test_transport_api_reliability_http_peer2.conf\
704 test_transport_api_reliability_https_peer1.conf\
705 test_transport_api_reliability_https_peer2.conf\
706 test_transport_api_reliability_tcp_nat_peer1.conf\
707 test_transport_api_reliability_tcp_nat_peer2.conf\
708 test_transport_api_reliability_tcp_peer1.conf\
709 test_transport_api_reliability_tcp_peer2.conf\
710 test_transport_api_reliability_wlan_peer1.conf\
711 test_transport_api_reliability_wlan_peer2.conf\
712 test_transport_api_tcp_nat_peer1.conf\
713 test_transport_api_tcp_nat_peer2.conf\
714 test_transport_api_tcp_peer1.conf\
715 test_transport_api_tcp_peer2.conf\
716 test_transport_api_udp_nat_peer1.conf\
717 test_transport_api_udp_nat_peer2.conf\
718 test_transport_api_udp_peer1.conf\
719 test_transport_api_udp_peer2.conf\
720 test_transport_api_unix_peer1.conf\
721 test_transport_api_unix_peer2.conf\
722 test_transport_api_unreliability_udp_peer1.conf\
723 test_transport_api_unreliability_udp_peer2.conf\
724 test_transport_api_unreliability_unix_peer1.conf\
725 test_transport_api_unreliability_unix_peer2.conf\
726 test_transport_api_unreliability_wlan_peer1.conf\
727 test_transport_api_unreliability_wlan_peer2.conf\
728 test_transport_api_wlan_peer1.conf\
729 test_transport_api_wlan_peer2.conf\
730 test_transport_defaults.conf\
731 test_transport_startonly.conf