marking HTTP as experimental
[oweals/gnunet.git] / src / transport / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3 plugindir = $(libdir)/gnunet
4
5
6 if HAVE_MHD
7 if HAVE_EXPERIMENTAL
8  GN_LIBMHD = -lmicrohttpd
9  HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la
10 # HTTP_PLUGIN_TEST = test_plugin_transport_http
11  HTTP_API_TEST = test_transport_api_http
12  HTTP_REL_TEST = test_transport_api_reliability_http
13  HTTP_QUOTA_TEST = test_quota_compliance_http \
14                    test_quota_compliance_http_asymmetric_recv_constant
15  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
16 # HTTPS_PLUGIN_TEST = test_plugin_transport_https
17  HTTPS_API_TEST = test_transport_api_https
18  HTTPS_REL_TEST = test_transport_api_reliability_https
19  HTTPS_QUOTA_TEST = test_quota_compliance_https \
20                 test_quota_compliance_https_asymmetric_recv_constant
21 endif
22 endif
23
24 if USE_COVERAGE
25   AM_CFLAGS = --coverage -O0
26 endif
27
28 if LINUX
29 if HAVE_EXPERIMENTAL
30  WLAN_BIN = gnunet-transport-wlan-helper
31  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
32  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
33  WLAN_API_TEST = test_transport_api_wlan
34  WLAN_REL_TEST = test_transport_api_reliability_wlan
35  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
36 endif
37 endif
38
39
40 if LINUX
41 install-exec-hook:
42         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
43         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
44 else
45 install-exec-hook:
46 endif
47
48 if !MINGW
49 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
50 UNIX_PLUGIN_TEST = test_transport_api_unix 
51 UNIX_REL_TEST = test_transport_api_unreliability_unix
52 UNIX_QUOTA_TEST = test_quota_compliance_unix \
53      test_quota_compliance_unix_asymmetric_recv_constant
54 endif
55
56 noinst_PROGRAMS = \
57  $(WLAN_BIN_DUMMY) \
58  gnunet-transport-connect-running-peers
59
60 lib_LTLIBRARIES = \
61   libgnunettransport.la \
62   libgnunettransporttesting.la
63
64 libgnunettransporttesting_la_SOURCES = \
65   transport-testing.c transport-testing.h
66 libgnunettransporttesting_la_LIBADD = \
67   $(top_builddir)/src/transport/libgnunettransport.la \
68   $(top_builddir)/src/hello/libgnunethello.la \
69   $(top_builddir)/src/util/libgnunetutil.la \
70   $(GN_LIBINTL) 
71 libgnunettransporttesting_la_DEPENDENCIES = \
72   libgnunettransport.la
73
74 libgnunettransport_la_SOURCES = \
75   transport_api.c transport.h \
76   transport_api_blacklist.c \
77   transport_api_address_lookup.c \
78   transport_api_peer_address_lookup.c \
79   transport_api_address_iterate.c
80 libgnunettransport_la_LIBADD = \
81   $(top_builddir)/src/hello/libgnunethello.la \
82   $(top_builddir)/src/util/libgnunetutil.la \
83   $(GN_LIBINTL) 
84 libgnunettransport_la_LDFLAGS = \
85   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
86   -version-info 0:0:0
87
88 bin_PROGRAMS = \
89  gnunet-transport \
90  $(WLAN_BIN) \
91  gnunet-service-transport \
92  gnunet-transport-list-connections \
93  gnunet-transport-certificate-creation
94
95 #bin_SCRIPTS = \
96 # gnunet-transport-certificate-creation
97
98 gnunet_transport_certificate_creation_SOURCES = \
99  gnunet-transport-certificate-creation.c
100 gnunet_transport_certificate_creation_LDADD = \
101   $(top_builddir)/src/util/libgnunetutil.la
102
103 gnunet_transport_wlan_helper_SOURCES = \
104  wlan/byteorder.h \
105  wlan/crctable_osdep.h \
106  wlan/helper_common.c wlan/helper_common.h \
107  wlan/ieee80211.h \
108  wlan/ieee80211_radiotap.h \
109  wlan/loopback_helper.h \
110  wlan/radiotap-parser.c wlan/radiotap-parser.h \
111  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
112 gnunet_transport_wlan_helper_LDADD = \
113   $(top_builddir)/src/util/libgnunetutil.la 
114
115 gnunet_transport_wlan_helper_dummy_SOURCES = \
116  wlan/radiotap-parser.c \
117  wlan/helper_common.c \
118  test_plugin_transport_wlan_dummy.c
119 gnunet_transport_wlan_helper_dummy_LDADD = \
120   $(top_builddir)/src/util/libgnunetutil.la 
121
122 gnunet_transport_list_connections_SOURCES = \
123  gnunet-transport-list-connections.c         
124 gnunet_transport_list_connections_LDADD = \
125   $(top_builddir)/src/transport/libgnunettransport.la \
126   $(top_builddir)/src/util/libgnunetutil.la \
127   $(GN_LIBINTL)
128 gnunet_transport_list_connections_DEPENDENCIES = \
129   libgnunettransport.la
130
131 gnunet_transport_SOURCES = \
132  gnunet-transport.c         
133 gnunet_transport_LDADD = \
134   $(top_builddir)/src/transport/libgnunettransport.la \
135   $(top_builddir)/src/util/libgnunetutil.la \
136   $(GN_LIBINTL)
137 gnunet_transport_DEPENDENCIES = \
138   libgnunettransport.la                         
139
140 gnunet_service_transport_SOURCES = \
141  gnunet-service-transport.c gnunet-service-transport.h \
142  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
143  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
144  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
145  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
146  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
147  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
148 gnunet_service_transport_LDADD = \
149   $(top_builddir)/src/ats/libgnunetats.la \
150   $(top_builddir)/src/hello/libgnunethello.la \
151   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
152   $(top_builddir)/src/statistics/libgnunetstatistics.la \
153   $(top_builddir)/src/util/libgnunetutil.la \
154   $(GN_GLPK) \
155   $(GN_LIBINTL)
156
157 plugin_LTLIBRARIES = \
158   libgnunet_plugin_transport_tcp.la \
159   libgnunet_plugin_transport_udp.la \
160   $(UNIX_PLUGIN_LA) \
161   $(HTTP_PLUGIN_LA) \
162   $(HTTPS_PLUGIN_LA) \
163   $(WLAN_PLUGIN_LA) \
164   libgnunet_plugin_transport_template.la
165
166 libgnunet_plugin_transport_tcp_la_SOURCES = \
167   plugin_transport_tcp.c
168 libgnunet_plugin_transport_tcp_la_LIBADD = \
169   $(top_builddir)/src/hello/libgnunethello.la \
170   $(top_builddir)/src/statistics/libgnunetstatistics.la \
171   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
172   $(top_builddir)/src/nat/libgnunetnat.la \
173   $(top_builddir)/src/util/libgnunetutil.la 
174 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
175  $(GN_PLUGIN_LDFLAGS)
176
177 libgnunet_plugin_transport_template_la_SOURCES = \
178   plugin_transport_template.c
179 libgnunet_plugin_transport_template_la_LIBADD = \
180   $(top_builddir)/src/util/libgnunetutil.la 
181 libgnunet_plugin_transport_template_la_LDFLAGS = \
182  $(GN_PLUGIN_LDFLAGS)
183
184 libgnunet_plugin_transport_wlan_la_SOURCES = \
185   plugin_transport_wlan.c plugin_transport_wlan.h
186 libgnunet_plugin_transport_wlan_la_LIBADD = \
187   $(top_builddir)/src/hello/libgnunethello.la \
188   $(top_builddir)/src/statistics/libgnunetstatistics.la \
189   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
190   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
191   $(top_builddir)/src/util/libgnunetutil.la 
192 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
193   $(GN_PLUGIN_LDFLAGS)
194
195 libgnunet_plugin_transport_udp_la_SOURCES = \
196   plugin_transport_udp.c
197 libgnunet_plugin_transport_udp_la_LIBADD = \
198   $(top_builddir)/src/hello/libgnunethello.la \
199   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
200   $(top_builddir)/src/statistics/libgnunetstatistics.la \
201   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
202   $(top_builddir)/src/nat/libgnunetnat.la \
203   $(top_builddir)/src/util/libgnunetutil.la 
204 libgnunet_plugin_transport_udp_la_LDFLAGS = \
205  $(GN_PLUGIN_LDFLAGS)
206
207 libgnunet_plugin_transport_unix_la_SOURCES = \
208   plugin_transport_unix.c
209 libgnunet_plugin_transport_unix_la_LIBADD = \
210   $(top_builddir)/src/hello/libgnunethello.la \
211   $(top_builddir)/src/statistics/libgnunetstatistics.la \
212   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
213   $(top_builddir)/src/util/libgnunetutil.la 
214 libgnunet_plugin_transport_unix_la_LDFLAGS = \
215  $(GN_PLUGIN_LDFLAGS)
216
217 libgnunet_plugin_transport_http_la_SOURCES = \
218   plugin_transport_http.c
219 libgnunet_plugin_transport_http_la_LIBADD = \
220   $(top_builddir)/src/hello/libgnunethello.la \
221   $(top_builddir)/src/statistics/libgnunetstatistics.la \
222   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
223   @LIBCURL@ \
224   $(top_builddir)/src/nat/libgnunetnat.la \
225   $(top_builddir)/src/util/libgnunetutil.la 
226 libgnunet_plugin_transport_http_la_LDFLAGS = \
227  $(GN_LIBMHD) \
228  $(GN_PLUGIN_LDFLAGS)
229 libgnunet_plugin_transport_http_la_CFLAGS = \
230  $(CFLAGS) 
231 libgnunet_plugin_transport_http_la_CPPFLAGS = \
232  @LIBCURL_CPPFLAGS@
233
234 libgnunet_plugin_transport_https_la_SOURCES = \
235   plugin_transport_http.c
236 libgnunet_plugin_transport_https_la_LIBADD = \
237   $(top_builddir)/src/hello/libgnunethello.la \
238   $(top_builddir)/src/statistics/libgnunetstatistics.la \
239   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
240   @LIBCURL@ \
241   $(top_builddir)/src/nat/libgnunetnat.la \
242   $(top_builddir)/src/util/libgnunetutil.la 
243 libgnunet_plugin_transport_https_la_LDFLAGS = \
244  $(GN_LIBMHD) \
245  $(GN_PLUGIN_LDFLAGS)
246 libgnunet_plugin_transport_https_la_CFLAGS = \
247  $(CFLAGS) -DBUILD_HTTPS 
248 libgnunet_plugin_transport_https_la_CPPFLAGS = \
249  @LIBCURL_CPPFLAGS@
250
251
252 check_PROGRAMS = \
253  test_transport_testing \
254  test_transport_startonly \
255  test_transport_api_disconnect \
256  test_transport_api_multiaddress_tcp \
257  test_transport_api_tcp \
258  test_transport_api_limited_sockets_tcp \
259  test_transport_api_tcp_nat \
260  test_transport_api_udp \
261  $(UNIX_PLUGIN_TEST) \
262  test_transport_api_udp_nat \
263  $(HTTP_PLUGIN_TEST) \
264  $(HTTP_API_TEST) \
265  $(HTTPS_PLUGIN_TEST) \
266  $(HTTPS_API_TEST) \
267  test_transport_api_multi \
268  test_transport_api_reliability_tcp \
269  test_transport_api_reliability_tcp_nat \
270  test_transport_api_unreliability_udp \
271  $(UNIX_REL_TEST) \
272  $(HTTP_REL_TEST) \
273  $(HTTPS_REL_TEST) \
274  test_quota_compliance_tcp \
275  test_quota_compliance_tcp_asymmetric_recv_constant \
276  test_quota_compliance_udp \
277  test_quota_compliance_udp_asymmetric_recv_constant \
278  $(UNIX_QUOTA_TEST) \
279  $(HTTP_QUOTA_TEST) \
280  $(HTTPS_QUOTA_TEST) \
281  $(WLAN_API_TEST) \
282  $(WLAN_REL_TEST) \
283  $(WLAN_UREL_TEST)
284
285 if ENABLE_TEST_RUN
286 TESTS = \
287  test_transport_testing \
288  test_transport_startonly \
289  test_transport_api_disconnect \
290  test_transport_api_multiaddress_tcp \
291  test_transport_api_tcp \
292  test_transport_api_limited_sockets_tcp \
293  test_transport_api_tcp_nat \
294  test_transport_api_udp \
295  $(UNIX_PLUGIN_TEST) \
296  test_transport_api_udp_nat \
297  $(HTTP_PLUGIN_TEST) \
298  $(HTTP_API_TEST) \
299  $(HTTPS_PLUGIN_TEST) \
300  $(HTTPS_API_TEST) \
301  test_transport_api_multi \
302  test_transport_api_reliability_tcp \
303  test_transport_api_reliability_tcp_nat \
304  test_transport_api_unreliability_udp \
305  $(UNIX_REL_TEST) \
306  $(HTTP_REL_TEST) \
307  $(HTTPS_REL_TEST) \
308  test_quota_compliance_tcp \
309  test_quota_compliance_tcp_asymmetric_recv_constant \
310  test_quota_compliance_udp \
311  test_quota_compliance_udp_asymmetric_recv_constant \
312  $(UNIX_QUOTA_TEST) \
313  $(HTTP_QUOTA_TEST) \
314  $(HTTPS_QUOTA_TEST) \
315  $(WLAN_API_TEST) \
316  $(WLAN_REL_TEST) \
317  $(WLAN_UREL_TEST)
318 endif
319
320 test_transport_testing_SOURCES = \
321  test_transport_testing.c
322 test_transport_testing_LDADD = \
323  $(top_builddir)/src/util/libgnunetutil.la \
324  $(top_builddir)/src/transport/libgnunettransport.la \
325  $(top_builddir)/src/hello/libgnunethello.la \
326  $(top_builddir)/src/transport/libgnunettransporttesting.la 
327
328 gnunet_transport_connect_running_peers_SOURCES = \
329  gnunet-transport-connect-running-peers.c
330 gnunet_transport_connect_running_peers_LDADD = \
331  $(top_builddir)/src/transport/libgnunettransport.la \
332  $(top_builddir)/src/hello/libgnunethello.la \
333  $(top_builddir)/src/util/libgnunetutil.la \
334  $(top_builddir)/src/transport/libgnunettransporttesting.la 
335
336 test_transport_api_disconnect_SOURCES = \
337  test_transport_api_disconnect.c
338 test_transport_api_disconnect_LDADD = \
339  $(top_builddir)/src/transport/libgnunettransport.la \
340  $(top_builddir)/src/hello/libgnunethello.la \
341  $(top_builddir)/src/statistics/libgnunetstatistics.la \
342  $(top_builddir)/src/util/libgnunetutil.la 
343
344 test_transport_startonly_SOURCES = \
345  test_transport_startonly.c
346 test_transport_startonly_LDADD = \
347  $(top_builddir)/src/transport/libgnunettransport.la \
348  $(top_builddir)/src/hello/libgnunethello.la \
349  $(top_builddir)/src/statistics/libgnunetstatistics.la \
350  $(top_builddir)/src/util/libgnunetutil.la \
351  $(top_builddir)/src/transport/libgnunettransporttesting.la 
352
353 test_transport_api_tcp_SOURCES = \
354  test_transport_api.c
355 test_transport_api_tcp_LDADD = \
356  $(top_builddir)/src/transport/libgnunettransport.la \
357  $(top_builddir)/src/hello/libgnunethello.la \
358  $(top_builddir)/src/util/libgnunetutil.la  \
359  $(top_builddir)/src/transport/libgnunettransporttesting.la
360   
361 test_transport_api_limited_sockets_tcp_SOURCES = \
362  test_transport_api_limited_sockets.c
363 test_transport_api_limited_sockets_tcp_LDADD = \
364  $(top_builddir)/src/transport/libgnunettransport.la \
365  $(top_builddir)/src/hello/libgnunethello.la \
366  $(top_builddir)/src/util/libgnunetutil.la  \
367  $(top_builddir)/src/transport/libgnunettransporttesting.la
368
369 test_transport_api_tcp_nat_SOURCES = \
370  test_transport_api.c
371 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
378  test_transport_api_reliability.c
379 test_transport_api_reliability_tcp_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_multiaddress_tcp_SOURCES = \
386  test_transport_api_multiaddress.c
387 test_transport_api_multiaddress_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_reliability_tcp_nat_SOURCES = \
394  test_transport_api_reliability.c
395 test_transport_api_reliability_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_wlan_SOURCES = \
402  test_transport_api_reliability.c
403 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
410  test_transport_api_unreliability.c
411 test_transport_api_unreliability_wlan_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_udp_SOURCES = \
418  test_transport_api.c
419 test_transport_api_udp_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_udp_nat_SOURCES = \
426  test_transport_api.c
427 test_transport_api_udp_nat_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_unix_SOURCES = \
434  test_transport_api.c
435 test_transport_api_unix_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_plugin_transport_http_SOURCES = \
442 # test_plugin_transport_http.c
443 #test_plugin_transport_http_LDADD = \
444 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
445 # @LIBCURL@ \
446 # $(top_builddir)/src/hello/libgnunethello.la \
447 # $(top_builddir)/src/util/libgnunetutil.la  
448
449 test_transport_api_http_SOURCES = \
450  test_transport_api.c
451 test_transport_api_http_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_reliability_http_SOURCES = \
458  test_transport_api_reliability.c
459 test_transport_api_reliability_http_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_plugin_transport_https_SOURCES = \
466 # test_plugin_transport_https.c
467 #test_plugin_transport_https_LDADD = \
468 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
469 # @LIBCURL@ \
470 # $(top_builddir)/src/hello/libgnunethello.la \
471 # $(top_builddir)/src/util/libgnunetutil.la  
472
473 test_transport_api_https_SOURCES = \
474  test_transport_api.c
475 test_transport_api_https_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_transport_api_reliability_https_SOURCES = \
482  test_transport_api_reliability.c
483 test_transport_api_reliability_https_LDADD = \
484  $(top_builddir)/src/transport/libgnunettransport.la \
485  $(top_builddir)/src/hello/libgnunethello.la \
486  $(top_builddir)/src/util/libgnunetutil.la \
487  $(top_builddir)/src/transport/libgnunettransporttesting.la 
488
489 test_transport_api_unreliability_unix_SOURCES = \
490  test_transport_api_unreliability.c
491 test_transport_api_unreliability_unix_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_unreliability_udp_SOURCES = \
498  test_transport_api_unreliability.c
499 test_transport_api_unreliability_udp_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
506 if LINUX
507 test_transport_api_wlan_SOURCES = \
508  test_transport_api.c
509 test_transport_api_wlan_LDADD = \
510  $(top_builddir)/src/transport/libgnunettransport.la \
511  $(top_builddir)/src/hello/libgnunethello.la \
512  $(top_builddir)/src/util/libgnunetutil.la \
513  $(top_builddir)/src/transport/libgnunettransporttesting.la  
514 endif
515
516 test_quota_compliance_tcp_SOURCES = \
517  test_quota_compliance.c
518 test_quota_compliance_tcp_LDADD = \
519  $(top_builddir)/src/transport/libgnunettransport.la \
520  $(top_builddir)/src/hello/libgnunethello.la \
521  $(top_builddir)/src/util/libgnunetutil.la \
522  $(top_builddir)/src/transport/libgnunettransporttesting.la 
523
524 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
525  test_quota_compliance.c
526 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
527  $(top_builddir)/src/transport/libgnunettransport.la \
528  $(top_builddir)/src/hello/libgnunethello.la \
529  $(top_builddir)/src/util/libgnunetutil.la
530
531 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
532 # test_quota_compliance.c
533 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
534 # $(top_builddir)/src/transport/libgnunettransport.la \
535 # $(top_builddir)/src/util/libgnunetutil.la
536
537 test_quota_compliance_http_SOURCES = \
538  test_quota_compliance.c
539 test_quota_compliance_http_LDADD = \
540  $(top_builddir)/src/transport/libgnunettransport.la \
541  $(top_builddir)/src/hello/libgnunethello.la \
542  $(top_builddir)/src/util/libgnunetutil.la
543
544  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
545  test_quota_compliance.c
546 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
547  $(top_builddir)/src/transport/libgnunettransport.la \
548  $(top_builddir)/src/hello/libgnunethello.la \
549  $(top_builddir)/src/util/libgnunetutil.la
550
551 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
552 # test_quota_compliance.c
553 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
554 # $(top_builddir)/src/transport/libgnunettransport.la \
555 # $(top_builddir)/src/util/libgnunetutil.la
556
557 test_quota_compliance_https_SOURCES = \
558  test_quota_compliance.c
559 test_quota_compliance_https_LDADD = \
560  $(top_builddir)/src/transport/libgnunettransport.la \
561  $(top_builddir)/src/hello/libgnunethello.la \
562  $(top_builddir)/src/util/libgnunetutil.la
563
564  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
565  test_quota_compliance.c
566 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
567  $(top_builddir)/src/transport/libgnunettransport.la \
568  $(top_builddir)/src/hello/libgnunethello.la \
569  $(top_builddir)/src/util/libgnunetutil.la
570
571 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
572 # test_quota_compliance.c
573 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
574 # $(top_builddir)/src/transport/libgnunettransport.la \
575 # $(top_builddir)/src/util/libgnunetutil.la
576
577 test_quota_compliance_udp_SOURCES = \
578  test_quota_compliance.c
579 test_quota_compliance_udp_LDADD = \
580  $(top_builddir)/src/transport/libgnunettransport.la \
581  $(top_builddir)/src/hello/libgnunethello.la \
582  $(top_builddir)/src/util/libgnunetutil.la
583
584 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
585  test_quota_compliance.c
586 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
587  $(top_builddir)/src/transport/libgnunettransport.la \
588  $(top_builddir)/src/hello/libgnunethello.la \
589  $(top_builddir)/src/util/libgnunetutil.la
590
591 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
592 # test_quota_compliance.c
593 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
594 # $(top_builddir)/src/transport/libgnunettransport.la \
595 # $(top_builddir)/src/util/libgnunetutil.la 
596
597 test_quota_compliance_unix_SOURCES = \
598  test_quota_compliance.c
599 test_quota_compliance_unix_LDADD = \
600  $(top_builddir)/src/transport/libgnunettransport.la \
601  $(top_builddir)/src/hello/libgnunethello.la \
602  $(top_builddir)/src/util/libgnunetutil.la
603
604 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
605  test_quota_compliance.c
606 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
607  $(top_builddir)/src/transport/libgnunettransport.la \
608  $(top_builddir)/src/hello/libgnunethello.la \
609  $(top_builddir)/src/util/libgnunetutil.la
610
611
612 test_transport_api_multi_SOURCES = \
613  test_transport_api.c
614 test_transport_api_multi_LDADD = \
615  $(top_builddir)/src/transport/libgnunettransport.la \
616  $(top_builddir)/src/hello/libgnunethello.la \
617  $(top_builddir)/src/util/libgnunetutil.la \
618  $(top_builddir)/src/transport/libgnunettransporttesting.la 
619
620
621 EXTRA_DIST = \
622 gnunet-transport-certificate-creation \
623 template_cfg_peer1.conf\
624 template_cfg_peer2.conf\
625 test_plugin_transport_data.conf\
626 test_plugin_transport_data_http.conf\
627 test_plugin_transport_data_udp.conf\
628 test_quota_compliance_data.conf\
629 test_quota_compliance_http_peer1.conf\
630 test_quota_compliance_http_peer2.conf\
631 test_quota_compliance_https_peer1.conf\
632 test_quota_compliance_https_peer2.conf\
633 test_quota_compliance_tcp_peer1.conf\
634 test_quota_compliance_tcp_peer2.conf\
635 test_quota_compliance_udp_peer1.conf\
636 test_quota_compliance_udp_peer2.conf\
637 test_quota_compliance_unix_peer1.conf\
638 test_quota_compliance_unix_peer2.conf\
639 test_transport_api_data.conf\
640 test_transport_api_http_peer1.conf\
641 test_transport_api_http_peer2.conf\
642 test_transport_api_https_peer1.conf\
643 test_transport_api_https_peer2.conf\
644 test_transport_api_limited_sockets_tcp_peer1.conf\
645 test_transport_api_limited_sockets_tcp_peer2.conf\
646 test_transport_api_multiaddress_tcp_peer1.conf\
647 test_transport_api_multiaddress_tcp_peer2.conf\
648 test_transport_api_multi_peer1.conf\
649 test_transport_api_multi_peer2.conf\
650 test_transport_api_reliability_http_peer1.conf\
651 test_transport_api_reliability_http_peer2.conf\
652 test_transport_api_reliability_https_peer1.conf\
653 test_transport_api_reliability_https_peer2.conf\
654 test_transport_api_reliability_tcp_nat_peer1.conf\
655 test_transport_api_reliability_tcp_nat_peer2.conf\
656 test_transport_api_reliability_tcp_peer1.conf\
657 test_transport_api_reliability_tcp_peer2.conf\
658 test_transport_api_reliability_wlan_peer1.conf\
659 test_transport_api_reliability_wlan_peer2.conf\
660 test_transport_api_tcp_nat_peer1.conf\
661 test_transport_api_tcp_nat_peer2.conf\
662 test_transport_api_tcp_peer1.conf\
663 test_transport_api_tcp_peer2.conf\
664 test_transport_api_udp_nat_peer1.conf\
665 test_transport_api_udp_nat_peer2.conf\
666 test_transport_api_udp_peer1.conf\
667 test_transport_api_udp_peer2.conf\
668 test_transport_api_unix_peer1.conf\
669 test_transport_api_unix_peer2.conf\
670 test_transport_api_unreliability_udp_peer1.conf\
671 test_transport_api_unreliability_udp_peer2.conf\
672 test_transport_api_unreliability_unix_peer1.conf\
673 test_transport_api_unreliability_unix_peer2.conf\
674 test_transport_api_unreliability_wlan_peer1.conf\
675 test_transport_api_unreliability_wlan_peer2.conf\
676 test_transport_api_wlan_peer1.conf\
677 test_transport_api_wlan_peer2.conf\
678 test_transport_defaults.conf\
679 test_transport_startonly.conf