complete state reset functionality
[oweals/gnunet.git] / src / transport / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3 plugindir = $(libdir)/gnunet
4
5
6 if HAVE_MHD
7  GN_LIBMHD = -lmicrohttpd
8  HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la
9  HTTP_API_TEST = test_transport_api_http
10  HTTP_NAT_API_TEST = test_transport_api_http_nat
11  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
12  HTTP_REL_TEST = test_transport_api_reliability_http
13  HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat
14  HTTP_QUOTA_TEST = test_quota_compliance_http \
15                    test_quota_compliance_http_asymmetric
16  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
17  HTTPS_API_TEST = test_transport_api_https
18  HTTPS_NAT_API_TEST = test_transport_api_https_nat
19  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
20  HTTPS_REL_TEST = test_transport_api_reliability_https
21  HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
22  HTTPS_QUOTA_TEST = test_quota_compliance_https \
23                 test_quota_compliance_https_asymmetric
24 endif
25
26 if USE_COVERAGE
27   AM_CFLAGS = --coverage -O0
28 endif
29
30 if LINUX
31 if HAVE_EXPERIMENTAL
32  WLAN_BIN = gnunet-transport-wlan-helper
33  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
34  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
35  WLAN_API_TEST = test_transport_api_wlan
36  WLAN_REL_TEST = test_transport_api_reliability_wlan
37  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
38 endif
39 endif
40
41
42 if LINUX
43 install-exec-hook:
44         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
45         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
46 else
47 install-exec-hook:
48 endif
49
50 if !MINGW
51 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
52 UNIX_PLUGIN_TEST = test_transport_api_unix 
53 UNIX_REL_TEST = test_transport_api_unreliability_unix
54 UNIX_QUOTA_TEST = test_quota_compliance_unix \
55      test_quota_compliance_unix_asymmetric
56 endif
57
58 noinst_PROGRAMS = \
59  $(WLAN_BIN_DUMMY)
60 # gnunet-transport-connect-running-peers
61
62 lib_LTLIBRARIES = \
63   libgnunettransport.la \
64   libgnunettransporttesting.la
65
66 libgnunettransporttesting_la_SOURCES = \
67   transport-testing.c transport-testing.h
68 libgnunettransporttesting_la_LIBADD = \
69   $(top_builddir)/src/transport/libgnunettransport.la \
70   $(top_builddir)/src/hello/libgnunethello.la \
71   $(top_builddir)/src/util/libgnunetutil.la \
72   $(GN_LIBINTL) 
73 libgnunettransporttesting_la_DEPENDENCIES = \
74   libgnunettransport.la
75
76 libgnunettransport_la_SOURCES = \
77   transport_api.c transport.h \
78   transport_api_blacklist.c \
79   transport_api_address_lookup.c \
80   transport_api_peer_address_lookup.c \
81   transport_api_address_iterate.c
82 libgnunettransport_la_LIBADD = \
83   $(top_builddir)/src/hello/libgnunethello.la \
84   $(top_builddir)/src/util/libgnunetutil.la \
85   $(GN_LIBINTL) 
86 libgnunettransport_la_LDFLAGS = \
87   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
88   -version-info 0:0:0
89
90 bin_PROGRAMS = \
91  gnunet-transport \
92  $(WLAN_BIN) \
93  gnunet-service-transport \
94  gnunet-transport-certificate-creation
95
96 #bin_SCRIPTS = \
97 # gnunet-transport-certificate-creation
98
99 gnunet_transport_certificate_creation_SOURCES = \
100  gnunet-transport-certificate-creation.c
101 gnunet_transport_certificate_creation_LDADD = \
102   $(top_builddir)/src/util/libgnunetutil.la
103
104 gnunet_transport_wlan_helper_SOURCES = \
105  wlan/byteorder.h \
106  wlan/crctable_osdep.h \
107  wlan/helper_common.c wlan/helper_common.h \
108  wlan/ieee80211.h \
109  wlan/ieee80211_radiotap.h \
110  wlan/loopback_helper.h \
111  wlan/radiotap-parser.c wlan/radiotap-parser.h \
112  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
113 gnunet_transport_wlan_helper_LDADD = \
114   $(top_builddir)/src/util/libgnunetutil.la 
115
116 gnunet_transport_wlan_helper_dummy_SOURCES = \
117  wlan/radiotap-parser.c \
118  wlan/helper_common.c \
119  test_plugin_transport_wlan_dummy.c
120 gnunet_transport_wlan_helper_dummy_LDADD = \
121   $(top_builddir)/src/util/libgnunetutil.la 
122
123 gnunet_transport_SOURCES = \
124  gnunet-transport.c         
125 gnunet_transport_LDADD = \
126   $(top_builddir)/src/transport/libgnunettransport.la \
127   $(top_builddir)/src/util/libgnunetutil.la \
128   $(GN_LIBINTL)
129 gnunet_transport_DEPENDENCIES = \
130   libgnunettransport.la                         
131
132 gnunet_service_transport_SOURCES = \
133  gnunet-service-transport_3way.c gnunet-service-transport.h \
134  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
135  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
136  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
137  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours_3way.c \
138  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
139  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
140 gnunet_service_transport_LDADD = \
141   $(top_builddir)/src/ats/libgnunetats.la \
142   $(top_builddir)/src/hello/libgnunethello.la \
143   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
144   $(top_builddir)/src/statistics/libgnunetstatistics.la \
145   $(top_builddir)/src/util/libgnunetutil.la \
146   $(GN_GLPK) \
147   $(GN_LIBINTL)
148
149
150 #gnunet_service_transport_SOURCES = \
151 # gnunet-service-transport.c gnunet-service-transport.h \
152 # gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
153 # gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
154 # gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
155 # gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
156 # gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
157 # gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
158 #gnunet_service_transport_LDADD = \
159 #  $(top_builddir)/src/ats/libgnunetats.la \
160 #  $(top_builddir)/src/hello/libgnunethello.la \
161 #  $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
162 #  $(top_builddir)/src/statistics/libgnunetstatistics.la \
163 #  $(top_builddir)/src/util/libgnunetutil.la \
164 #  $(GN_GLPK) \
165 #  $(GN_LIBINTL)
166
167
168 plugin_LTLIBRARIES = \
169   libgnunet_plugin_transport_tcp.la \
170   libgnunet_plugin_transport_udp.la \
171   $(UNIX_PLUGIN_LA) \
172   $(HTTP_PLUGIN_LA) \
173   $(HTTPS_PLUGIN_LA) \
174   $(WLAN_PLUGIN_LA) \
175   libgnunet_plugin_transport_template.la
176
177 libgnunet_plugin_transport_tcp_la_SOURCES = \
178   plugin_transport_tcp.c
179 libgnunet_plugin_transport_tcp_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/nat/libgnunetnat.la \
184   $(top_builddir)/src/util/libgnunetutil.la 
185 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
186  $(GN_PLUGIN_LDFLAGS)
187
188 libgnunet_plugin_transport_template_la_SOURCES = \
189   plugin_transport_template.c
190 libgnunet_plugin_transport_template_la_LIBADD = \
191   $(top_builddir)/src/util/libgnunetutil.la 
192 libgnunet_plugin_transport_template_la_LDFLAGS = \
193  $(GN_PLUGIN_LDFLAGS)
194
195 libgnunet_plugin_transport_wlan_la_SOURCES = \
196   plugin_transport_wlan.c plugin_transport_wlan.h
197 libgnunet_plugin_transport_wlan_la_LIBADD = \
198   $(top_builddir)/src/hello/libgnunethello.la \
199   $(top_builddir)/src/statistics/libgnunetstatistics.la \
200   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
201   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
202   $(top_builddir)/src/util/libgnunetutil.la 
203 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
204   $(GN_PLUGIN_LDFLAGS)
205
206 libgnunet_plugin_transport_udp_la_SOURCES = \
207   plugin_transport_udp.c
208 libgnunet_plugin_transport_udp_la_LIBADD = \
209   $(top_builddir)/src/hello/libgnunethello.la \
210   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
211   $(top_builddir)/src/statistics/libgnunetstatistics.la \
212   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
213   $(top_builddir)/src/nat/libgnunetnat.la \
214   $(top_builddir)/src/util/libgnunetutil.la 
215 libgnunet_plugin_transport_udp_la_LDFLAGS = \
216  $(GN_PLUGIN_LDFLAGS)
217
218 libgnunet_plugin_transport_unix_la_SOURCES = \
219   plugin_transport_unix.c
220 libgnunet_plugin_transport_unix_la_LIBADD = \
221   $(top_builddir)/src/hello/libgnunethello.la \
222   $(top_builddir)/src/statistics/libgnunetstatistics.la \
223   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
224   $(top_builddir)/src/util/libgnunetutil.la 
225 libgnunet_plugin_transport_unix_la_LDFLAGS = \
226  $(GN_PLUGIN_LDFLAGS)
227
228 libgnunet_plugin_transport_http_la_SOURCES = \
229   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
230 libgnunet_plugin_transport_http_la_LIBADD = \
231   $(top_builddir)/src/hello/libgnunethello.la \
232   $(top_builddir)/src/statistics/libgnunetstatistics.la \
233   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
234   @LIBCURL@ \
235   $(top_builddir)/src/nat/libgnunetnat.la \
236   $(top_builddir)/src/util/libgnunetutil.la 
237 libgnunet_plugin_transport_http_la_LDFLAGS = \
238  $(GN_LIBMHD) \
239  $(GN_PLUGIN_LDFLAGS)
240 libgnunet_plugin_transport_http_la_CFLAGS = \
241  $(CFLAGS) 
242 libgnunet_plugin_transport_http_la_CPPFLAGS = \
243  @LIBCURL_CPPFLAGS@
244
245 libgnunet_plugin_transport_https_la_SOURCES = \
246   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
247 libgnunet_plugin_transport_https_la_LIBADD = \
248   $(top_builddir)/src/hello/libgnunethello.la \
249   $(top_builddir)/src/statistics/libgnunetstatistics.la \
250   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
251   @LIBCURL@ \
252   $(top_builddir)/src/nat/libgnunetnat.la \
253   $(top_builddir)/src/util/libgnunetutil.la 
254 libgnunet_plugin_transport_https_la_LDFLAGS = \
255  $(GN_LIBMHD) \
256  $(GN_PLUGIN_LDFLAGS)
257 libgnunet_plugin_transport_https_la_CFLAGS = \
258  $(CFLAGS) -DBUILD_HTTPS 
259 libgnunet_plugin_transport_https_la_CPPFLAGS = \
260  @LIBCURL_CPPFLAGS@
261
262
263 check_PROGRAMS = \
264  test_transport_testing \
265  test_transport_startonly \
266  test_transport_api_disconnect_tcp \
267  test_transport_api_tcp \
268  test_transport_api_timeout_tcp \
269  test_transport_api_limited_sockets_tcp \
270  test_transport_api_tcp_nat \
271  test_transport_api_udp \
272  $(UNIX_PLUGIN_TEST) \
273  test_transport_api_udp_nat \
274  $(HTTP_API_TEST) \
275  $(HTTP_NAT_API_TEST) \
276  $(HTTP_API_TIMEOUT_TEST) \
277  $(HTTPS_API_TEST) \
278  $(HTTPS_NAT_API_TEST) \
279  $(HTTPS_API_TIMEOUT_TEST) \
280  test_transport_api_multi \
281  test_transport_api_reliability_tcp \
282  test_transport_api_reliability_tcp_nat \
283  test_transport_api_unreliability_udp \
284  test_transport_api_unreliability_constant_udp \
285  $(UNIX_REL_TEST) \
286  $(HTTP_REL_TEST) \
287  $(HTTP_NAT_REL_TEST) \
288  $(HTTPS_REL_TEST) \
289  $(HTTPS_NAT_REL_TEST) \
290  test_quota_compliance_tcp \
291  test_quota_compliance_tcp_asymmetric \
292  test_quota_compliance_udp \
293  $(UNIX_QUOTA_TEST) \
294  $(HTTP_QUOTA_TEST) \
295  $(HTTPS_QUOTA_TEST) \
296  $(WLAN_API_TEST) \
297  $(WLAN_REL_TEST) \
298  $(WLAN_UREL_TEST)
299
300 if ENABLE_TEST_RUN
301 TESTS = \
302  test_transport_testing \
303  test_transport_startonly \
304  test_transport_api_disconnect_tcp \
305  test_transport_api_tcp \
306  test_transport_api_timeout_tcp \
307  test_transport_api_limited_sockets_tcp \
308  test_transport_api_tcp_nat \
309  test_transport_api_udp \
310  $(UNIX_PLUGIN_TEST) \
311  test_transport_api_udp_nat \
312  $(HTTP_API_TEST) \
313  $(HTTP_NAT_API_TEST) \
314  $(HTTP_API_TIMEOUT_TEST) \
315  $(HTTPS_API_TEST) \
316  $(HTTPS_NAT_API_TEST) \
317  $(HTTPS_API_TIMEOUT_TEST) \
318  test_transport_api_multi \
319  test_transport_api_reliability_tcp \
320  test_transport_api_reliability_tcp_nat \
321  test_transport_api_unreliability_udp \
322  test_transport_api_unreliability_constant_udp \
323  $(UNIX_REL_TEST) \
324  $(HTTP_REL_TEST) \
325  $(HTTP_NAT_REL_TEST) \
326  $(HTTPS_REL_TEST) \
327  $(HTTPS_NAT_REL_TEST) \
328  test_quota_compliance_tcp \
329  test_quota_compliance_tcp_asymmetric \
330  test_quota_compliance_udp \
331  $(UNIX_QUOTA_TEST) \
332  $(HTTP_QUOTA_TEST) \
333  $(HTTPS_QUOTA_TEST) \
334  $(WLAN_API_TEST) \
335  $(WLAN_REL_TEST) \
336  $(WLAN_UREL_TEST)
337 endif
338
339 test_transport_testing_SOURCES = \
340  test_transport_testing.c
341 test_transport_testing_LDADD = \
342  $(top_builddir)/src/util/libgnunetutil.la \
343  $(top_builddir)/src/transport/libgnunettransport.la \
344  $(top_builddir)/src/hello/libgnunethello.la \
345  $(top_builddir)/src/transport/libgnunettransporttesting.la 
346
347 #gnunet_transport_connect_running_peers_SOURCES = \
348 # gnunet-transport-connect-running-peers.c
349 #gnunet_transport_connect_running_peers_LDADD = \
350 # $(top_builddir)/src/transport/libgnunettransport.la \
351 # $(top_builddir)/src/hello/libgnunethello.la \
352 # $(top_builddir)/src/util/libgnunetutil.la \
353 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
354
355 test_transport_api_disconnect_tcp_SOURCES = \
356  test_transport_api_disconnect.c
357 test_transport_api_disconnect_tcp_LDADD = \
358  $(top_builddir)/src/transport/libgnunettransport.la \
359  $(top_builddir)/src/hello/libgnunethello.la \
360  $(top_builddir)/src/statistics/libgnunetstatistics.la \
361  $(top_builddir)/src/util/libgnunetutil.la \
362  $(top_builddir)/src/transport/libgnunettransporttesting.la 
363
364 test_transport_startonly_SOURCES = \
365  test_transport_startonly.c
366 test_transport_startonly_LDADD = \
367  $(top_builddir)/src/transport/libgnunettransport.la \
368  $(top_builddir)/src/hello/libgnunethello.la \
369  $(top_builddir)/src/statistics/libgnunetstatistics.la \
370  $(top_builddir)/src/util/libgnunetutil.la \
371  $(top_builddir)/src/transport/libgnunettransporttesting.la 
372
373 test_transport_api_tcp_SOURCES = \
374  test_transport_api.c
375 test_transport_api_tcp_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_limited_sockets_tcp_SOURCES = \
382  test_transport_api_limited_sockets.c
383 test_transport_api_limited_sockets_tcp_LDADD = \
384  $(top_builddir)/src/transport/libgnunettransport.la \
385  $(top_builddir)/src/hello/libgnunethello.la \
386  $(top_builddir)/src/util/libgnunetutil.la  \
387  $(top_builddir)/src/transport/libgnunettransporttesting.la
388
389 test_transport_api_tcp_nat_SOURCES = \
390  test_transport_api.c
391 test_transport_api_tcp_nat_LDADD = \
392  $(top_builddir)/src/transport/libgnunettransport.la \
393  $(top_builddir)/src/hello/libgnunethello.la \
394  $(top_builddir)/src/util/libgnunetutil.la \
395  $(top_builddir)/src/transport/libgnunettransporttesting.la 
396
397 test_transport_api_reliability_tcp_SOURCES = \
398  test_transport_api_reliability.c
399 test_transport_api_reliability_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_timeout_tcp_SOURCES = \
406  test_transport_api_timeout.c
407 test_transport_api_timeout_tcp_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_timeout_http_SOURCES = \
414  test_transport_api_timeout.c
415 test_transport_api_timeout_http_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_https_SOURCES = \
422  test_transport_api_timeout.c
423 test_transport_api_timeout_https_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_reliability_tcp_nat_SOURCES = \
430  test_transport_api_reliability.c
431 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
438  test_transport_api_reliability.c
439 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
446  test_transport_api_unreliability.c
447 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
454  test_transport_api.c
455 test_transport_api_udp_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_udp_nat_SOURCES = \
462  test_transport_api.c
463 test_transport_api_udp_nat_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_unix_SOURCES = \
470  test_transport_api.c
471 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
478 # test_plugin_transport_http.c
479 #test_plugin_transport_http_LDADD = \
480 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
481 # @LIBCURL@ \
482 # $(top_builddir)/src/hello/libgnunethello.la \
483 # $(top_builddir)/src/util/libgnunetutil.la  
484
485 test_transport_api_http_SOURCES = \
486  test_transport_api.c
487 test_transport_api_http_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_transport_api_http_nat_SOURCES = \
494  test_transport_api.c
495 test_transport_api_http_nat_LDADD = \
496  $(top_builddir)/src/transport/libgnunettransport.la \
497  $(top_builddir)/src/hello/libgnunethello.la \
498  $(top_builddir)/src/util/libgnunetutil.la \
499  $(top_builddir)/src/transport/libgnunettransporttesting.la 
500
501 test_transport_api_reliability_http_SOURCES = \
502  test_transport_api_reliability.c
503 test_transport_api_reliability_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_reliability_http_nat_SOURCES = \
510  test_transport_api_reliability.c
511 test_transport_api_reliability_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_https_SOURCES = \
518  test_transport_api.c
519 test_transport_api_https_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_https_nat_SOURCES = \
526  test_transport_api.c
527 test_transport_api_https_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_reliability_https_SOURCES = \
534  test_transport_api_reliability.c
535 test_transport_api_reliability_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_reliability_https_nat_SOURCES = \
542  test_transport_api_reliability.c
543 test_transport_api_reliability_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_unreliability_unix_SOURCES = \
550  test_transport_api_unreliability.c
551 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
558  test_transport_api_unreliability.c
559 test_transport_api_unreliability_udp_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_constant_udp_SOURCES = \
566  test_transport_api_unreliability_constant.c
567 test_transport_api_unreliability_constant_udp_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 if LINUX
574 test_transport_api_wlan_SOURCES = \
575  test_transport_api.c
576 test_transport_api_wlan_LDADD = \
577  $(top_builddir)/src/transport/libgnunettransport.la \
578  $(top_builddir)/src/hello/libgnunethello.la \
579  $(top_builddir)/src/util/libgnunetutil.la \
580  $(top_builddir)/src/transport/libgnunettransporttesting.la  
581 endif
582
583 test_quota_compliance_tcp_SOURCES = \
584  test_quota_compliance.c
585 test_quota_compliance_tcp_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 test_quota_compliance_tcp_asymmetric_SOURCES = \
592  test_quota_compliance.c
593 test_quota_compliance_tcp_asymmetric_LDADD = \
594  $(top_builddir)/src/transport/libgnunettransport.la \
595  $(top_builddir)/src/hello/libgnunethello.la \
596  $(top_builddir)/src/util/libgnunetutil.la \
597  $(top_builddir)/src/transport/libgnunettransporttesting.la 
598
599 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
600 # test_quota_compliance.c
601 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
602 # $(top_builddir)/src/transport/libgnunettransport.la \
603 # $(top_builddir)/src/util/libgnunetutil.la
604
605 test_quota_compliance_http_SOURCES = \
606  test_quota_compliance.c
607 test_quota_compliance_http_LDADD = \
608  $(top_builddir)/src/transport/libgnunettransport.la \
609  $(top_builddir)/src/hello/libgnunethello.la \
610  $(top_builddir)/src/util/libgnunetutil.la \
611  $(top_builddir)/src/transport/libgnunettransporttesting.la 
612
613  test_quota_compliance_http_asymmetric_SOURCES = \
614  test_quota_compliance.c
615 test_quota_compliance_http_asymmetric_LDADD = \
616  $(top_builddir)/src/transport/libgnunettransport.la \
617  $(top_builddir)/src/hello/libgnunethello.la \
618  $(top_builddir)/src/util/libgnunetutil.la \
619  $(top_builddir)/src/transport/libgnunettransporttesting.la
620
621 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
622 # test_quota_compliance.c
623 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
624 # $(top_builddir)/src/transport/libgnunettransport.la \
625 # $(top_builddir)/src/util/libgnunetutil.la
626
627 test_quota_compliance_https_SOURCES = \
628  test_quota_compliance.c
629 test_quota_compliance_https_LDADD = \
630  $(top_builddir)/src/transport/libgnunettransport.la \
631  $(top_builddir)/src/hello/libgnunethello.la \
632  $(top_builddir)/src/util/libgnunetutil.la \
633  $(top_builddir)/src/transport/libgnunettransporttesting.la
634
635  test_quota_compliance_https_asymmetric_SOURCES = \
636  test_quota_compliance.c
637 test_quota_compliance_https_asymmetric_LDADD = \
638  $(top_builddir)/src/transport/libgnunettransport.la \
639  $(top_builddir)/src/hello/libgnunethello.la \
640  $(top_builddir)/src/util/libgnunetutil.la \
641  $(top_builddir)/src/transport/libgnunettransporttesting.la
642
643 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
644 # test_quota_compliance.c
645 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
646 # $(top_builddir)/src/transport/libgnunettransport.la \
647 # $(top_builddir)/src/util/libgnunetutil.la
648
649 test_quota_compliance_udp_SOURCES = \
650  test_quota_compliance.c
651 test_quota_compliance_udp_LDADD = \
652  $(top_builddir)/src/transport/libgnunettransport.la \
653  $(top_builddir)/src/hello/libgnunethello.la \
654  $(top_builddir)/src/util/libgnunetutil.la \
655  $(top_builddir)/src/transport/libgnunettransporttesting.la
656
657 test_quota_compliance_unix_SOURCES = \
658  test_quota_compliance.c
659 test_quota_compliance_unix_LDADD = \
660  $(top_builddir)/src/transport/libgnunettransport.la \
661  $(top_builddir)/src/hello/libgnunethello.la \
662  $(top_builddir)/src/util/libgnunetutil.la \
663  $(top_builddir)/src/transport/libgnunettransporttesting.la
664
665 test_quota_compliance_unix_asymmetric_SOURCES = \
666  test_quota_compliance.c
667 test_quota_compliance_unix_asymmetric_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_transport_api_multi_SOURCES = \
674  test_transport_api.c
675 test_transport_api_multi_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
682 EXTRA_DIST = \
683 gnunet-transport-certificate-creation \
684 template_cfg_peer1.conf\
685 template_cfg_peer2.conf\
686 test_plugin_transport_data.conf\
687 test_plugin_transport_data_http.conf\
688 test_plugin_transport_data_udp.conf\
689 test_quota_compliance_data.conf\
690 test_quota_compliance_http_peer1.conf\
691 test_quota_compliance_http_peer2.conf\
692 test_quota_compliance_https_peer1.conf\
693 test_quota_compliance_https_peer2.conf\
694 test_quota_compliance_tcp_peer1.conf\
695 test_quota_compliance_tcp_peer2.conf\
696 test_quota_compliance_udp_peer1.conf\
697 test_quota_compliance_udp_peer2.conf\
698 test_quota_compliance_unix_peer1.conf\
699 test_quota_compliance_unix_peer2.conf\
700 test_transport_api_data.conf\
701 test_transport_api_http_peer1.conf\
702 test_transport_api_http_peer2.conf\
703 test_transport_api_https_peer1.conf\
704 test_transport_api_https_peer2.conf\
705 test_transport_api_limited_sockets_tcp_peer1.conf\
706 test_transport_api_limited_sockets_tcp_peer2.conf\
707 test_transport_api_timeout_tcp_peer1.conf\
708 test_transport_api_timeout_tcp_peer2.conf\
709 test_transport_api_multi_peer1.conf\
710 test_transport_api_multi_peer2.conf\
711 test_transport_api_reliability_http_peer1.conf\
712 test_transport_api_reliability_http_peer2.conf\
713 test_transport_api_reliability_https_peer1.conf\
714 test_transport_api_reliability_https_peer2.conf\
715 test_transport_api_reliability_tcp_nat_peer1.conf\
716 test_transport_api_reliability_tcp_nat_peer2.conf\
717 test_transport_api_reliability_tcp_peer1.conf\
718 test_transport_api_reliability_tcp_peer2.conf\
719 test_transport_api_reliability_wlan_peer1.conf\
720 test_transport_api_reliability_wlan_peer2.conf\
721 test_transport_api_tcp_nat_peer1.conf\
722 test_transport_api_tcp_nat_peer2.conf\
723 test_transport_api_tcp_peer1.conf\
724 test_transport_api_tcp_peer2.conf\
725 test_transport_api_udp_nat_peer1.conf\
726 test_transport_api_udp_nat_peer2.conf\
727 test_transport_api_udp_peer1.conf\
728 test_transport_api_udp_peer2.conf\
729 test_transport_api_unix_peer1.conf\
730 test_transport_api_unix_peer2.conf\
731 test_transport_api_unreliability_udp_peer1.conf\
732 test_transport_api_unreliability_udp_peer2.conf\
733 test_transport_api_unreliability_unix_peer1.conf\
734 test_transport_api_unreliability_unix_peer2.conf\
735 test_transport_api_unreliability_wlan_peer1.conf\
736 test_transport_api_unreliability_wlan_peer2.conf\
737 test_transport_api_wlan_peer1.conf\
738 test_transport_api_wlan_peer2.conf\
739 test_transport_defaults.conf\
740 test_transport_startonly.conf