-minor code clean up and renaming dummy
[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_lookup.c \
87   transport_api_peer_address_lookup.c \
88   transport_api_address_iterate.c
89 libgnunettransport_la_LIBADD = \
90   $(top_builddir)/src/hello/libgnunethello.la \
91   $(top_builddir)/src/util/libgnunetutil.la \
92   $(GN_LIBINTL) 
93 libgnunettransport_la_LDFLAGS = \
94   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
95   -version-info 0:0:0
96
97 bin_PROGRAMS = \
98  gnunet-transport \
99  $(WLAN_BIN) \
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_transport_wlan_helper_SOURCES = \
112  wlan/byteorder.h \
113  wlan/crctable_osdep.h \
114  wlan/helper_common.c wlan/helper_common.h \
115  wlan/ieee80211.h \
116  wlan/ieee80211_radiotap.h \
117  wlan/loopback_helper.h \
118  wlan/radiotap-parser.c wlan/radiotap-parser.h \
119  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
120 gnunet_transport_wlan_helper_LDADD = \
121   $(top_builddir)/src/util/libgnunetutil.la 
122
123 gnunet_transport_wlan_helper_dummy_SOURCES = \
124  wlan/radiotap-parser.c \
125  wlan/helper_common.c \
126  gnunet-transport-wlan-helper-dummy.c
127 gnunet_transport_wlan_helper_dummy_LDADD = \
128   $(top_builddir)/src/util/libgnunetutil.la 
129
130 gnunet_wlan_sender_SOURCES = \
131  gnunet_wlan_sender.c
132 gnunet_wlan_sender_LDADD = \
133   $(top_builddir)/src/util/libgnunetutil.la 
134
135 gnunet_transport_SOURCES = \
136  gnunet-transport.c         
137 gnunet_transport_LDADD = \
138   $(top_builddir)/src/transport/libgnunettransport.la \
139   $(top_builddir)/src/nat/libgnunetnat.la \
140   $(top_builddir)/src/util/libgnunetutil.la \
141   $(GN_LIBINTL)
142 gnunet_transport_DEPENDENCIES = \
143   libgnunettransport.la                         
144
145 gnunet_service_transport_SOURCES = \
146  gnunet-service-transport.c gnunet-service-transport.h \
147  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
148  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
149  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
150  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
151  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
152  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
153 gnunet_service_transport_LDADD = \
154   $(top_builddir)/src/ats/libgnunetats.la \
155   $(top_builddir)/src/hello/libgnunethello.la \
156   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
157   $(top_builddir)/src/statistics/libgnunetstatistics.la \
158   $(top_builddir)/src/util/libgnunetutil.la \
159   $(GN_GLPK) \
160   $(GN_LIBINTL)
161
162 plugin_LTLIBRARIES = \
163   libgnunet_plugin_transport_tcp.la \
164   libgnunet_plugin_transport_udp.la \
165   $(UNIX_PLUGIN_LA) \
166   $(HTTP_PLUGIN_LA) \
167   $(HTTPS_PLUGIN_LA) \
168   $(WLAN_PLUGIN_LA) \
169   libgnunet_plugin_transport_template.la
170
171 libgnunet_plugin_transport_tcp_la_SOURCES = \
172   plugin_transport_tcp.c
173 libgnunet_plugin_transport_tcp_la_LIBADD = \
174   $(top_builddir)/src/hello/libgnunethello.la \
175   $(top_builddir)/src/statistics/libgnunetstatistics.la \
176   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
177   $(top_builddir)/src/nat/libgnunetnat.la \
178   $(top_builddir)/src/util/libgnunetutil.la 
179 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
180  $(GN_PLUGIN_LDFLAGS)
181
182 libgnunet_plugin_transport_template_la_SOURCES = \
183   plugin_transport_template.c
184 libgnunet_plugin_transport_template_la_LIBADD = \
185   $(top_builddir)/src/util/libgnunetutil.la 
186 libgnunet_plugin_transport_template_la_LDFLAGS = \
187  $(GN_PLUGIN_LDFLAGS)
188
189 libgnunet_plugin_transport_wlan_la_SOURCES = \
190   plugin_transport_wlan.c plugin_transport_wlan.h
191 libgnunet_plugin_transport_wlan_la_LIBADD = \
192   $(top_builddir)/src/hello/libgnunethello.la \
193   $(top_builddir)/src/statistics/libgnunetstatistics.la \
194   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
195   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
196   $(top_builddir)/src/util/libgnunetutil.la 
197 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
198   $(GN_PLUGIN_LDFLAGS)
199
200 libgnunet_plugin_transport_udp_la_SOURCES = \
201   plugin_transport_udp.c
202 libgnunet_plugin_transport_udp_la_LIBADD = \
203   $(top_builddir)/src/hello/libgnunethello.la \
204   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
205   $(top_builddir)/src/statistics/libgnunetstatistics.la \
206   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
207   $(top_builddir)/src/nat/libgnunetnat.la \
208   $(top_builddir)/src/util/libgnunetutil.la 
209 libgnunet_plugin_transport_udp_la_LDFLAGS = \
210  $(GN_PLUGIN_LDFLAGS)
211
212 libgnunet_plugin_transport_unix_la_SOURCES = \
213   plugin_transport_unix.c
214 libgnunet_plugin_transport_unix_la_LIBADD = \
215   $(top_builddir)/src/hello/libgnunethello.la \
216   $(top_builddir)/src/statistics/libgnunetstatistics.la \
217   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
218   $(top_builddir)/src/util/libgnunetutil.la 
219 libgnunet_plugin_transport_unix_la_LDFLAGS = \
220  $(GN_PLUGIN_LDFLAGS)
221
222 libgnunet_plugin_transport_http_la_SOURCES = \
223   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
224 libgnunet_plugin_transport_http_la_LIBADD = \
225   $(top_builddir)/src/hello/libgnunethello.la \
226   $(top_builddir)/src/statistics/libgnunetstatistics.la \
227   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
228   @LIBCURL@ \
229   $(top_builddir)/src/nat/libgnunetnat.la \
230   $(top_builddir)/src/util/libgnunetutil.la 
231 libgnunet_plugin_transport_http_la_LDFLAGS = \
232  $(GN_LIBMHD) \
233  $(GN_PLUGIN_LDFLAGS)
234 libgnunet_plugin_transport_http_la_CFLAGS = \
235  $(CFLAGS) 
236 libgnunet_plugin_transport_http_la_CPPFLAGS = \
237  @LIBCURL_CPPFLAGS@
238
239 libgnunet_plugin_transport_https_la_SOURCES = \
240   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
241 libgnunet_plugin_transport_https_la_LIBADD = \
242   $(top_builddir)/src/hello/libgnunethello.la \
243   $(top_builddir)/src/statistics/libgnunetstatistics.la \
244   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
245   @LIBCURL@ \
246   $(top_builddir)/src/nat/libgnunetnat.la \
247   $(top_builddir)/src/util/libgnunetutil.la 
248 libgnunet_plugin_transport_https_la_LDFLAGS = \
249  $(GN_LIBMHD) \
250  $(GN_PLUGIN_LDFLAGS)
251 libgnunet_plugin_transport_https_la_CFLAGS = \
252  $(CFLAGS) -DBUILD_HTTPS 
253 libgnunet_plugin_transport_https_la_CPPFLAGS = \
254  @LIBCURL_CPPFLAGS@
255
256
257 check_PROGRAMS = \
258  test_transport_testing \
259  test_transport_startonly \
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  $(UNIX_PLUGIN_TEST) \
270  test_transport_api_udp_nat \
271  $(HTTP_API_TEST) \
272  $(HTTP_NAT_API_TEST) \
273  $(HTTP_API_TIMEOUT_TEST) \
274  $(HTTPS_API_TEST) \
275  $(HTTPS_NAT_API_TEST) \
276  $(HTTPS_API_TIMEOUT_TEST) \
277  test_transport_api_multi \
278  test_transport_api_reliability_tcp \
279  test_transport_api_reliability_tcp_nat \
280  test_transport_api_unreliability_udp \
281  test_transport_api_unreliability_constant_udp \
282  $(UNIX_REL_TEST) \
283  $(HTTP_REL_TEST) \
284  $(HTTP_NAT_REL_TEST) \
285  $(HTTPS_REL_TEST) \
286  $(HTTPS_NAT_REL_TEST) \
287  test_quota_compliance_tcp \
288  test_quota_compliance_tcp_asymmetric \
289  test_quota_compliance_udp \
290  $(UNIX_QUOTA_TEST) \
291  $(HTTP_QUOTA_TEST) \
292  $(HTTPS_QUOTA_TEST) \
293  $(WLAN_API_TEST) \
294  $(WLAN_REL_TEST) \
295  $(WLAN_UREL_TEST)
296
297 if ENABLE_TEST_RUN
298 TESTS = \
299  test_transport_testing \
300  test_transport_startonly \
301  test_transport_api_disconnect_tcp \
302  test_transport_api_bidirectional_connect \
303  test_transport_api_tcp \
304  test_transport_api_restart_1peer \
305  test_transport_api_restart_2peers \
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_bidirectional_connect_SOURCES = \
382  test_transport_api_bidirectional_connect.c
383 test_transport_api_bidirectional_connect_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_restart_1peer_SOURCES = \
390  test_transport_api_restart_1peer.c
391 test_transport_api_restart_1peer_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_restart_2peers_SOURCES = \
399  test_transport_api_restart_2peers.c
400 test_transport_api_restart_2peers_LDADD = \
401  $(top_builddir)/src/transport/libgnunettransport.la \
402  $(top_builddir)/src/hello/libgnunethello.la \
403  $(top_builddir)/src/statistics/libgnunetstatistics.la \
404  $(top_builddir)/src/util/libgnunetutil.la \
405  $(top_builddir)/src/transport/libgnunettransporttesting.la 
406   
407 test_transport_api_limited_sockets_tcp_SOURCES = \
408  test_transport_api_limited_sockets.c
409 test_transport_api_limited_sockets_tcp_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_tcp_nat_SOURCES = \
416  test_transport_api.c
417 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
424  test_transport_api_reliability.c
425 test_transport_api_reliability_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_tcp_SOURCES = \
432  test_transport_api_timeout.c
433 test_transport_api_timeout_tcp_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_http_SOURCES = \
440  test_transport_api_timeout.c
441 test_transport_api_timeout_http_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_timeout_https_SOURCES = \
448  test_transport_api_timeout.c
449 test_transport_api_timeout_https_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_tcp_nat_SOURCES = \
456  test_transport_api_reliability.c
457 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
464  test_transport_api_reliability.c
465 test_transport_api_reliability_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_unreliability_wlan_SOURCES = \
472  test_transport_api_unreliability.c
473 test_transport_api_unreliability_wlan_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_SOURCES = \
480  test_transport_api.c
481 test_transport_api_udp_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_udp_nat_SOURCES = \
488  test_transport_api.c
489 test_transport_api_udp_nat_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_transport_api_unix_SOURCES = \
496  test_transport_api.c
497 test_transport_api_unix_LDADD = \
498  $(top_builddir)/src/transport/libgnunettransport.la \
499  $(top_builddir)/src/hello/libgnunethello.la \
500  $(top_builddir)/src/util/libgnunetutil.la \
501  $(top_builddir)/src/transport/libgnunettransporttesting.la 
502
503 #test_plugin_transport_http_SOURCES = \
504 # test_plugin_transport_http.c
505 #test_plugin_transport_http_LDADD = \
506 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
507 # @LIBCURL@ \
508 # $(top_builddir)/src/hello/libgnunethello.la \
509 # $(top_builddir)/src/util/libgnunetutil.la  
510
511 test_transport_api_http_SOURCES = \
512  test_transport_api.c
513 test_transport_api_http_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_http_nat_SOURCES = \
520  test_transport_api.c
521 test_transport_api_http_nat_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_SOURCES = \
528  test_transport_api_reliability.c
529 test_transport_api_reliability_http_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_reliability_http_nat_SOURCES = \
536  test_transport_api_reliability.c
537 test_transport_api_reliability_http_nat_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_SOURCES = \
544  test_transport_api.c
545 test_transport_api_https_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_https_nat_SOURCES = \
552  test_transport_api.c
553 test_transport_api_https_nat_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_SOURCES = \
560  test_transport_api_reliability.c
561 test_transport_api_reliability_https_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_reliability_https_nat_SOURCES = \
568  test_transport_api_reliability.c
569 test_transport_api_reliability_https_nat_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_unix_SOURCES = \
576  test_transport_api_unreliability.c
577 test_transport_api_unreliability_unix_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_udp_SOURCES = \
584  test_transport_api_unreliability.c
585 test_transport_api_unreliability_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 test_transport_api_unreliability_constant_udp_SOURCES = \
592  test_transport_api_unreliability_constant.c
593 test_transport_api_unreliability_constant_udp_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 if LINUX
600 test_transport_api_wlan_SOURCES = \
601  test_transport_api.c
602 test_transport_api_wlan_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 endif
608
609 test_quota_compliance_tcp_SOURCES = \
610  test_quota_compliance.c
611 test_quota_compliance_tcp_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_SOURCES = \
618  test_quota_compliance.c
619 test_quota_compliance_tcp_asymmetric_LDADD = \
620  $(top_builddir)/src/transport/libgnunettransport.la \
621  $(top_builddir)/src/hello/libgnunethello.la \
622  $(top_builddir)/src/util/libgnunetutil.la \
623  $(top_builddir)/src/transport/libgnunettransporttesting.la 
624
625 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
626 # test_quota_compliance.c
627 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
628 # $(top_builddir)/src/transport/libgnunettransport.la \
629 # $(top_builddir)/src/util/libgnunetutil.la
630
631 test_quota_compliance_http_SOURCES = \
632  test_quota_compliance.c
633 test_quota_compliance_http_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_SOURCES = \
640  test_quota_compliance.c
641 test_quota_compliance_http_asymmetric_LDADD = \
642  $(top_builddir)/src/transport/libgnunettransport.la \
643  $(top_builddir)/src/hello/libgnunethello.la \
644  $(top_builddir)/src/util/libgnunetutil.la \
645  $(top_builddir)/src/transport/libgnunettransporttesting.la
646
647 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
648 # test_quota_compliance.c
649 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
650 # $(top_builddir)/src/transport/libgnunettransport.la \
651 # $(top_builddir)/src/util/libgnunetutil.la
652
653 test_quota_compliance_https_SOURCES = \
654  test_quota_compliance.c
655 test_quota_compliance_https_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_SOURCES = \
662  test_quota_compliance.c
663 test_quota_compliance_https_asymmetric_LDADD = \
664  $(top_builddir)/src/transport/libgnunettransport.la \
665  $(top_builddir)/src/hello/libgnunethello.la \
666  $(top_builddir)/src/util/libgnunetutil.la \
667  $(top_builddir)/src/transport/libgnunettransporttesting.la
668
669 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
670 # test_quota_compliance.c
671 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
672 # $(top_builddir)/src/transport/libgnunettransport.la \
673 # $(top_builddir)/src/util/libgnunetutil.la
674
675 test_quota_compliance_udp_SOURCES = \
676  test_quota_compliance.c
677 test_quota_compliance_udp_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_SOURCES = \
684  test_quota_compliance.c
685 test_quota_compliance_unix_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_quota_compliance_unix_asymmetric_SOURCES = \
692  test_quota_compliance.c
693 test_quota_compliance_unix_asymmetric_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 test_transport_api_multi_SOURCES = \
700  test_transport_api.c
701 test_transport_api_multi_LDADD = \
702  $(top_builddir)/src/transport/libgnunettransport.la \
703  $(top_builddir)/src/hello/libgnunethello.la \
704  $(top_builddir)/src/util/libgnunetutil.la \
705  $(top_builddir)/src/transport/libgnunettransporttesting.la 
706
707
708 EXTRA_DIST = \
709 gnunet-transport-certificate-creation \
710 template_cfg_peer1.conf\
711 template_cfg_peer2.conf\
712 test_plugin_transport_data.conf\
713 test_plugin_transport_data_udp.conf\
714 test_quota_compliance_data.conf\
715 test_quota_compliance_http_peer1.conf\
716 test_quota_compliance_http_peer2.conf\
717 test_quota_compliance_https_peer1.conf\
718 test_quota_compliance_https_peer2.conf\
719 test_quota_compliance_tcp_peer1.conf\
720 test_quota_compliance_tcp_peer2.conf\
721 test_quota_compliance_udp_peer1.conf\
722 test_quota_compliance_udp_peer2.conf\
723 test_quota_compliance_unix_peer1.conf\
724 test_quota_compliance_unix_peer2.conf\
725 test_quota_compliance_http_asymmetric_peer1.conf\
726 test_quota_compliance_http_asymmetric_peer2.conf\
727 test_quota_compliance_https_asymmetric_peer1.conf\
728 test_quota_compliance_https_asymmetric_peer2.conf\
729 test_quota_compliance_tcp_asymmetric_peer1.conf\
730 test_quota_compliance_tcp_asymmetric_peer2.conf\
731 test_quota_compliance_unix_asymmetric_peer1.conf\
732 test_quota_compliance_unix_asymmetric_peer2.conf\
733 test_transport_api_data.conf\
734 test_transport_api_http_peer1.conf\
735 test_transport_api_http_peer2.conf\
736 test_transport_api_https_peer1.conf\
737 test_transport_api_https_peer2.conf\
738 test_transport_api_limited_sockets_tcp_peer1.conf\
739 test_transport_api_limited_sockets_tcp_peer2.conf\
740 test_transport_api_timeout_tcp_peer1.conf\
741 test_transport_api_timeout_tcp_peer2.conf\
742 test_transport_api_multi_peer1.conf\
743 test_transport_api_multi_peer2.conf\
744 test_transport_api_reliability_http_peer1.conf\
745 test_transport_api_reliability_http_peer2.conf\
746 test_transport_api_reliability_https_peer1.conf\
747 test_transport_api_reliability_https_peer2.conf\
748 test_transport_api_reliability_tcp_nat_peer1.conf\
749 test_transport_api_reliability_tcp_nat_peer2.conf\
750 test_transport_api_reliability_tcp_peer1.conf\
751 test_transport_api_reliability_tcp_peer2.conf\
752 test_transport_api_reliability_wlan_peer1.conf\
753 test_transport_api_reliability_wlan_peer2.conf\
754 test_transport_api_tcp_nat_peer1.conf\
755 test_transport_api_tcp_nat_peer2.conf\
756 test_transport_api_tcp_peer1.conf\
757 test_transport_api_tcp_peer2.conf\
758 test_transport_api_udp_nat_peer1.conf\
759 test_transport_api_udp_nat_peer2.conf\
760 test_transport_api_udp_peer1.conf\
761 test_transport_api_udp_peer2.conf\
762 test_transport_api_unix_peer1.conf\
763 test_transport_api_unix_peer2.conf\
764 test_transport_api_unreliability_udp_peer1.conf\
765 test_transport_api_unreliability_udp_peer2.conf\
766 test_transport_api_unreliability_unix_peer1.conf\
767 test_transport_api_unreliability_unix_peer2.conf\
768 test_transport_api_unreliability_wlan_peer1.conf\
769 test_transport_api_unreliability_wlan_peer2.conf\
770 test_transport_api_wlan_peer1.conf\
771 test_transport_api_wlan_peer2.conf\
772 test_transport_defaults.conf\
773 test_transport_startonly.conf\
774 test_transport_api_disconnect_tcp_peer1.conf\
775 test_transport_api_disconnect_tcp_peer2.conf\
776 test_transport_api_http_nat_peer1.conf\
777 test_transport_api_http_nat_peer2.conf\
778 test_transport_api_https_nat_peer1.conf\
779 test_transport_api_https_nat_peer2.conf\
780 test_transport_api_reliability_http_nat_peer1.conf\
781 test_transport_api_reliability_http_nat_peer2.conf\
782 test_transport_api_reliability_https_nat_peer1.conf\
783 test_transport_api_reliability_https_nat_peer2.conf\
784 test_transport_api_timeout_http_peer1.conf\
785 test_transport_api_timeout_http_peer2.conf\
786 test_transport_api_timeout_https_peer1.conf\
787 test_transport_api_timeout_https_peer2.conf\
788 test_transport_api_unreliability_constant_udp_peer1.conf\
789 test_transport_api_unreliability_constant_udp_peer2.conf