implementing transport test / #1807
[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
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
24 endif
25
26 if USE_COVERAGE
27   AM_CFLAGS = --coverage -O0
28 endif
29
30 if LINUX
31  WLAN_BIN = gnunet-transport-wlan-helper
32  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
33  WLAN_BIN_SENDER = gnunet_wlan_sender
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
40
41 if LINUX
42 install-exec-hook:
43         $(SUDO_BINARY) chown root:root $(bindir)/gnunet-transport-wlan-helper || true
44         $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
45 else
46 install-exec-hook:
47 endif
48
49 if !MINGW
50 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
51 UNIX_PLUGIN_TEST = test_transport_api_unix 
52 UNIX_REL_TEST = test_transport_api_unreliability_unix
53 UNIX_QUOTA_TEST = test_quota_compliance_unix \
54      test_quota_compliance_unix_asymmetric
55 endif
56
57 noinst_PROGRAMS = \
58  $(WLAN_BIN_DUMMY) \
59  $(WLAN_BIN_SENDER)
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-certificate-creation
95
96 #bin_SCRIPTS = \
97 # gnunet-transport-certificate-creation
98
99 gnunet_transport_certificate_creation_SOURCES = \
100  gnunet-transport-certificate-creation.c
101 gnunet_transport_certificate_creation_LDADD = \
102   $(top_builddir)/src/util/libgnunetutil.la
103
104 gnunet_transport_wlan_helper_SOURCES = \
105  wlan/byteorder.h \
106  wlan/crctable_osdep.h \
107  wlan/helper_common.c wlan/helper_common.h \
108  wlan/ieee80211.h \
109  wlan/ieee80211_radiotap.h \
110  wlan/loopback_helper.h \
111  wlan/radiotap-parser.c wlan/radiotap-parser.h \
112  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
113 gnunet_transport_wlan_helper_LDADD = \
114   $(top_builddir)/src/util/libgnunetutil.la 
115
116 gnunet_transport_wlan_helper_dummy_SOURCES = \
117  wlan/radiotap-parser.c \
118  wlan/helper_common.c \
119  test_plugin_transport_wlan_dummy.c
120 gnunet_transport_wlan_helper_dummy_LDADD = \
121   $(top_builddir)/src/util/libgnunetutil.la 
122
123 gnunet_wlan_sender_SOURCES = \
124  gnunet_wlan_sender.c
125 gnunet_wlan_sender_LDADD = \
126   $(top_builddir)/src/util/libgnunetutil.la 
127
128 gnunet_transport_SOURCES = \
129  gnunet-transport.c         
130 gnunet_transport_LDADD = \
131   $(top_builddir)/src/transport/libgnunettransport.la \
132   $(top_builddir)/src/nat/libgnunetnat.la \
133   $(top_builddir)/src/util/libgnunetutil.la \
134   $(GN_LIBINTL)
135 gnunet_transport_DEPENDENCIES = \
136   libgnunettransport.la                         
137
138 gnunet_service_transport_SOURCES = \
139  gnunet-service-transport.c gnunet-service-transport.h \
140  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
141  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
142  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
143  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
144  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
145  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
146 gnunet_service_transport_LDADD = \
147   $(top_builddir)/src/ats/libgnunetats.la \
148   $(top_builddir)/src/hello/libgnunethello.la \
149   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
150   $(top_builddir)/src/statistics/libgnunetstatistics.la \
151   $(top_builddir)/src/util/libgnunetutil.la \
152   $(GN_GLPK) \
153   $(GN_LIBINTL)
154
155 plugin_LTLIBRARIES = \
156   libgnunet_plugin_transport_tcp.la \
157   libgnunet_plugin_transport_udp.la \
158   $(UNIX_PLUGIN_LA) \
159   $(HTTP_PLUGIN_LA) \
160   $(HTTPS_PLUGIN_LA) \
161   $(WLAN_PLUGIN_LA) \
162   libgnunet_plugin_transport_template.la
163
164 libgnunet_plugin_transport_tcp_la_SOURCES = \
165   plugin_transport_tcp.c
166 libgnunet_plugin_transport_tcp_la_LIBADD = \
167   $(top_builddir)/src/hello/libgnunethello.la \
168   $(top_builddir)/src/statistics/libgnunetstatistics.la \
169   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
170   $(top_builddir)/src/nat/libgnunetnat.la \
171   $(top_builddir)/src/util/libgnunetutil.la 
172 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
173  $(GN_PLUGIN_LDFLAGS)
174
175 libgnunet_plugin_transport_template_la_SOURCES = \
176   plugin_transport_template.c
177 libgnunet_plugin_transport_template_la_LIBADD = \
178   $(top_builddir)/src/util/libgnunetutil.la 
179 libgnunet_plugin_transport_template_la_LDFLAGS = \
180  $(GN_PLUGIN_LDFLAGS)
181
182 libgnunet_plugin_transport_wlan_la_SOURCES = \
183   plugin_transport_wlan.c plugin_transport_wlan.h
184 libgnunet_plugin_transport_wlan_la_LIBADD = \
185   $(top_builddir)/src/hello/libgnunethello.la \
186   $(top_builddir)/src/statistics/libgnunetstatistics.la \
187   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
188   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
189   $(top_builddir)/src/util/libgnunetutil.la 
190 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
191   $(GN_PLUGIN_LDFLAGS)
192
193 libgnunet_plugin_transport_udp_la_SOURCES = \
194   plugin_transport_udp.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 libgnunet_plugin_transport_udp_la_LDFLAGS = \
203  $(GN_PLUGIN_LDFLAGS)
204
205 libgnunet_plugin_transport_unix_la_SOURCES = \
206   plugin_transport_unix.c
207 libgnunet_plugin_transport_unix_la_LIBADD = \
208   $(top_builddir)/src/hello/libgnunethello.la \
209   $(top_builddir)/src/statistics/libgnunetstatistics.la \
210   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
211   $(top_builddir)/src/util/libgnunetutil.la 
212 libgnunet_plugin_transport_unix_la_LDFLAGS = \
213  $(GN_PLUGIN_LDFLAGS)
214
215 libgnunet_plugin_transport_http_la_SOURCES = \
216   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
217 libgnunet_plugin_transport_http_la_LIBADD = \
218   $(top_builddir)/src/hello/libgnunethello.la \
219   $(top_builddir)/src/statistics/libgnunetstatistics.la \
220   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
221   @LIBCURL@ \
222   $(top_builddir)/src/nat/libgnunetnat.la \
223   $(top_builddir)/src/util/libgnunetutil.la 
224 libgnunet_plugin_transport_http_la_LDFLAGS = \
225  $(GN_LIBMHD) \
226  $(GN_PLUGIN_LDFLAGS)
227 libgnunet_plugin_transport_http_la_CFLAGS = \
228  $(CFLAGS) 
229 libgnunet_plugin_transport_http_la_CPPFLAGS = \
230  @LIBCURL_CPPFLAGS@
231
232 libgnunet_plugin_transport_https_la_SOURCES = \
233   plugin_transport_http.c 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_disconnect_tcp \
254  test_transport_api_tcp \
255  test_transport_api_timeout_tcp \
256  test_transport_api_limited_sockets_tcp \
257  test_transport_api_tcp_nat \
258  test_transport_api_udp \
259  $(UNIX_PLUGIN_TEST) \
260  test_transport_api_udp_nat \
261  $(HTTP_API_TEST) \
262  $(HTTP_NAT_API_TEST) \
263  $(HTTP_API_TIMEOUT_TEST) \
264  $(HTTPS_API_TEST) \
265  $(HTTPS_NAT_API_TEST) \
266  $(HTTPS_API_TIMEOUT_TEST) \
267  test_transport_api_multi \
268  test_transport_api_reliability_tcp \
269  test_transport_api_reliability_tcp_nat \
270  test_transport_api_unreliability_udp \
271  test_transport_api_unreliability_constant_udp \
272  $(UNIX_REL_TEST) \
273  $(HTTP_REL_TEST) \
274  $(HTTP_NAT_REL_TEST) \
275  $(HTTPS_REL_TEST) \
276  $(HTTPS_NAT_REL_TEST) \
277  test_quota_compliance_tcp \
278  test_quota_compliance_tcp_asymmetric \
279  test_quota_compliance_udp \
280  $(UNIX_QUOTA_TEST) \
281  $(HTTP_QUOTA_TEST) \
282  $(HTTPS_QUOTA_TEST) \
283  $(WLAN_API_TEST) \
284  $(WLAN_REL_TEST) \
285  $(WLAN_UREL_TEST)
286
287 if ENABLE_TEST_RUN
288 TESTS = \
289  test_transport_testing \
290  test_transport_startonly \
291  test_transport_api_disconnect_tcp \
292  test_transport_api_tcp \
293  test_transport_api_timeout_tcp \
294  test_transport_api_limited_sockets_tcp \
295  test_transport_api_tcp_nat \
296  test_transport_api_udp \
297  $(UNIX_PLUGIN_TEST) \
298  test_transport_api_udp_nat \
299  $(HTTP_API_TEST) \
300  $(HTTP_NAT_API_TEST) \
301  $(HTTP_API_TIMEOUT_TEST) \
302  $(HTTPS_API_TEST) \
303  $(HTTPS_NAT_API_TEST) \
304  $(HTTPS_API_TIMEOUT_TEST) \
305  test_transport_api_multi \
306  test_transport_api_reliability_tcp \
307  test_transport_api_reliability_tcp_nat \
308  test_transport_api_unreliability_udp \
309  test_transport_api_unreliability_constant_udp \
310  $(UNIX_REL_TEST) \
311  $(HTTP_REL_TEST) \
312  $(HTTP_NAT_REL_TEST) \
313  $(HTTPS_REL_TEST) \
314  $(HTTPS_NAT_REL_TEST) \
315  test_quota_compliance_tcp \
316  test_quota_compliance_tcp_asymmetric \
317  test_quota_compliance_udp \
318  $(UNIX_QUOTA_TEST) \
319  $(HTTP_QUOTA_TEST) \
320  $(HTTPS_QUOTA_TEST) \
321  $(WLAN_API_TEST) \
322  $(WLAN_REL_TEST) \
323  $(WLAN_UREL_TEST)
324 endif
325
326 test_transport_testing_SOURCES = \
327  test_transport_testing.c
328 test_transport_testing_LDADD = \
329  $(top_builddir)/src/util/libgnunetutil.la \
330  $(top_builddir)/src/transport/libgnunettransport.la \
331  $(top_builddir)/src/hello/libgnunethello.la \
332  $(top_builddir)/src/transport/libgnunettransporttesting.la 
333
334 #gnunet_transport_connect_running_peers_SOURCES = \
335 # gnunet-transport-connect-running-peers.c
336 #gnunet_transport_connect_running_peers_LDADD = \
337 # $(top_builddir)/src/transport/libgnunettransport.la \
338 # $(top_builddir)/src/hello/libgnunethello.la \
339 # $(top_builddir)/src/util/libgnunetutil.la \
340 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
341
342 test_transport_api_disconnect_tcp_SOURCES = \
343  test_transport_api_disconnect.c
344 test_transport_api_disconnect_tcp_LDADD = \
345  $(top_builddir)/src/transport/libgnunettransport.la \
346  $(top_builddir)/src/hello/libgnunethello.la \
347  $(top_builddir)/src/statistics/libgnunetstatistics.la \
348  $(top_builddir)/src/util/libgnunetutil.la \
349  $(top_builddir)/src/transport/libgnunettransporttesting.la 
350
351 test_transport_startonly_SOURCES = \
352  test_transport_startonly.c
353 test_transport_startonly_LDADD = \
354  $(top_builddir)/src/transport/libgnunettransport.la \
355  $(top_builddir)/src/hello/libgnunethello.la \
356  $(top_builddir)/src/statistics/libgnunetstatistics.la \
357  $(top_builddir)/src/util/libgnunetutil.la \
358  $(top_builddir)/src/transport/libgnunettransporttesting.la 
359
360 test_transport_api_tcp_SOURCES = \
361  test_transport_api.c
362 test_transport_api_tcp_LDADD = \
363  $(top_builddir)/src/transport/libgnunettransport.la \
364  $(top_builddir)/src/hello/libgnunethello.la \
365  $(top_builddir)/src/util/libgnunetutil.la  \
366  $(top_builddir)/src/transport/libgnunettransporttesting.la
367   
368 test_transport_api_limited_sockets_tcp_SOURCES = \
369  test_transport_api_limited_sockets.c
370 test_transport_api_limited_sockets_tcp_LDADD = \
371  $(top_builddir)/src/transport/libgnunettransport.la \
372  $(top_builddir)/src/hello/libgnunethello.la \
373  $(top_builddir)/src/util/libgnunetutil.la  \
374  $(top_builddir)/src/transport/libgnunettransporttesting.la
375
376 test_transport_api_tcp_nat_SOURCES = \
377  test_transport_api.c
378 test_transport_api_tcp_nat_LDADD = \
379  $(top_builddir)/src/transport/libgnunettransport.la \
380  $(top_builddir)/src/hello/libgnunethello.la \
381  $(top_builddir)/src/util/libgnunetutil.la \
382  $(top_builddir)/src/transport/libgnunettransporttesting.la 
383
384 test_transport_api_reliability_tcp_SOURCES = \
385  test_transport_api_reliability.c
386 test_transport_api_reliability_tcp_LDADD = \
387  $(top_builddir)/src/transport/libgnunettransport.la \
388  $(top_builddir)/src/hello/libgnunethello.la \
389  $(top_builddir)/src/util/libgnunetutil.la \
390  $(top_builddir)/src/transport/libgnunettransporttesting.la 
391
392 test_transport_api_timeout_tcp_SOURCES = \
393  test_transport_api_timeout.c
394 test_transport_api_timeout_tcp_LDADD = \
395  $(top_builddir)/src/transport/libgnunettransport.la \
396  $(top_builddir)/src/hello/libgnunethello.la \
397  $(top_builddir)/src/util/libgnunetutil.la \
398  $(top_builddir)/src/transport/libgnunettransporttesting.la 
399
400 test_transport_api_timeout_http_SOURCES = \
401  test_transport_api_timeout.c
402 test_transport_api_timeout_http_LDADD = \
403  $(top_builddir)/src/transport/libgnunettransport.la \
404  $(top_builddir)/src/hello/libgnunethello.la \
405  $(top_builddir)/src/util/libgnunetutil.la \
406  $(top_builddir)/src/transport/libgnunettransporttesting.la 
407  
408 test_transport_api_timeout_https_SOURCES = \
409  test_transport_api_timeout.c
410 test_transport_api_timeout_https_LDADD = \
411  $(top_builddir)/src/transport/libgnunettransport.la \
412  $(top_builddir)/src/hello/libgnunethello.la \
413  $(top_builddir)/src/util/libgnunetutil.la \
414  $(top_builddir)/src/transport/libgnunettransporttesting.la 
415  
416 test_transport_api_reliability_tcp_nat_SOURCES = \
417  test_transport_api_reliability.c
418 test_transport_api_reliability_tcp_nat_LDADD = \
419  $(top_builddir)/src/transport/libgnunettransport.la \
420  $(top_builddir)/src/hello/libgnunethello.la \
421  $(top_builddir)/src/util/libgnunetutil.la \
422  $(top_builddir)/src/transport/libgnunettransporttesting.la 
423
424 test_transport_api_reliability_wlan_SOURCES = \
425  test_transport_api_reliability.c
426 test_transport_api_reliability_wlan_LDADD = \
427  $(top_builddir)/src/transport/libgnunettransport.la \
428  $(top_builddir)/src/hello/libgnunethello.la \
429  $(top_builddir)/src/util/libgnunetutil.la \
430  $(top_builddir)/src/transport/libgnunettransporttesting.la 
431
432 test_transport_api_unreliability_wlan_SOURCES = \
433  test_transport_api_unreliability.c
434 test_transport_api_unreliability_wlan_LDADD = \
435  $(top_builddir)/src/transport/libgnunettransport.la \
436  $(top_builddir)/src/hello/libgnunethello.la \
437  $(top_builddir)/src/util/libgnunetutil.la \
438  $(top_builddir)/src/transport/libgnunettransporttesting.la 
439  
440 test_transport_api_udp_SOURCES = \
441  test_transport_api.c
442 test_transport_api_udp_LDADD = \
443  $(top_builddir)/src/transport/libgnunettransport.la \
444  $(top_builddir)/src/hello/libgnunethello.la \
445  $(top_builddir)/src/util/libgnunetutil.la  \
446  $(top_builddir)/src/transport/libgnunettransporttesting.la 
447
448 test_transport_api_udp_nat_SOURCES = \
449  test_transport_api.c
450 test_transport_api_udp_nat_LDADD = \
451  $(top_builddir)/src/transport/libgnunettransport.la \
452  $(top_builddir)/src/hello/libgnunethello.la \
453  $(top_builddir)/src/util/libgnunetutil.la  \
454  $(top_builddir)/src/transport/libgnunettransporttesting.la  
455
456 test_transport_api_unix_SOURCES = \
457  test_transport_api.c
458 test_transport_api_unix_LDADD = \
459  $(top_builddir)/src/transport/libgnunettransport.la \
460  $(top_builddir)/src/hello/libgnunethello.la \
461  $(top_builddir)/src/util/libgnunetutil.la \
462  $(top_builddir)/src/transport/libgnunettransporttesting.la 
463
464 #test_plugin_transport_http_SOURCES = \
465 # test_plugin_transport_http.c
466 #test_plugin_transport_http_LDADD = \
467 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
468 # @LIBCURL@ \
469 # $(top_builddir)/src/hello/libgnunethello.la \
470 # $(top_builddir)/src/util/libgnunetutil.la  
471
472 test_transport_api_http_SOURCES = \
473  test_transport_api.c
474 test_transport_api_http_LDADD = \
475  $(top_builddir)/src/transport/libgnunettransport.la \
476  $(top_builddir)/src/hello/libgnunethello.la \
477  $(top_builddir)/src/util/libgnunetutil.la \
478  $(top_builddir)/src/transport/libgnunettransporttesting.la 
479  
480  test_transport_api_http_nat_SOURCES = \
481  test_transport_api.c
482 test_transport_api_http_nat_LDADD = \
483  $(top_builddir)/src/transport/libgnunettransport.la \
484  $(top_builddir)/src/hello/libgnunethello.la \
485  $(top_builddir)/src/util/libgnunetutil.la \
486  $(top_builddir)/src/transport/libgnunettransporttesting.la 
487
488 test_transport_api_reliability_http_SOURCES = \
489  test_transport_api_reliability.c
490 test_transport_api_reliability_http_LDADD = \
491  $(top_builddir)/src/transport/libgnunettransport.la \
492  $(top_builddir)/src/hello/libgnunethello.la \
493  $(top_builddir)/src/util/libgnunetutil.la \
494  $(top_builddir)/src/transport/libgnunettransporttesting.la 
495
496 test_transport_api_reliability_http_nat_SOURCES = \
497  test_transport_api_reliability.c
498 test_transport_api_reliability_http_nat_LDADD = \
499  $(top_builddir)/src/transport/libgnunettransport.la \
500  $(top_builddir)/src/hello/libgnunethello.la \
501  $(top_builddir)/src/util/libgnunetutil.la \
502  $(top_builddir)/src/transport/libgnunettransporttesting.la 
503
504 test_transport_api_https_SOURCES = \
505  test_transport_api.c
506 test_transport_api_https_LDADD = \
507  $(top_builddir)/src/transport/libgnunettransport.la \
508  $(top_builddir)/src/hello/libgnunethello.la \
509  $(top_builddir)/src/util/libgnunetutil.la  \
510  $(top_builddir)/src/transport/libgnunettransporttesting.la 
511
512 test_transport_api_https_nat_SOURCES = \
513  test_transport_api.c
514 test_transport_api_https_nat_LDADD = \
515  $(top_builddir)/src/transport/libgnunettransport.la \
516  $(top_builddir)/src/hello/libgnunethello.la \
517  $(top_builddir)/src/util/libgnunetutil.la \
518  $(top_builddir)/src/transport/libgnunettransporttesting.la 
519
520 test_transport_api_reliability_https_SOURCES = \
521  test_transport_api_reliability.c
522 test_transport_api_reliability_https_LDADD = \
523  $(top_builddir)/src/transport/libgnunettransport.la \
524  $(top_builddir)/src/hello/libgnunethello.la \
525  $(top_builddir)/src/util/libgnunetutil.la \
526  $(top_builddir)/src/transport/libgnunettransporttesting.la 
527
528 test_transport_api_reliability_https_nat_SOURCES = \
529  test_transport_api_reliability.c
530 test_transport_api_reliability_https_nat_LDADD = \
531  $(top_builddir)/src/transport/libgnunettransport.la \
532  $(top_builddir)/src/hello/libgnunethello.la \
533  $(top_builddir)/src/util/libgnunetutil.la \
534  $(top_builddir)/src/transport/libgnunettransporttesting.la 
535
536 test_transport_api_unreliability_unix_SOURCES = \
537  test_transport_api_unreliability.c
538 test_transport_api_unreliability_unix_LDADD = \
539  $(top_builddir)/src/transport/libgnunettransport.la \
540  $(top_builddir)/src/hello/libgnunethello.la \
541  $(top_builddir)/src/util/libgnunetutil.la \
542  $(top_builddir)/src/transport/libgnunettransporttesting.la 
543
544 test_transport_api_unreliability_udp_SOURCES = \
545  test_transport_api_unreliability.c
546 test_transport_api_unreliability_udp_LDADD = \
547  $(top_builddir)/src/transport/libgnunettransport.la \
548  $(top_builddir)/src/hello/libgnunethello.la \
549  $(top_builddir)/src/util/libgnunetutil.la \
550  $(top_builddir)/src/transport/libgnunettransporttesting.la 
551
552 test_transport_api_unreliability_constant_udp_SOURCES = \
553  test_transport_api_unreliability_constant.c
554 test_transport_api_unreliability_constant_udp_LDADD = \
555  $(top_builddir)/src/transport/libgnunettransport.la \
556  $(top_builddir)/src/hello/libgnunethello.la \
557  $(top_builddir)/src/util/libgnunetutil.la \
558  $(top_builddir)/src/transport/libgnunettransporttesting.la 
559
560 if LINUX
561 test_transport_api_wlan_SOURCES = \
562  test_transport_api.c
563 test_transport_api_wlan_LDADD = \
564  $(top_builddir)/src/transport/libgnunettransport.la \
565  $(top_builddir)/src/hello/libgnunethello.la \
566  $(top_builddir)/src/util/libgnunetutil.la \
567  $(top_builddir)/src/transport/libgnunettransporttesting.la  
568 endif
569
570 test_quota_compliance_tcp_SOURCES = \
571  test_quota_compliance.c
572 test_quota_compliance_tcp_LDADD = \
573  $(top_builddir)/src/transport/libgnunettransport.la \
574  $(top_builddir)/src/hello/libgnunethello.la \
575  $(top_builddir)/src/util/libgnunetutil.la \
576  $(top_builddir)/src/transport/libgnunettransporttesting.la 
577
578 test_quota_compliance_tcp_asymmetric_SOURCES = \
579  test_quota_compliance.c
580 test_quota_compliance_tcp_asymmetric_LDADD = \
581  $(top_builddir)/src/transport/libgnunettransport.la \
582  $(top_builddir)/src/hello/libgnunethello.la \
583  $(top_builddir)/src/util/libgnunetutil.la \
584  $(top_builddir)/src/transport/libgnunettransporttesting.la 
585
586 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
587 # test_quota_compliance.c
588 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
589 # $(top_builddir)/src/transport/libgnunettransport.la \
590 # $(top_builddir)/src/util/libgnunetutil.la
591
592 test_quota_compliance_http_SOURCES = \
593  test_quota_compliance.c
594 test_quota_compliance_http_LDADD = \
595  $(top_builddir)/src/transport/libgnunettransport.la \
596  $(top_builddir)/src/hello/libgnunethello.la \
597  $(top_builddir)/src/util/libgnunetutil.la \
598  $(top_builddir)/src/transport/libgnunettransporttesting.la 
599
600  test_quota_compliance_http_asymmetric_SOURCES = \
601  test_quota_compliance.c
602 test_quota_compliance_http_asymmetric_LDADD = \
603  $(top_builddir)/src/transport/libgnunettransport.la \
604  $(top_builddir)/src/hello/libgnunethello.la \
605  $(top_builddir)/src/util/libgnunetutil.la \
606  $(top_builddir)/src/transport/libgnunettransporttesting.la
607
608 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
609 # test_quota_compliance.c
610 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
611 # $(top_builddir)/src/transport/libgnunettransport.la \
612 # $(top_builddir)/src/util/libgnunetutil.la
613
614 test_quota_compliance_https_SOURCES = \
615  test_quota_compliance.c
616 test_quota_compliance_https_LDADD = \
617  $(top_builddir)/src/transport/libgnunettransport.la \
618  $(top_builddir)/src/hello/libgnunethello.la \
619  $(top_builddir)/src/util/libgnunetutil.la \
620  $(top_builddir)/src/transport/libgnunettransporttesting.la
621
622  test_quota_compliance_https_asymmetric_SOURCES = \
623  test_quota_compliance.c
624 test_quota_compliance_https_asymmetric_LDADD = \
625  $(top_builddir)/src/transport/libgnunettransport.la \
626  $(top_builddir)/src/hello/libgnunethello.la \
627  $(top_builddir)/src/util/libgnunetutil.la \
628  $(top_builddir)/src/transport/libgnunettransporttesting.la
629
630 #test_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  $(top_builddir)/src/transport/libgnunettransporttesting.la
643
644 test_quota_compliance_unix_SOURCES = \
645  test_quota_compliance.c
646 test_quota_compliance_unix_LDADD = \
647  $(top_builddir)/src/transport/libgnunettransport.la \
648  $(top_builddir)/src/hello/libgnunethello.la \
649  $(top_builddir)/src/util/libgnunetutil.la \
650  $(top_builddir)/src/transport/libgnunettransporttesting.la
651
652 test_quota_compliance_unix_asymmetric_SOURCES = \
653  test_quota_compliance.c
654 test_quota_compliance_unix_asymmetric_LDADD = \
655  $(top_builddir)/src/transport/libgnunettransport.la \
656  $(top_builddir)/src/hello/libgnunethello.la \
657  $(top_builddir)/src/util/libgnunetutil.la \
658  $(top_builddir)/src/transport/libgnunettransporttesting.la
659
660 test_transport_api_multi_SOURCES = \
661  test_transport_api.c
662 test_transport_api_multi_LDADD = \
663  $(top_builddir)/src/transport/libgnunettransport.la \
664  $(top_builddir)/src/hello/libgnunethello.la \
665  $(top_builddir)/src/util/libgnunetutil.la \
666  $(top_builddir)/src/transport/libgnunettransporttesting.la 
667
668
669 EXTRA_DIST = \
670 gnunet-transport-certificate-creation \
671 template_cfg_peer1.conf\
672 template_cfg_peer2.conf\
673 test_plugin_transport_data.conf\
674 test_plugin_transport_data_http.conf\
675 test_plugin_transport_data_udp.conf\
676 test_quota_compliance_data.conf\
677 test_quota_compliance_http_peer1.conf\
678 test_quota_compliance_http_peer2.conf\
679 test_quota_compliance_https_peer1.conf\
680 test_quota_compliance_https_peer2.conf\
681 test_quota_compliance_tcp_peer1.conf\
682 test_quota_compliance_tcp_peer2.conf\
683 test_quota_compliance_udp_peer1.conf\
684 test_quota_compliance_udp_peer2.conf\
685 test_quota_compliance_unix_peer1.conf\
686 test_quota_compliance_unix_peer2.conf\
687 test_quota_compliance_http_asymmetric_peer1.conf\
688 test_quota_compliance_http_asymmetric_peer2.conf\
689 test_quota_compliance_https_asymmetric_peer1.conf\
690 test_quota_compliance_https_asymmetric_peer2.conf\
691 test_quota_compliance_tcp_asymmetric_peer1.conf\
692 test_quota_compliance_tcp_asymmetric_peer2.conf\
693 test_quota_compliance_unix_asymmetric_peer1.conf\
694 test_quota_compliance_unix_asymmetric_peer2.conf\
695 test_transport_api_data.conf\
696 test_transport_api_http_peer1.conf\
697 test_transport_api_http_peer2.conf\
698 test_transport_api_https_peer1.conf\
699 test_transport_api_https_peer2.conf\
700 test_transport_api_limited_sockets_tcp_peer1.conf\
701 test_transport_api_limited_sockets_tcp_peer2.conf\
702 test_transport_api_timeout_tcp_peer1.conf\
703 test_transport_api_timeout_tcp_peer2.conf\
704 test_transport_api_multi_peer1.conf\
705 test_transport_api_multi_peer2.conf\
706 test_transport_api_reliability_http_peer1.conf\
707 test_transport_api_reliability_http_peer2.conf\
708 test_transport_api_reliability_https_peer1.conf\
709 test_transport_api_reliability_https_peer2.conf\
710 test_transport_api_reliability_tcp_nat_peer1.conf\
711 test_transport_api_reliability_tcp_nat_peer2.conf\
712 test_transport_api_reliability_tcp_peer1.conf\
713 test_transport_api_reliability_tcp_peer2.conf\
714 test_transport_api_reliability_wlan_peer1.conf\
715 test_transport_api_reliability_wlan_peer2.conf\
716 test_transport_api_tcp_nat_peer1.conf\
717 test_transport_api_tcp_nat_peer2.conf\
718 test_transport_api_tcp_peer1.conf\
719 test_transport_api_tcp_peer2.conf\
720 test_transport_api_udp_nat_peer1.conf\
721 test_transport_api_udp_nat_peer2.conf\
722 test_transport_api_udp_peer1.conf\
723 test_transport_api_udp_peer2.conf\
724 test_transport_api_unix_peer1.conf\
725 test_transport_api_unix_peer2.conf\
726 test_transport_api_unreliability_udp_peer1.conf\
727 test_transport_api_unreliability_udp_peer2.conf\
728 test_transport_api_unreliability_unix_peer1.conf\
729 test_transport_api_unreliability_unix_peer2.conf\
730 test_transport_api_unreliability_wlan_peer1.conf\
731 test_transport_api_unreliability_wlan_peer2.conf\
732 test_transport_api_wlan_peer1.conf\
733 test_transport_api_wlan_peer2.conf\
734 test_transport_defaults.conf\
735 test_transport_startonly.conf\
736 test_transport_api_disconnect_tcp_peer1.conf\
737 test_transport_api_disconnect_tcp_peer2.conf\
738 test_transport_api_http_nat_peer1.conf\
739 test_transport_api_http_nat_peer2.conf\
740 test_transport_api_https_nat_peer1.conf\
741 test_transport_api_https_nat_peer2.conf\
742 test_transport_api_reliability_http_nat_peer1.conf\
743 test_transport_api_reliability_http_nat_peer2.conf\
744 test_transport_api_reliability_https_nat_peer1.conf\
745 test_transport_api_reliability_https_nat_peer2.conf\
746 test_transport_api_timeout_http_peer1.conf\
747 test_transport_api_timeout_http_peer2.conf\
748 test_transport_api_timeout_https_peer1.conf\
749 test_transport_api_timeout_https_peer2.conf\
750 test_transport_api_unreliability_constant_udp_peer1.conf\
751 test_transport_api_unreliability_constant_udp_peer2.conf