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