2b86a05bab23001a958c6f500ff9ab353bb8a69f
[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_NAT_REL_TEST = test_transport_api_reliability_http_nat
14  HTTP_QUOTA_TEST = test_quota_compliance_http \
15                    test_quota_compliance_http_asymmetric
16  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
17  HTTPS_API_TEST = test_transport_api_https
18  HTTPS_NAT_API_TEST = test_transport_api_https_nat
19  HTTPS_API_TIMEOUT_TEST = test_transport_api_timeout_https
20  HTTPS_REL_TEST = test_transport_api_reliability_https
21  HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
22  HTTPS_QUOTA_TEST = test_quota_compliance_https \
23                 test_quota_compliance_https_asymmetric
24 endif
25
26 if USE_COVERAGE
27   AM_CFLAGS = --coverage -O0
28 endif
29
30 if LINUX
31  WLAN_BIN = gnunet-transport-wlan-helper
32  WLAN_BIN_DUMMY = gnunet-transport-wlan-helper-dummy
33  WLAN_BIN_SENDER = gnunet_wlan_sender
34  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
35  WLAN_API_TEST = test_transport_api_wlan
36  WLAN_REL_TEST = test_transport_api_reliability_wlan
37  WLAN_UREL_TEST = test_transport_api_unreliability_wlan
38 endif
39
40
41 if LINUX
42 install-exec-hook:
43         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
44         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
45 else
46 install-exec-hook:
47 endif
48
49 if !MINGW
50 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
51 UNIX_PLUGIN_TEST = test_transport_api_unix 
52 UNIX_REL_TEST = test_transport_api_unreliability_unix
53 UNIX_QUOTA_TEST = test_quota_compliance_unix \
54      test_quota_compliance_unix_asymmetric
55 endif
56
57 noinst_PROGRAMS = \
58  $(WLAN_BIN_DUMMY) \
59  $(WLAN_BIN_SENDER)
60 # gnunet-transport-connect-running-peers
61
62 lib_LTLIBRARIES = \
63   libgnunettransport.la \
64   libgnunettransporttesting.la
65
66 libgnunettransporttesting_la_SOURCES = \
67   transport-testing.c transport-testing.h
68 libgnunettransporttesting_la_LIBADD = \
69   $(top_builddir)/src/transport/libgnunettransport.la \
70   $(top_builddir)/src/hello/libgnunethello.la \
71   $(top_builddir)/src/util/libgnunetutil.la \
72   $(GN_LIBINTL) 
73 libgnunettransporttesting_la_DEPENDENCIES = \
74   libgnunettransport.la
75
76 libgnunettransport_la_SOURCES = \
77   transport_api.c transport.h \
78   transport_api_blacklist.c \
79   transport_api_address_lookup.c \
80   transport_api_peer_address_lookup.c \
81   transport_api_address_iterate.c
82 libgnunettransport_la_LIBADD = \
83   $(top_builddir)/src/hello/libgnunethello.la \
84   $(top_builddir)/src/util/libgnunetutil.la \
85   $(GN_LIBINTL) 
86 libgnunettransport_la_LDFLAGS = \
87   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
88   -version-info 0:0:0
89
90 bin_PROGRAMS = \
91  gnunet-transport \
92  $(WLAN_BIN) \
93  gnunet-service-transport \
94  gnunet-transport-certificate-creation
95
96 #bin_SCRIPTS = \
97 # gnunet-transport-certificate-creation
98
99 gnunet_transport_certificate_creation_SOURCES = \
100  gnunet-transport-certificate-creation.c
101 gnunet_transport_certificate_creation_LDADD = \
102   $(top_builddir)/src/util/libgnunetutil.la
103
104 gnunet_transport_wlan_helper_SOURCES = \
105  wlan/byteorder.h \
106  wlan/crctable_osdep.h \
107  wlan/helper_common.c wlan/helper_common.h \
108  wlan/ieee80211.h \
109  wlan/ieee80211_radiotap.h \
110  wlan/loopback_helper.h \
111  wlan/radiotap-parser.c wlan/radiotap-parser.h \
112  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
113 gnunet_transport_wlan_helper_LDADD = \
114   $(top_builddir)/src/util/libgnunetutil.la 
115
116 gnunet_transport_wlan_helper_dummy_SOURCES = \
117  wlan/radiotap-parser.c \
118  wlan/helper_common.c \
119  test_plugin_transport_wlan_dummy.c
120 gnunet_transport_wlan_helper_dummy_LDADD = \
121   $(top_builddir)/src/util/libgnunetutil.la 
122
123 gnunet_wlan_sender_SOURCES = \
124  gnunet_wlan_sender.c
125 gnunet_wlan_sender_LDADD = \
126   $(top_builddir)/src/util/libgnunetutil.la 
127
128 gnunet_transport_SOURCES = \
129  gnunet-transport.c         
130 gnunet_transport_LDADD = \
131   $(top_builddir)/src/transport/libgnunettransport.la \
132   $(top_builddir)/src/util/libgnunetutil.la \
133   $(GN_LIBINTL)
134 gnunet_transport_DEPENDENCIES = \
135   libgnunettransport.la                         
136
137 gnunet_service_transport_SOURCES = \
138  gnunet-service-transport.c gnunet-service-transport.h \
139  gnunet-service-transport_blacklist.h gnunet-service-transport_blacklist.c \
140  gnunet-service-transport_clients.h gnunet-service-transport_clients.c \
141  gnunet-service-transport_hello.h gnunet-service-transport_hello.c \
142  gnunet-service-transport_neighbours.h gnunet-service-transport_neighbours.c \
143  gnunet-service-transport_plugins.h gnunet-service-transport_plugins.c \
144  gnunet-service-transport_validation.h gnunet-service-transport_validation.c 
145 gnunet_service_transport_LDADD = \
146   $(top_builddir)/src/ats/libgnunetats.la \
147   $(top_builddir)/src/hello/libgnunethello.la \
148   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
149   $(top_builddir)/src/statistics/libgnunetstatistics.la \
150   $(top_builddir)/src/util/libgnunetutil.la \
151   $(GN_GLPK) \
152   $(GN_LIBINTL)
153
154 plugin_LTLIBRARIES = \
155   libgnunet_plugin_transport_tcp.la \
156   libgnunet_plugin_transport_udp.la \
157   $(UNIX_PLUGIN_LA) \
158   $(HTTP_PLUGIN_LA) \
159   $(HTTPS_PLUGIN_LA) \
160   $(WLAN_PLUGIN_LA) \
161   libgnunet_plugin_transport_template.la
162
163 libgnunet_plugin_transport_tcp_la_SOURCES = \
164   plugin_transport_tcp.c
165 libgnunet_plugin_transport_tcp_la_LIBADD = \
166   $(top_builddir)/src/hello/libgnunethello.la \
167   $(top_builddir)/src/statistics/libgnunetstatistics.la \
168   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
169   $(top_builddir)/src/nat/libgnunetnat.la \
170   $(top_builddir)/src/util/libgnunetutil.la 
171 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
172  $(GN_PLUGIN_LDFLAGS)
173
174 libgnunet_plugin_transport_template_la_SOURCES = \
175   plugin_transport_template.c
176 libgnunet_plugin_transport_template_la_LIBADD = \
177   $(top_builddir)/src/util/libgnunetutil.la 
178 libgnunet_plugin_transport_template_la_LDFLAGS = \
179  $(GN_PLUGIN_LDFLAGS)
180
181 libgnunet_plugin_transport_wlan_la_SOURCES = \
182   plugin_transport_wlan.c plugin_transport_wlan.h
183 libgnunet_plugin_transport_wlan_la_LIBADD = \
184   $(top_builddir)/src/hello/libgnunethello.la \
185   $(top_builddir)/src/statistics/libgnunetstatistics.la \
186   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
187   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
188   $(top_builddir)/src/util/libgnunetutil.la 
189 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
190   $(GN_PLUGIN_LDFLAGS)
191
192 libgnunet_plugin_transport_udp_la_SOURCES = \
193   plugin_transport_udp.c
194 libgnunet_plugin_transport_udp_la_LIBADD = \
195   $(top_builddir)/src/hello/libgnunethello.la \
196   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
197   $(top_builddir)/src/statistics/libgnunetstatistics.la \
198   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
199   $(top_builddir)/src/nat/libgnunetnat.la \
200   $(top_builddir)/src/util/libgnunetutil.la 
201 libgnunet_plugin_transport_udp_la_LDFLAGS = \
202  $(GN_PLUGIN_LDFLAGS)
203
204 libgnunet_plugin_transport_unix_la_SOURCES = \
205   plugin_transport_unix.c
206 libgnunet_plugin_transport_unix_la_LIBADD = \
207   $(top_builddir)/src/hello/libgnunethello.la \
208   $(top_builddir)/src/statistics/libgnunetstatistics.la \
209   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
210   $(top_builddir)/src/util/libgnunetutil.la 
211 libgnunet_plugin_transport_unix_la_LDFLAGS = \
212  $(GN_PLUGIN_LDFLAGS)
213
214 libgnunet_plugin_transport_http_la_SOURCES = \
215   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
216 libgnunet_plugin_transport_http_la_LIBADD = \
217   $(top_builddir)/src/hello/libgnunethello.la \
218   $(top_builddir)/src/statistics/libgnunetstatistics.la \
219   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
220   @LIBCURL@ \
221   $(top_builddir)/src/nat/libgnunetnat.la \
222   $(top_builddir)/src/util/libgnunetutil.la 
223 libgnunet_plugin_transport_http_la_LDFLAGS = \
224  $(GN_LIBMHD) \
225  $(GN_PLUGIN_LDFLAGS)
226 libgnunet_plugin_transport_http_la_CFLAGS = \
227  $(CFLAGS) 
228 libgnunet_plugin_transport_http_la_CPPFLAGS = \
229  @LIBCURL_CPPFLAGS@
230
231 libgnunet_plugin_transport_https_la_SOURCES = \
232   plugin_transport_http.c plugin_transport_http_client.c plugin_transport_http_server.c
233 libgnunet_plugin_transport_https_la_LIBADD = \
234   $(top_builddir)/src/hello/libgnunethello.la \
235   $(top_builddir)/src/statistics/libgnunetstatistics.la \
236   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
237   @LIBCURL@ \
238   $(top_builddir)/src/nat/libgnunetnat.la \
239   $(top_builddir)/src/util/libgnunetutil.la 
240 libgnunet_plugin_transport_https_la_LDFLAGS = \
241  $(GN_LIBMHD) \
242  $(GN_PLUGIN_LDFLAGS)
243 libgnunet_plugin_transport_https_la_CFLAGS = \
244  $(CFLAGS) -DBUILD_HTTPS 
245 libgnunet_plugin_transport_https_la_CPPFLAGS = \
246  @LIBCURL_CPPFLAGS@
247
248
249 check_PROGRAMS = \
250  test_transport_testing \
251  test_transport_startonly \
252  test_transport_api_disconnect_tcp \
253  test_transport_api_tcp \
254  test_transport_api_timeout_tcp \
255  test_transport_api_limited_sockets_tcp \
256  test_transport_api_tcp_nat \
257  test_transport_api_udp \
258  $(UNIX_PLUGIN_TEST) \
259  test_transport_api_udp_nat \
260  $(HTTP_API_TEST) \
261  $(HTTP_NAT_API_TEST) \
262  $(HTTP_API_TIMEOUT_TEST) \
263  $(HTTPS_API_TEST) \
264  $(HTTPS_NAT_API_TEST) \
265  $(HTTPS_API_TIMEOUT_TEST) \
266  test_transport_api_multi \
267  test_transport_api_reliability_tcp \
268  test_transport_api_reliability_tcp_nat \
269  test_transport_api_unreliability_udp \
270  test_transport_api_unreliability_constant_udp \
271  $(UNIX_REL_TEST) \
272  $(HTTP_REL_TEST) \
273  $(HTTP_NAT_REL_TEST) \
274  $(HTTPS_REL_TEST) \
275  $(HTTPS_NAT_REL_TEST) \
276  test_quota_compliance_tcp \
277  test_quota_compliance_tcp_asymmetric \
278  test_quota_compliance_udp \
279  $(UNIX_QUOTA_TEST) \
280  $(HTTP_QUOTA_TEST) \
281  $(HTTPS_QUOTA_TEST) \
282  $(WLAN_API_TEST) \
283  $(WLAN_REL_TEST) \
284  $(WLAN_UREL_TEST)
285
286 if ENABLE_TEST_RUN
287 TESTS = \
288  test_transport_testing \
289  test_transport_startonly \
290  test_transport_api_disconnect_tcp \
291  test_transport_api_tcp \
292  test_transport_api_timeout_tcp \
293  test_transport_api_limited_sockets_tcp \
294  test_transport_api_tcp_nat \
295  test_transport_api_udp \
296  $(UNIX_PLUGIN_TEST) \
297  test_transport_api_udp_nat \
298  $(HTTP_API_TEST) \
299  $(HTTP_NAT_API_TEST) \
300  $(HTTP_API_TIMEOUT_TEST) \
301  $(HTTPS_API_TEST) \
302  $(HTTPS_NAT_API_TEST) \
303  $(HTTPS_API_TIMEOUT_TEST) \
304  test_transport_api_multi \
305  test_transport_api_reliability_tcp \
306  test_transport_api_reliability_tcp_nat \
307  test_transport_api_unreliability_udp \
308  test_transport_api_unreliability_constant_udp \
309  $(UNIX_REL_TEST) \
310  $(HTTP_REL_TEST) \
311  $(HTTP_NAT_REL_TEST) \
312  $(HTTPS_REL_TEST) \
313  $(HTTPS_NAT_REL_TEST) \
314  test_quota_compliance_tcp \
315  test_quota_compliance_tcp_asymmetric \
316  test_quota_compliance_udp \
317  $(UNIX_QUOTA_TEST) \
318  $(HTTP_QUOTA_TEST) \
319  $(HTTPS_QUOTA_TEST) \
320  $(WLAN_API_TEST) \
321  $(WLAN_REL_TEST) \
322  $(WLAN_UREL_TEST)
323 endif
324
325 test_transport_testing_SOURCES = \
326  test_transport_testing.c
327 test_transport_testing_LDADD = \
328  $(top_builddir)/src/util/libgnunetutil.la \
329  $(top_builddir)/src/transport/libgnunettransport.la \
330  $(top_builddir)/src/hello/libgnunethello.la \
331  $(top_builddir)/src/transport/libgnunettransporttesting.la 
332
333 #gnunet_transport_connect_running_peers_SOURCES = \
334 # gnunet-transport-connect-running-peers.c
335 #gnunet_transport_connect_running_peers_LDADD = \
336 # $(top_builddir)/src/transport/libgnunettransport.la \
337 # $(top_builddir)/src/hello/libgnunethello.la \
338 # $(top_builddir)/src/util/libgnunetutil.la \
339 # $(top_builddir)/src/transport/libgnunettransporttesting.la 
340
341 test_transport_api_disconnect_tcp_SOURCES = \
342  test_transport_api_disconnect.c
343 test_transport_api_disconnect_tcp_LDADD = \
344  $(top_builddir)/src/transport/libgnunettransport.la \
345  $(top_builddir)/src/hello/libgnunethello.la \
346  $(top_builddir)/src/statistics/libgnunetstatistics.la \
347  $(top_builddir)/src/util/libgnunetutil.la \
348  $(top_builddir)/src/transport/libgnunettransporttesting.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_reliability_http_nat_SOURCES = \
496  test_transport_api_reliability.c
497 test_transport_api_reliability_http_nat_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_SOURCES = \
504  test_transport_api.c
505 test_transport_api_https_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_https_nat_SOURCES = \
512  test_transport_api.c
513 test_transport_api_https_nat_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_reliability_https_SOURCES = \
520  test_transport_api_reliability.c
521 test_transport_api_reliability_https_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_reliability_https_nat_SOURCES = \
528  test_transport_api_reliability.c
529 test_transport_api_reliability_https_nat_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_unix_SOURCES = \
536  test_transport_api_unreliability.c
537 test_transport_api_unreliability_unix_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 test_transport_api_unreliability_udp_SOURCES = \
544  test_transport_api_unreliability.c
545 test_transport_api_unreliability_udp_LDADD = \
546  $(top_builddir)/src/transport/libgnunettransport.la \
547  $(top_builddir)/src/hello/libgnunethello.la \
548  $(top_builddir)/src/util/libgnunetutil.la \
549  $(top_builddir)/src/transport/libgnunettransporttesting.la 
550
551 test_transport_api_unreliability_constant_udp_SOURCES = \
552  test_transport_api_unreliability_constant.c
553 test_transport_api_unreliability_constant_udp_LDADD = \
554  $(top_builddir)/src/transport/libgnunettransport.la \
555  $(top_builddir)/src/hello/libgnunethello.la \
556  $(top_builddir)/src/util/libgnunetutil.la \
557  $(top_builddir)/src/transport/libgnunettransporttesting.la 
558
559 if LINUX
560 test_transport_api_wlan_SOURCES = \
561  test_transport_api.c
562 test_transport_api_wlan_LDADD = \
563  $(top_builddir)/src/transport/libgnunettransport.la \
564  $(top_builddir)/src/hello/libgnunethello.la \
565  $(top_builddir)/src/util/libgnunetutil.la \
566  $(top_builddir)/src/transport/libgnunettransporttesting.la  
567 endif
568
569 test_quota_compliance_tcp_SOURCES = \
570  test_quota_compliance.c
571 test_quota_compliance_tcp_LDADD = \
572  $(top_builddir)/src/transport/libgnunettransport.la \
573  $(top_builddir)/src/hello/libgnunethello.la \
574  $(top_builddir)/src/util/libgnunetutil.la \
575  $(top_builddir)/src/transport/libgnunettransporttesting.la 
576
577 test_quota_compliance_tcp_asymmetric_SOURCES = \
578  test_quota_compliance.c
579 test_quota_compliance_tcp_asymmetric_LDADD = \
580  $(top_builddir)/src/transport/libgnunettransport.la \
581  $(top_builddir)/src/hello/libgnunethello.la \
582  $(top_builddir)/src/util/libgnunetutil.la \
583  $(top_builddir)/src/transport/libgnunettransporttesting.la 
584
585 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
586 # test_quota_compliance.c
587 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
588 # $(top_builddir)/src/transport/libgnunettransport.la \
589 # $(top_builddir)/src/util/libgnunetutil.la
590
591 test_quota_compliance_http_SOURCES = \
592  test_quota_compliance.c
593 test_quota_compliance_http_LDADD = \
594  $(top_builddir)/src/transport/libgnunettransport.la \
595  $(top_builddir)/src/hello/libgnunethello.la \
596  $(top_builddir)/src/util/libgnunetutil.la \
597  $(top_builddir)/src/transport/libgnunettransporttesting.la 
598
599  test_quota_compliance_http_asymmetric_SOURCES = \
600  test_quota_compliance.c
601 test_quota_compliance_http_asymmetric_LDADD = \
602  $(top_builddir)/src/transport/libgnunettransport.la \
603  $(top_builddir)/src/hello/libgnunethello.la \
604  $(top_builddir)/src/util/libgnunetutil.la \
605  $(top_builddir)/src/transport/libgnunettransporttesting.la
606
607 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
608 # test_quota_compliance.c
609 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
610 # $(top_builddir)/src/transport/libgnunettransport.la \
611 # $(top_builddir)/src/util/libgnunetutil.la
612
613 test_quota_compliance_https_SOURCES = \
614  test_quota_compliance.c
615 test_quota_compliance_https_LDADD = \
616  $(top_builddir)/src/transport/libgnunettransport.la \
617  $(top_builddir)/src/hello/libgnunethello.la \
618  $(top_builddir)/src/util/libgnunetutil.la \
619  $(top_builddir)/src/transport/libgnunettransporttesting.la
620
621  test_quota_compliance_https_asymmetric_SOURCES = \
622  test_quota_compliance.c
623 test_quota_compliance_https_asymmetric_LDADD = \
624  $(top_builddir)/src/transport/libgnunettransport.la \
625  $(top_builddir)/src/hello/libgnunethello.la \
626  $(top_builddir)/src/util/libgnunetutil.la \
627  $(top_builddir)/src/transport/libgnunettransporttesting.la
628
629 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
630 # test_quota_compliance.c
631 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
632 # $(top_builddir)/src/transport/libgnunettransport.la \
633 # $(top_builddir)/src/util/libgnunetutil.la
634
635 test_quota_compliance_udp_SOURCES = \
636  test_quota_compliance.c
637 test_quota_compliance_udp_LDADD = \
638  $(top_builddir)/src/transport/libgnunettransport.la \
639  $(top_builddir)/src/hello/libgnunethello.la \
640  $(top_builddir)/src/util/libgnunetutil.la \
641  $(top_builddir)/src/transport/libgnunettransporttesting.la
642
643 test_quota_compliance_unix_SOURCES = \
644  test_quota_compliance.c
645 test_quota_compliance_unix_LDADD = \
646  $(top_builddir)/src/transport/libgnunettransport.la \
647  $(top_builddir)/src/hello/libgnunethello.la \
648  $(top_builddir)/src/util/libgnunetutil.la \
649  $(top_builddir)/src/transport/libgnunettransporttesting.la
650
651 test_quota_compliance_unix_asymmetric_SOURCES = \
652  test_quota_compliance.c
653 test_quota_compliance_unix_asymmetric_LDADD = \
654  $(top_builddir)/src/transport/libgnunettransport.la \
655  $(top_builddir)/src/hello/libgnunethello.la \
656  $(top_builddir)/src/util/libgnunetutil.la \
657  $(top_builddir)/src/transport/libgnunettransporttesting.la
658
659 test_transport_api_multi_SOURCES = \
660  test_transport_api.c
661 test_transport_api_multi_LDADD = \
662  $(top_builddir)/src/transport/libgnunettransport.la \
663  $(top_builddir)/src/hello/libgnunethello.la \
664  $(top_builddir)/src/util/libgnunetutil.la \
665  $(top_builddir)/src/transport/libgnunettransporttesting.la 
666
667
668 EXTRA_DIST = \
669 gnunet-transport-certificate-creation \
670 template_cfg_peer1.conf\
671 template_cfg_peer2.conf\
672 test_plugin_transport_data.conf\
673 test_plugin_transport_data_http.conf\
674 test_plugin_transport_data_udp.conf\
675 test_quota_compliance_data.conf\
676 test_quota_compliance_http_peer1.conf\
677 test_quota_compliance_http_peer2.conf\
678 test_quota_compliance_https_peer1.conf\
679 test_quota_compliance_https_peer2.conf\
680 test_quota_compliance_tcp_peer1.conf\
681 test_quota_compliance_tcp_peer2.conf\
682 test_quota_compliance_udp_peer1.conf\
683 test_quota_compliance_udp_peer2.conf\
684 test_quota_compliance_unix_peer1.conf\
685 test_quota_compliance_unix_peer2.conf\
686 test_quota_compliance_http_asymmetric_peer1.conf\
687 test_quota_compliance_http_asymmetric_peer2.conf\
688 test_quota_compliance_https_asymmetric_peer1.conf\
689 test_quota_compliance_https_asymmetric_peer2.conf\
690 test_quota_compliance_tcp_asymmetric_peer1.conf\
691 test_quota_compliance_tcp_asymmetric_peer2.conf\
692 test_quota_compliance_unix_asymmetric_peer1.conf\
693 test_quota_compliance_unix_asymmetric_peer2.conf\
694 test_transport_api_data.conf\
695 test_transport_api_http_peer1.conf\
696 test_transport_api_http_peer2.conf\
697 test_transport_api_https_peer1.conf\
698 test_transport_api_https_peer2.conf\
699 test_transport_api_limited_sockets_tcp_peer1.conf\
700 test_transport_api_limited_sockets_tcp_peer2.conf\
701 test_transport_api_timeout_tcp_peer1.conf\
702 test_transport_api_timeout_tcp_peer2.conf\
703 test_transport_api_multi_peer1.conf\
704 test_transport_api_multi_peer2.conf\
705 test_transport_api_reliability_http_peer1.conf\
706 test_transport_api_reliability_http_peer2.conf\
707 test_transport_api_reliability_https_peer1.conf\
708 test_transport_api_reliability_https_peer2.conf\
709 test_transport_api_reliability_tcp_nat_peer1.conf\
710 test_transport_api_reliability_tcp_nat_peer2.conf\
711 test_transport_api_reliability_tcp_peer1.conf\
712 test_transport_api_reliability_tcp_peer2.conf\
713 test_transport_api_reliability_wlan_peer1.conf\
714 test_transport_api_reliability_wlan_peer2.conf\
715 test_transport_api_tcp_nat_peer1.conf\
716 test_transport_api_tcp_nat_peer2.conf\
717 test_transport_api_tcp_peer1.conf\
718 test_transport_api_tcp_peer2.conf\
719 test_transport_api_udp_nat_peer1.conf\
720 test_transport_api_udp_nat_peer2.conf\
721 test_transport_api_udp_peer1.conf\
722 test_transport_api_udp_peer2.conf\
723 test_transport_api_unix_peer1.conf\
724 test_transport_api_unix_peer2.conf\
725 test_transport_api_unreliability_udp_peer1.conf\
726 test_transport_api_unreliability_udp_peer2.conf\
727 test_transport_api_unreliability_unix_peer1.conf\
728 test_transport_api_unreliability_unix_peer2.conf\
729 test_transport_api_unreliability_wlan_peer1.conf\
730 test_transport_api_unreliability_wlan_peer2.conf\
731 test_transport_api_wlan_peer1.conf\
732 test_transport_api_wlan_peer2.conf\
733 test_transport_defaults.conf\
734 test_transport_startonly.conf\
735 test_transport_api_disconnect_tcp_peer1.conf\
736 test_transport_api_disconnect_tcp_peer2.conf\
737 test_transport_api_http_nat_peer1.conf\
738 test_transport_api_http_nat_peer2.conf\
739 test_transport_api_https_nat_peer1.conf\
740 test_transport_api_https_nat_peer2.conf\
741 test_transport_api_reliability_http_nat_peer1.conf\
742 test_transport_api_reliability_http_nat_peer2.conf\
743 test_transport_api_reliability_https_nat_peer1.conf\
744 test_transport_api_reliability_https_nat_peer2.conf\
745 test_transport_api_timeout_http_peer1.conf\
746 test_transport_api_timeout_http_peer2.conf\
747 test_transport_api_timeout_https_peer1.conf\
748 test_transport_api_timeout_https_peer2.conf\
749 test_transport_api_unreliability_constant_udp_peer1.conf\
750 test_transport_api_unreliability_constant_udp_peer2.conf