4089a195a75326a4e32b3614542d196f778eca23
[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 transport-testing.h
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-transport-list-connections \
91  gnunet-transport-certificate-creation
92
93 #bin_SCRIPTS = \
94 # gnunet-transport-certificate-creation
95
96 gnunet_transport_certificate_creation_SOURCES = \
97  gnunet-transport-certificate-creation.c
98 gnunet_transport_certificate_creation_LDADD = \
99   $(top_builddir)/src/util/libgnunetutil.la
100
101 gnunet_transport_wlan_helper_SOURCES = \
102  wlan/byteorder.h \
103  wlan/crctable_osdep.h \
104  wlan/helper_common.c wlan/helper_common.h \
105  wlan/ieee80211.h \
106  wlan/ieee80211_radiotap.h \
107  wlan/loopback_helper.h \
108  wlan/radiotap-parser.c wlan/radiotap-parser.h \
109  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
110 gnunet_transport_wlan_helper_LDADD = \
111   $(top_builddir)/src/util/libgnunetutil.la 
112
113 gnunet_transport_wlan_helper_dummy_SOURCES = \
114  wlan/radiotap-parser.c \
115  wlan/helper_common.c \
116  test_plugin_transport_wlan_dummy.c
117 gnunet_transport_wlan_helper_dummy_LDADD = \
118   $(top_builddir)/src/util/libgnunetutil.la 
119
120 gnunet_transport_list_connections_SOURCES = \
121  gnunet-transport-list-connections.c         
122 gnunet_transport_list_connections_LDADD = \
123   $(top_builddir)/src/transport/libgnunettransport.la \
124   $(top_builddir)/src/util/libgnunetutil.la \
125   $(GN_LIBINTL)
126 gnunet_transport_list_connections_DEPENDENCIES = \
127   libgnunettransport.la
128
129 gnunet_transport_SOURCES = \
130  gnunet-transport.c         
131 gnunet_transport_LDADD = \
132   $(top_builddir)/src/transport/libgnunettransport.la \
133   $(top_builddir)/src/util/libgnunetutil.la \
134   $(GN_LIBINTL)
135 gnunet_transport_DEPENDENCIES = \
136   libgnunettransport.la                         
137
138 gnunet_service_transport_SOURCES = \
139  gnunet-service-transport.c gnunet-service-transport.h \
140  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
141  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
142  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
143  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
144  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
145  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
146 gnunet_service_transport_LDADD = \
147   $(top_builddir)/src/ats/libgnunetats.la \
148   $(top_builddir)/src/hello/libgnunethello.la \
149   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
150   $(top_builddir)/src/statistics/libgnunetstatistics.la \
151   $(top_builddir)/src/util/libgnunetutil.la \
152   $(GN_GLPK) \
153   $(GN_LIBINTL)
154
155 plugin_LTLIBRARIES = \
156   libgnunet_plugin_transport_tcp.la \
157   libgnunet_plugin_transport_udp.la \
158   $(UNIX_PLUGIN_LA) \
159   $(HTTP_PLUGIN_LA) \
160   $(HTTPS_PLUGIN_LA) \
161   $(WLAN_PLUGIN_LA) \
162   libgnunet_plugin_transport_template.la
163
164 libgnunet_plugin_transport_tcp_la_SOURCES = \
165   plugin_transport_tcp.c
166 libgnunet_plugin_transport_tcp_la_LIBADD = \
167   $(top_builddir)/src/hello/libgnunethello.la \
168   $(top_builddir)/src/statistics/libgnunetstatistics.la \
169   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
170   $(top_builddir)/src/nat/libgnunetnat.la \
171   $(top_builddir)/src/util/libgnunetutil.la 
172 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
173  $(GN_PLUGIN_LDFLAGS)
174
175 libgnunet_plugin_transport_template_la_SOURCES = \
176   plugin_transport_template.c
177 libgnunet_plugin_transport_template_la_LIBADD = \
178   $(top_builddir)/src/util/libgnunetutil.la 
179 libgnunet_plugin_transport_template_la_LDFLAGS = \
180  $(GN_PLUGIN_LDFLAGS)
181
182 libgnunet_plugin_transport_wlan_la_SOURCES = \
183   plugin_transport_wlan.c plugin_transport_wlan.h
184 libgnunet_plugin_transport_wlan_la_LIBADD = \
185   $(top_builddir)/src/hello/libgnunethello.la \
186   $(top_builddir)/src/statistics/libgnunetstatistics.la \
187   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
188   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
189   $(top_builddir)/src/util/libgnunetutil.la 
190 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
191   $(GN_PLUGIN_LDFLAGS)
192
193 libgnunet_plugin_transport_udp_la_SOURCES = \
194   plugin_transport_udp.c
195 libgnunet_plugin_transport_udp_la_LIBADD = \
196   $(top_builddir)/src/hello/libgnunethello.la \
197   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
198   $(top_builddir)/src/statistics/libgnunetstatistics.la \
199   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
200   $(top_builddir)/src/nat/libgnunetnat.la \
201   $(top_builddir)/src/util/libgnunetutil.la 
202 libgnunet_plugin_transport_udp_la_LDFLAGS = \
203  $(GN_PLUGIN_LDFLAGS)
204
205 libgnunet_plugin_transport_unix_la_SOURCES = \
206   plugin_transport_unix.c
207 libgnunet_plugin_transport_unix_la_LIBADD = \
208   $(top_builddir)/src/hello/libgnunethello.la \
209   $(top_builddir)/src/statistics/libgnunetstatistics.la \
210   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
211   $(top_builddir)/src/util/libgnunetutil.la 
212 libgnunet_plugin_transport_unix_la_LDFLAGS = \
213  $(GN_PLUGIN_LDFLAGS)
214
215 libgnunet_plugin_transport_http_la_SOURCES = \
216   plugin_transport_http.c
217 libgnunet_plugin_transport_http_la_LIBADD = \
218   $(top_builddir)/src/hello/libgnunethello.la \
219   $(top_builddir)/src/statistics/libgnunetstatistics.la \
220   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
221   @LIBCURL@ \
222   $(top_builddir)/src/nat/libgnunetnat.la \
223   $(top_builddir)/src/util/libgnunetutil.la 
224 libgnunet_plugin_transport_http_la_LDFLAGS = \
225  $(GN_LIBMHD) \
226  $(GN_PLUGIN_LDFLAGS)
227 libgnunet_plugin_transport_http_la_CFLAGS = \
228  $(CFLAGS) 
229 libgnunet_plugin_transport_http_la_CPPFLAGS = \
230  @LIBCURL_CPPFLAGS@
231
232 libgnunet_plugin_transport_https_la_SOURCES = \
233   plugin_transport_http.c
234 libgnunet_plugin_transport_https_la_LIBADD = \
235   $(top_builddir)/src/hello/libgnunethello.la \
236   $(top_builddir)/src/statistics/libgnunetstatistics.la \
237   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
238   @LIBCURL@ \
239   $(top_builddir)/src/nat/libgnunetnat.la \
240   $(top_builddir)/src/util/libgnunetutil.la 
241 libgnunet_plugin_transport_https_la_LDFLAGS = \
242  $(GN_LIBMHD) \
243  $(GN_PLUGIN_LDFLAGS)
244 libgnunet_plugin_transport_https_la_CFLAGS = \
245  $(CFLAGS) -DBUILD_HTTPS 
246 libgnunet_plugin_transport_https_la_CPPFLAGS = \
247  @LIBCURL_CPPFLAGS@
248
249
250 check_PROGRAMS = \
251  test_transport_testing \
252  test_transport_startonly \
253  test_transport_api_disconnect \
254  test_transport_api_multiaddress_tcp \
255  test_transport_api_tcp \
256  test_transport_api_limited_sockets_tcp \
257  test_transport_api_tcp_nat \
258  test_transport_api_udp \
259  $(UNIX_PLUGIN_TEST) \
260  test_transport_api_udp_nat \
261  $(HTTP_PLUGIN_TEST) \
262  $(HTTP_API_TEST) \
263  $(HTTPS_PLUGIN_TEST) \
264  $(HTTPS_API_TEST) \
265  test_transport_api_multi \
266  test_transport_api_reliability_tcp \
267  test_transport_api_reliability_tcp_nat \
268  test_transport_api_unreliability_udp \
269  $(UNIX_REL_TEST) \
270  $(HTTP_REL_TEST) \
271  $(HTTPS_REL_TEST) \
272  test_quota_compliance_tcp \
273  test_quota_compliance_tcp_asymmetric_recv_constant \
274  test_quota_compliance_udp \
275  test_quota_compliance_udp_asymmetric_recv_constant \
276  $(UNIX_QUOTA_TEST) \
277  $(HTTP_QUOTA_TEST) \
278  $(HTTPS_QUOTA_TEST) \
279  $(WLAN_API_TEST) \
280  $(WLAN_REL_TEST) \
281  $(WLAN_UREL_TEST)
282
283 if ENABLE_TEST_RUN
284 TESTS = \
285  test_transport_testing \
286  test_transport_startonly \
287  test_transport_api_disconnect \
288  test_transport_api_multiaddress_tcp \
289  test_transport_api_tcp \
290  test_transport_api_limited_sockets_tcp \
291  test_transport_api_tcp_nat \
292  test_transport_api_udp \
293  $(UNIX_PLUGIN_TEST) \
294  test_transport_api_udp_nat \
295  $(HTTP_PLUGIN_TEST) \
296  $(HTTP_API_TEST) \
297  $(HTTPS_PLUGIN_TEST) \
298  $(HTTPS_API_TEST) \
299  test_transport_api_multi \
300  test_transport_api_reliability_tcp \
301  test_transport_api_reliability_tcp_nat \
302  test_transport_api_unreliability_udp \
303  $(UNIX_REL_TEST) \
304  $(HTTP_REL_TEST) \
305  $(HTTPS_REL_TEST) \
306  test_quota_compliance_tcp \
307  test_quota_compliance_tcp_asymmetric_recv_constant \
308  test_quota_compliance_udp \
309  test_quota_compliance_udp_asymmetric_recv_constant \
310  $(UNIX_QUOTA_TEST) \
311  $(HTTP_QUOTA_TEST) \
312  $(HTTPS_QUOTA_TEST) \
313  $(WLAN_API_TEST) \
314  $(WLAN_REL_TEST) \
315  $(WLAN_UREL_TEST)
316 endif
317
318 test_transport_testing_SOURCES = \
319  test_transport_testing.c
320 test_transport_testing_LDADD = \
321  $(top_builddir)/src/util/libgnunetutil.la \
322  $(top_builddir)/src/transport/libgnunettransport.la \
323  $(top_builddir)/src/hello/libgnunethello.la \
324  $(top_builddir)/src/transport/libgnunettransporttesting.la 
325
326 gnunet_transport_connect_running_peers_SOURCES = \
327  gnunet-transport-connect-running-peers.c
328 gnunet_transport_connect_running_peers_LDADD = \
329  $(top_builddir)/src/transport/libgnunettransport.la \
330  $(top_builddir)/src/hello/libgnunethello.la \
331  $(top_builddir)/src/util/libgnunetutil.la \
332  $(top_builddir)/src/transport/libgnunettransporttesting.la 
333
334 test_transport_api_disconnect_SOURCES = \
335  test_transport_api_disconnect.c
336 test_transport_api_disconnect_LDADD = \
337  $(top_builddir)/src/transport/libgnunettransport.la \
338  $(top_builddir)/src/hello/libgnunethello.la \
339  $(top_builddir)/src/statistics/libgnunetstatistics.la \
340  $(top_builddir)/src/util/libgnunetutil.la 
341
342 test_transport_startonly_SOURCES = \
343  test_transport_startonly.c
344 test_transport_startonly_LDADD = \
345  $(top_builddir)/src/transport/libgnunettransport.la \
346  $(top_builddir)/src/hello/libgnunethello.la \
347  $(top_builddir)/src/statistics/libgnunetstatistics.la \
348  $(top_builddir)/src/util/libgnunetutil.la \
349  $(top_builddir)/src/transport/libgnunettransporttesting.la 
350
351 test_transport_api_tcp_SOURCES = \
352  test_transport_api.c
353 test_transport_api_tcp_LDADD = \
354  $(top_builddir)/src/transport/libgnunettransport.la \
355  $(top_builddir)/src/hello/libgnunethello.la \
356  $(top_builddir)/src/util/libgnunetutil.la  \
357  $(top_builddir)/src/transport/libgnunettransporttesting.la
358   
359 test_transport_api_limited_sockets_tcp_SOURCES = \
360  test_transport_api_limited_sockets.c
361 test_transport_api_limited_sockets_tcp_LDADD = \
362  $(top_builddir)/src/transport/libgnunettransport.la \
363  $(top_builddir)/src/hello/libgnunethello.la \
364  $(top_builddir)/src/util/libgnunetutil.la  \
365  $(top_builddir)/src/transport/libgnunettransporttesting.la
366
367 test_transport_api_tcp_nat_SOURCES = \
368  test_transport_api.c
369 test_transport_api_tcp_nat_LDADD = \
370  $(top_builddir)/src/transport/libgnunettransport.la \
371  $(top_builddir)/src/hello/libgnunethello.la \
372  $(top_builddir)/src/util/libgnunetutil.la \
373  $(top_builddir)/src/transport/libgnunettransporttesting.la 
374
375 test_transport_api_reliability_tcp_SOURCES = \
376  test_transport_api_reliability.c
377 test_transport_api_reliability_tcp_LDADD = \
378  $(top_builddir)/src/transport/libgnunettransport.la \
379  $(top_builddir)/src/hello/libgnunethello.la \
380  $(top_builddir)/src/util/libgnunetutil.la \
381  $(top_builddir)/src/transport/libgnunettransporttesting.la 
382
383 test_transport_api_multiaddress_tcp_SOURCES = \
384  test_transport_api_multiaddress.c
385 test_transport_api_multiaddress_tcp_LDADD = \
386  $(top_builddir)/src/transport/libgnunettransport.la \
387  $(top_builddir)/src/hello/libgnunethello.la \
388  $(top_builddir)/src/util/libgnunetutil.la \
389  $(top_builddir)/src/transport/libgnunettransporttesting.la 
390
391 test_transport_api_reliability_tcp_nat_SOURCES = \
392  test_transport_api_reliability.c
393 test_transport_api_reliability_tcp_nat_LDADD = \
394  $(top_builddir)/src/transport/libgnunettransport.la \
395  $(top_builddir)/src/hello/libgnunethello.la \
396  $(top_builddir)/src/util/libgnunetutil.la \
397  $(top_builddir)/src/transport/libgnunettransporttesting.la 
398
399 test_transport_api_reliability_wlan_SOURCES = \
400  test_transport_api_reliability.c
401 test_transport_api_reliability_wlan_LDADD = \
402  $(top_builddir)/src/transport/libgnunettransport.la \
403  $(top_builddir)/src/hello/libgnunethello.la \
404  $(top_builddir)/src/util/libgnunetutil.la \
405  $(top_builddir)/src/transport/libgnunettransporttesting.la 
406
407 test_transport_api_unreliability_wlan_SOURCES = \
408  test_transport_api_unreliability.c
409 test_transport_api_unreliability_wlan_LDADD = \
410  $(top_builddir)/src/transport/libgnunettransport.la \
411  $(top_builddir)/src/hello/libgnunethello.la \
412  $(top_builddir)/src/util/libgnunetutil.la \
413  $(top_builddir)/src/transport/libgnunettransporttesting.la 
414  
415 test_transport_api_udp_SOURCES = \
416  test_transport_api.c
417 test_transport_api_udp_LDADD = \
418  $(top_builddir)/src/transport/libgnunettransport.la \
419  $(top_builddir)/src/hello/libgnunethello.la \
420  $(top_builddir)/src/util/libgnunetutil.la  \
421  $(top_builddir)/src/transport/libgnunettransporttesting.la 
422
423 test_transport_api_udp_nat_SOURCES = \
424  test_transport_api.c
425 test_transport_api_udp_nat_LDADD = \
426  $(top_builddir)/src/transport/libgnunettransport.la \
427  $(top_builddir)/src/hello/libgnunethello.la \
428  $(top_builddir)/src/util/libgnunetutil.la  \
429  $(top_builddir)/src/transport/libgnunettransporttesting.la  
430
431 test_transport_api_unix_SOURCES = \
432  test_transport_api.c
433 test_transport_api_unix_LDADD = \
434  $(top_builddir)/src/transport/libgnunettransport.la \
435  $(top_builddir)/src/hello/libgnunethello.la \
436  $(top_builddir)/src/util/libgnunetutil.la \
437  $(top_builddir)/src/transport/libgnunettransporttesting.la 
438
439 #test_plugin_transport_http_SOURCES = \
440 # test_plugin_transport_http.c
441 #test_plugin_transport_http_LDADD = \
442 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
443 # @LIBCURL@ \
444 # $(top_builddir)/src/hello/libgnunethello.la \
445 # $(top_builddir)/src/util/libgnunetutil.la  
446
447 test_transport_api_http_SOURCES = \
448  test_transport_api.c
449 test_transport_api_http_LDADD = \
450  $(top_builddir)/src/transport/libgnunettransport.la \
451  $(top_builddir)/src/hello/libgnunethello.la \
452  $(top_builddir)/src/util/libgnunetutil.la \
453  $(top_builddir)/src/transport/libgnunettransporttesting.la 
454
455 test_transport_api_reliability_http_SOURCES = \
456  test_transport_api_reliability.c
457 test_transport_api_reliability_http_LDADD = \
458  $(top_builddir)/src/transport/libgnunettransport.la \
459  $(top_builddir)/src/hello/libgnunethello.la \
460  $(top_builddir)/src/util/libgnunetutil.la \
461  $(top_builddir)/src/transport/libgnunettransporttesting.la 
462
463 #test_plugin_transport_https_SOURCES = \
464 # test_plugin_transport_https.c
465 #test_plugin_transport_https_LDADD = \
466 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
467 # @LIBCURL@ \
468 # $(top_builddir)/src/hello/libgnunethello.la \
469 # $(top_builddir)/src/util/libgnunetutil.la  
470
471 test_transport_api_https_SOURCES = \
472  test_transport_api.c
473 test_transport_api_https_LDADD = \
474  $(top_builddir)/src/transport/libgnunettransport.la \
475  $(top_builddir)/src/hello/libgnunethello.la \
476  $(top_builddir)/src/util/libgnunetutil.la  \
477  $(top_builddir)/src/transport/libgnunettransporttesting.la 
478
479 test_transport_api_reliability_https_SOURCES = \
480  test_transport_api_reliability.c
481 test_transport_api_reliability_https_LDADD = \
482  $(top_builddir)/src/transport/libgnunettransport.la \
483  $(top_builddir)/src/hello/libgnunethello.la \
484  $(top_builddir)/src/util/libgnunetutil.la \
485  $(top_builddir)/src/transport/libgnunettransporttesting.la 
486
487 test_transport_api_unreliability_unix_SOURCES = \
488  test_transport_api_unreliability.c
489 test_transport_api_unreliability_unix_LDADD = \
490  $(top_builddir)/src/transport/libgnunettransport.la \
491  $(top_builddir)/src/hello/libgnunethello.la \
492  $(top_builddir)/src/util/libgnunetutil.la \
493  $(top_builddir)/src/transport/libgnunettransporttesting.la 
494
495 test_transport_api_unreliability_udp_SOURCES = \
496  test_transport_api_unreliability.c
497 test_transport_api_unreliability_udp_LDADD = \
498  $(top_builddir)/src/transport/libgnunettransport.la \
499  $(top_builddir)/src/hello/libgnunethello.la \
500  $(top_builddir)/src/util/libgnunetutil.la \
501  $(top_builddir)/src/transport/libgnunettransporttesting.la 
502
503
504 if LINUX
505 test_transport_api_wlan_SOURCES = \
506  test_transport_api.c
507 test_transport_api_wlan_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 endif
513
514 test_quota_compliance_tcp_SOURCES = \
515  test_quota_compliance.c
516 test_quota_compliance_tcp_LDADD = \
517  $(top_builddir)/src/transport/libgnunettransport.la \
518  $(top_builddir)/src/hello/libgnunethello.la \
519  $(top_builddir)/src/util/libgnunetutil.la \
520  $(top_builddir)/src/transport/libgnunettransporttesting.la 
521
522 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
523  test_quota_compliance.c
524 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
525  $(top_builddir)/src/transport/libgnunettransport.la \
526  $(top_builddir)/src/hello/libgnunethello.la \
527  $(top_builddir)/src/util/libgnunetutil.la
528
529 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
530 # test_quota_compliance.c
531 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
532 # $(top_builddir)/src/transport/libgnunettransport.la \
533 # $(top_builddir)/src/util/libgnunetutil.la
534
535 test_quota_compliance_http_SOURCES = \
536  test_quota_compliance.c
537 test_quota_compliance_http_LDADD = \
538  $(top_builddir)/src/transport/libgnunettransport.la \
539  $(top_builddir)/src/hello/libgnunethello.la \
540  $(top_builddir)/src/util/libgnunetutil.la
541
542  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
543  test_quota_compliance.c
544 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
545  $(top_builddir)/src/transport/libgnunettransport.la \
546  $(top_builddir)/src/hello/libgnunethello.la \
547  $(top_builddir)/src/util/libgnunetutil.la
548
549 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
550 # test_quota_compliance.c
551 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
552 # $(top_builddir)/src/transport/libgnunettransport.la \
553 # $(top_builddir)/src/util/libgnunetutil.la
554
555 test_quota_compliance_https_SOURCES = \
556  test_quota_compliance.c
557 test_quota_compliance_https_LDADD = \
558  $(top_builddir)/src/transport/libgnunettransport.la \
559  $(top_builddir)/src/hello/libgnunethello.la \
560  $(top_builddir)/src/util/libgnunetutil.la
561
562  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
563  test_quota_compliance.c
564 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
565  $(top_builddir)/src/transport/libgnunettransport.la \
566  $(top_builddir)/src/hello/libgnunethello.la \
567  $(top_builddir)/src/util/libgnunetutil.la
568
569 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
570 # test_quota_compliance.c
571 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
572 # $(top_builddir)/src/transport/libgnunettransport.la \
573 # $(top_builddir)/src/util/libgnunetutil.la
574
575 test_quota_compliance_udp_SOURCES = \
576  test_quota_compliance.c
577 test_quota_compliance_udp_LDADD = \
578  $(top_builddir)/src/transport/libgnunettransport.la \
579  $(top_builddir)/src/hello/libgnunethello.la \
580  $(top_builddir)/src/util/libgnunetutil.la
581
582 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
583  test_quota_compliance.c
584 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
585  $(top_builddir)/src/transport/libgnunettransport.la \
586  $(top_builddir)/src/hello/libgnunethello.la \
587  $(top_builddir)/src/util/libgnunetutil.la
588
589 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
590 # test_quota_compliance.c
591 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
592 # $(top_builddir)/src/transport/libgnunettransport.la \
593 # $(top_builddir)/src/util/libgnunetutil.la 
594
595 test_quota_compliance_unix_SOURCES = \
596  test_quota_compliance.c
597 test_quota_compliance_unix_LDADD = \
598  $(top_builddir)/src/transport/libgnunettransport.la \
599  $(top_builddir)/src/hello/libgnunethello.la \
600  $(top_builddir)/src/util/libgnunetutil.la
601
602 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
603  test_quota_compliance.c
604 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
605  $(top_builddir)/src/transport/libgnunettransport.la \
606  $(top_builddir)/src/hello/libgnunethello.la \
607  $(top_builddir)/src/util/libgnunetutil.la
608
609
610 test_transport_api_multi_SOURCES = \
611  test_transport_api.c
612 test_transport_api_multi_LDADD = \
613  $(top_builddir)/src/transport/libgnunettransport.la \
614  $(top_builddir)/src/hello/libgnunethello.la \
615  $(top_builddir)/src/util/libgnunetutil.la \
616  $(top_builddir)/src/transport/libgnunettransporttesting.la 
617
618
619 EXTRA_DIST = \
620 gnunet-transport-certificate-creation \
621 template_cfg_peer1.conf\
622 template_cfg_peer2.conf\
623 test_plugin_transport_data.conf\
624 test_plugin_transport_data_http.conf\
625 test_plugin_transport_data_udp.conf\
626 test_quota_compliance_data.conf\
627 test_quota_compliance_http_peer1.conf\
628 test_quota_compliance_http_peer2.conf\
629 test_quota_compliance_https_peer1.conf\
630 test_quota_compliance_https_peer2.conf\
631 test_quota_compliance_tcp_peer1.conf\
632 test_quota_compliance_tcp_peer2.conf\
633 test_quota_compliance_udp_peer1.conf\
634 test_quota_compliance_udp_peer2.conf\
635 test_quota_compliance_unix_peer1.conf\
636 test_quota_compliance_unix_peer2.conf\
637 test_transport_api_data.conf\
638 test_transport_api_http_peer1.conf\
639 test_transport_api_http_peer2.conf\
640 test_transport_api_https_peer1.conf\
641 test_transport_api_https_peer2.conf\
642 test_transport_api_limited_sockets_tcp_peer1.conf\
643 test_transport_api_limited_sockets_tcp_peer2.conf\
644 test_transport_api_multiaddress_tcp_peer1.conf\
645 test_transport_api_multiaddress_tcp_peer2.conf\
646 test_transport_api_multi_peer1.conf\
647 test_transport_api_multi_peer2.conf\
648 test_transport_api_reliability_http_peer1.conf\
649 test_transport_api_reliability_http_peer2.conf\
650 test_transport_api_reliability_https_peer1.conf\
651 test_transport_api_reliability_https_peer2.conf\
652 test_transport_api_reliability_tcp_nat_peer1.conf\
653 test_transport_api_reliability_tcp_nat_peer2.conf\
654 test_transport_api_reliability_tcp_peer1.conf\
655 test_transport_api_reliability_tcp_peer2.conf\
656 test_transport_api_reliability_wlan_peer1.conf\
657 test_transport_api_reliability_wlan_peer2.conf\
658 test_transport_api_tcp_nat_peer1.conf\
659 test_transport_api_tcp_nat_peer2.conf\
660 test_transport_api_tcp_peer1.conf\
661 test_transport_api_tcp_peer2.conf\
662 test_transport_api_udp_nat_peer1.conf\
663 test_transport_api_udp_nat_peer2.conf\
664 test_transport_api_udp_peer1.conf\
665 test_transport_api_udp_peer2.conf\
666 test_transport_api_unix_peer1.conf\
667 test_transport_api_unix_peer2.conf\
668 test_transport_api_unreliability_udp_peer1.conf\
669 test_transport_api_unreliability_udp_peer2.conf\
670 test_transport_api_unreliability_unix_peer1.conf\
671 test_transport_api_unreliability_unix_peer2.conf\
672 test_transport_api_unreliability_wlan_peer1.conf\
673 test_transport_api_unreliability_wlan_peer2.conf\
674 test_transport_api_wlan_peer1.conf\
675 test_transport_api_wlan_peer2.conf\
676 test_transport_defaults.conf\
677 test_transport_startonly.conf