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