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