implementing #1747
[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
81 libgnunettransport_la_SOURCES = \
82   transport_api.c transport.h \
83   transport_api_blacklist.c \
84   transport_api_address_lookup.c \
85   transport_api_peer_address_lookup.c \
86   transport_api_address_iterate.c
87 libgnunettransport_la_LIBADD = \
88   $(top_builddir)/src/hello/libgnunethello.la \
89   $(top_builddir)/src/util/libgnunetutil.la \
90   $(GN_LIBINTL) 
91 libgnunettransport_la_LDFLAGS = \
92   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
93   -version-info 0:0:0
94
95 bin_PROGRAMS = \
96  gnunet-transport \
97  $(WLAN_BIN) \
98  gnunet-service-transport \
99  gnunet-transport-certificate-creation
100
101 #bin_SCRIPTS = \
102 # gnunet-transport-certificate-creation
103
104 gnunet_transport_certificate_creation_SOURCES = \
105  gnunet-transport-certificate-creation.c
106 gnunet_transport_certificate_creation_LDADD = \
107   $(top_builddir)/src/util/libgnunetutil.la
108
109 gnunet_transport_wlan_helper_SOURCES = \
110  wlan/byteorder.h \
111  wlan/crctable_osdep.h \
112  wlan/helper_common.c wlan/helper_common.h \
113  wlan/ieee80211.h \
114  wlan/ieee80211_radiotap.h \
115  wlan/loopback_helper.h \
116  wlan/radiotap-parser.c wlan/radiotap-parser.h \
117  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
118 gnunet_transport_wlan_helper_LDADD = \
119   $(top_builddir)/src/util/libgnunetutil.la 
120
121 gnunet_transport_wlan_helper_dummy_SOURCES = \
122  wlan/radiotap-parser.c \
123  wlan/helper_common.c \
124  test_plugin_transport_wlan_dummy.c
125 gnunet_transport_wlan_helper_dummy_LDADD = \
126   $(top_builddir)/src/util/libgnunetutil.la 
127
128 gnunet_wlan_sender_SOURCES = \
129  gnunet_wlan_sender.c
130 gnunet_wlan_sender_LDADD = \
131   $(top_builddir)/src/util/libgnunetutil.la 
132
133 gnunet_transport_SOURCES = \
134  gnunet-transport.c         
135 gnunet_transport_LDADD = \
136   $(top_builddir)/src/transport/libgnunettransport.la \
137   $(top_builddir)/src/nat/libgnunetnat.la \
138   $(top_builddir)/src/util/libgnunetutil.la \
139   $(GN_LIBINTL)
140 gnunet_transport_DEPENDENCIES = \
141   libgnunettransport.la                         
142
143 gnunet_service_transport_SOURCES = \
144  gnunet-service-transport.c gnunet-service-transport.h \
145  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
146  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
147  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
148  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
149  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
150  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
151 gnunet_service_transport_LDADD = \
152   $(top_builddir)/src/ats/libgnunetats.la \
153   $(top_builddir)/src/hello/libgnunethello.la \
154   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
155   $(top_builddir)/src/statistics/libgnunetstatistics.la \
156   $(top_builddir)/src/util/libgnunetutil.la \
157   $(GN_GLPK) \
158   $(GN_LIBINTL)
159
160 plugin_LTLIBRARIES = \
161   libgnunet_plugin_transport_tcp.la \
162   libgnunet_plugin_transport_udp.la \
163   $(UNIX_PLUGIN_LA) \
164   $(HTTP_PLUGIN_LA) \
165   $(HTTPS_PLUGIN_LA) \
166   $(WLAN_PLUGIN_LA) \
167   libgnunet_plugin_transport_template.la
168
169 libgnunet_plugin_transport_tcp_la_SOURCES = \
170   plugin_transport_tcp.c
171 libgnunet_plugin_transport_tcp_la_LIBADD = \
172   $(top_builddir)/src/hello/libgnunethello.la \
173   $(top_builddir)/src/statistics/libgnunetstatistics.la \
174   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
175   $(top_builddir)/src/nat/libgnunetnat.la \
176   $(top_builddir)/src/util/libgnunetutil.la 
177 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
178  $(GN_PLUGIN_LDFLAGS)
179
180 libgnunet_plugin_transport_template_la_SOURCES = \
181   plugin_transport_template.c
182 libgnunet_plugin_transport_template_la_LIBADD = \
183   $(top_builddir)/src/util/libgnunetutil.la 
184 libgnunet_plugin_transport_template_la_LDFLAGS = \
185  $(GN_PLUGIN_LDFLAGS)
186
187 libgnunet_plugin_transport_wlan_la_SOURCES = \
188   plugin_transport_wlan.c plugin_transport_wlan.h
189 libgnunet_plugin_transport_wlan_la_LIBADD = \
190   $(top_builddir)/src/hello/libgnunethello.la \
191   $(top_builddir)/src/statistics/libgnunetstatistics.la \
192   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
193   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
194   $(top_builddir)/src/util/libgnunetutil.la 
195 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
196   $(GN_PLUGIN_LDFLAGS)
197
198 libgnunet_plugin_transport_udp_la_SOURCES = \
199   plugin_transport_udp.c
200 libgnunet_plugin_transport_udp_la_LIBADD = \
201   $(top_builddir)/src/hello/libgnunethello.la \
202   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
203   $(top_builddir)/src/statistics/libgnunetstatistics.la \
204   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
205   $(top_builddir)/src/nat/libgnunetnat.la \
206   $(top_builddir)/src/util/libgnunetutil.la 
207 libgnunet_plugin_transport_udp_la_LDFLAGS = \
208  $(GN_PLUGIN_LDFLAGS)
209
210 libgnunet_plugin_transport_unix_la_SOURCES = \
211   plugin_transport_unix.c
212 libgnunet_plugin_transport_unix_la_LIBADD = \
213   $(top_builddir)/src/hello/libgnunethello.la \
214   $(top_builddir)/src/statistics/libgnunetstatistics.la \
215   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
216   $(top_builddir)/src/util/libgnunetutil.la 
217 libgnunet_plugin_transport_unix_la_LDFLAGS = \
218  $(GN_PLUGIN_LDFLAGS)
219
220 libgnunet_plugin_transport_http_la_SOURCES = \
221   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
222 libgnunet_plugin_transport_http_la_LIBADD = \
223   $(top_builddir)/src/hello/libgnunethello.la \
224   $(top_builddir)/src/statistics/libgnunetstatistics.la \
225   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
226   @LIBCURL@ \
227   $(top_builddir)/src/nat/libgnunetnat.la \
228   $(top_builddir)/src/util/libgnunetutil.la 
229 libgnunet_plugin_transport_http_la_LDFLAGS = \
230  $(GN_LIBMHD) \
231  $(GN_PLUGIN_LDFLAGS)
232 libgnunet_plugin_transport_http_la_CFLAGS = \
233  $(CFLAGS) 
234 libgnunet_plugin_transport_http_la_CPPFLAGS = \
235  @LIBCURL_CPPFLAGS@
236
237 libgnunet_plugin_transport_https_la_SOURCES = \
238   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
239 libgnunet_plugin_transport_https_la_LIBADD = \
240   $(top_builddir)/src/hello/libgnunethello.la \
241   $(top_builddir)/src/statistics/libgnunetstatistics.la \
242   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
243   @LIBCURL@ \
244   $(top_builddir)/src/nat/libgnunetnat.la \
245   $(top_builddir)/src/util/libgnunetutil.la 
246 libgnunet_plugin_transport_https_la_LDFLAGS = \
247  $(GN_LIBMHD) \
248  $(GN_PLUGIN_LDFLAGS)
249 libgnunet_plugin_transport_https_la_CFLAGS = \
250  $(CFLAGS) -DBUILD_HTTPS 
251 libgnunet_plugin_transport_https_la_CPPFLAGS = \
252  @LIBCURL_CPPFLAGS@
253
254
255 check_PROGRAMS = \
256  test_transport_testing \
257  test_transport_startonly \
258  test_transport_api_disconnect_tcp \
259  test_transport_api_tcp \
260  test_transport_api_timeout_tcp \
261  test_transport_api_limited_sockets_tcp \
262  test_transport_api_tcp_nat \
263  test_transport_api_udp \
264  $(UNIX_PLUGIN_TEST) \
265  test_transport_api_udp_nat \
266  $(HTTP_API_TEST) \
267  $(HTTP_NAT_API_TEST) \
268  $(HTTP_API_TIMEOUT_TEST) \
269  $(HTTPS_API_TEST) \
270  $(HTTPS_NAT_API_TEST) \
271  $(HTTPS_API_TIMEOUT_TEST) \
272  test_transport_api_multi \
273  test_transport_api_reliability_tcp \
274  test_transport_api_reliability_tcp_nat \
275  test_transport_api_unreliability_udp \
276  test_transport_api_unreliability_constant_udp \
277  $(UNIX_REL_TEST) \
278  $(HTTP_REL_TEST) \
279  $(HTTP_NAT_REL_TEST) \
280  $(HTTPS_REL_TEST) \
281  $(HTTPS_NAT_REL_TEST) \
282  test_quota_compliance_tcp \
283  test_quota_compliance_tcp_asymmetric \
284  test_quota_compliance_udp \
285  $(UNIX_QUOTA_TEST) \
286  $(HTTP_QUOTA_TEST) \
287  $(HTTPS_QUOTA_TEST) \
288  $(WLAN_API_TEST) \
289  $(WLAN_REL_TEST) \
290  $(WLAN_UREL_TEST)
291
292 if ENABLE_TEST_RUN
293 TESTS = \
294  test_transport_testing \
295  test_transport_startonly \
296  test_transport_api_disconnect_tcp \
297  test_transport_api_tcp \
298  test_transport_api_timeout_tcp \
299  test_transport_api_limited_sockets_tcp \
300  test_transport_api_tcp_nat \
301  test_transport_api_udp \
302  $(UNIX_PLUGIN_TEST) \
303  test_transport_api_udp_nat \
304  $(HTTP_API_TEST) \
305  $(HTTP_NAT_API_TEST) \
306  $(HTTP_API_TIMEOUT_TEST) \
307  $(HTTPS_API_TEST) \
308  $(HTTPS_NAT_API_TEST) \
309  $(HTTPS_API_TIMEOUT_TEST) \
310  test_transport_api_multi \
311  test_transport_api_reliability_tcp \
312  test_transport_api_reliability_tcp_nat \
313  test_transport_api_unreliability_udp \
314  test_transport_api_unreliability_constant_udp \
315  $(UNIX_REL_TEST) \
316  $(HTTP_REL_TEST) \
317  $(HTTP_NAT_REL_TEST) \
318  $(HTTPS_REL_TEST) \
319  $(HTTPS_NAT_REL_TEST) \
320  test_quota_compliance_tcp \
321  test_quota_compliance_tcp_asymmetric \
322  test_quota_compliance_udp \
323  $(UNIX_QUOTA_TEST) \
324  $(HTTP_QUOTA_TEST) \
325  $(HTTPS_QUOTA_TEST) \
326  $(WLAN_API_TEST) \
327  $(WLAN_REL_TEST) \
328  $(WLAN_UREL_TEST)
329 endif
330
331 test_transport_testing_SOURCES = \
332  test_transport_testing.c
333 test_transport_testing_LDADD = \
334  $(top_builddir)/src/util/libgnunetutil.la \
335  $(top_builddir)/src/transport/libgnunettransport.la \
336  $(top_builddir)/src/hello/libgnunethello.la \
337  $(top_builddir)/src/transport/libgnunettransporttesting.la 
338
339 #gnunet_transport_connect_running_peers_SOURCES = \
340 # gnunet-transport-connect-running-peers.c
341 #gnunet_transport_connect_running_peers_LDADD = \
342 # $(top_builddir)/src/transport/libgnunettransport.la \
343 # $(top_builddir)/src/hello/libgnunethello.la \
344 # $(top_builddir)/src/util/libgnunetutil.la \
345 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
346
347 test_transport_api_disconnect_tcp_SOURCES = \
348  test_transport_api_disconnect.c
349 test_transport_api_disconnect_tcp_LDADD = \
350  $(top_builddir)/src/transport/libgnunettransport.la \
351  $(top_builddir)/src/hello/libgnunethello.la \
352  $(top_builddir)/src/statistics/libgnunetstatistics.la \
353  $(top_builddir)/src/util/libgnunetutil.la \
354  $(top_builddir)/src/transport/libgnunettransporttesting.la 
355
356 test_transport_startonly_SOURCES = \
357  test_transport_startonly.c
358 test_transport_startonly_LDADD = \
359  $(top_builddir)/src/transport/libgnunettransport.la \
360  $(top_builddir)/src/hello/libgnunethello.la \
361  $(top_builddir)/src/statistics/libgnunetstatistics.la \
362  $(top_builddir)/src/util/libgnunetutil.la \
363  $(top_builddir)/src/transport/libgnunettransporttesting.la 
364
365 test_transport_api_tcp_SOURCES = \
366  test_transport_api.c
367 test_transport_api_tcp_LDADD = \
368  $(top_builddir)/src/transport/libgnunettransport.la \
369  $(top_builddir)/src/hello/libgnunethello.la \
370  $(top_builddir)/src/util/libgnunetutil.la  \
371  $(top_builddir)/src/transport/libgnunettransporttesting.la
372   
373 test_transport_api_limited_sockets_tcp_SOURCES = \
374  test_transport_api_limited_sockets.c
375 test_transport_api_limited_sockets_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_tcp_nat_SOURCES = \
382  test_transport_api.c
383 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
390  test_transport_api_reliability.c
391 test_transport_api_reliability_tcp_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_timeout_tcp_SOURCES = \
398  test_transport_api_timeout.c
399 test_transport_api_timeout_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_http_SOURCES = \
406  test_transport_api_timeout.c
407 test_transport_api_timeout_http_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_https_SOURCES = \
414  test_transport_api_timeout.c
415 test_transport_api_timeout_https_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_reliability_tcp_nat_SOURCES = \
422  test_transport_api_reliability.c
423 test_transport_api_reliability_tcp_nat_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_wlan_SOURCES = \
430  test_transport_api_reliability.c
431 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
438  test_transport_api_unreliability.c
439 test_transport_api_unreliability_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_udp_SOURCES = \
446  test_transport_api.c
447 test_transport_api_udp_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_nat_SOURCES = \
454  test_transport_api.c
455 test_transport_api_udp_nat_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_unix_SOURCES = \
462  test_transport_api.c
463 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
470 # test_plugin_transport_http.c
471 #test_plugin_transport_http_LDADD = \
472 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
473 # @LIBCURL@ \
474 # $(top_builddir)/src/hello/libgnunethello.la \
475 # $(top_builddir)/src/util/libgnunetutil.la  
476
477 test_transport_api_http_SOURCES = \
478  test_transport_api.c
479 test_transport_api_http_LDADD = \
480  $(top_builddir)/src/transport/libgnunettransport.la \
481  $(top_builddir)/src/hello/libgnunethello.la \
482  $(top_builddir)/src/util/libgnunetutil.la \
483  $(top_builddir)/src/transport/libgnunettransporttesting.la 
484  
485  test_transport_api_http_nat_SOURCES = \
486  test_transport_api.c
487 test_transport_api_http_nat_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_reliability_http_SOURCES = \
494  test_transport_api_reliability.c
495 test_transport_api_reliability_http_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_nat_SOURCES = \
502  test_transport_api_reliability.c
503 test_transport_api_reliability_http_nat_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_https_SOURCES = \
510  test_transport_api.c
511 test_transport_api_https_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_nat_SOURCES = \
518  test_transport_api.c
519 test_transport_api_https_nat_LDADD = \
520  $(top_builddir)/src/transport/libgnunettransport.la \
521  $(top_builddir)/src/hello/libgnunethello.la \
522  $(top_builddir)/src/util/libgnunetutil.la \
523  $(top_builddir)/src/transport/libgnunettransporttesting.la 
524
525 test_transport_api_reliability_https_SOURCES = \
526  test_transport_api_reliability.c
527 test_transport_api_reliability_https_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_nat_SOURCES = \
534  test_transport_api_reliability.c
535 test_transport_api_reliability_https_nat_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_unreliability_unix_SOURCES = \
542  test_transport_api_unreliability.c
543 test_transport_api_unreliability_unix_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_udp_SOURCES = \
550  test_transport_api_unreliability.c
551 test_transport_api_unreliability_udp_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_constant_udp_SOURCES = \
558  test_transport_api_unreliability_constant.c
559 test_transport_api_unreliability_constant_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 if LINUX
566 test_transport_api_wlan_SOURCES = \
567  test_transport_api.c
568 test_transport_api_wlan_LDADD = \
569  $(top_builddir)/src/transport/libgnunettransport.la \
570  $(top_builddir)/src/hello/libgnunethello.la \
571  $(top_builddir)/src/util/libgnunetutil.la \
572  $(top_builddir)/src/transport/libgnunettransporttesting.la  
573 endif
574
575 test_quota_compliance_tcp_SOURCES = \
576  test_quota_compliance.c
577 test_quota_compliance_tcp_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_quota_compliance_tcp_asymmetric_SOURCES = \
584  test_quota_compliance.c
585 test_quota_compliance_tcp_asymmetric_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_send_constant_SOURCES = \
592 # test_quota_compliance.c
593 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
594 # $(top_builddir)/src/transport/libgnunettransport.la \
595 # $(top_builddir)/src/util/libgnunetutil.la
596
597 test_quota_compliance_http_SOURCES = \
598  test_quota_compliance.c
599 test_quota_compliance_http_LDADD = \
600  $(top_builddir)/src/transport/libgnunettransport.la \
601  $(top_builddir)/src/hello/libgnunethello.la \
602  $(top_builddir)/src/util/libgnunetutil.la \
603  $(top_builddir)/src/transport/libgnunettransporttesting.la 
604
605  test_quota_compliance_http_asymmetric_SOURCES = \
606  test_quota_compliance.c
607 test_quota_compliance_http_asymmetric_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_send_constant_SOURCES = \
614 # test_quota_compliance.c
615 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
616 # $(top_builddir)/src/transport/libgnunettransport.la \
617 # $(top_builddir)/src/util/libgnunetutil.la
618
619 test_quota_compliance_https_SOURCES = \
620  test_quota_compliance.c
621 test_quota_compliance_https_LDADD = \
622  $(top_builddir)/src/transport/libgnunettransport.la \
623  $(top_builddir)/src/hello/libgnunethello.la \
624  $(top_builddir)/src/util/libgnunetutil.la \
625  $(top_builddir)/src/transport/libgnunettransporttesting.la
626
627  test_quota_compliance_https_asymmetric_SOURCES = \
628  test_quota_compliance.c
629 test_quota_compliance_https_asymmetric_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_send_constant_SOURCES = \
636 # test_quota_compliance.c
637 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
638 # $(top_builddir)/src/transport/libgnunettransport.la \
639 # $(top_builddir)/src/util/libgnunetutil.la
640
641 test_quota_compliance_udp_SOURCES = \
642  test_quota_compliance.c
643 test_quota_compliance_udp_LDADD = \
644  $(top_builddir)/src/transport/libgnunettransport.la \
645  $(top_builddir)/src/hello/libgnunethello.la \
646  $(top_builddir)/src/util/libgnunetutil.la \
647  $(top_builddir)/src/transport/libgnunettransporttesting.la
648
649 test_quota_compliance_unix_SOURCES = \
650  test_quota_compliance.c
651 test_quota_compliance_unix_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_asymmetric_SOURCES = \
658  test_quota_compliance.c
659 test_quota_compliance_unix_asymmetric_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_transport_api_multi_SOURCES = \
666  test_transport_api.c
667 test_transport_api_multi_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
674 EXTRA_DIST = \
675 gnunet-transport-certificate-creation \
676 template_cfg_peer1.conf\
677 template_cfg_peer2.conf\
678 test_plugin_transport_data.conf\
679 test_plugin_transport_data_http.conf\
680 test_plugin_transport_data_udp.conf\
681 test_quota_compliance_data.conf\
682 test_quota_compliance_http_peer1.conf\
683 test_quota_compliance_http_peer2.conf\
684 test_quota_compliance_https_peer1.conf\
685 test_quota_compliance_https_peer2.conf\
686 test_quota_compliance_tcp_peer1.conf\
687 test_quota_compliance_tcp_peer2.conf\
688 test_quota_compliance_udp_peer1.conf\
689 test_quota_compliance_udp_peer2.conf\
690 test_quota_compliance_unix_peer1.conf\
691 test_quota_compliance_unix_peer2.conf\
692 test_quota_compliance_http_asymmetric_peer1.conf\
693 test_quota_compliance_http_asymmetric_peer2.conf\
694 test_quota_compliance_https_asymmetric_peer1.conf\
695 test_quota_compliance_https_asymmetric_peer2.conf\
696 test_quota_compliance_tcp_asymmetric_peer1.conf\
697 test_quota_compliance_tcp_asymmetric_peer2.conf\
698 test_quota_compliance_unix_asymmetric_peer1.conf\
699 test_quota_compliance_unix_asymmetric_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\
741 test_transport_api_disconnect_tcp_peer1.conf\
742 test_transport_api_disconnect_tcp_peer2.conf\
743 test_transport_api_http_nat_peer1.conf\
744 test_transport_api_http_nat_peer2.conf\
745 test_transport_api_https_nat_peer1.conf\
746 test_transport_api_https_nat_peer2.conf\
747 test_transport_api_reliability_http_nat_peer1.conf\
748 test_transport_api_reliability_http_nat_peer2.conf\
749 test_transport_api_reliability_https_nat_peer1.conf\
750 test_transport_api_reliability_https_nat_peer2.conf\
751 test_transport_api_timeout_http_peer1.conf\
752 test_transport_api_timeout_http_peer2.conf\
753 test_transport_api_timeout_https_peer1.conf\
754 test_transport_api_timeout_https_peer2.conf\
755 test_transport_api_unreliability_constant_udp_peer1.conf\
756 test_transport_api_unreliability_constant_udp_peer2.conf