0cf817db9377687838be9bb0c29838d4e83f15f2
[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 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-helper-transport-wlan
37  WLAN_BIN_DUMMY = gnunet-helper-transport-wlan-dummy
38  WLAN_BIN_SENDER = gnunet-transport-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-helper-transport-wlan || true
49         $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-transport-wlan || 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_PLUGIN_TIMEOUT_TEST = test_transport_api_timeout_unix
58 UNIX_REL_TEST = test_transport_api_unreliability_unix
59 UNIX_QUOTA_TEST = test_quota_compliance_unix \
60      test_quota_compliance_unix_asymmetric
61 endif
62
63 noinst_PROGRAMS = \
64  $(WLAN_BIN_SENDER)
65
66 lib_LTLIBRARIES = \
67   libgnunettransport.la \
68   libgnunettransporttesting.la
69
70 libgnunettransporttesting_la_SOURCES = \
71   transport-testing.c transport-testing.h
72 libgnunettransporttesting_la_LIBADD = \
73   $(top_builddir)/src/transport/libgnunettransport.la \
74   $(top_builddir)/src/hello/libgnunethello.la \
75   $(top_builddir)/src/util/libgnunetutil.la \
76   $(top_builddir)/src/testing/libgnunettesting.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 1:0:0
95
96 bin_PROGRAMS = \
97  gnunet-transport \
98  $(WLAN_BIN) \
99  $(WLAN_BIN_DUMMY) \
100  gnunet-service-transport \
101  gnunet-transport-certificate-creation
102
103 #bin_SCRIPTS = \
104 # gnunet-transport-certificate-creation
105
106 gnunet_transport_certificate_creation_SOURCES = \
107  gnunet-transport-certificate-creation.c
108 gnunet_transport_certificate_creation_LDADD = \
109   $(top_builddir)/src/util/libgnunetutil.la
110
111 gnunet_helper_transport_wlan_SOURCES = \
112  gnunet-helper-transport-wlan.c
113
114 gnunet_helper_transport_wlan_dummy_SOURCES = \
115  gnunet-helper-transport-wlan-dummy.c
116 gnunet_helper_transport_wlan_dummy_LDADD = \
117   $(top_builddir)/src/util/libgnunetutil.la 
118
119 gnunet_transport_wlan_sender_SOURCES = \
120  gnunet-transport-wlan-sender.c
121 gnunet_transport_wlan_sender_LDADD = \
122   $(top_builddir)/src/util/libgnunetutil.la 
123
124 gnunet_transport_SOURCES = \
125  gnunet-transport.c         
126 gnunet_transport_LDADD = \
127   $(top_builddir)/src/transport/libgnunettransport.la \
128   $(top_builddir)/src/nat/libgnunetnat.la \
129   $(top_builddir)/src/hello/libgnunethello.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   $(LTLIBINTL)
170 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
171  $(GN_PLUGIN_LDFLAGS)
172
173 libgnunet_plugin_transport_template_la_SOURCES = \
174   plugin_transport_template.c
175 libgnunet_plugin_transport_template_la_LIBADD = \
176   $(top_builddir)/src/util/libgnunetutil.la \
177   $(LTLIBINTL)
178 libgnunet_plugin_transport_template_la_LDFLAGS = \
179  $(GN_PLUGIN_LDFLAGS)
180
181 libgnunet_plugin_transport_wlan_la_SOURCES = \
182   plugin_transport_wlan.c plugin_transport_wlan.h
183 libgnunet_plugin_transport_wlan_la_LIBADD = \
184   $(top_builddir)/src/hello/libgnunethello.la \
185   $(top_builddir)/src/statistics/libgnunetstatistics.la \
186   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
187   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
188   $(top_builddir)/src/util/libgnunetutil.la 
189 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
190   $(GN_PLUGIN_LDFLAGS)
191
192 libgnunet_plugin_transport_udp_la_SOURCES = \
193   plugin_transport_udp.c plugin_transport_udp.h \
194   plugin_transport_udp_broadcasting.c
195 libgnunet_plugin_transport_udp_la_LIBADD = \
196   $(top_builddir)/src/hello/libgnunethello.la \
197   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
198   $(top_builddir)/src/statistics/libgnunetstatistics.la \
199   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
200   $(top_builddir)/src/nat/libgnunetnat.la \
201   $(top_builddir)/src/util/libgnunetutil.la \
202   $(LTLIBINTL)
203 libgnunet_plugin_transport_udp_la_LDFLAGS = \
204  $(GN_PLUGIN_LDFLAGS)
205
206 libgnunet_plugin_transport_unix_la_SOURCES = \
207   plugin_transport_unix.c
208 libgnunet_plugin_transport_unix_la_LIBADD = \
209   $(top_builddir)/src/hello/libgnunethello.la \
210   $(top_builddir)/src/statistics/libgnunetstatistics.la \
211   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
212   $(top_builddir)/src/util/libgnunetutil.la \
213   $(LTLIBINTL)
214 libgnunet_plugin_transport_unix_la_LDFLAGS = \
215  $(GN_PLUGIN_LDFLAGS)
216
217 libgnunet_plugin_transport_http_la_SOURCES = \
218   plugin_transport_http.c plugin_transport_http.h \
219   plugin_transport_http_client.c plugin_transport_http_server.c
220 libgnunet_plugin_transport_http_la_LIBADD = \
221   $(top_builddir)/src/hello/libgnunethello.la \
222   $(top_builddir)/src/statistics/libgnunetstatistics.la \
223   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
224   @LIBCURL@ \
225   $(top_builddir)/src/nat/libgnunetnat.la \
226   $(top_builddir)/src/util/libgnunetutil.la 
227 libgnunet_plugin_transport_http_la_LDFLAGS = \
228  $(GN_LIBMHD) \
229  $(GN_PLUGIN_LDFLAGS)
230 libgnunet_plugin_transport_http_la_CFLAGS = \
231  $(CFLAGS) 
232 libgnunet_plugin_transport_http_la_CPPFLAGS = \
233  @LIBCURL_CPPFLAGS@
234
235 libgnunet_plugin_transport_https_la_SOURCES = \
236   plugin_transport_http.c plugin_transport_http.h \
237   plugin_transport_http_client.c plugin_transport_http_server.c
238 libgnunet_plugin_transport_https_la_LIBADD = \
239   $(top_builddir)/src/hello/libgnunethello.la \
240   $(top_builddir)/src/statistics/libgnunetstatistics.la \
241   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
242   @LIBCURL@ \
243   $(top_builddir)/src/nat/libgnunetnat.la \
244   $(top_builddir)/src/util/libgnunetutil.la 
245 libgnunet_plugin_transport_https_la_LDFLAGS = \
246  $(GN_LIBMHD) \
247  $(GN_PLUGIN_LDFLAGS)
248 libgnunet_plugin_transport_https_la_CFLAGS = \
249  $(CFLAGS) -DBUILD_HTTPS 
250 libgnunet_plugin_transport_https_la_CPPFLAGS = \
251  @LIBCURL_CPPFLAGS@
252
253
254 check_PROGRAMS = \
255  test_transport_testing_startstop \
256  test_transport_testing_restart \
257  test_transport_testing \
258  test_transport_startonly \
259  test_transport_api_blacklisting \
260  test_transport_api_disconnect_tcp \
261  test_transport_api_bidirectional_connect \
262  test_transport_api_tcp \
263  test_transport_api_restart_1peer \
264  test_transport_api_restart_2peers \
265  test_transport_api_timeout_tcp \
266  test_transport_api_limited_sockets_tcp \
267  test_transport_api_tcp_nat \
268  test_transport_api_udp \
269  test_transport_api_timeout_udp \
270  $(UNIX_PLUGIN_TEST) \
271  $(UNIX_PLUGIN_TIMEOUT_TEST) \
272  test_transport_api_udp_nat \
273  $(HTTP_API_TEST) \
274  $(HTTP_NAT_API_TEST) \
275  $(HTTP_API_TIMEOUT_TEST) \
276  $(HTTPS_API_TEST) \
277  $(HTTPS_NAT_API_TEST) \
278  $(HTTPS_API_TIMEOUT_TEST) \
279  test_transport_api_multi \
280  test_transport_api_reliability_tcp \
281  test_transport_api_reliability_tcp_nat \
282  test_transport_api_unreliability_udp \
283  test_transport_api_unreliability_constant_udp \
284  $(UNIX_REL_TEST) \
285  $(HTTP_REL_TEST) \
286  $(HTTP_NAT_REL_TEST) \
287  $(HTTPS_REL_TEST) \
288  $(HTTPS_NAT_REL_TEST) \
289  test_quota_compliance_tcp \
290  test_quota_compliance_tcp_asymmetric \
291  test_quota_compliance_udp \
292  $(UNIX_QUOTA_TEST) \
293  $(HTTP_QUOTA_TEST) \
294  $(HTTPS_QUOTA_TEST) \
295  $(WLAN_API_TEST) \
296  $(WLAN_REL_TEST) \
297  $(WLAN_UREL_TEST)
298
299 if ENABLE_TEST_RUN
300 TESTS = \
301  test_transport_testing_startstop \
302  test_transport_testing_restart \
303  test_transport_testing \
304  test_transport_startonly \
305  test_transport_api_blacklisting \
306  test_transport_api_disconnect_tcp \
307  test_transport_api_bidirectional_connect \
308  test_transport_api_tcp \
309  test_transport_api_restart_1peer \
310  test_transport_api_restart_2peers \
311  test_transport_api_timeout_tcp \
312  test_transport_api_limited_sockets_tcp \
313  test_transport_api_tcp_nat \
314  test_transport_api_udp \
315  test_transport_api_timeout_udp \
316  $(UNIX_PLUGIN_TEST) \
317  $(UNIX_PLUGIN_TIMEOUT_TEST) \
318  test_transport_api_udp_nat \
319  $(HTTP_API_TEST) \
320  $(HTTP_NAT_API_TEST) \
321  $(HTTP_API_TIMEOUT_TEST) \
322  $(HTTPS_API_TEST) \
323  $(HTTPS_NAT_API_TEST) \
324  $(HTTPS_API_TIMEOUT_TEST) \
325  test_transport_api_multi \
326  test_transport_api_reliability_tcp \
327  test_transport_api_reliability_tcp_nat \
328  test_transport_api_unreliability_udp \
329  test_transport_api_unreliability_constant_udp \
330  $(UNIX_REL_TEST) \
331  $(HTTP_REL_TEST) \
332  $(HTTP_NAT_REL_TEST) \
333  $(HTTPS_REL_TEST) \
334  $(HTTPS_NAT_REL_TEST) \
335  test_quota_compliance_tcp \
336  test_quota_compliance_tcp_asymmetric \
337  test_quota_compliance_udp \
338  $(UNIX_QUOTA_TEST) \
339  $(HTTP_QUOTA_TEST) \
340  $(HTTPS_QUOTA_TEST) \
341  $(WLAN_API_TEST) \
342  $(WLAN_REL_TEST) \
343  $(WLAN_UREL_TEST)
344 endif
345
346 test_transport_testing_startstop_SOURCES = \
347  test_transport_testing_startstop.c
348 test_transport_testing_startstop_LDADD = \
349  $(top_builddir)/src/util/libgnunetutil.la \
350  $(top_builddir)/src/transport/libgnunettransport.la \
351  $(top_builddir)/src/hello/libgnunethello.la \
352  $(top_builddir)/src/transport/libgnunettransporttesting.la 
353
354 test_transport_testing_restart_SOURCES = \
355  test_transport_testing_restart.c
356 test_transport_testing_restart_LDADD = \
357  $(top_builddir)/src/util/libgnunetutil.la \
358  $(top_builddir)/src/transport/libgnunettransport.la \
359  $(top_builddir)/src/hello/libgnunethello.la \
360  $(top_builddir)/src/transport/libgnunettransporttesting.la 
361
362 test_transport_testing_SOURCES = \
363  test_transport_testing.c
364 test_transport_testing_LDADD = \
365  $(top_builddir)/src/util/libgnunetutil.la \
366  $(top_builddir)/src/transport/libgnunettransport.la \
367  $(top_builddir)/src/hello/libgnunethello.la \
368  $(top_builddir)/src/transport/libgnunettransporttesting.la 
369
370
371 test_transport_api_blacklisting_SOURCES = \
372  test_transport_api_blacklisting.c
373 test_transport_api_blacklisting_LDADD = \
374  $(top_builddir)/src/transport/libgnunettransport.la \
375  $(top_builddir)/src/hello/libgnunethello.la \
376  $(top_builddir)/src/statistics/libgnunetstatistics.la \
377  $(top_builddir)/src/util/libgnunetutil.la \
378  $(top_builddir)/src/transport/libgnunettransporttesting.la 
379
380 test_transport_api_disconnect_tcp_SOURCES = \
381  test_transport_api_disconnect.c
382 test_transport_api_disconnect_tcp_LDADD = \
383  $(top_builddir)/src/transport/libgnunettransport.la \
384  $(top_builddir)/src/hello/libgnunethello.la \
385  $(top_builddir)/src/statistics/libgnunetstatistics.la \
386  $(top_builddir)/src/util/libgnunetutil.la \
387  $(top_builddir)/src/transport/libgnunettransporttesting.la 
388
389 test_transport_startonly_SOURCES = \
390  test_transport_startonly.c
391 test_transport_startonly_LDADD = \
392  $(top_builddir)/src/transport/libgnunettransport.la \
393  $(top_builddir)/src/hello/libgnunethello.la \
394  $(top_builddir)/src/statistics/libgnunetstatistics.la \
395  $(top_builddir)/src/util/libgnunetutil.la \
396  $(top_builddir)/src/transport/libgnunettransporttesting.la 
397
398 test_transport_api_tcp_SOURCES = \
399  test_transport_api.c
400 test_transport_api_tcp_LDADD = \
401  $(top_builddir)/src/transport/libgnunettransport.la \
402  $(top_builddir)/src/hello/libgnunethello.la \
403  $(top_builddir)/src/util/libgnunetutil.la  \
404  $(top_builddir)/src/transport/libgnunettransporttesting.la
405
406 test_transport_api_bidirectional_connect_SOURCES = \
407  test_transport_api_bidirectional_connect.c
408 test_transport_api_bidirectional_connect_LDADD = \
409  $(top_builddir)/src/transport/libgnunettransport.la \
410  $(top_builddir)/src/hello/libgnunethello.la \
411  $(top_builddir)/src/util/libgnunetutil.la  \
412  $(top_builddir)/src/transport/libgnunettransporttesting.la
413
414 test_transport_api_restart_1peer_SOURCES = \
415  test_transport_api_restart_1peer.c
416 test_transport_api_restart_1peer_LDADD = \
417  $(top_builddir)/src/transport/libgnunettransport.la \
418  $(top_builddir)/src/hello/libgnunethello.la \
419  $(top_builddir)/src/statistics/libgnunetstatistics.la \
420  $(top_builddir)/src/util/libgnunetutil.la \
421  $(top_builddir)/src/transport/libgnunettransporttesting.la 
422
423 test_transport_api_restart_2peers_SOURCES = \
424  test_transport_api_restart_2peers.c
425 test_transport_api_restart_2peers_LDADD = \
426  $(top_builddir)/src/transport/libgnunettransport.la \
427  $(top_builddir)/src/hello/libgnunethello.la \
428  $(top_builddir)/src/statistics/libgnunetstatistics.la \
429  $(top_builddir)/src/util/libgnunetutil.la \
430  $(top_builddir)/src/transport/libgnunettransporttesting.la 
431
432 test_transport_api_limited_sockets_tcp_SOURCES = \
433  test_transport_api_limited_sockets.c
434 test_transport_api_limited_sockets_tcp_LDADD = \
435  $(top_builddir)/src/transport/libgnunettransport.la \
436  $(top_builddir)/src/hello/libgnunethello.la \
437  $(top_builddir)/src/util/libgnunetutil.la  \
438  $(top_builddir)/src/transport/libgnunettransporttesting.la
439
440 test_transport_api_tcp_nat_SOURCES = \
441  test_transport_api.c
442 test_transport_api_tcp_nat_LDADD = \
443  $(top_builddir)/src/transport/libgnunettransport.la \
444  $(top_builddir)/src/hello/libgnunethello.la \
445  $(top_builddir)/src/util/libgnunetutil.la \
446  $(top_builddir)/src/transport/libgnunettransporttesting.la 
447
448 test_transport_api_reliability_tcp_SOURCES = \
449  test_transport_api_reliability.c
450 test_transport_api_reliability_tcp_LDADD = \
451  $(top_builddir)/src/transport/libgnunettransport.la \
452  $(top_builddir)/src/hello/libgnunethello.la \
453  $(top_builddir)/src/util/libgnunetutil.la \
454  $(top_builddir)/src/transport/libgnunettransporttesting.la 
455
456 test_transport_api_timeout_tcp_SOURCES = \
457  test_transport_api_timeout.c
458 test_transport_api_timeout_tcp_LDADD = \
459  $(top_builddir)/src/transport/libgnunettransport.la \
460  $(top_builddir)/src/hello/libgnunethello.la \
461  $(top_builddir)/src/util/libgnunetutil.la \
462  $(top_builddir)/src/transport/libgnunettransporttesting.la 
463
464 test_transport_api_timeout_unix_SOURCES = \
465  test_transport_api_timeout.c
466 test_transport_api_timeout_unix_LDADD = \
467  $(top_builddir)/src/transport/libgnunettransport.la \
468  $(top_builddir)/src/hello/libgnunethello.la \
469  $(top_builddir)/src/util/libgnunetutil.la \
470  $(top_builddir)/src/transport/libgnunettransporttesting.la 
471
472 test_transport_api_timeout_http_SOURCES = \
473  test_transport_api_timeout.c
474 test_transport_api_timeout_http_LDADD = \
475  $(top_builddir)/src/transport/libgnunettransport.la \
476  $(top_builddir)/src/hello/libgnunethello.la \
477  $(top_builddir)/src/util/libgnunetutil.la \
478  $(top_builddir)/src/transport/libgnunettransporttesting.la 
479
480 test_transport_api_timeout_https_SOURCES = \
481  test_transport_api_timeout.c
482 test_transport_api_timeout_https_LDADD = \
483  $(top_builddir)/src/transport/libgnunettransport.la \
484  $(top_builddir)/src/hello/libgnunethello.la \
485  $(top_builddir)/src/util/libgnunetutil.la \
486  $(top_builddir)/src/transport/libgnunettransporttesting.la 
487
488 test_transport_api_reliability_tcp_nat_SOURCES = \
489  test_transport_api_reliability.c
490 test_transport_api_reliability_tcp_nat_LDADD = \
491  $(top_builddir)/src/transport/libgnunettransport.la \
492  $(top_builddir)/src/hello/libgnunethello.la \
493  $(top_builddir)/src/util/libgnunetutil.la \
494  $(top_builddir)/src/transport/libgnunettransporttesting.la 
495
496 test_transport_api_reliability_wlan_SOURCES = \
497  test_transport_api_reliability.c
498 test_transport_api_reliability_wlan_LDADD = \
499  $(top_builddir)/src/transport/libgnunettransport.la \
500  $(top_builddir)/src/hello/libgnunethello.la \
501  $(top_builddir)/src/util/libgnunetutil.la \
502  $(top_builddir)/src/transport/libgnunettransporttesting.la 
503
504 test_transport_api_unreliability_wlan_SOURCES = \
505  test_transport_api_unreliability.c
506 test_transport_api_unreliability_wlan_LDADD = \
507  $(top_builddir)/src/transport/libgnunettransport.la \
508  $(top_builddir)/src/hello/libgnunethello.la \
509  $(top_builddir)/src/util/libgnunetutil.la \
510  $(top_builddir)/src/transport/libgnunettransporttesting.la 
511
512 test_transport_api_udp_SOURCES = \
513  test_transport_api.c
514 test_transport_api_udp_LDADD = \
515  $(top_builddir)/src/transport/libgnunettransport.la \
516  $(top_builddir)/src/hello/libgnunethello.la \
517  $(top_builddir)/src/util/libgnunetutil.la  \
518  $(top_builddir)/src/transport/libgnunettransporttesting.la
519
520 test_transport_api_timeout_udp_SOURCES = \
521  test_transport_api_timeout.c
522 test_transport_api_timeout_udp_LDADD = \
523  $(top_builddir)/src/transport/libgnunettransport.la \
524  $(top_builddir)/src/hello/libgnunethello.la \
525  $(top_builddir)/src/util/libgnunetutil.la \
526  $(top_builddir)/src/transport/libgnunettransporttesting.la  
527
528 test_transport_api_udp_nat_SOURCES = \
529  test_transport_api.c
530 test_transport_api_udp_nat_LDADD = \
531  $(top_builddir)/src/transport/libgnunettransport.la \
532  $(top_builddir)/src/hello/libgnunethello.la \
533  $(top_builddir)/src/util/libgnunetutil.la  \
534  $(top_builddir)/src/transport/libgnunettransporttesting.la  
535
536 test_transport_api_unix_SOURCES = \
537  test_transport_api.c
538 test_transport_api_unix_LDADD = \
539  $(top_builddir)/src/transport/libgnunettransport.la \
540  $(top_builddir)/src/hello/libgnunethello.la \
541  $(top_builddir)/src/util/libgnunetutil.la \
542  $(top_builddir)/src/transport/libgnunettransporttesting.la 
543
544 test_transport_api_http_SOURCES = \
545  test_transport_api.c
546 test_transport_api_http_LDADD = \
547  $(top_builddir)/src/transport/libgnunettransport.la \
548  $(top_builddir)/src/hello/libgnunethello.la \
549  $(top_builddir)/src/util/libgnunetutil.la \
550  $(top_builddir)/src/transport/libgnunettransporttesting.la 
551
552 test_transport_api_http_nat_SOURCES = \
553  test_transport_api.c
554 test_transport_api_http_nat_LDADD = \
555  $(top_builddir)/src/transport/libgnunettransport.la \
556  $(top_builddir)/src/hello/libgnunethello.la \
557  $(top_builddir)/src/util/libgnunetutil.la \
558  $(top_builddir)/src/transport/libgnunettransporttesting.la 
559
560 test_transport_api_reliability_http_SOURCES = \
561  test_transport_api_reliability.c
562 test_transport_api_reliability_http_LDADD = \
563  $(top_builddir)/src/transport/libgnunettransport.la \
564  $(top_builddir)/src/hello/libgnunethello.la \
565  $(top_builddir)/src/util/libgnunetutil.la \
566  $(top_builddir)/src/transport/libgnunettransporttesting.la 
567
568 test_transport_api_reliability_http_nat_SOURCES = \
569  test_transport_api_reliability.c
570 test_transport_api_reliability_http_nat_LDADD = \
571  $(top_builddir)/src/transport/libgnunettransport.la \
572  $(top_builddir)/src/hello/libgnunethello.la \
573  $(top_builddir)/src/util/libgnunetutil.la \
574  $(top_builddir)/src/transport/libgnunettransporttesting.la 
575
576 test_transport_api_https_SOURCES = \
577  test_transport_api.c
578 test_transport_api_https_LDADD = \
579  $(top_builddir)/src/transport/libgnunettransport.la \
580  $(top_builddir)/src/hello/libgnunethello.la \
581  $(top_builddir)/src/util/libgnunetutil.la  \
582  $(top_builddir)/src/transport/libgnunettransporttesting.la 
583
584 test_transport_api_https_nat_SOURCES = \
585  test_transport_api.c
586 test_transport_api_https_nat_LDADD = \
587  $(top_builddir)/src/transport/libgnunettransport.la \
588  $(top_builddir)/src/hello/libgnunethello.la \
589  $(top_builddir)/src/util/libgnunetutil.la \
590  $(top_builddir)/src/transport/libgnunettransporttesting.la 
591
592 test_transport_api_reliability_https_SOURCES = \
593  test_transport_api_reliability.c
594 test_transport_api_reliability_https_LDADD = \
595  $(top_builddir)/src/transport/libgnunettransport.la \
596  $(top_builddir)/src/hello/libgnunethello.la \
597  $(top_builddir)/src/util/libgnunetutil.la \
598  $(top_builddir)/src/transport/libgnunettransporttesting.la 
599
600 test_transport_api_reliability_https_nat_SOURCES = \
601  test_transport_api_reliability.c
602 test_transport_api_reliability_https_nat_LDADD = \
603  $(top_builddir)/src/transport/libgnunettransport.la \
604  $(top_builddir)/src/hello/libgnunethello.la \
605  $(top_builddir)/src/util/libgnunetutil.la \
606  $(top_builddir)/src/transport/libgnunettransporttesting.la 
607
608 test_transport_api_unreliability_unix_SOURCES = \
609  test_transport_api_unreliability.c
610 test_transport_api_unreliability_unix_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_transport_api_unreliability_udp_SOURCES = \
617  test_transport_api_unreliability.c
618 test_transport_api_unreliability_udp_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_transport_api_unreliability_constant_udp_SOURCES = \
625  test_transport_api_unreliability_constant.c
626 test_transport_api_unreliability_constant_udp_LDADD = \
627  $(top_builddir)/src/transport/libgnunettransport.la \
628  $(top_builddir)/src/hello/libgnunethello.la \
629  $(top_builddir)/src/util/libgnunetutil.la \
630  $(top_builddir)/src/transport/libgnunettransporttesting.la 
631
632 if LINUX
633 test_transport_api_wlan_SOURCES = \
634  test_transport_api.c
635 test_transport_api_wlan_LDADD = \
636  $(top_builddir)/src/transport/libgnunettransport.la \
637  $(top_builddir)/src/hello/libgnunethello.la \
638  $(top_builddir)/src/util/libgnunetutil.la \
639  $(top_builddir)/src/transport/libgnunettransporttesting.la  
640 endif
641
642 test_quota_compliance_tcp_SOURCES = \
643  test_quota_compliance.c
644 test_quota_compliance_tcp_LDADD = \
645  $(top_builddir)/src/transport/libgnunettransport.la \
646  $(top_builddir)/src/hello/libgnunethello.la \
647  $(top_builddir)/src/util/libgnunetutil.la \
648  $(top_builddir)/src/transport/libgnunettransporttesting.la 
649
650 test_quota_compliance_tcp_asymmetric_SOURCES = \
651  test_quota_compliance.c
652 test_quota_compliance_tcp_asymmetric_LDADD = \
653  $(top_builddir)/src/transport/libgnunettransport.la \
654  $(top_builddir)/src/hello/libgnunethello.la \
655  $(top_builddir)/src/util/libgnunetutil.la \
656  $(top_builddir)/src/transport/libgnunettransporttesting.la 
657
658 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
659 # test_quota_compliance.c
660 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
661 # $(top_builddir)/src/transport/libgnunettransport.la \
662 # $(top_builddir)/src/util/libgnunetutil.la
663
664 test_quota_compliance_http_SOURCES = \
665  test_quota_compliance.c
666 test_quota_compliance_http_LDADD = \
667  $(top_builddir)/src/transport/libgnunettransport.la \
668  $(top_builddir)/src/hello/libgnunethello.la \
669  $(top_builddir)/src/util/libgnunetutil.la \
670  $(top_builddir)/src/transport/libgnunettransporttesting.la 
671
672  test_quota_compliance_http_asymmetric_SOURCES = \
673  test_quota_compliance.c
674 test_quota_compliance_http_asymmetric_LDADD = \
675  $(top_builddir)/src/transport/libgnunettransport.la \
676  $(top_builddir)/src/hello/libgnunethello.la \
677  $(top_builddir)/src/util/libgnunetutil.la \
678  $(top_builddir)/src/transport/libgnunettransporttesting.la
679
680 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
681 # test_quota_compliance.c
682 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
683 # $(top_builddir)/src/transport/libgnunettransport.la \
684 # $(top_builddir)/src/util/libgnunetutil.la
685
686 test_quota_compliance_https_SOURCES = \
687  test_quota_compliance.c
688 test_quota_compliance_https_LDADD = \
689  $(top_builddir)/src/transport/libgnunettransport.la \
690  $(top_builddir)/src/hello/libgnunethello.la \
691  $(top_builddir)/src/util/libgnunetutil.la \
692  $(top_builddir)/src/transport/libgnunettransporttesting.la
693
694  test_quota_compliance_https_asymmetric_SOURCES = \
695  test_quota_compliance.c
696 test_quota_compliance_https_asymmetric_LDADD = \
697  $(top_builddir)/src/transport/libgnunettransport.la \
698  $(top_builddir)/src/hello/libgnunethello.la \
699  $(top_builddir)/src/util/libgnunetutil.la \
700  $(top_builddir)/src/transport/libgnunettransporttesting.la
701
702 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
703 # test_quota_compliance.c
704 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
705 # $(top_builddir)/src/transport/libgnunettransport.la \
706 # $(top_builddir)/src/util/libgnunetutil.la
707
708 test_quota_compliance_udp_SOURCES = \
709  test_quota_compliance.c
710 test_quota_compliance_udp_LDADD = \
711  $(top_builddir)/src/transport/libgnunettransport.la \
712  $(top_builddir)/src/hello/libgnunethello.la \
713  $(top_builddir)/src/util/libgnunetutil.la \
714  $(top_builddir)/src/transport/libgnunettransporttesting.la
715
716 test_quota_compliance_unix_SOURCES = \
717  test_quota_compliance.c
718 test_quota_compliance_unix_LDADD = \
719  $(top_builddir)/src/transport/libgnunettransport.la \
720  $(top_builddir)/src/hello/libgnunethello.la \
721  $(top_builddir)/src/util/libgnunetutil.la \
722  $(top_builddir)/src/transport/libgnunettransporttesting.la
723
724 test_quota_compliance_unix_asymmetric_SOURCES = \
725  test_quota_compliance.c
726 test_quota_compliance_unix_asymmetric_LDADD = \
727  $(top_builddir)/src/transport/libgnunettransport.la \
728  $(top_builddir)/src/hello/libgnunethello.la \
729  $(top_builddir)/src/util/libgnunetutil.la \
730  $(top_builddir)/src/transport/libgnunettransporttesting.la
731
732 test_transport_api_multi_SOURCES = \
733  test_transport_api.c
734 test_transport_api_multi_LDADD = \
735  $(top_builddir)/src/transport/libgnunettransport.la \
736  $(top_builddir)/src/hello/libgnunethello.la \
737  $(top_builddir)/src/util/libgnunetutil.la \
738  $(top_builddir)/src/transport/libgnunettransporttesting.la 
739
740
741 EXTRA_DIST = \
742 gnunet-transport-certificate-creation \
743 template_cfg_peer1.conf\
744 template_cfg_peer2.conf\
745 test_plugin_transport_data.conf\
746 test_plugin_transport_data_udp.conf\
747 test_quota_compliance_data.conf\
748 test_quota_compliance_http_peer1.conf\
749 test_quota_compliance_http_peer2.conf\
750 test_quota_compliance_https_peer1.conf\
751 test_quota_compliance_https_peer2.conf\
752 test_quota_compliance_tcp_peer1.conf\
753 test_quota_compliance_tcp_peer2.conf\
754 test_quota_compliance_udp_peer1.conf\
755 test_quota_compliance_udp_peer2.conf\
756 test_quota_compliance_unix_peer1.conf\
757 test_quota_compliance_unix_peer2.conf\
758 test_quota_compliance_http_asymmetric_peer1.conf\
759 test_quota_compliance_http_asymmetric_peer2.conf\
760 test_quota_compliance_https_asymmetric_peer1.conf\
761 test_quota_compliance_https_asymmetric_peer2.conf\
762 test_quota_compliance_tcp_asymmetric_peer1.conf\
763 test_quota_compliance_tcp_asymmetric_peer2.conf\
764 test_quota_compliance_unix_asymmetric_peer1.conf\
765 test_quota_compliance_unix_asymmetric_peer2.conf\
766 test_transport_api_data.conf\
767 test_transport_api_http_peer1.conf\
768 test_transport_api_http_peer2.conf\
769 test_transport_api_https_peer1.conf\
770 test_transport_api_https_peer2.conf\
771 test_transport_api_limited_sockets_tcp_peer1.conf\
772 test_transport_api_limited_sockets_tcp_peer2.conf\
773 test_transport_api_timeout_tcp_peer1.conf\
774 test_transport_api_timeout_tcp_peer2.conf\
775 test_transport_api_multi_peer1.conf\
776 test_transport_api_multi_peer2.conf\
777 test_transport_api_reliability_http_peer1.conf\
778 test_transport_api_reliability_http_peer2.conf\
779 test_transport_api_reliability_https_peer1.conf\
780 test_transport_api_reliability_https_peer2.conf\
781 test_transport_api_reliability_tcp_nat_peer1.conf\
782 test_transport_api_reliability_tcp_nat_peer2.conf\
783 test_transport_api_reliability_tcp_peer1.conf\
784 test_transport_api_reliability_tcp_peer2.conf\
785 test_transport_api_reliability_wlan_peer1.conf\
786 test_transport_api_reliability_wlan_peer2.conf\
787 test_transport_api_bidirectional_connect_peer1.conf\
788 test_transport_api_bidirectional_connect_peer2.conf\
789 test_transport_api_tcp_nat_peer1.conf\
790 test_transport_api_tcp_nat_peer2.conf\
791 test_transport_api_tcp_peer1.conf\
792 test_transport_api_tcp_peer2.conf\
793 test_transport_api_udp_nat_peer1.conf\
794 test_transport_api_udp_nat_peer2.conf\
795 test_transport_api_udp_peer1.conf\
796 test_transport_api_udp_peer2.conf\
797 test_transport_api_timeout_udp_peer1.conf\
798 test_transport_api_timeout_udp_peer2.conf\
799 test_transport_api_unix_peer1.conf\
800 test_transport_api_unix_peer2.conf\
801 test_transport_api_timeout_unix_peer1.conf\
802 test_transport_api_timeout_unix_peer2.conf\
803 test_transport_api_unreliability_udp_peer1.conf\
804 test_transport_api_unreliability_udp_peer2.conf\
805 test_transport_api_unreliability_unix_peer1.conf\
806 test_transport_api_unreliability_unix_peer2.conf\
807 test_transport_api_unreliability_wlan_peer1.conf\
808 test_transport_api_unreliability_wlan_peer2.conf\
809 test_transport_api_wlan_peer1.conf\
810 test_transport_api_wlan_peer2.conf\
811 test_transport_defaults.conf\
812 test_transport_startonly.conf\
813 test_transport_api_disconnect_tcp_peer1.conf\
814 test_transport_api_disconnect_tcp_peer2.conf\
815 test_transport_api_http_nat_peer1.conf\
816 test_transport_api_http_nat_peer2.conf\
817 test_transport_api_https_nat_peer1.conf\
818 test_transport_api_https_nat_peer2.conf\
819 test_transport_api_reliability_http_nat_peer1.conf\
820 test_transport_api_reliability_http_nat_peer2.conf\
821 test_transport_api_reliability_https_nat_peer1.conf\
822 test_transport_api_reliability_https_nat_peer2.conf\
823 test_transport_api_timeout_http_peer1.conf\
824 test_transport_api_timeout_http_peer2.conf\
825 test_transport_api_timeout_https_peer1.conf\
826 test_transport_api_timeout_https_peer2.conf\
827 test_transport_api_unreliability_constant_udp_peer1.conf\
828 test_transport_api_unreliability_constant_udp_peer2.conf