Cleanup
[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 gnunet_transport_wlan_helper_LDADD = \
112   $(top_builddir)/src/util/libgnunetutil.la 
113
114 gnunet_transport_wlan_helper_dummy_SOURCES = \
115  wlan/radiotap-parser.c \
116  wlan/helper_common.c \
117  test_plugin_transport_wlan_dummy.c
118 gnunet_transport_wlan_helper_dummy_LDADD = \
119   $(top_builddir)/src/util/libgnunetutil.la 
120   
121 gnunet_transport_list_connections_SOURCES = \
122  gnunet-transport-list-connections.c         
123 gnunet_transport_list_connections_LDADD = \
124   $(top_builddir)/src/transport/libgnunettransport.la \
125   $(top_builddir)/src/util/libgnunetutil.la \
126   $(GN_LIBINTL)
127 gnunet_transport_list_connections_DEPENDENCIES = \
128   libgnunettransport.la
129
130 gnunet_transport_SOURCES = \
131  gnunet-transport.c         
132 gnunet_transport_LDADD = \
133   $(top_builddir)/src/transport/libgnunettransport.la \
134   $(top_builddir)/src/util/libgnunetutil.la \
135   $(GN_LIBINTL)
136 gnunet_transport_DEPENDENCIES = \
137   libgnunettransport.la                         
138
139 gnunet_service_transport_SOURCES = \
140   gnunet-service-transport.c
141 gnunet_service_transport_LDADD = \
142   $(top_builddir)/src/ats/libgnunetats.la \
143   $(top_builddir)/src/hello/libgnunethello.la \
144   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
145   $(top_builddir)/src/statistics/libgnunetstatistics.la \
146   $(top_builddir)/src/util/libgnunetutil.la \
147   $(GN_GLPK) \
148   $(GN_LIBINTL)
149
150 gnunet_service_transport_new_SOURCES = \
151  gnunet-service-transport-new.c gnunet-service-transport.h \
152  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
153  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
154  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
155  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
156  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
157  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
158 gnunet_service_transport_new_LDADD = \
159   $(top_builddir)/src/ats/libgnunetats.la \
160   $(top_builddir)/src/hello/libgnunethello.la \
161   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
162   $(top_builddir)/src/statistics/libgnunetstatistics.la \
163   $(top_builddir)/src/util/libgnunetutil.la \
164   $(GN_GLPK) \
165   $(GN_LIBINTL)
166
167 plugin_LTLIBRARIES = \
168   libgnunet_plugin_transport_tcp.la \
169   libgnunet_plugin_transport_udp.la \
170   $(UNIX_PLUGIN_LA) \
171   $(HTTP_PLUGIN_LA) \
172   $(HTTPS_PLUGIN_LA) \
173   $(WLAN_PLUGIN_LA) \
174   libgnunet_plugin_transport_template.la
175
176 libgnunet_plugin_transport_tcp_la_SOURCES = \
177   plugin_transport_tcp.c
178 libgnunet_plugin_transport_tcp_la_LIBADD = \
179   $(top_builddir)/src/hello/libgnunethello.la \
180   $(top_builddir)/src/statistics/libgnunetstatistics.la \
181   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
182   $(top_builddir)/src/nat/libgnunetnat.la \
183   $(top_builddir)/src/util/libgnunetutil.la 
184 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
185  $(GN_PLUGIN_LDFLAGS)
186
187 libgnunet_plugin_transport_template_la_SOURCES = \
188   plugin_transport_template.c
189 libgnunet_plugin_transport_template_la_LIBADD = \
190   $(top_builddir)/src/util/libgnunetutil.la 
191 libgnunet_plugin_transport_template_la_LDFLAGS = \
192  $(GN_PLUGIN_LDFLAGS)
193
194 libgnunet_plugin_transport_wlan_la_SOURCES = \
195   plugin_transport_wlan.c plugin_transport_wlan.h
196 libgnunet_plugin_transport_wlan_la_LIBADD = \
197   $(top_builddir)/src/hello/libgnunethello.la \
198   $(top_builddir)/src/statistics/libgnunetstatistics.la \
199   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
200   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
201   $(top_builddir)/src/util/libgnunetutil.la 
202 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
203   $(GN_PLUGIN_LDFLAGS)
204
205 libgnunet_plugin_transport_udp_la_SOURCES = \
206   plugin_transport_udp.c
207 libgnunet_plugin_transport_udp_la_LIBADD = \
208   $(top_builddir)/src/hello/libgnunethello.la \
209   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
210   $(top_builddir)/src/statistics/libgnunetstatistics.la \
211   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
212   $(top_builddir)/src/nat/libgnunetnat.la \
213   $(top_builddir)/src/util/libgnunetutil.la 
214 libgnunet_plugin_transport_udp_la_LDFLAGS = \
215  $(GN_PLUGIN_LDFLAGS)
216
217 libgnunet_plugin_transport_unix_la_SOURCES = \
218   plugin_transport_unix.c
219 libgnunet_plugin_transport_unix_la_LIBADD = \
220   $(top_builddir)/src/hello/libgnunethello.la \
221   $(top_builddir)/src/statistics/libgnunetstatistics.la \
222   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
223   $(top_builddir)/src/util/libgnunetutil.la 
224 libgnunet_plugin_transport_unix_la_LDFLAGS = \
225  $(GN_PLUGIN_LDFLAGS)
226
227 libgnunet_plugin_transport_http_la_SOURCES = \
228   plugin_transport_http.c
229 libgnunet_plugin_transport_http_la_LIBADD = \
230   $(top_builddir)/src/hello/libgnunethello.la \
231   $(top_builddir)/src/statistics/libgnunetstatistics.la \
232   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
233   @LIBCURL@ \
234   $(top_builddir)/src/nat/libgnunetnat.la \
235   $(top_builddir)/src/util/libgnunetutil.la 
236 libgnunet_plugin_transport_http_la_LDFLAGS = \
237  $(GN_LIBMHD) \
238  $(GN_PLUGIN_LDFLAGS)
239 libgnunet_plugin_transport_http_la_CFLAGS = \
240  $(CFLAGS) 
241 libgnunet_plugin_transport_http_la_CPPFLAGS = \
242  @LIBCURL_CPPFLAGS@
243
244 libgnunet_plugin_transport_https_la_SOURCES = \
245   plugin_transport_http.c
246 libgnunet_plugin_transport_https_la_LIBADD = \
247   $(top_builddir)/src/hello/libgnunethello.la \
248   $(top_builddir)/src/statistics/libgnunetstatistics.la \
249   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
250   @LIBCURL@ \
251   $(top_builddir)/src/nat/libgnunetnat.la \
252   $(top_builddir)/src/util/libgnunetutil.la 
253 libgnunet_plugin_transport_https_la_LDFLAGS = \
254  $(GN_LIBMHD) \
255  $(GN_PLUGIN_LDFLAGS)
256 libgnunet_plugin_transport_https_la_CFLAGS = \
257  $(CFLAGS) -DBUILD_HTTPS 
258 libgnunet_plugin_transport_https_la_CPPFLAGS = \
259  @LIBCURL_CPPFLAGS@
260
261
262 check_PROGRAMS = \
263  test_transport_testing \
264  test_transport_startonly \
265  test_transport_api_disconnect \
266  test_transport_api_multiaddress_tcp \
267  test_transport_api_tcp \
268  test_transport_api_limited_sockets_tcp \
269  test_transport_api_tcp_nat \
270  test_transport_api_udp \
271  $(UNIX_PLUGIN_TEST) \
272  test_transport_api_udp_nat \
273  $(HTTP_PLUGIN_TEST) \
274  $(HTTP_API_TEST) \
275  $(HTTPS_PLUGIN_TEST) \
276  $(HTTPS_API_TEST) \
277  test_transport_api_multi \
278  test_transport_api_reliability_tcp \
279  test_transport_api_reliability_tcp_nat \
280  test_transport_api_unreliability_udp \
281  $(UNIX_REL_TEST) \
282  $(HTTP_REL_TEST) \
283  $(HTTPS_REL_TEST) \
284  test_quota_compliance_tcp \
285  test_quota_compliance_tcp_asymmetric_recv_constant \
286  test_quota_compliance_udp \
287  test_quota_compliance_udp_asymmetric_recv_constant \
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 \
300  test_transport_api_multiaddress_tcp \
301  test_transport_api_tcp \
302  test_transport_api_limited_sockets_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_limited_sockets_tcp_SOURCES = \
372  test_transport_api_limited_sockets.c
373 test_transport_api_limited_sockets_tcp_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_tcp_nat_SOURCES = \
380  test_transport_api.c
381 test_transport_api_tcp_nat_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 test_transport_api_reliability_tcp_SOURCES = \
388  test_transport_api_reliability.c
389 test_transport_api_reliability_tcp_LDADD = \
390  $(top_builddir)/src/transport/libgnunettransport.la \
391  $(top_builddir)/src/hello/libgnunethello.la \
392  $(top_builddir)/src/util/libgnunetutil.la \
393  $(top_builddir)/src/transport/libgnunettransporttesting.la 
394
395 test_transport_api_multiaddress_tcp_SOURCES = \
396  test_transport_api_multiaddress.c
397 test_transport_api_multiaddress_tcp_LDADD = \
398  $(top_builddir)/src/transport/libgnunettransport.la \
399  $(top_builddir)/src/hello/libgnunethello.la \
400  $(top_builddir)/src/util/libgnunetutil.la \
401  $(top_builddir)/src/transport/libgnunettransporttesting.la 
402
403 test_transport_api_reliability_tcp_nat_SOURCES = \
404  test_transport_api_reliability.c
405 test_transport_api_reliability_tcp_nat_LDADD = \
406  $(top_builddir)/src/transport/libgnunettransport.la \
407  $(top_builddir)/src/hello/libgnunethello.la \
408  $(top_builddir)/src/util/libgnunetutil.la \
409  $(top_builddir)/src/transport/libgnunettransporttesting.la 
410
411 test_transport_api_reliability_wlan_SOURCES = \
412  test_transport_api_reliability.c
413 test_transport_api_reliability_wlan_LDADD = \
414  $(top_builddir)/src/transport/libgnunettransport.la \
415  $(top_builddir)/src/hello/libgnunethello.la \
416  $(top_builddir)/src/util/libgnunetutil.la \
417  $(top_builddir)/src/transport/libgnunettransporttesting.la 
418
419 test_transport_api_unreliability_wlan_SOURCES = \
420  test_transport_api_unreliability.c
421 test_transport_api_unreliability_wlan_LDADD = \
422  $(top_builddir)/src/transport/libgnunettransport.la \
423  $(top_builddir)/src/hello/libgnunethello.la \
424  $(top_builddir)/src/util/libgnunetutil.la \
425  $(top_builddir)/src/transport/libgnunettransporttesting.la 
426  
427 test_transport_api_udp_SOURCES = \
428  test_transport_api.c
429 test_transport_api_udp_LDADD = \
430  $(top_builddir)/src/transport/libgnunettransport.la \
431  $(top_builddir)/src/hello/libgnunethello.la \
432  $(top_builddir)/src/util/libgnunetutil.la  \
433  $(top_builddir)/src/transport/libgnunettransporttesting.la 
434
435 test_transport_api_udp_nat_SOURCES = \
436  test_transport_api.c
437 test_transport_api_udp_nat_LDADD = \
438  $(top_builddir)/src/transport/libgnunettransport.la \
439  $(top_builddir)/src/hello/libgnunethello.la \
440  $(top_builddir)/src/util/libgnunetutil.la  \
441  $(top_builddir)/src/transport/libgnunettransporttesting.la  
442
443 test_transport_api_unix_SOURCES = \
444  test_transport_api.c
445 test_transport_api_unix_LDADD = \
446  $(top_builddir)/src/transport/libgnunettransport.la \
447  $(top_builddir)/src/hello/libgnunethello.la \
448  $(top_builddir)/src/util/libgnunetutil.la \
449  $(top_builddir)/src/transport/libgnunettransporttesting.la 
450
451 #test_plugin_transport_http_SOURCES = \
452 # test_plugin_transport_http.c
453 #test_plugin_transport_http_LDADD = \
454 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
455 # @LIBCURL@ \
456 # $(top_builddir)/src/hello/libgnunethello.la \
457 # $(top_builddir)/src/util/libgnunetutil.la  
458
459 test_transport_api_http_SOURCES = \
460  test_transport_api.c
461 test_transport_api_http_LDADD = \
462  $(top_builddir)/src/transport/libgnunettransport.la \
463  $(top_builddir)/src/hello/libgnunethello.la \
464  $(top_builddir)/src/util/libgnunetutil.la \
465  $(top_builddir)/src/transport/libgnunettransporttesting.la 
466   
467 test_transport_api_reliability_http_SOURCES = \
468  test_transport_api_reliability.c
469 test_transport_api_reliability_http_LDADD = \
470  $(top_builddir)/src/transport/libgnunettransport.la \
471  $(top_builddir)/src/hello/libgnunethello.la \
472  $(top_builddir)/src/util/libgnunetutil.la \
473  $(top_builddir)/src/transport/libgnunettransporttesting.la 
474  
475 #test_plugin_transport_https_SOURCES = \
476 # test_plugin_transport_https.c
477 #test_plugin_transport_https_LDADD = \
478 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
479 # @LIBCURL@ \
480 # $(top_builddir)/src/hello/libgnunethello.la \
481 # $(top_builddir)/src/util/libgnunetutil.la  
482
483 test_transport_api_https_SOURCES = \
484  test_transport_api.c
485 test_transport_api_https_LDADD = \
486  $(top_builddir)/src/transport/libgnunettransport.la \
487  $(top_builddir)/src/hello/libgnunethello.la \
488  $(top_builddir)/src/util/libgnunetutil.la  \
489  $(top_builddir)/src/transport/libgnunettransporttesting.la 
490
491 test_transport_api_reliability_https_SOURCES = \
492  test_transport_api_reliability.c
493 test_transport_api_reliability_https_LDADD = \
494  $(top_builddir)/src/transport/libgnunettransport.la \
495  $(top_builddir)/src/hello/libgnunethello.la \
496  $(top_builddir)/src/util/libgnunetutil.la \
497  $(top_builddir)/src/transport/libgnunettransporttesting.la 
498
499 test_transport_api_unreliability_unix_SOURCES = \
500  test_transport_api_unreliability.c
501 test_transport_api_unreliability_unix_LDADD = \
502  $(top_builddir)/src/transport/libgnunettransport.la \
503  $(top_builddir)/src/hello/libgnunethello.la \
504  $(top_builddir)/src/util/libgnunetutil.la \
505  $(top_builddir)/src/transport/libgnunettransporttesting.la 
506
507 test_transport_api_unreliability_udp_SOURCES = \
508  test_transport_api_unreliability.c
509 test_transport_api_unreliability_udp_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  
515
516 if LINUX
517 test_transport_api_wlan_SOURCES = \
518  test_transport_api.c
519 test_transport_api_wlan_LDADD = \
520  $(top_builddir)/src/transport/libgnunettransport.la \
521  $(top_builddir)/src/hello/libgnunethello.la \
522  $(top_builddir)/src/util/libgnunetutil.la \
523  $(top_builddir)/src/transport/libgnunettransporttesting.la  
524 endif
525
526 test_quota_compliance_tcp_SOURCES = \
527  test_quota_compliance.c
528 test_quota_compliance_tcp_LDADD = \
529  $(top_builddir)/src/transport/libgnunettransport.la \
530  $(top_builddir)/src/hello/libgnunethello.la \
531  $(top_builddir)/src/util/libgnunetutil.la \
532  $(top_builddir)/src/transport/libgnunettransporttesting.la 
533
534 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
535  test_quota_compliance.c
536 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
537  $(top_builddir)/src/transport/libgnunettransport.la \
538  $(top_builddir)/src/hello/libgnunethello.la \
539  $(top_builddir)/src/util/libgnunetutil.la
540
541 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
542 # test_quota_compliance.c
543 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
544 # $(top_builddir)/src/transport/libgnunettransport.la \
545 # $(top_builddir)/src/util/libgnunetutil.la
546
547 test_quota_compliance_http_SOURCES = \
548  test_quota_compliance.c
549 test_quota_compliance_http_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_recv_constant_SOURCES = \
555  test_quota_compliance.c
556 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
557  $(top_builddir)/src/transport/libgnunettransport.la \
558  $(top_builddir)/src/hello/libgnunethello.la \
559  $(top_builddir)/src/util/libgnunetutil.la
560
561 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
562 # test_quota_compliance.c
563 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
564 # $(top_builddir)/src/transport/libgnunettransport.la \
565 # $(top_builddir)/src/util/libgnunetutil.la
566
567 test_quota_compliance_https_SOURCES = \
568  test_quota_compliance.c
569 test_quota_compliance_https_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_recv_constant_SOURCES = \
575  test_quota_compliance.c
576 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
577  $(top_builddir)/src/transport/libgnunettransport.la \
578  $(top_builddir)/src/hello/libgnunethello.la \
579  $(top_builddir)/src/util/libgnunetutil.la
580
581 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
582 # test_quota_compliance.c
583 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
584 # $(top_builddir)/src/transport/libgnunettransport.la \
585 # $(top_builddir)/src/util/libgnunetutil.la
586
587 test_quota_compliance_udp_SOURCES = \
588  test_quota_compliance.c
589 test_quota_compliance_udp_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_recv_constant_SOURCES = \
595  test_quota_compliance.c
596 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
597  $(top_builddir)/src/transport/libgnunettransport.la \
598  $(top_builddir)/src/hello/libgnunethello.la \
599  $(top_builddir)/src/util/libgnunetutil.la
600
601 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
602 # test_quota_compliance.c
603 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
604 # $(top_builddir)/src/transport/libgnunettransport.la \
605 # $(top_builddir)/src/util/libgnunetutil.la 
606
607 test_quota_compliance_unix_SOURCES = \
608  test_quota_compliance.c
609 test_quota_compliance_unix_LDADD = \
610  $(top_builddir)/src/transport/libgnunettransport.la \
611  $(top_builddir)/src/hello/libgnunethello.la \
612  $(top_builddir)/src/util/libgnunetutil.la
613
614 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
615  test_quota_compliance.c
616 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
617  $(top_builddir)/src/transport/libgnunettransport.la \
618  $(top_builddir)/src/hello/libgnunethello.la \
619  $(top_builddir)/src/util/libgnunetutil.la
620
621
622 test_transport_api_multi_SOURCES = \
623  test_transport_api.c
624 test_transport_api_multi_LDADD = \
625  $(top_builddir)/src/transport/libgnunettransport.la \
626  $(top_builddir)/src/hello/libgnunethello.la \
627  $(top_builddir)/src/util/libgnunetutil.la \
628  $(top_builddir)/src/transport/libgnunettransporttesting.la 
629  
630  
631 EXTRA_DIST = \
632   gnunet-transport-certificate-creation \
633   test_transport_defaults.conf \
634   test_transport_api_data.conf \
635   test_transport_api_tcp_peer1.conf \
636   test_transport_api_tcp_peer2.conf \
637   test_transport_api_udp_peer1.conf \
638   test_transport_api_udp_peer2.conf \
639   test_transport_api_unix_peer1.conf \
640   test_transport_api_unix_peer2.conf \
641   test_transport_api_udp_nat_peer1.conf \
642   test_transport_api_udp_nat_peer2.conf \
643   test_transport_api_tcp_nat_peer1.conf \
644   test_transport_api_tcp_nat_peer2.conf \
645   test_plugin_transport_data.conf \
646   test_transport_api_http_peer1.conf \
647   test_transport_api_http_peer2.conf \
648   test_transport_api_https_peer1.conf \
649   test_transport_api_https_peer2.conf \
650   test_transport_api_wlan_peer1.conf \
651   test_transport_api_wlan_peer2.conf \
652   test_transport_api_multi_peer1.conf \
653   test_transport_api_multi_peer2.conf \
654   test_transport_api_rel_http_peer1.conf \
655   test_transport_api_rel_http_peer2.conf \
656   test_transport_api_rel_https_peer1.conf \
657   test_transport_api_rel_https_peer2.conf \
658   test_plugin_transport_data_http.conf \
659   test_plugin_transport_data.conf \
660   test_quota_compliance_data.conf \
661   test_quota_compliance_tcp_peer1.conf \
662   test_quota_compliance_tcp_peer2.conf \
663   test_quota_compliance_http_peer1.conf \
664   test_quota_compliance_http_peer2.conf \
665   test_quota_compliance_https_peer1.conf \
666   test_quota_compliance_https_peer2.conf \
667   test_quota_compliance_udp_peer1.conf \
668   test_quota_compliance_udp_peer2.conf \
669   test_quota_compliance_unix_peer1.conf \
670   test_quota_compliance_unix_peer2.conf \
671   test_plugin_transport_data_udp.conf