clean up, asserts, FIXME
[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  test_plugin_transport_wlan_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_timeout_tcp \
264  test_transport_api_limited_sockets_tcp \
265  test_transport_api_tcp_nat \
266  test_transport_api_udp \
267  $(UNIX_PLUGIN_TEST) \
268  test_transport_api_udp_nat \
269  $(HTTP_API_TEST) \
270  $(HTTP_NAT_API_TEST) \
271  $(HTTP_API_TIMEOUT_TEST) \
272  $(HTTPS_API_TEST) \
273  $(HTTPS_NAT_API_TEST) \
274  $(HTTPS_API_TIMEOUT_TEST) \
275  test_transport_api_multi \
276  test_transport_api_reliability_tcp \
277  test_transport_api_reliability_tcp_nat \
278  test_transport_api_unreliability_udp \
279  test_transport_api_unreliability_constant_udp \
280  $(UNIX_REL_TEST) \
281  $(HTTP_REL_TEST) \
282  $(HTTP_NAT_REL_TEST) \
283  $(HTTPS_REL_TEST) \
284  $(HTTPS_NAT_REL_TEST) \
285  test_quota_compliance_tcp \
286  test_quota_compliance_tcp_asymmetric \
287  test_quota_compliance_udp \
288  $(UNIX_QUOTA_TEST) \
289  $(HTTP_QUOTA_TEST) \
290  $(HTTPS_QUOTA_TEST) \
291  $(WLAN_API_TEST) \
292  $(WLAN_REL_TEST) \
293  $(WLAN_UREL_TEST)
294
295 if ENABLE_TEST_RUN
296 TESTS = \
297  test_transport_testing \
298  test_transport_startonly \
299  test_transport_api_disconnect_tcp \
300  test_transport_api_bidirectional_connect \
301  test_transport_api_tcp \
302  test_transport_api_timeout_tcp \
303  test_transport_api_limited_sockets_tcp \
304  test_transport_api_tcp_nat \
305  test_transport_api_udp \
306  $(UNIX_PLUGIN_TEST) \
307  test_transport_api_udp_nat \
308  $(HTTP_API_TEST) \
309  $(HTTP_NAT_API_TEST) \
310  $(HTTP_API_TIMEOUT_TEST) \
311  $(HTTPS_API_TEST) \
312  $(HTTPS_NAT_API_TEST) \
313  $(HTTPS_API_TIMEOUT_TEST) \
314  test_transport_api_multi \
315  test_transport_api_reliability_tcp \
316  test_transport_api_reliability_tcp_nat \
317  test_transport_api_unreliability_udp \
318  test_transport_api_unreliability_constant_udp \
319  $(UNIX_REL_TEST) \
320  $(HTTP_REL_TEST) \
321  $(HTTP_NAT_REL_TEST) \
322  $(HTTPS_REL_TEST) \
323  $(HTTPS_NAT_REL_TEST) \
324  test_quota_compliance_tcp \
325  test_quota_compliance_tcp_asymmetric \
326  test_quota_compliance_udp \
327  $(UNIX_QUOTA_TEST) \
328  $(HTTP_QUOTA_TEST) \
329  $(HTTPS_QUOTA_TEST) \
330  $(WLAN_API_TEST) \
331  $(WLAN_REL_TEST) \
332  $(WLAN_UREL_TEST)
333 endif
334
335 test_transport_testing_SOURCES = \
336  test_transport_testing.c
337 test_transport_testing_LDADD = \
338  $(top_builddir)/src/util/libgnunetutil.la \
339  $(top_builddir)/src/transport/libgnunettransport.la \
340  $(top_builddir)/src/hello/libgnunethello.la \
341  $(top_builddir)/src/transport/libgnunettransporttesting.la 
342
343 #gnunet_transport_connect_running_peers_SOURCES = \
344 # gnunet-transport-connect-running-peers.c
345 #gnunet_transport_connect_running_peers_LDADD = \
346 # $(top_builddir)/src/transport/libgnunettransport.la \
347 # $(top_builddir)/src/hello/libgnunethello.la \
348 # $(top_builddir)/src/util/libgnunetutil.la \
349 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
350
351 test_transport_api_disconnect_tcp_SOURCES = \
352  test_transport_api_disconnect.c
353 test_transport_api_disconnect_tcp_LDADD = \
354  $(top_builddir)/src/transport/libgnunettransport.la \
355  $(top_builddir)/src/hello/libgnunethello.la \
356  $(top_builddir)/src/statistics/libgnunetstatistics.la \
357  $(top_builddir)/src/util/libgnunetutil.la \
358  $(top_builddir)/src/transport/libgnunettransporttesting.la 
359
360 test_transport_startonly_SOURCES = \
361  test_transport_startonly.c
362 test_transport_startonly_LDADD = \
363  $(top_builddir)/src/transport/libgnunettransport.la \
364  $(top_builddir)/src/hello/libgnunethello.la \
365  $(top_builddir)/src/statistics/libgnunetstatistics.la \
366  $(top_builddir)/src/util/libgnunetutil.la \
367  $(top_builddir)/src/transport/libgnunettransporttesting.la 
368
369 test_transport_api_tcp_SOURCES = \
370  test_transport_api.c
371 test_transport_api_tcp_LDADD = \
372  $(top_builddir)/src/transport/libgnunettransport.la \
373  $(top_builddir)/src/hello/libgnunethello.la \
374  $(top_builddir)/src/util/libgnunetutil.la  \
375  $(top_builddir)/src/transport/libgnunettransporttesting.la
376   
377 test_transport_api_bidirectional_connect_SOURCES = \
378  test_transport_api_bidirectional_connect.c
379 test_transport_api_bidirectional_connect_LDADD = \
380  $(top_builddir)/src/transport/libgnunettransport.la \
381  $(top_builddir)/src/hello/libgnunethello.la \
382  $(top_builddir)/src/util/libgnunetutil.la  \
383  $(top_builddir)/src/transport/libgnunettransporttesting.la
384   
385 test_transport_api_limited_sockets_tcp_SOURCES = \
386  test_transport_api_limited_sockets.c
387 test_transport_api_limited_sockets_tcp_LDADD = \
388  $(top_builddir)/src/transport/libgnunettransport.la \
389  $(top_builddir)/src/hello/libgnunethello.la \
390  $(top_builddir)/src/util/libgnunetutil.la  \
391  $(top_builddir)/src/transport/libgnunettransporttesting.la
392
393 test_transport_api_tcp_nat_SOURCES = \
394  test_transport_api.c
395 test_transport_api_tcp_nat_LDADD = \
396  $(top_builddir)/src/transport/libgnunettransport.la \
397  $(top_builddir)/src/hello/libgnunethello.la \
398  $(top_builddir)/src/util/libgnunetutil.la \
399  $(top_builddir)/src/transport/libgnunettransporttesting.la 
400
401 test_transport_api_reliability_tcp_SOURCES = \
402  test_transport_api_reliability.c
403 test_transport_api_reliability_tcp_LDADD = \
404  $(top_builddir)/src/transport/libgnunettransport.la \
405  $(top_builddir)/src/hello/libgnunethello.la \
406  $(top_builddir)/src/util/libgnunetutil.la \
407  $(top_builddir)/src/transport/libgnunettransporttesting.la 
408
409 test_transport_api_timeout_tcp_SOURCES = \
410  test_transport_api_timeout.c
411 test_transport_api_timeout_tcp_LDADD = \
412  $(top_builddir)/src/transport/libgnunettransport.la \
413  $(top_builddir)/src/hello/libgnunethello.la \
414  $(top_builddir)/src/util/libgnunetutil.la \
415  $(top_builddir)/src/transport/libgnunettransporttesting.la 
416
417 test_transport_api_timeout_http_SOURCES = \
418  test_transport_api_timeout.c
419 test_transport_api_timeout_http_LDADD = \
420  $(top_builddir)/src/transport/libgnunettransport.la \
421  $(top_builddir)/src/hello/libgnunethello.la \
422  $(top_builddir)/src/util/libgnunetutil.la \
423  $(top_builddir)/src/transport/libgnunettransporttesting.la 
424  
425 test_transport_api_timeout_https_SOURCES = \
426  test_transport_api_timeout.c
427 test_transport_api_timeout_https_LDADD = \
428  $(top_builddir)/src/transport/libgnunettransport.la \
429  $(top_builddir)/src/hello/libgnunethello.la \
430  $(top_builddir)/src/util/libgnunetutil.la \
431  $(top_builddir)/src/transport/libgnunettransporttesting.la 
432  
433 test_transport_api_reliability_tcp_nat_SOURCES = \
434  test_transport_api_reliability.c
435 test_transport_api_reliability_tcp_nat_LDADD = \
436  $(top_builddir)/src/transport/libgnunettransport.la \
437  $(top_builddir)/src/hello/libgnunethello.la \
438  $(top_builddir)/src/util/libgnunetutil.la \
439  $(top_builddir)/src/transport/libgnunettransporttesting.la 
440
441 test_transport_api_reliability_wlan_SOURCES = \
442  test_transport_api_reliability.c
443 test_transport_api_reliability_wlan_LDADD = \
444  $(top_builddir)/src/transport/libgnunettransport.la \
445  $(top_builddir)/src/hello/libgnunethello.la \
446  $(top_builddir)/src/util/libgnunetutil.la \
447  $(top_builddir)/src/transport/libgnunettransporttesting.la 
448
449 test_transport_api_unreliability_wlan_SOURCES = \
450  test_transport_api_unreliability.c
451 test_transport_api_unreliability_wlan_LDADD = \
452  $(top_builddir)/src/transport/libgnunettransport.la \
453  $(top_builddir)/src/hello/libgnunethello.la \
454  $(top_builddir)/src/util/libgnunetutil.la \
455  $(top_builddir)/src/transport/libgnunettransporttesting.la 
456  
457 test_transport_api_udp_SOURCES = \
458  test_transport_api.c
459 test_transport_api_udp_LDADD = \
460  $(top_builddir)/src/transport/libgnunettransport.la \
461  $(top_builddir)/src/hello/libgnunethello.la \
462  $(top_builddir)/src/util/libgnunetutil.la  \
463  $(top_builddir)/src/transport/libgnunettransporttesting.la 
464
465 test_transport_api_udp_nat_SOURCES = \
466  test_transport_api.c
467 test_transport_api_udp_nat_LDADD = \
468  $(top_builddir)/src/transport/libgnunettransport.la \
469  $(top_builddir)/src/hello/libgnunethello.la \
470  $(top_builddir)/src/util/libgnunetutil.la  \
471  $(top_builddir)/src/transport/libgnunettransporttesting.la  
472
473 test_transport_api_unix_SOURCES = \
474  test_transport_api.c
475 test_transport_api_unix_LDADD = \
476  $(top_builddir)/src/transport/libgnunettransport.la \
477  $(top_builddir)/src/hello/libgnunethello.la \
478  $(top_builddir)/src/util/libgnunetutil.la \
479  $(top_builddir)/src/transport/libgnunettransporttesting.la 
480
481 #test_plugin_transport_http_SOURCES = \
482 # test_plugin_transport_http.c
483 #test_plugin_transport_http_LDADD = \
484 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
485 # @LIBCURL@ \
486 # $(top_builddir)/src/hello/libgnunethello.la \
487 # $(top_builddir)/src/util/libgnunetutil.la  
488
489 test_transport_api_http_SOURCES = \
490  test_transport_api.c
491 test_transport_api_http_LDADD = \
492  $(top_builddir)/src/transport/libgnunettransport.la \
493  $(top_builddir)/src/hello/libgnunethello.la \
494  $(top_builddir)/src/util/libgnunetutil.la \
495  $(top_builddir)/src/transport/libgnunettransporttesting.la 
496  
497  test_transport_api_http_nat_SOURCES = \
498  test_transport_api.c
499 test_transport_api_http_nat_LDADD = \
500  $(top_builddir)/src/transport/libgnunettransport.la \
501  $(top_builddir)/src/hello/libgnunethello.la \
502  $(top_builddir)/src/util/libgnunetutil.la \
503  $(top_builddir)/src/transport/libgnunettransporttesting.la 
504
505 test_transport_api_reliability_http_SOURCES = \
506  test_transport_api_reliability.c
507 test_transport_api_reliability_http_LDADD = \
508  $(top_builddir)/src/transport/libgnunettransport.la \
509  $(top_builddir)/src/hello/libgnunethello.la \
510  $(top_builddir)/src/util/libgnunetutil.la \
511  $(top_builddir)/src/transport/libgnunettransporttesting.la 
512
513 test_transport_api_reliability_http_nat_SOURCES = \
514  test_transport_api_reliability.c
515 test_transport_api_reliability_http_nat_LDADD = \
516  $(top_builddir)/src/transport/libgnunettransport.la \
517  $(top_builddir)/src/hello/libgnunethello.la \
518  $(top_builddir)/src/util/libgnunetutil.la \
519  $(top_builddir)/src/transport/libgnunettransporttesting.la 
520
521 test_transport_api_https_SOURCES = \
522  test_transport_api.c
523 test_transport_api_https_LDADD = \
524  $(top_builddir)/src/transport/libgnunettransport.la \
525  $(top_builddir)/src/hello/libgnunethello.la \
526  $(top_builddir)/src/util/libgnunetutil.la  \
527  $(top_builddir)/src/transport/libgnunettransporttesting.la 
528
529 test_transport_api_https_nat_SOURCES = \
530  test_transport_api.c
531 test_transport_api_https_nat_LDADD = \
532  $(top_builddir)/src/transport/libgnunettransport.la \
533  $(top_builddir)/src/hello/libgnunethello.la \
534  $(top_builddir)/src/util/libgnunetutil.la \
535  $(top_builddir)/src/transport/libgnunettransporttesting.la 
536
537 test_transport_api_reliability_https_SOURCES = \
538  test_transport_api_reliability.c
539 test_transport_api_reliability_https_LDADD = \
540  $(top_builddir)/src/transport/libgnunettransport.la \
541  $(top_builddir)/src/hello/libgnunethello.la \
542  $(top_builddir)/src/util/libgnunetutil.la \
543  $(top_builddir)/src/transport/libgnunettransporttesting.la 
544
545 test_transport_api_reliability_https_nat_SOURCES = \
546  test_transport_api_reliability.c
547 test_transport_api_reliability_https_nat_LDADD = \
548  $(top_builddir)/src/transport/libgnunettransport.la \
549  $(top_builddir)/src/hello/libgnunethello.la \
550  $(top_builddir)/src/util/libgnunetutil.la \
551  $(top_builddir)/src/transport/libgnunettransporttesting.la 
552
553 test_transport_api_unreliability_unix_SOURCES = \
554  test_transport_api_unreliability.c
555 test_transport_api_unreliability_unix_LDADD = \
556  $(top_builddir)/src/transport/libgnunettransport.la \
557  $(top_builddir)/src/hello/libgnunethello.la \
558  $(top_builddir)/src/util/libgnunetutil.la \
559  $(top_builddir)/src/transport/libgnunettransporttesting.la 
560
561 test_transport_api_unreliability_udp_SOURCES = \
562  test_transport_api_unreliability.c
563 test_transport_api_unreliability_udp_LDADD = \
564  $(top_builddir)/src/transport/libgnunettransport.la \
565  $(top_builddir)/src/hello/libgnunethello.la \
566  $(top_builddir)/src/util/libgnunetutil.la \
567  $(top_builddir)/src/transport/libgnunettransporttesting.la 
568
569 test_transport_api_unreliability_constant_udp_SOURCES = \
570  test_transport_api_unreliability_constant.c
571 test_transport_api_unreliability_constant_udp_LDADD = \
572  $(top_builddir)/src/transport/libgnunettransport.la \
573  $(top_builddir)/src/hello/libgnunethello.la \
574  $(top_builddir)/src/util/libgnunetutil.la \
575  $(top_builddir)/src/transport/libgnunettransporttesting.la 
576
577 if LINUX
578 test_transport_api_wlan_SOURCES = \
579  test_transport_api.c
580 test_transport_api_wlan_LDADD = \
581  $(top_builddir)/src/transport/libgnunettransport.la \
582  $(top_builddir)/src/hello/libgnunethello.la \
583  $(top_builddir)/src/util/libgnunetutil.la \
584  $(top_builddir)/src/transport/libgnunettransporttesting.la  
585 endif
586
587 test_quota_compliance_tcp_SOURCES = \
588  test_quota_compliance.c
589 test_quota_compliance_tcp_LDADD = \
590  $(top_builddir)/src/transport/libgnunettransport.la \
591  $(top_builddir)/src/hello/libgnunethello.la \
592  $(top_builddir)/src/util/libgnunetutil.la \
593  $(top_builddir)/src/transport/libgnunettransporttesting.la 
594
595 test_quota_compliance_tcp_asymmetric_SOURCES = \
596  test_quota_compliance.c
597 test_quota_compliance_tcp_asymmetric_LDADD = \
598  $(top_builddir)/src/transport/libgnunettransport.la \
599  $(top_builddir)/src/hello/libgnunethello.la \
600  $(top_builddir)/src/util/libgnunetutil.la \
601  $(top_builddir)/src/transport/libgnunettransporttesting.la 
602
603 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
604 # test_quota_compliance.c
605 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
606 # $(top_builddir)/src/transport/libgnunettransport.la \
607 # $(top_builddir)/src/util/libgnunetutil.la
608
609 test_quota_compliance_http_SOURCES = \
610  test_quota_compliance.c
611 test_quota_compliance_http_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_http_asymmetric_SOURCES = \
618  test_quota_compliance.c
619 test_quota_compliance_http_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_http_asymmetric_send_constant_SOURCES = \
626 # test_quota_compliance.c
627 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
628 # $(top_builddir)/src/transport/libgnunettransport.la \
629 # $(top_builddir)/src/util/libgnunetutil.la
630
631 test_quota_compliance_https_SOURCES = \
632  test_quota_compliance.c
633 test_quota_compliance_https_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_https_asymmetric_SOURCES = \
640  test_quota_compliance.c
641 test_quota_compliance_https_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_https_asymmetric_send_constant_SOURCES = \
648 # test_quota_compliance.c
649 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
650 # $(top_builddir)/src/transport/libgnunettransport.la \
651 # $(top_builddir)/src/util/libgnunetutil.la
652
653 test_quota_compliance_udp_SOURCES = \
654  test_quota_compliance.c
655 test_quota_compliance_udp_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_unix_SOURCES = \
662  test_quota_compliance.c
663 test_quota_compliance_unix_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_unix_asymmetric_SOURCES = \
670  test_quota_compliance.c
671 test_quota_compliance_unix_asymmetric_LDADD = \
672  $(top_builddir)/src/transport/libgnunettransport.la \
673  $(top_builddir)/src/hello/libgnunethello.la \
674  $(top_builddir)/src/util/libgnunetutil.la \
675  $(top_builddir)/src/transport/libgnunettransporttesting.la
676
677 test_transport_api_multi_SOURCES = \
678  test_transport_api.c
679 test_transport_api_multi_LDADD = \
680  $(top_builddir)/src/transport/libgnunettransport.la \
681  $(top_builddir)/src/hello/libgnunethello.la \
682  $(top_builddir)/src/util/libgnunetutil.la \
683  $(top_builddir)/src/transport/libgnunettransporttesting.la 
684
685
686 EXTRA_DIST = \
687 gnunet-transport-certificate-creation \
688 template_cfg_peer1.conf\
689 template_cfg_peer2.conf\
690 test_plugin_transport_data.conf\
691 test_plugin_transport_data_http.conf\
692 test_plugin_transport_data_udp.conf\
693 test_quota_compliance_data.conf\
694 test_quota_compliance_http_peer1.conf\
695 test_quota_compliance_http_peer2.conf\
696 test_quota_compliance_https_peer1.conf\
697 test_quota_compliance_https_peer2.conf\
698 test_quota_compliance_tcp_peer1.conf\
699 test_quota_compliance_tcp_peer2.conf\
700 test_quota_compliance_udp_peer1.conf\
701 test_quota_compliance_udp_peer2.conf\
702 test_quota_compliance_unix_peer1.conf\
703 test_quota_compliance_unix_peer2.conf\
704 test_quota_compliance_http_asymmetric_peer1.conf\
705 test_quota_compliance_http_asymmetric_peer2.conf\
706 test_quota_compliance_https_asymmetric_peer1.conf\
707 test_quota_compliance_https_asymmetric_peer2.conf\
708 test_quota_compliance_tcp_asymmetric_peer1.conf\
709 test_quota_compliance_tcp_asymmetric_peer2.conf\
710 test_quota_compliance_unix_asymmetric_peer1.conf\
711 test_quota_compliance_unix_asymmetric_peer2.conf\
712 test_transport_api_data.conf\
713 test_transport_api_http_peer1.conf\
714 test_transport_api_http_peer2.conf\
715 test_transport_api_https_peer1.conf\
716 test_transport_api_https_peer2.conf\
717 test_transport_api_limited_sockets_tcp_peer1.conf\
718 test_transport_api_limited_sockets_tcp_peer2.conf\
719 test_transport_api_timeout_tcp_peer1.conf\
720 test_transport_api_timeout_tcp_peer2.conf\
721 test_transport_api_multi_peer1.conf\
722 test_transport_api_multi_peer2.conf\
723 test_transport_api_reliability_http_peer1.conf\
724 test_transport_api_reliability_http_peer2.conf\
725 test_transport_api_reliability_https_peer1.conf\
726 test_transport_api_reliability_https_peer2.conf\
727 test_transport_api_reliability_tcp_nat_peer1.conf\
728 test_transport_api_reliability_tcp_nat_peer2.conf\
729 test_transport_api_reliability_tcp_peer1.conf\
730 test_transport_api_reliability_tcp_peer2.conf\
731 test_transport_api_reliability_wlan_peer1.conf\
732 test_transport_api_reliability_wlan_peer2.conf\
733 test_transport_api_tcp_nat_peer1.conf\
734 test_transport_api_tcp_nat_peer2.conf\
735 test_transport_api_tcp_peer1.conf\
736 test_transport_api_tcp_peer2.conf\
737 test_transport_api_udp_nat_peer1.conf\
738 test_transport_api_udp_nat_peer2.conf\
739 test_transport_api_udp_peer1.conf\
740 test_transport_api_udp_peer2.conf\
741 test_transport_api_unix_peer1.conf\
742 test_transport_api_unix_peer2.conf\
743 test_transport_api_unreliability_udp_peer1.conf\
744 test_transport_api_unreliability_udp_peer2.conf\
745 test_transport_api_unreliability_unix_peer1.conf\
746 test_transport_api_unreliability_unix_peer2.conf\
747 test_transport_api_unreliability_wlan_peer1.conf\
748 test_transport_api_unreliability_wlan_peer2.conf\
749 test_transport_api_wlan_peer1.conf\
750 test_transport_api_wlan_peer2.conf\
751 test_transport_defaults.conf\
752 test_transport_startonly.conf\
753 test_transport_api_disconnect_tcp_peer1.conf\
754 test_transport_api_disconnect_tcp_peer2.conf\
755 test_transport_api_http_nat_peer1.conf\
756 test_transport_api_http_nat_peer2.conf\
757 test_transport_api_https_nat_peer1.conf\
758 test_transport_api_https_nat_peer2.conf\
759 test_transport_api_reliability_http_nat_peer1.conf\
760 test_transport_api_reliability_http_nat_peer2.conf\
761 test_transport_api_reliability_https_nat_peer1.conf\
762 test_transport_api_reliability_https_nat_peer2.conf\
763 test_transport_api_timeout_http_peer1.conf\
764 test_transport_api_timeout_http_peer2.conf\
765 test_transport_api_timeout_https_peer1.conf\
766 test_transport_api_timeout_https_peer2.conf\
767 test_transport_api_unreliability_constant_udp_peer1.conf\
768 test_transport_api_unreliability_constant_udp_peer2.conf