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