8ca01eaf71bc4ad6639b6e65d2c56b1b6792b37f
[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_API_TEST = test_transport_api_http
10  HTTP_NAT_API_TEST = test_transport_api_http_nat
11  HTTP_API_TIMEOUT_TEST = test_transport_api_timeout_http
12  HTTP_REL_TEST = test_transport_api_reliability_http
13  HTTP_QUOTA_TEST = test_quota_compliance_http \
14                    test_quota_compliance_http_asymmetric_recv_constant
15  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
16  HTTPS_API_TEST = test_transport_api_https
17  HTTPS_NAT_API_TEST = test_transport_api_https_nat
18  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
19  HTTPS_REL_TEST = test_transport_api_reliability_https
20  HTTPS_QUOTA_TEST = test_quota_compliance_https \
21                 test_quota_compliance_https_asymmetric_recv_constant
22 endif
23
24 if USE_COVERAGE
25   AM_CFLAGS = --coverage -O0
26 endif
27
28 if LINUX
29 if HAVE_EXPERIMENTAL
30  WLAN_BIN = gnunet-transport-wlan-helper
31  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
32  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
33  WLAN_API_TEST = test_transport_api_wlan
34  WLAN_REL_TEST = test_transport_api_reliability_wlan
35  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
36 endif
37 endif
38
39
40 if LINUX
41 install-exec-hook:
42         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
43         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
44 else
45 install-exec-hook:
46 endif
47
48 if !MINGW
49 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
50 UNIX_PLUGIN_TEST = test_transport_api_unix 
51 UNIX_REL_TEST = test_transport_api_unreliability_unix
52 UNIX_QUOTA_TEST = test_quota_compliance_unix \
53      test_quota_compliance_unix_asymmetric_recv_constant
54 endif
55
56 noinst_PROGRAMS = \
57  $(WLAN_BIN_DUMMY) \
58  gnunet-transport-connect-running-peers
59
60 lib_LTLIBRARIES = \
61   libgnunettransport.la \
62   libgnunettransporttesting.la
63
64 libgnunettransporttesting_la_SOURCES = \
65   transport-testing.c transport-testing.h
66 libgnunettransporttesting_la_LIBADD = \
67   $(top_builddir)/src/transport/libgnunettransport.la \
68   $(top_builddir)/src/hello/libgnunethello.la \
69   $(top_builddir)/src/util/libgnunetutil.la \
70   $(GN_LIBINTL) 
71 libgnunettransporttesting_la_DEPENDENCIES = \
72   libgnunettransport.la
73
74 libgnunettransport_la_SOURCES = \
75   transport_api.c transport.h \
76   transport_api_blacklist.c \
77   transport_api_address_lookup.c \
78   transport_api_peer_address_lookup.c \
79   transport_api_address_iterate.c
80 libgnunettransport_la_LIBADD = \
81   $(top_builddir)/src/hello/libgnunethello.la \
82   $(top_builddir)/src/util/libgnunetutil.la \
83   $(GN_LIBINTL) 
84 libgnunettransport_la_LDFLAGS = \
85   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
86   -version-info 0:0:0
87
88 bin_PROGRAMS = \
89  gnunet-transport \
90  $(WLAN_BIN) \
91  gnunet-service-transport \
92  gnunet-transport-list-connections \
93  gnunet-transport-certificate-creation
94
95 #bin_SCRIPTS = \
96 # gnunet-transport-certificate-creation
97
98 gnunet_transport_certificate_creation_SOURCES = \
99  gnunet-transport-certificate-creation.c
100 gnunet_transport_certificate_creation_LDADD = \
101   $(top_builddir)/src/util/libgnunetutil.la
102
103 gnunet_transport_wlan_helper_SOURCES = \
104  wlan/byteorder.h \
105  wlan/crctable_osdep.h \
106  wlan/helper_common.c wlan/helper_common.h \
107  wlan/ieee80211.h \
108  wlan/ieee80211_radiotap.h \
109  wlan/loopback_helper.h \
110  wlan/radiotap-parser.c wlan/radiotap-parser.h \
111  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
112 gnunet_transport_wlan_helper_LDADD = \
113   $(top_builddir)/src/util/libgnunetutil.la 
114
115 gnunet_transport_wlan_helper_dummy_SOURCES = \
116  wlan/radiotap-parser.c \
117  wlan/helper_common.c \
118  test_plugin_transport_wlan_dummy.c
119 gnunet_transport_wlan_helper_dummy_LDADD = \
120   $(top_builddir)/src/util/libgnunetutil.la 
121
122 gnunet_transport_list_connections_SOURCES = \
123  gnunet-transport-list-connections.c         
124 gnunet_transport_list_connections_LDADD = \
125   $(top_builddir)/src/transport/libgnunettransport.la \
126   $(top_builddir)/src/util/libgnunetutil.la \
127   $(GN_LIBINTL)
128 gnunet_transport_list_connections_DEPENDENCIES = \
129   libgnunettransport.la
130
131 gnunet_transport_SOURCES = \
132  gnunet-transport.c         
133 gnunet_transport_LDADD = \
134   $(top_builddir)/src/transport/libgnunettransport.la \
135   $(top_builddir)/src/util/libgnunetutil.la \
136   $(GN_LIBINTL)
137 gnunet_transport_DEPENDENCIES = \
138   libgnunettransport.la                         
139
140 gnunet_service_transport_SOURCES = \
141  gnunet-service-transport.c gnunet-service-transport.h \
142  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
143  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
144  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
145  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
146  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
147  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
148 gnunet_service_transport_LDADD = \
149   $(top_builddir)/src/ats/libgnunetats.la \
150   $(top_builddir)/src/hello/libgnunethello.la \
151   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
152   $(top_builddir)/src/statistics/libgnunetstatistics.la \
153   $(top_builddir)/src/util/libgnunetutil.la \
154   $(GN_GLPK) \
155   $(GN_LIBINTL)
156
157 plugin_LTLIBRARIES = \
158   libgnunet_plugin_transport_tcp.la \
159   libgnunet_plugin_transport_udp.la \
160   $(UNIX_PLUGIN_LA) \
161   $(HTTP_PLUGIN_LA) \
162   $(HTTPS_PLUGIN_LA) \
163   $(WLAN_PLUGIN_LA) \
164   libgnunet_plugin_transport_template.la
165
166 libgnunet_plugin_transport_tcp_la_SOURCES = \
167   plugin_transport_tcp.c
168 libgnunet_plugin_transport_tcp_la_LIBADD = \
169   $(top_builddir)/src/hello/libgnunethello.la \
170   $(top_builddir)/src/statistics/libgnunetstatistics.la \
171   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
172   $(top_builddir)/src/nat/libgnunetnat.la \
173   $(top_builddir)/src/util/libgnunetutil.la 
174 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
175  $(GN_PLUGIN_LDFLAGS)
176
177 libgnunet_plugin_transport_template_la_SOURCES = \
178   plugin_transport_template.c
179 libgnunet_plugin_transport_template_la_LIBADD = \
180   $(top_builddir)/src/util/libgnunetutil.la 
181 libgnunet_plugin_transport_template_la_LDFLAGS = \
182  $(GN_PLUGIN_LDFLAGS)
183
184 libgnunet_plugin_transport_wlan_la_SOURCES = \
185   plugin_transport_wlan.c plugin_transport_wlan.h
186 libgnunet_plugin_transport_wlan_la_LIBADD = \
187   $(top_builddir)/src/hello/libgnunethello.la \
188   $(top_builddir)/src/statistics/libgnunetstatistics.la \
189   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
190   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
191   $(top_builddir)/src/util/libgnunetutil.la 
192 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
193   $(GN_PLUGIN_LDFLAGS)
194
195 libgnunet_plugin_transport_udp_la_SOURCES = \
196   plugin_transport_udp.c
197 libgnunet_plugin_transport_udp_la_LIBADD = \
198   $(top_builddir)/src/hello/libgnunethello.la \
199   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
200   $(top_builddir)/src/statistics/libgnunetstatistics.la \
201   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
202   $(top_builddir)/src/nat/libgnunetnat.la \
203   $(top_builddir)/src/util/libgnunetutil.la 
204 libgnunet_plugin_transport_udp_la_LDFLAGS = \
205  $(GN_PLUGIN_LDFLAGS)
206
207 libgnunet_plugin_transport_unix_la_SOURCES = \
208   plugin_transport_unix.c
209 libgnunet_plugin_transport_unix_la_LIBADD = \
210   $(top_builddir)/src/hello/libgnunethello.la \
211   $(top_builddir)/src/statistics/libgnunetstatistics.la \
212   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
213   $(top_builddir)/src/util/libgnunetutil.la 
214 libgnunet_plugin_transport_unix_la_LDFLAGS = \
215  $(GN_PLUGIN_LDFLAGS)
216
217 libgnunet_plugin_transport_http_la_SOURCES = \
218   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
219 libgnunet_plugin_transport_http_la_LIBADD = \
220   $(top_builddir)/src/hello/libgnunethello.la \
221   $(top_builddir)/src/statistics/libgnunetstatistics.la \
222   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
223   @LIBCURL@ \
224   $(top_builddir)/src/nat/libgnunetnat.la \
225   $(top_builddir)/src/util/libgnunetutil.la 
226 libgnunet_plugin_transport_http_la_LDFLAGS = \
227  $(GN_LIBMHD) \
228  $(GN_PLUGIN_LDFLAGS)
229 libgnunet_plugin_transport_http_la_CFLAGS = \
230  $(CFLAGS) 
231 libgnunet_plugin_transport_http_la_CPPFLAGS = \
232  @LIBCURL_CPPFLAGS@
233
234 libgnunet_plugin_transport_https_la_SOURCES = \
235   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
236 libgnunet_plugin_transport_https_la_LIBADD = \
237   $(top_builddir)/src/hello/libgnunethello.la \
238   $(top_builddir)/src/statistics/libgnunetstatistics.la \
239   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
240   @LIBCURL@ \
241   $(top_builddir)/src/nat/libgnunetnat.la \
242   $(top_builddir)/src/util/libgnunetutil.la 
243 libgnunet_plugin_transport_https_la_LDFLAGS = \
244  $(GN_LIBMHD) \
245  $(GN_PLUGIN_LDFLAGS)
246 libgnunet_plugin_transport_https_la_CFLAGS = \
247  $(CFLAGS) -DBUILD_HTTPS 
248 libgnunet_plugin_transport_https_la_CPPFLAGS = \
249  @LIBCURL_CPPFLAGS@
250
251
252 check_PROGRAMS = \
253  test_transport_testing \
254  test_transport_startonly \
255  test_transport_api_disconnect \
256  test_transport_api_tcp \
257  test_transport_api_timeout_tcp \
258  test_transport_api_limited_sockets_tcp \
259  test_transport_api_tcp_nat \
260  test_transport_api_udp \
261  $(UNIX_PLUGIN_TEST) \
262  test_transport_api_udp_nat \
263  $(HTTP_API_TEST) \
264  $(HTTP_NAT_API_TEST) \
265  $(HTTP_API_TIMEOUT_TEST) \
266  $(HTTPS_API_TEST) \
267  $(HTTPS_NAT_API_TEST) \
268  $(HTTPS_API_TIMEOUT_TEST) \
269  test_transport_api_multi \
270  test_transport_api_reliability_tcp \
271  test_transport_api_reliability_tcp_nat \
272  test_transport_api_unreliability_udp \
273  test_transport_api_unreliability_constant_udp \
274  $(UNIX_REL_TEST) \
275  $(HTTP_REL_TEST) \
276  $(HTTPS_REL_TEST) \
277  test_quota_compliance_tcp \
278  test_quota_compliance_tcp_asymmetric_recv_constant \
279  test_quota_compliance_udp \
280  test_quota_compliance_udp_asymmetric_recv_constant \
281  $(UNIX_QUOTA_TEST) \
282  $(HTTP_QUOTA_TEST) \
283  $(HTTPS_QUOTA_TEST) \
284  $(WLAN_API_TEST) \
285  $(WLAN_REL_TEST) \
286  $(WLAN_UREL_TEST)
287
288 if ENABLE_TEST_RUN
289 TESTS = \
290  test_transport_testing \
291  test_transport_startonly \
292  test_transport_api_disconnect \
293  test_transport_api_tcp \
294  test_transport_api_timeout_tcp \
295  test_transport_api_limited_sockets_tcp \
296  test_transport_api_tcp_nat \
297  test_transport_api_udp \
298  $(UNIX_PLUGIN_TEST) \
299  test_transport_api_udp_nat \
300  $(HTTP_API_TEST) \
301  $(HTTP_NAT_API_TEST) \
302  $(HTTP_API_TIMEOUT_TEST) \
303  $(HTTPS_API_TEST) \
304  $(HTTPS_NAT_API_TEST) \
305  $(HTTPS_API_TIMEOUT_TEST) \
306  test_transport_api_multi \
307  test_transport_api_reliability_tcp \
308  test_transport_api_reliability_tcp_nat \
309  test_transport_api_unreliability_udp \
310  test_transport_api_unreliability_constant_udp \
311  $(UNIX_REL_TEST) \
312  $(HTTP_REL_TEST) \
313  $(HTTPS_REL_TEST) \
314  test_quota_compliance_tcp \
315  test_quota_compliance_tcp_asymmetric_recv_constant \
316  test_quota_compliance_udp \
317  test_quota_compliance_udp_asymmetric_recv_constant \
318  $(UNIX_QUOTA_TEST) \
319  $(HTTP_QUOTA_TEST) \
320  $(HTTPS_QUOTA_TEST) \
321  $(WLAN_API_TEST) \
322  $(WLAN_REL_TEST) \
323  $(WLAN_UREL_TEST)
324 endif
325
326 test_transport_testing_SOURCES = \
327  test_transport_testing.c
328 test_transport_testing_LDADD = \
329  $(top_builddir)/src/util/libgnunetutil.la \
330  $(top_builddir)/src/transport/libgnunettransport.la \
331  $(top_builddir)/src/hello/libgnunethello.la \
332  $(top_builddir)/src/transport/libgnunettransporttesting.la 
333
334 gnunet_transport_connect_running_peers_SOURCES = \
335  gnunet-transport-connect-running-peers.c
336 gnunet_transport_connect_running_peers_LDADD = \
337  $(top_builddir)/src/transport/libgnunettransport.la \
338  $(top_builddir)/src/hello/libgnunethello.la \
339  $(top_builddir)/src/util/libgnunetutil.la \
340  $(top_builddir)/src/transport/libgnunettransporttesting.la 
341
342 test_transport_api_disconnect_SOURCES = \
343  test_transport_api_disconnect.c
344 test_transport_api_disconnect_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
350 test_transport_startonly_SOURCES = \
351  test_transport_startonly.c
352 test_transport_startonly_LDADD = \
353  $(top_builddir)/src/transport/libgnunettransport.la \
354  $(top_builddir)/src/hello/libgnunethello.la \
355  $(top_builddir)/src/statistics/libgnunetstatistics.la \
356  $(top_builddir)/src/util/libgnunetutil.la \
357  $(top_builddir)/src/transport/libgnunettransporttesting.la 
358
359 test_transport_api_tcp_SOURCES = \
360  test_transport_api.c
361 test_transport_api_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_limited_sockets_tcp_SOURCES = \
368  test_transport_api_limited_sockets.c
369 test_transport_api_limited_sockets_tcp_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_tcp_nat_SOURCES = \
376  test_transport_api.c
377 test_transport_api_tcp_nat_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_reliability_tcp_SOURCES = \
384  test_transport_api_reliability.c
385 test_transport_api_reliability_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_timeout_tcp_SOURCES = \
392  test_transport_api_timeout.c
393 test_transport_api_timeout_tcp_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_timeout_http_SOURCES = \
400  test_transport_api_timeout.c
401 test_transport_api_timeout_http_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_timeout_https_SOURCES = \
408  test_transport_api_timeout.c
409 test_transport_api_timeout_https_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_reliability_tcp_nat_SOURCES = \
416  test_transport_api_reliability.c
417 test_transport_api_reliability_tcp_nat_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_reliability_wlan_SOURCES = \
424  test_transport_api_reliability.c
425 test_transport_api_reliability_wlan_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_unreliability_wlan_SOURCES = \
432  test_transport_api_unreliability.c
433 test_transport_api_unreliability_wlan_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_transport_api_udp_SOURCES = \
440  test_transport_api.c
441 test_transport_api_udp_LDADD = \
442  $(top_builddir)/src/transport/libgnunettransport.la \
443  $(top_builddir)/src/hello/libgnunethello.la \
444  $(top_builddir)/src/util/libgnunetutil.la  \
445  $(top_builddir)/src/transport/libgnunettransporttesting.la 
446
447 test_transport_api_udp_nat_SOURCES = \
448  test_transport_api.c
449 test_transport_api_udp_nat_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_unix_SOURCES = \
456  test_transport_api.c
457 test_transport_api_unix_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_http_SOURCES = \
464 # test_plugin_transport_http.c
465 #test_plugin_transport_http_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_http_SOURCES = \
472  test_transport_api.c
473 test_transport_api_http_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_http_nat_SOURCES = \
480  test_transport_api.c
481 test_transport_api_http_nat_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_reliability_http_SOURCES = \
488  test_transport_api_reliability.c
489 test_transport_api_reliability_http_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_https_SOURCES = \
496  test_transport_api.c
497 test_transport_api_https_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 test_transport_api_https_nat_SOURCES = \
504  test_transport_api.c
505 test_transport_api_https_nat_LDADD = \
506  $(top_builddir)/src/transport/libgnunettransport.la \
507  $(top_builddir)/src/hello/libgnunethello.la \
508  $(top_builddir)/src/util/libgnunetutil.la \
509  $(top_builddir)/src/transport/libgnunettransporttesting.la 
510
511 test_transport_api_reliability_https_SOURCES = \
512  test_transport_api_reliability.c
513 test_transport_api_reliability_https_LDADD = \
514  $(top_builddir)/src/transport/libgnunettransport.la \
515  $(top_builddir)/src/hello/libgnunethello.la \
516  $(top_builddir)/src/util/libgnunetutil.la \
517  $(top_builddir)/src/transport/libgnunettransporttesting.la 
518
519 test_transport_api_unreliability_unix_SOURCES = \
520  test_transport_api_unreliability.c
521 test_transport_api_unreliability_unix_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_transport_api_unreliability_udp_SOURCES = \
528  test_transport_api_unreliability.c
529 test_transport_api_unreliability_udp_LDADD = \
530  $(top_builddir)/src/transport/libgnunettransport.la \
531  $(top_builddir)/src/hello/libgnunethello.la \
532  $(top_builddir)/src/util/libgnunetutil.la \
533  $(top_builddir)/src/transport/libgnunettransporttesting.la 
534
535 test_transport_api_unreliability_constant_udp_SOURCES = \
536  test_transport_api_unreliability_constant.c
537 test_transport_api_unreliability_constant_udp_LDADD = \
538  $(top_builddir)/src/transport/libgnunettransport.la \
539  $(top_builddir)/src/hello/libgnunethello.la \
540  $(top_builddir)/src/util/libgnunetutil.la \
541  $(top_builddir)/src/transport/libgnunettransporttesting.la 
542
543 if LINUX
544 test_transport_api_wlan_SOURCES = \
545  test_transport_api.c
546 test_transport_api_wlan_LDADD = \
547  $(top_builddir)/src/transport/libgnunettransport.la \
548  $(top_builddir)/src/hello/libgnunethello.la \
549  $(top_builddir)/src/util/libgnunetutil.la \
550  $(top_builddir)/src/transport/libgnunettransporttesting.la  
551 endif
552
553 test_quota_compliance_tcp_SOURCES = \
554  test_quota_compliance.c
555 test_quota_compliance_tcp_LDADD = \
556  $(top_builddir)/src/transport/libgnunettransport.la \
557  $(top_builddir)/src/hello/libgnunethello.la \
558  $(top_builddir)/src/util/libgnunetutil.la \
559  $(top_builddir)/src/transport/libgnunettransporttesting.la 
560
561 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
562  test_quota_compliance.c
563 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
564  $(top_builddir)/src/transport/libgnunettransport.la \
565  $(top_builddir)/src/hello/libgnunethello.la \
566  $(top_builddir)/src/util/libgnunetutil.la
567
568 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
569 # test_quota_compliance.c
570 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
571 # $(top_builddir)/src/transport/libgnunettransport.la \
572 # $(top_builddir)/src/util/libgnunetutil.la
573
574 test_quota_compliance_http_SOURCES = \
575  test_quota_compliance.c
576 test_quota_compliance_http_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_http_asymmetric_recv_constant_SOURCES = \
582  test_quota_compliance.c
583 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
584  $(top_builddir)/src/transport/libgnunettransport.la \
585  $(top_builddir)/src/hello/libgnunethello.la \
586  $(top_builddir)/src/util/libgnunetutil.la
587
588 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
589 # test_quota_compliance.c
590 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
591 # $(top_builddir)/src/transport/libgnunettransport.la \
592 # $(top_builddir)/src/util/libgnunetutil.la
593
594 test_quota_compliance_https_SOURCES = \
595  test_quota_compliance.c
596 test_quota_compliance_https_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_https_asymmetric_recv_constant_SOURCES = \
602  test_quota_compliance.c
603 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
604  $(top_builddir)/src/transport/libgnunettransport.la \
605  $(top_builddir)/src/hello/libgnunethello.la \
606  $(top_builddir)/src/util/libgnunetutil.la
607
608 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
609 # test_quota_compliance.c
610 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
611 # $(top_builddir)/src/transport/libgnunettransport.la \
612 # $(top_builddir)/src/util/libgnunetutil.la
613
614 test_quota_compliance_udp_SOURCES = \
615  test_quota_compliance.c
616 test_quota_compliance_udp_LDADD = \
617  $(top_builddir)/src/transport/libgnunettransport.la \
618  $(top_builddir)/src/hello/libgnunethello.la \
619  $(top_builddir)/src/util/libgnunetutil.la
620
621 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
622  test_quota_compliance.c
623 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
624  $(top_builddir)/src/transport/libgnunettransport.la \
625  $(top_builddir)/src/hello/libgnunethello.la \
626  $(top_builddir)/src/util/libgnunetutil.la
627
628 test_quota_compliance_unix_SOURCES = \
629  test_quota_compliance.c
630 test_quota_compliance_unix_LDADD = \
631  $(top_builddir)/src/transport/libgnunettransport.la \
632  $(top_builddir)/src/hello/libgnunethello.la \
633  $(top_builddir)/src/util/libgnunetutil.la
634
635 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
636  test_quota_compliance.c
637 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
638  $(top_builddir)/src/transport/libgnunettransport.la \
639  $(top_builddir)/src/hello/libgnunethello.la \
640  $(top_builddir)/src/util/libgnunetutil.la
641
642 test_transport_api_multi_SOURCES = \
643  test_transport_api.c
644 test_transport_api_multi_LDADD = \
645  $(top_builddir)/src/transport/libgnunettransport.la \
646  $(top_builddir)/src/hello/libgnunethello.la \
647  $(top_builddir)/src/util/libgnunetutil.la \
648  $(top_builddir)/src/transport/libgnunettransporttesting.la 
649
650
651 EXTRA_DIST = \
652 gnunet-transport-certificate-creation \
653 template_cfg_peer1.conf\
654 template_cfg_peer2.conf\
655 test_plugin_transport_data.conf\
656 test_plugin_transport_data_http.conf\
657 test_plugin_transport_data_udp.conf\
658 test_quota_compliance_data.conf\
659 test_quota_compliance_http_peer1.conf\
660 test_quota_compliance_http_peer2.conf\
661 test_quota_compliance_https_peer1.conf\
662 test_quota_compliance_https_peer2.conf\
663 test_quota_compliance_tcp_peer1.conf\
664 test_quota_compliance_tcp_peer2.conf\
665 test_quota_compliance_udp_peer1.conf\
666 test_quota_compliance_udp_peer2.conf\
667 test_quota_compliance_unix_peer1.conf\
668 test_quota_compliance_unix_peer2.conf\
669 test_transport_api_data.conf\
670 test_transport_api_http_peer1.conf\
671 test_transport_api_http_peer2.conf\
672 test_transport_api_https_peer1.conf\
673 test_transport_api_https_peer2.conf\
674 test_transport_api_limited_sockets_tcp_peer1.conf\
675 test_transport_api_limited_sockets_tcp_peer2.conf\
676 test_transport_api_timeout_tcp_peer1.conf\
677 test_transport_api_timeout_tcp_peer2.conf\
678 test_transport_api_multi_peer1.conf\
679 test_transport_api_multi_peer2.conf\
680 test_transport_api_reliability_http_peer1.conf\
681 test_transport_api_reliability_http_peer2.conf\
682 test_transport_api_reliability_https_peer1.conf\
683 test_transport_api_reliability_https_peer2.conf\
684 test_transport_api_reliability_tcp_nat_peer1.conf\
685 test_transport_api_reliability_tcp_nat_peer2.conf\
686 test_transport_api_reliability_tcp_peer1.conf\
687 test_transport_api_reliability_tcp_peer2.conf\
688 test_transport_api_reliability_wlan_peer1.conf\
689 test_transport_api_reliability_wlan_peer2.conf\
690 test_transport_api_tcp_nat_peer1.conf\
691 test_transport_api_tcp_nat_peer2.conf\
692 test_transport_api_tcp_peer1.conf\
693 test_transport_api_tcp_peer2.conf\
694 test_transport_api_udp_nat_peer1.conf\
695 test_transport_api_udp_nat_peer2.conf\
696 test_transport_api_udp_peer1.conf\
697 test_transport_api_udp_peer2.conf\
698 test_transport_api_unix_peer1.conf\
699 test_transport_api_unix_peer2.conf\
700 test_transport_api_unreliability_udp_peer1.conf\
701 test_transport_api_unreliability_udp_peer2.conf\
702 test_transport_api_unreliability_unix_peer1.conf\
703 test_transport_api_unreliability_unix_peer2.conf\
704 test_transport_api_unreliability_wlan_peer1.conf\
705 test_transport_api_unreliability_wlan_peer2.conf\
706 test_transport_api_wlan_peer1.conf\
707 test_transport_api_wlan_peer2.conf\
708 test_transport_defaults.conf\
709 test_transport_startonly.conf