6901f6b4db1e3bab359cc348b7b3b5090ea22302
[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 dist_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-transport-wlan-helper
37  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
38  WLAN_BIN_SENDER = gnunet_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-transport-wlan-helper || true
49         $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-transport-wlan-helper || 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_REL_TEST = test_transport_api_unreliability_unix
58 UNIX_QUOTA_TEST = test_quota_compliance_unix \
59      test_quota_compliance_unix_asymmetric
60 endif
61
62 noinst_PROGRAMS = \
63  $(WLAN_BIN_DUMMY) \
64  $(WLAN_BIN_SENDER)
65 # gnunet-transport-connect-running-peers
66
67 lib_LTLIBRARIES = \
68   libgnunettransport.la \
69   libgnunettransporttesting.la
70
71 libgnunettransporttesting_la_SOURCES = \
72   transport-testing.c transport-testing.h
73 libgnunettransporttesting_la_LIBADD = \
74   $(top_builddir)/src/transport/libgnunettransport.la \
75   $(top_builddir)/src/hello/libgnunethello.la \
76   $(top_builddir)/src/util/libgnunetutil.la \
77   $(GN_LIBINTL) 
78 libgnunettransporttesting_la_DEPENDENCIES = \
79   libgnunettransport.la
80 libgnunettransporttesting_la_LDFLAGS = \
81  $(GN_LIB_LDFLAGS)
82
83 libgnunettransport_la_SOURCES = \
84   transport_api.c transport.h \
85   transport_api_blacklist.c \
86   transport_api_address_to_string.c \
87   transport_api_address_lookup.c
88 libgnunettransport_la_LIBADD = \
89   $(top_builddir)/src/hello/libgnunethello.la \
90   $(top_builddir)/src/util/libgnunetutil.la \
91   $(GN_LIBINTL) 
92 libgnunettransport_la_LDFLAGS = \
93   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
94   -version-info 0:0:0
95
96 bin_PROGRAMS = \
97  gnunet-transport \
98  $(WLAN_BIN) \
99  gnunet-service-transport \
100  gnunet-transport-certificate-creation
101
102 #bin_SCRIPTS = \
103 # gnunet-transport-certificate-creation
104
105 gnunet_transport_certificate_creation_SOURCES = \
106  gnunet-transport-certificate-creation.c
107 gnunet_transport_certificate_creation_LDADD = \
108   $(top_builddir)/src/util/libgnunetutil.la
109
110 gnunet_transport_wlan_helper_SOURCES = \
111  gnunet-transport-wlan-helper.c
112
113 gnunet_transport_wlan_helper_dummy_SOURCES = \
114  gnunet-transport-wlan-helper-dummy.c
115 gnunet_transport_wlan_helper_dummy_LDADD = \
116   $(top_builddir)/src/util/libgnunetutil.la 
117
118 gnunet_wlan_sender_SOURCES = \
119  gnunet_wlan_sender.c
120 gnunet_wlan_sender_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/nat/libgnunetnat.la \
128   $(top_builddir)/src/util/libgnunetutil.la \
129   $(GN_LIBINTL)
130 gnunet_transport_DEPENDENCIES = \
131   libgnunettransport.la                         
132
133 gnunet_service_transport_SOURCES = \
134  gnunet-service-transport.c gnunet-service-transport.h \
135  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
136  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
137  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
138  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
139  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
140  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
141 gnunet_service_transport_LDADD = \
142   $(top_builddir)/src/ats/libgnunetats.la \
143   $(top_builddir)/src/hello/libgnunethello.la \
144   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
145   $(top_builddir)/src/statistics/libgnunetstatistics.la \
146   $(top_builddir)/src/util/libgnunetutil.la \
147   $(GN_GLPK) \
148   $(GN_LIBINTL)
149
150 plugin_LTLIBRARIES = \
151   libgnunet_plugin_transport_tcp.la \
152   libgnunet_plugin_transport_udp.la \
153   $(UNIX_PLUGIN_LA) \
154   $(HTTP_PLUGIN_LA) \
155   $(HTTPS_PLUGIN_LA) \
156   $(WLAN_PLUGIN_LA) \
157   libgnunet_plugin_transport_template.la
158
159 libgnunet_plugin_transport_tcp_la_SOURCES = \
160   plugin_transport_tcp.c
161 libgnunet_plugin_transport_tcp_la_LIBADD = \
162   $(top_builddir)/src/hello/libgnunethello.la \
163   $(top_builddir)/src/statistics/libgnunetstatistics.la \
164   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
165   $(top_builddir)/src/nat/libgnunetnat.la \
166   $(top_builddir)/src/util/libgnunetutil.la 
167 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
168  $(GN_PLUGIN_LDFLAGS)
169
170 libgnunet_plugin_transport_template_la_SOURCES = \
171   plugin_transport_template.c
172 libgnunet_plugin_transport_template_la_LIBADD = \
173   $(top_builddir)/src/util/libgnunetutil.la 
174 libgnunet_plugin_transport_template_la_LDFLAGS = \
175  $(GN_PLUGIN_LDFLAGS)
176
177 libgnunet_plugin_transport_wlan_la_SOURCES = \
178   plugin_transport_wlan.c plugin_transport_wlan.h
179 libgnunet_plugin_transport_wlan_la_LIBADD = \
180   $(top_builddir)/src/hello/libgnunethello.la \
181   $(top_builddir)/src/statistics/libgnunetstatistics.la \
182   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
183   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
184   $(top_builddir)/src/util/libgnunetutil.la 
185 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
186   $(GN_PLUGIN_LDFLAGS)
187
188 libgnunet_plugin_transport_udp_la_SOURCES = \
189   plugin_transport_udp.c
190 libgnunet_plugin_transport_udp_la_LIBADD = \
191   $(top_builddir)/src/hello/libgnunethello.la \
192   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
193   $(top_builddir)/src/statistics/libgnunetstatistics.la \
194   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
195   $(top_builddir)/src/nat/libgnunetnat.la \
196   $(top_builddir)/src/util/libgnunetutil.la 
197 libgnunet_plugin_transport_udp_la_LDFLAGS = \
198  $(GN_PLUGIN_LDFLAGS)
199
200 libgnunet_plugin_transport_unix_la_SOURCES = \
201   plugin_transport_unix.c
202 libgnunet_plugin_transport_unix_la_LIBADD = \
203   $(top_builddir)/src/hello/libgnunethello.la \
204   $(top_builddir)/src/statistics/libgnunetstatistics.la \
205   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
206   $(top_builddir)/src/util/libgnunetutil.la 
207 libgnunet_plugin_transport_unix_la_LDFLAGS = \
208  $(GN_PLUGIN_LDFLAGS)
209
210 libgnunet_plugin_transport_http_la_SOURCES = \
211   plugin_transport_http.c plugin_transport_http.h \
212   plugin_transport_http_client.c plugin_transport_http_server.c
213 libgnunet_plugin_transport_http_la_LIBADD = \
214   $(top_builddir)/src/hello/libgnunethello.la \
215   $(top_builddir)/src/statistics/libgnunetstatistics.la \
216   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
217   @LIBCURL@ \
218   $(top_builddir)/src/nat/libgnunetnat.la \
219   $(top_builddir)/src/util/libgnunetutil.la 
220 libgnunet_plugin_transport_http_la_LDFLAGS = \
221  $(GN_LIBMHD) \
222  $(GN_PLUGIN_LDFLAGS)
223 libgnunet_plugin_transport_http_la_CFLAGS = \
224  $(CFLAGS) 
225 libgnunet_plugin_transport_http_la_CPPFLAGS = \
226  @LIBCURL_CPPFLAGS@
227
228 libgnunet_plugin_transport_https_la_SOURCES = \
229   plugin_transport_http.c plugin_transport_http.h \
230   plugin_transport_http_client.c plugin_transport_http_server.c
231 libgnunet_plugin_transport_https_la_LIBADD = \
232   $(top_builddir)/src/hello/libgnunethello.la \
233   $(top_builddir)/src/statistics/libgnunetstatistics.la \
234   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
235   @LIBCURL@ \
236   $(top_builddir)/src/nat/libgnunetnat.la \
237   $(top_builddir)/src/util/libgnunetutil.la 
238 libgnunet_plugin_transport_https_la_LDFLAGS = \
239  $(GN_LIBMHD) \
240  $(GN_PLUGIN_LDFLAGS)
241 libgnunet_plugin_transport_https_la_CFLAGS = \
242  $(CFLAGS) -DBUILD_HTTPS 
243 libgnunet_plugin_transport_https_la_CPPFLAGS = \
244  @LIBCURL_CPPFLAGS@
245
246
247 check_PROGRAMS = \
248  test_transport_testing \
249  test_transport_startonly \
250  test_transport_api_disconnect_tcp \
251  test_transport_api_bidirectional_connect \
252  test_transport_api_tcp \
253  test_transport_api_restart_1peer \
254  test_transport_api_restart_2peers \
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_bidirectional_connect \
293  test_transport_api_tcp \
294  test_transport_api_restart_1peer \
295  test_transport_api_restart_2peers \
296  test_transport_api_timeout_tcp \
297  test_transport_api_limited_sockets_tcp \
298  test_transport_api_tcp_nat \
299  test_transport_api_udp \
300  $(UNIX_PLUGIN_TEST) \
301  test_transport_api_udp_nat \
302  $(HTTP_API_TEST) \
303  $(HTTP_NAT_API_TEST) \
304  $(HTTP_API_TIMEOUT_TEST) \
305  $(HTTPS_API_TEST) \
306  $(HTTPS_NAT_API_TEST) \
307  $(HTTPS_API_TIMEOUT_TEST) \
308  test_transport_api_multi \
309  test_transport_api_reliability_tcp \
310  test_transport_api_reliability_tcp_nat \
311  test_transport_api_unreliability_udp \
312  test_transport_api_unreliability_constant_udp \
313  $(UNIX_REL_TEST) \
314  $(HTTP_REL_TEST) \
315  $(HTTP_NAT_REL_TEST) \
316  $(HTTPS_REL_TEST) \
317  $(HTTPS_NAT_REL_TEST) \
318  test_quota_compliance_tcp \
319  test_quota_compliance_tcp_asymmetric \
320  test_quota_compliance_udp \
321  $(UNIX_QUOTA_TEST) \
322  $(HTTP_QUOTA_TEST) \
323  $(HTTPS_QUOTA_TEST) \
324  $(WLAN_API_TEST) \
325  $(WLAN_REL_TEST) \
326  $(WLAN_UREL_TEST)
327 endif
328
329 test_transport_testing_SOURCES = \
330  test_transport_testing.c
331 test_transport_testing_LDADD = \
332  $(top_builddir)/src/util/libgnunetutil.la \
333  $(top_builddir)/src/transport/libgnunettransport.la \
334  $(top_builddir)/src/hello/libgnunethello.la \
335  $(top_builddir)/src/transport/libgnunettransporttesting.la 
336
337 #gnunet_transport_connect_running_peers_SOURCES = \
338 # gnunet-transport-connect-running-peers.c
339 #gnunet_transport_connect_running_peers_LDADD = \
340 # $(top_builddir)/src/transport/libgnunettransport.la \
341 # $(top_builddir)/src/hello/libgnunethello.la \
342 # $(top_builddir)/src/util/libgnunetutil.la \
343 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
344
345 test_transport_api_disconnect_tcp_SOURCES = \
346  test_transport_api_disconnect.c
347 test_transport_api_disconnect_tcp_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_startonly_SOURCES = \
355  test_transport_startonly.c
356 test_transport_startonly_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_tcp_SOURCES = \
364  test_transport_api.c
365 test_transport_api_tcp_LDADD = \
366  $(top_builddir)/src/transport/libgnunettransport.la \
367  $(top_builddir)/src/hello/libgnunethello.la \
368  $(top_builddir)/src/util/libgnunetutil.la  \
369  $(top_builddir)/src/transport/libgnunettransporttesting.la
370   
371 test_transport_api_bidirectional_connect_SOURCES = \
372  test_transport_api_bidirectional_connect.c
373 test_transport_api_bidirectional_connect_LDADD = \
374  $(top_builddir)/src/transport/libgnunettransport.la \
375  $(top_builddir)/src/hello/libgnunethello.la \
376  $(top_builddir)/src/util/libgnunetutil.la  \
377  $(top_builddir)/src/transport/libgnunettransporttesting.la
378
379 test_transport_api_restart_1peer_SOURCES = \
380  test_transport_api_restart_1peer.c
381 test_transport_api_restart_1peer_LDADD = \
382  $(top_builddir)/src/transport/libgnunettransport.la \
383  $(top_builddir)/src/hello/libgnunethello.la \
384  $(top_builddir)/src/statistics/libgnunetstatistics.la \
385  $(top_builddir)/src/util/libgnunetutil.la \
386  $(top_builddir)/src/transport/libgnunettransporttesting.la 
387
388 test_transport_api_restart_2peers_SOURCES = \
389  test_transport_api_restart_2peers.c
390 test_transport_api_restart_2peers_LDADD = \
391  $(top_builddir)/src/transport/libgnunettransport.la \
392  $(top_builddir)/src/hello/libgnunethello.la \
393  $(top_builddir)/src/statistics/libgnunetstatistics.la \
394  $(top_builddir)/src/util/libgnunetutil.la \
395  $(top_builddir)/src/transport/libgnunettransporttesting.la 
396   
397 test_transport_api_limited_sockets_tcp_SOURCES = \
398  test_transport_api_limited_sockets.c
399 test_transport_api_limited_sockets_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_tcp_nat_SOURCES = \
406  test_transport_api.c
407 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
414  test_transport_api_reliability.c
415 test_transport_api_reliability_tcp_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_timeout_tcp_SOURCES = \
422  test_transport_api_timeout.c
423 test_transport_api_timeout_tcp_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_timeout_http_SOURCES = \
430  test_transport_api_timeout.c
431 test_transport_api_timeout_http_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_timeout_https_SOURCES = \
438  test_transport_api_timeout.c
439 test_transport_api_timeout_https_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_reliability_tcp_nat_SOURCES = \
446  test_transport_api_reliability.c
447 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
454  test_transport_api_reliability.c
455 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
462  test_transport_api_unreliability.c
463 test_transport_api_unreliability_wlan_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_transport_api_udp_SOURCES = \
470  test_transport_api.c
471 test_transport_api_udp_LDADD = \
472  $(top_builddir)/src/transport/libgnunettransport.la \
473  $(top_builddir)/src/hello/libgnunethello.la \
474  $(top_builddir)/src/util/libgnunetutil.la  \
475  $(top_builddir)/src/transport/libgnunettransporttesting.la 
476
477 test_transport_api_udp_nat_SOURCES = \
478  test_transport_api.c
479 test_transport_api_udp_nat_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_unix_SOURCES = \
486  test_transport_api.c
487 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
494 # test_plugin_transport_http.c
495 #test_plugin_transport_http_LDADD = \
496 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
497 # @LIBCURL@ \
498 # $(top_builddir)/src/hello/libgnunethello.la \
499 # $(top_builddir)/src/util/libgnunetutil.la  
500
501 test_transport_api_http_SOURCES = \
502  test_transport_api.c
503 test_transport_api_http_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_http_nat_SOURCES = \
510  test_transport_api.c
511 test_transport_api_http_nat_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_reliability_http_SOURCES = \
518  test_transport_api_reliability.c
519 test_transport_api_reliability_http_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_http_nat_SOURCES = \
526  test_transport_api_reliability.c
527 test_transport_api_reliability_http_nat_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_https_SOURCES = \
534  test_transport_api.c
535 test_transport_api_https_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_https_nat_SOURCES = \
542  test_transport_api.c
543 test_transport_api_https_nat_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_reliability_https_SOURCES = \
550  test_transport_api_reliability.c
551 test_transport_api_reliability_https_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_reliability_https_nat_SOURCES = \
558  test_transport_api_reliability.c
559 test_transport_api_reliability_https_nat_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 test_transport_api_unreliability_unix_SOURCES = \
566  test_transport_api_unreliability.c
567 test_transport_api_unreliability_unix_LDADD = \
568  $(top_builddir)/src/transport/libgnunettransport.la \
569  $(top_builddir)/src/hello/libgnunethello.la \
570  $(top_builddir)/src/util/libgnunetutil.la \
571  $(top_builddir)/src/transport/libgnunettransporttesting.la 
572
573 test_transport_api_unreliability_udp_SOURCES = \
574  test_transport_api_unreliability.c
575 test_transport_api_unreliability_udp_LDADD = \
576  $(top_builddir)/src/transport/libgnunettransport.la \
577  $(top_builddir)/src/hello/libgnunethello.la \
578  $(top_builddir)/src/util/libgnunetutil.la \
579  $(top_builddir)/src/transport/libgnunettransporttesting.la 
580
581 test_transport_api_unreliability_constant_udp_SOURCES = \
582  test_transport_api_unreliability_constant.c
583 test_transport_api_unreliability_constant_udp_LDADD = \
584  $(top_builddir)/src/transport/libgnunettransport.la \
585  $(top_builddir)/src/hello/libgnunethello.la \
586  $(top_builddir)/src/util/libgnunetutil.la \
587  $(top_builddir)/src/transport/libgnunettransporttesting.la 
588
589 if LINUX
590 test_transport_api_wlan_SOURCES = \
591  test_transport_api.c
592 test_transport_api_wlan_LDADD = \
593  $(top_builddir)/src/transport/libgnunettransport.la \
594  $(top_builddir)/src/hello/libgnunethello.la \
595  $(top_builddir)/src/util/libgnunetutil.la \
596  $(top_builddir)/src/transport/libgnunettransporttesting.la  
597 endif
598
599 test_quota_compliance_tcp_SOURCES = \
600  test_quota_compliance.c
601 test_quota_compliance_tcp_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_quota_compliance_tcp_asymmetric_SOURCES = \
608  test_quota_compliance.c
609 test_quota_compliance_tcp_asymmetric_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 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
616 # test_quota_compliance.c
617 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
618 # $(top_builddir)/src/transport/libgnunettransport.la \
619 # $(top_builddir)/src/util/libgnunetutil.la
620
621 test_quota_compliance_http_SOURCES = \
622  test_quota_compliance.c
623 test_quota_compliance_http_LDADD = \
624  $(top_builddir)/src/transport/libgnunettransport.la \
625  $(top_builddir)/src/hello/libgnunethello.la \
626  $(top_builddir)/src/util/libgnunetutil.la \
627  $(top_builddir)/src/transport/libgnunettransporttesting.la 
628
629  test_quota_compliance_http_asymmetric_SOURCES = \
630  test_quota_compliance.c
631 test_quota_compliance_http_asymmetric_LDADD = \
632  $(top_builddir)/src/transport/libgnunettransport.la \
633  $(top_builddir)/src/hello/libgnunethello.la \
634  $(top_builddir)/src/util/libgnunetutil.la \
635  $(top_builddir)/src/transport/libgnunettransporttesting.la
636
637 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
638 # test_quota_compliance.c
639 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
640 # $(top_builddir)/src/transport/libgnunettransport.la \
641 # $(top_builddir)/src/util/libgnunetutil.la
642
643 test_quota_compliance_https_SOURCES = \
644  test_quota_compliance.c
645 test_quota_compliance_https_LDADD = \
646  $(top_builddir)/src/transport/libgnunettransport.la \
647  $(top_builddir)/src/hello/libgnunethello.la \
648  $(top_builddir)/src/util/libgnunetutil.la \
649  $(top_builddir)/src/transport/libgnunettransporttesting.la
650
651  test_quota_compliance_https_asymmetric_SOURCES = \
652  test_quota_compliance.c
653 test_quota_compliance_https_asymmetric_LDADD = \
654  $(top_builddir)/src/transport/libgnunettransport.la \
655  $(top_builddir)/src/hello/libgnunethello.la \
656  $(top_builddir)/src/util/libgnunetutil.la \
657  $(top_builddir)/src/transport/libgnunettransporttesting.la
658
659 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
660 # test_quota_compliance.c
661 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
662 # $(top_builddir)/src/transport/libgnunettransport.la \
663 # $(top_builddir)/src/util/libgnunetutil.la
664
665 test_quota_compliance_udp_SOURCES = \
666  test_quota_compliance.c
667 test_quota_compliance_udp_LDADD = \
668  $(top_builddir)/src/transport/libgnunettransport.la \
669  $(top_builddir)/src/hello/libgnunethello.la \
670  $(top_builddir)/src/util/libgnunetutil.la \
671  $(top_builddir)/src/transport/libgnunettransporttesting.la
672
673 test_quota_compliance_unix_SOURCES = \
674  test_quota_compliance.c
675 test_quota_compliance_unix_LDADD = \
676  $(top_builddir)/src/transport/libgnunettransport.la \
677  $(top_builddir)/src/hello/libgnunethello.la \
678  $(top_builddir)/src/util/libgnunetutil.la \
679  $(top_builddir)/src/transport/libgnunettransporttesting.la
680
681 test_quota_compliance_unix_asymmetric_SOURCES = \
682  test_quota_compliance.c
683 test_quota_compliance_unix_asymmetric_LDADD = \
684  $(top_builddir)/src/transport/libgnunettransport.la \
685  $(top_builddir)/src/hello/libgnunethello.la \
686  $(top_builddir)/src/util/libgnunetutil.la \
687  $(top_builddir)/src/transport/libgnunettransporttesting.la
688
689 test_transport_api_multi_SOURCES = \
690  test_transport_api.c
691 test_transport_api_multi_LDADD = \
692  $(top_builddir)/src/transport/libgnunettransport.la \
693  $(top_builddir)/src/hello/libgnunethello.la \
694  $(top_builddir)/src/util/libgnunetutil.la \
695  $(top_builddir)/src/transport/libgnunettransporttesting.la 
696
697
698 EXTRA_DIST = \
699 gnunet-transport-certificate-creation \
700 template_cfg_peer1.conf\
701 template_cfg_peer2.conf\
702 test_plugin_transport_data.conf\
703 test_plugin_transport_data_udp.conf\
704 test_quota_compliance_data.conf\
705 test_quota_compliance_http_peer1.conf\
706 test_quota_compliance_http_peer2.conf\
707 test_quota_compliance_https_peer1.conf\
708 test_quota_compliance_https_peer2.conf\
709 test_quota_compliance_tcp_peer1.conf\
710 test_quota_compliance_tcp_peer2.conf\
711 test_quota_compliance_udp_peer1.conf\
712 test_quota_compliance_udp_peer2.conf\
713 test_quota_compliance_unix_peer1.conf\
714 test_quota_compliance_unix_peer2.conf\
715 test_quota_compliance_http_asymmetric_peer1.conf\
716 test_quota_compliance_http_asymmetric_peer2.conf\
717 test_quota_compliance_https_asymmetric_peer1.conf\
718 test_quota_compliance_https_asymmetric_peer2.conf\
719 test_quota_compliance_tcp_asymmetric_peer1.conf\
720 test_quota_compliance_tcp_asymmetric_peer2.conf\
721 test_quota_compliance_unix_asymmetric_peer1.conf\
722 test_quota_compliance_unix_asymmetric_peer2.conf\
723 test_transport_api_data.conf\
724 test_transport_api_http_peer1.conf\
725 test_transport_api_http_peer2.conf\
726 test_transport_api_https_peer1.conf\
727 test_transport_api_https_peer2.conf\
728 test_transport_api_limited_sockets_tcp_peer1.conf\
729 test_transport_api_limited_sockets_tcp_peer2.conf\
730 test_transport_api_timeout_tcp_peer1.conf\
731 test_transport_api_timeout_tcp_peer2.conf\
732 test_transport_api_multi_peer1.conf\
733 test_transport_api_multi_peer2.conf\
734 test_transport_api_reliability_http_peer1.conf\
735 test_transport_api_reliability_http_peer2.conf\
736 test_transport_api_reliability_https_peer1.conf\
737 test_transport_api_reliability_https_peer2.conf\
738 test_transport_api_reliability_tcp_nat_peer1.conf\
739 test_transport_api_reliability_tcp_nat_peer2.conf\
740 test_transport_api_reliability_tcp_peer1.conf\
741 test_transport_api_reliability_tcp_peer2.conf\
742 test_transport_api_reliability_wlan_peer1.conf\
743 test_transport_api_reliability_wlan_peer2.conf\
744 test_transport_api_tcp_nat_peer1.conf\
745 test_transport_api_tcp_nat_peer2.conf\
746 test_transport_api_tcp_peer1.conf\
747 test_transport_api_tcp_peer2.conf\
748 test_transport_api_udp_nat_peer1.conf\
749 test_transport_api_udp_nat_peer2.conf\
750 test_transport_api_udp_peer1.conf\
751 test_transport_api_udp_peer2.conf\
752 test_transport_api_unix_peer1.conf\
753 test_transport_api_unix_peer2.conf\
754 test_transport_api_unreliability_udp_peer1.conf\
755 test_transport_api_unreliability_udp_peer2.conf\
756 test_transport_api_unreliability_unix_peer1.conf\
757 test_transport_api_unreliability_unix_peer2.conf\
758 test_transport_api_unreliability_wlan_peer1.conf\
759 test_transport_api_unreliability_wlan_peer2.conf\
760 test_transport_api_wlan_peer1.conf\
761 test_transport_api_wlan_peer2.conf\
762 test_transport_defaults.conf\
763 test_transport_startonly.conf\
764 test_transport_api_disconnect_tcp_peer1.conf\
765 test_transport_api_disconnect_tcp_peer2.conf\
766 test_transport_api_http_nat_peer1.conf\
767 test_transport_api_http_nat_peer2.conf\
768 test_transport_api_https_nat_peer1.conf\
769 test_transport_api_https_nat_peer2.conf\
770 test_transport_api_reliability_http_nat_peer1.conf\
771 test_transport_api_reliability_http_nat_peer2.conf\
772 test_transport_api_reliability_https_nat_peer1.conf\
773 test_transport_api_reliability_https_nat_peer2.conf\
774 test_transport_api_timeout_http_peer1.conf\
775 test_transport_api_timeout_http_peer2.conf\
776 test_transport_api_timeout_https_peer1.conf\
777 test_transport_api_timeout_https_peer2.conf\
778 test_transport_api_unreliability_constant_udp_peer1.conf\
779 test_transport_api_unreliability_constant_udp_peer2.conf