remove send on connect
[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 if LINUX
50 install-exec-hook:
51         chown root:root $(bindir)/gnunet-transport-wlan-helper || true
52         chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
53 else
54 install-exec-hook:
55 endif
56
57 if !MINGW
58 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
59 UNIX_PLUGIN_TEST = test_transport_api_unix 
60 UNIX_REL_TEST = test_transport_api_unreliability_unix
61 UNIX_QUOTA_TEST = test_quota_compliance_unix \
62      test_quota_compliance_unix_asymmetric_recv_constant
63 endif
64
65 #noinst_PROGRAMS = ${check_PROGRAMS}
66
67 lib_LTLIBRARIES = \
68   libgnunettransport.la 
69
70 libgnunettransport_la_SOURCES = \
71   transport_api.c transport.h \
72   transport_api_blacklist.c \
73   transport_api_address_lookup.c \
74   transport_api_peer_address_lookup.c \
75   transport_api_address_iterate.c
76 libgnunettransport_la_LIBADD = \
77   $(top_builddir)/src/hello/libgnunethello.la \
78   $(top_builddir)/src/util/libgnunetutil.la \
79   $(GN_LIBINTL) 
80 libgnunettransport_la_LDFLAGS = \
81   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
82   -version-info 0:0:0
83
84 bin_PROGRAMS = \
85  gnunet-transport \
86  $(WLAN_BIN) \
87  gnunet-service-transport \
88  gnunet-transport-list-connections \
89  $(WLAN_BIN_DUMMY)
90
91 bin_SCRIPTS = \
92  gnunet-transport-certificate-creation
93
94
95 gnunet_transport_wlan_helper_SOURCES = \
96  wlan/byteorder.h \
97  wlan/crctable_osdep.h \
98  wlan/helper_common.c wlan/helper_common.h \
99  wlan/ieee80211.h \
100  wlan/ieee80211_radiotap.h \
101  wlan/loopback_helper.h \
102  wlan/radiotap-parser.c wlan/radiotap-parser.h \
103  gnunet-transport-wlan-helper.c gnunet-transport-wlan-helper.h
104
105 gnunet_transport_wlan_helper_dummy_SOURCES = \
106  wlan/radiotap-parser.c \
107  wlan/helper_common.c \
108  test_plugin_transport_wlan_dummy.c
109
110 gnunet_transport_wlan_helper_LDADD = \
111   $(top_builddir)/src/util/libgnunetutil.la 
112
113 gnunet_transport_wlan_helper_dummy_LDADD = \
114   $(top_builddir)/src/util/libgnunetutil.la 
115
116 gnunet_transport_list_connections_SOURCES = \
117  gnunet-transport-list-connections.c         
118 gnunet_transport_list_connections_LDADD = \
119   $(top_builddir)/src/transport/libgnunettransport.la \
120   $(top_builddir)/src/util/libgnunetutil.la \
121   $(GN_LIBINTL)
122 gnunet_transport_list_connections_DEPENDENCIES = \
123   libgnunettransport.la
124
125 gnunet_transport_SOURCES = \
126  gnunet-transport.c         
127 gnunet_transport_LDADD = \
128   $(top_builddir)/src/transport/libgnunettransport.la \
129   $(top_builddir)/src/util/libgnunetutil.la \
130   $(GN_LIBINTL)
131 gnunet_transport_DEPENDENCIES = \
132   libgnunettransport.la                         
133
134 gnunet_service_transport_SOURCES = \
135  gnunet-service-transport.c $(TRANSPORT_ATS_SRC)
136 gnunet_service_transport_LDADD = \
137   $(top_builddir)/src/hello/libgnunethello.la \
138   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
139   $(top_builddir)/src/statistics/libgnunetstatistics.la \
140   $(top_builddir)/src/util/libgnunetutil.la \
141   $(GN_GLPK) \
142   $(GN_LIBINTL)
143
144 plugin_LTLIBRARIES = \
145   libgnunet_plugin_transport_tcp.la \
146   libgnunet_plugin_transport_udp.la \
147   $(UNIX_PLUGIN_LA) \
148   $(HTTP_PLUGIN_LA) \
149   $(HTTPS_PLUGIN_LA) \
150   $(WLAN_PLUGIN_LA) \
151   libgnunet_plugin_transport_template.la
152
153 libgnunet_plugin_transport_tcp_la_SOURCES = \
154   plugin_transport_tcp.c
155 libgnunet_plugin_transport_tcp_la_LIBADD = \
156   $(top_builddir)/src/hello/libgnunethello.la \
157   $(top_builddir)/src/statistics/libgnunetstatistics.la \
158   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
159   $(top_builddir)/src/nat/libgnunetnat.la \
160   $(top_builddir)/src/util/libgnunetutil.la 
161 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
162  $(GN_PLUGIN_LDFLAGS)
163
164 libgnunet_plugin_transport_template_la_SOURCES = \
165   plugin_transport_template.c
166 libgnunet_plugin_transport_template_la_LIBADD = \
167   $(top_builddir)/src/util/libgnunetutil.la 
168 libgnunet_plugin_transport_template_la_LDFLAGS = \
169  $(GN_PLUGIN_LDFLAGS)
170
171 libgnunet_plugin_transport_wlan_la_SOURCES = \
172   plugin_transport_wlan.c plugin_transport_wlan.h
173 libgnunet_plugin_transport_wlan_la_LIBADD = \
174   $(top_builddir)/src/hello/libgnunethello.la \
175   $(top_builddir)/src/statistics/libgnunetstatistics.la \
176   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
177   $(top_builddir)/src/util/libgnunetutil.la 
178 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
179   $(GN_PLUGIN_LDFLAGS)
180
181 libgnunet_plugin_transport_udp_la_SOURCES = \
182   plugin_transport_udp.c
183 libgnunet_plugin_transport_udp_la_LIBADD = \
184   $(top_builddir)/src/hello/libgnunethello.la \
185   $(top_builddir)/src/fragmentation/libgnunetfragmentation.la \
186   $(top_builddir)/src/statistics/libgnunetstatistics.la \
187   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
188   $(top_builddir)/src/nat/libgnunetnat.la \
189   $(top_builddir)/src/util/libgnunetutil.la 
190 libgnunet_plugin_transport_udp_la_LDFLAGS = \
191  $(GN_PLUGIN_LDFLAGS)
192
193 libgnunet_plugin_transport_unix_la_SOURCES = \
194   plugin_transport_unix.c
195 libgnunet_plugin_transport_unix_la_LIBADD = \
196   $(top_builddir)/src/hello/libgnunethello.la \
197   $(top_builddir)/src/statistics/libgnunetstatistics.la \
198   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
199   $(top_builddir)/src/util/libgnunetutil.la 
200 libgnunet_plugin_transport_unix_la_LDFLAGS = \
201  $(GN_PLUGIN_LDFLAGS)
202
203 libgnunet_plugin_transport_http_la_SOURCES = \
204   plugin_transport_http.c
205 libgnunet_plugin_transport_http_la_LIBADD = \
206   $(top_builddir)/src/hello/libgnunethello.la \
207   $(top_builddir)/src/statistics/libgnunetstatistics.la \
208   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
209   @LIBCURL@ \
210   $(top_builddir)/src/nat/libgnunetnat.la \
211   $(top_builddir)/src/util/libgnunetutil.la 
212 libgnunet_plugin_transport_http_la_LDFLAGS = \
213  $(GN_LIBMHD) \
214  $(GN_PLUGIN_LDFLAGS)
215 libgnunet_plugin_transport_http_la_CFLAGS = \
216  $(CFLAGS) 
217 libgnunet_plugin_transport_http_la_CPPFLAGS = \
218  @LIBCURL_CPPFLAGS@
219
220 libgnunet_plugin_transport_https_la_SOURCES = \
221   plugin_transport_http.c
222 libgnunet_plugin_transport_https_la_LIBADD = \
223   $(top_builddir)/src/hello/libgnunethello.la \
224   $(top_builddir)/src/statistics/libgnunetstatistics.la \
225   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
226   @LIBCURL@ \
227   $(top_builddir)/src/nat/libgnunetnat.la \
228   $(top_builddir)/src/util/libgnunetutil.la 
229 libgnunet_plugin_transport_https_la_LDFLAGS = \
230  $(GN_LIBMHD) \
231  $(GN_PLUGIN_LDFLAGS)
232 libgnunet_plugin_transport_https_la_CFLAGS = \
233  $(CFLAGS) -DBUILD_HTTPS 
234 libgnunet_plugin_transport_https_la_CPPFLAGS = \
235  @LIBCURL_CPPFLAGS@
236
237
238 check_PROGRAMS = \
239  $(TEST_TRANSPORT_ATS) \
240  $(ATS_TRANSPORT_BENCHMARKS) \
241  test_transport_api_tcp \
242  test_transport_api_tcp_nat \
243  test_transport_api_udp \
244  $(UNIX_PLUGIN_TEST) \
245  test_transport_api_udp_nat \
246  $(HTTP_PLUGIN_TEST) \
247  $(HTTP_API_TEST) \
248  $(HTTPS_PLUGIN_TEST) \
249  $(HTTPS_API_TEST) \
250  test_transport_api_multi \
251  test_transport_api_reliability_tcp \
252  test_transport_api_reliability_tcp_nat \
253  test_transport_api_unreliability_udp \
254  $(UNIX_REL_TEST) \
255  $(HTTP_REL_TEST) \
256  $(HTTPS_REL_TEST) \
257  test_transport_api_multiaddress_tcp \
258  test_quota_compliance_tcp \
259  test_quota_compliance_tcp_asymmetric_recv_constant \
260  test_quota_compliance_udp \
261  test_quota_compliance_udp_asymmetric_recv_constant \
262  $(UNIX_QUOTA_TEST) \
263  $(HTTP_QUOTA_TEST) \
264  $(HTTPS_QUOTA_TEST) \
265  $(WLAN_API_TEST) \
266  $(WLAN_REL_TEST) \
267  $(WLAN_UREL_TEST)
268
269 if ENABLE_TEST_RUN
270 TESTS = \
271  $(TEST_TRANSPORT_ATS) \
272  $(ATS_TRANSPORT_BENCHMARKS) \
273  test_transport_api_tcp \
274  test_transport_api_tcp_nat \
275  test_transport_api_udp \
276  $(UNIX_PLUGIN_TEST) \
277  test_transport_api_udp_nat \
278  $(HTTP_PLUGIN_TEST) \
279  $(HTTP_API_TEST) \
280  $(HTTPS_PLUGIN_TEST) \
281  $(HTTPS_API_TEST) \
282  test_transport_api_multiaddress_tcp \
283  test_transport_api_multi \
284  test_transport_api_reliability_tcp \
285  test_transport_api_reliability_tcp_nat \
286  test_transport_api_unreliability_udp \
287  $(UNIX_REL_TEST) \
288  $(HTTP_REL_TEST) \
289  $(HTTPS_REL_TEST) \
290  test_quota_compliance_tcp \
291  test_quota_compliance_tcp_asymmetric_recv_constant \
292  test_quota_compliance_udp \
293  test_quota_compliance_udp_asymmetric_recv_constant \
294  $(UNIX_QUOTA_TEST) \
295  $(HTTP_QUOTA_TEST) \
296  $(HTTPS_QUOTA_TEST) \
297  $(WLAN_API_TEST) \
298  $(WLAN_REL_TEST) \
299  $(WLAN_UREL_TEST)
300 endif
301
302 test_transport_ats_SOURCES = \
303  test_transport_ats.c $(TRANSPORT_ATS_SRC)
304 test_transport_ats_LDADD = -lm \
305  -lglpk \
306  $(top_builddir)/src/transport/libgnunettransport.la \
307  $(top_builddir)/src/statistics/libgnunetstatistics.la \
308  $(top_builddir)/src/testing/libgnunettesting.la \
309  $(top_builddir)/src/util/libgnunetutil.la 
310
311 test_transport_ats_multiple_peers_SOURCES = \
312  test_transport_ats_multiple_peers.c $(TRANSPORT_ATS_SRC)
313 test_transport_ats_multiple_peers_LDADD = -lm \
314  -lglpk \
315  $(top_builddir)/src/transport/libgnunettransport.la \
316  $(top_builddir)/src/statistics/libgnunetstatistics.la \
317  $(top_builddir)/src/testing/libgnunettesting.la \
318  $(top_builddir)/src/util/libgnunetutil.la  
319
320 perf_transport_ats_SOURCES = \
321  perf_transport_ats.c
322 perf_transport_ats_LDADD = \
323  -lglpk \
324  $(top_builddir)/src/util/libgnunetutil.la  
325
326 test_transport_api_tcp_SOURCES = \
327  test_transport_api.c
328 test_transport_api_tcp_LDADD = \
329  $(top_builddir)/src/transport/libgnunettransport.la \
330  $(top_builddir)/src/hello/libgnunethello.la \
331  $(top_builddir)/src/util/libgnunetutil.la  
332
333 test_transport_api_tcp_nat_SOURCES = \
334  test_transport_api.c
335 test_transport_api_tcp_nat_LDADD = \
336  $(top_builddir)/src/transport/libgnunettransport.la \
337  $(top_builddir)/src/hello/libgnunethello.la \
338  $(top_builddir)/src/util/libgnunetutil.la  
339
340 test_transport_api_reliability_tcp_SOURCES = \
341  test_transport_api_reliability.c
342 test_transport_api_reliability_tcp_LDADD = \
343  $(top_builddir)/src/transport/libgnunettransport.la \
344  $(top_builddir)/src/hello/libgnunethello.la \
345  $(top_builddir)/src/util/libgnunetutil.la  
346
347 test_transport_api_multiaddress_tcp_SOURCES = \
348  test_transport_api_multiaddress.c
349 test_transport_api_multiaddress_tcp_LDADD = \
350  $(top_builddir)/src/transport/libgnunettransport.la \
351  $(top_builddir)/src/hello/libgnunethello.la \
352  $(top_builddir)/src/util/libgnunetutil.la  
353
354 test_transport_api_reliability_tcp_nat_SOURCES = \
355  test_transport_api_reliability.c
356 test_transport_api_reliability_tcp_nat_LDADD = \
357  $(top_builddir)/src/transport/libgnunettransport.la \
358  $(top_builddir)/src/hello/libgnunethello.la \
359  $(top_builddir)/src/util/libgnunetutil.la 
360
361 test_transport_api_reliability_wlan_SOURCES = \
362  test_transport_api_reliability.c
363 test_transport_api_reliability_wlan_LDADD = \
364  $(top_builddir)/src/transport/libgnunettransport.la \
365  $(top_builddir)/src/hello/libgnunethello.la \
366  $(top_builddir)/src/util/libgnunetutil.la
367
368 test_transport_api_unreliability_wlan_SOURCES = \
369  test_transport_api_unreliability.c
370 test_transport_api_unreliability_wlan_LDADD = \
371  $(top_builddir)/src/transport/libgnunettransport.la \
372  $(top_builddir)/src/hello/libgnunethello.la \
373  $(top_builddir)/src/util/libgnunetutil.la
374
375 test_transport_api_udp_SOURCES = \
376  test_transport_api.c
377 test_transport_api_udp_LDADD = \
378  $(top_builddir)/src/transport/libgnunettransport.la \
379  $(top_builddir)/src/hello/libgnunethello.la \
380  $(top_builddir)/src/util/libgnunetutil.la  
381
382 test_transport_api_udp_nat_SOURCES = \
383  test_transport_api.c
384 test_transport_api_udp_nat_LDADD = \
385  $(top_builddir)/src/transport/libgnunettransport.la \
386  $(top_builddir)/src/hello/libgnunethello.la \
387  $(top_builddir)/src/util/libgnunetutil.la   
388
389 test_transport_api_unix_SOURCES = \
390  test_transport_api.c
391 test_transport_api_unix_LDADD = \
392  $(top_builddir)/src/transport/libgnunettransport.la \
393  $(top_builddir)/src/hello/libgnunethello.la \
394  $(top_builddir)/src/util/libgnunetutil.la 
395
396 #test_plugin_transport_http_SOURCES = \
397 # test_plugin_transport_http.c
398 #test_plugin_transport_http_LDADD = \
399 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
400 # @LIBCURL@ \
401 # $(top_builddir)/src/hello/libgnunethello.la \
402 # $(top_builddir)/src/util/libgnunetutil.la  
403
404 test_transport_api_http_SOURCES = \
405  test_transport_api.c
406 test_transport_api_http_LDADD = \
407  $(top_builddir)/src/transport/libgnunettransport.la \
408  $(top_builddir)/src/hello/libgnunethello.la \
409  $(top_builddir)/src/util/libgnunetutil.la  
410
411 test_transport_api_reliability_http_SOURCES = \
412  test_transport_api_reliability.c
413 test_transport_api_reliability_http_LDADD = \
414  $(top_builddir)/src/transport/libgnunettransport.la \
415  $(top_builddir)/src/hello/libgnunethello.la \
416  $(top_builddir)/src/util/libgnunetutil.la
417
418 #test_plugin_transport_https_SOURCES = \
419 # test_plugin_transport_https.c
420 #test_plugin_transport_https_LDADD = \
421 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
422 # @LIBCURL@ \
423 # $(top_builddir)/src/hello/libgnunethello.la \
424 # $(top_builddir)/src/util/libgnunetutil.la  
425
426 test_transport_api_https_SOURCES = \
427  test_transport_api.c
428 test_transport_api_https_LDADD = \
429  $(top_builddir)/src/transport/libgnunettransport.la \
430  $(top_builddir)/src/hello/libgnunethello.la \
431  $(top_builddir)/src/util/libgnunetutil.la  
432
433 test_transport_api_reliability_https_SOURCES = \
434  test_transport_api_reliability.c
435 test_transport_api_reliability_https_LDADD = \
436  $(top_builddir)/src/transport/libgnunettransport.la \
437  $(top_builddir)/src/hello/libgnunethello.la \
438  $(top_builddir)/src/util/libgnunetutil.la
439
440 test_transport_api_unreliability_unix_SOURCES = \
441  test_transport_api_unreliability.c
442 test_transport_api_unreliability_unix_LDADD = \
443  $(top_builddir)/src/transport/libgnunettransport.la \
444  $(top_builddir)/src/hello/libgnunethello.la \
445  $(top_builddir)/src/util/libgnunetutil.la
446
447 test_transport_api_unreliability_udp_SOURCES = \
448  test_transport_api_unreliability.c
449 test_transport_api_unreliability_udp_LDADD = \
450  $(top_builddir)/src/transport/libgnunettransport.la \
451  $(top_builddir)/src/hello/libgnunethello.la \
452  $(top_builddir)/src/util/libgnunetutil.la
453
454 if LINUX
455 test_transport_api_wlan_SOURCES = \
456  test_transport_api.c
457 test_transport_api_wlan_LDADD = \
458  $(top_builddir)/src/transport/libgnunettransport.la \
459  $(top_builddir)/src/hello/libgnunethello.la \
460  $(top_builddir)/src/util/libgnunetutil.la  
461 endif
462
463 test_quota_compliance_tcp_SOURCES = \
464  test_quota_compliance.c
465 test_quota_compliance_tcp_LDADD = \
466  $(top_builddir)/src/transport/libgnunettransport.la \
467  $(top_builddir)/src/hello/libgnunethello.la \
468  $(top_builddir)/src/util/libgnunetutil.la
469
470 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
471  test_quota_compliance.c
472 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
473  $(top_builddir)/src/transport/libgnunettransport.la \
474  $(top_builddir)/src/hello/libgnunethello.la \
475  $(top_builddir)/src/util/libgnunetutil.la
476
477 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
478 # test_quota_compliance.c
479 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
480 # $(top_builddir)/src/transport/libgnunettransport.la \
481 # $(top_builddir)/src/util/libgnunetutil.la
482
483 test_quota_compliance_http_SOURCES = \
484  test_quota_compliance.c
485 test_quota_compliance_http_LDADD = \
486  $(top_builddir)/src/transport/libgnunettransport.la \
487  $(top_builddir)/src/hello/libgnunethello.la \
488  $(top_builddir)/src/util/libgnunetutil.la
489
490  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
491  test_quota_compliance.c
492 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
493  $(top_builddir)/src/transport/libgnunettransport.la \
494  $(top_builddir)/src/hello/libgnunethello.la \
495  $(top_builddir)/src/util/libgnunetutil.la
496
497 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
498 # test_quota_compliance.c
499 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
500 # $(top_builddir)/src/transport/libgnunettransport.la \
501 # $(top_builddir)/src/util/libgnunetutil.la
502
503 test_quota_compliance_https_SOURCES = \
504  test_quota_compliance.c
505 test_quota_compliance_https_LDADD = \
506  $(top_builddir)/src/transport/libgnunettransport.la \
507  $(top_builddir)/src/hello/libgnunethello.la \
508  $(top_builddir)/src/util/libgnunetutil.la
509
510  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
511  test_quota_compliance.c
512 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
513  $(top_builddir)/src/transport/libgnunettransport.la \
514  $(top_builddir)/src/hello/libgnunethello.la \
515  $(top_builddir)/src/util/libgnunetutil.la
516
517 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
518 # test_quota_compliance.c
519 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
520 # $(top_builddir)/src/transport/libgnunettransport.la \
521 # $(top_builddir)/src/util/libgnunetutil.la
522
523 test_quota_compliance_udp_SOURCES = \
524  test_quota_compliance.c
525 test_quota_compliance_udp_LDADD = \
526  $(top_builddir)/src/transport/libgnunettransport.la \
527  $(top_builddir)/src/hello/libgnunethello.la \
528  $(top_builddir)/src/util/libgnunetutil.la
529
530 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
531  test_quota_compliance.c
532 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
533  $(top_builddir)/src/transport/libgnunettransport.la \
534  $(top_builddir)/src/hello/libgnunethello.la \
535  $(top_builddir)/src/util/libgnunetutil.la
536
537 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
538 # test_quota_compliance.c
539 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
540 # $(top_builddir)/src/transport/libgnunettransport.la \
541 # $(top_builddir)/src/util/libgnunetutil.la 
542
543 test_quota_compliance_unix_SOURCES = \
544  test_quota_compliance.c
545 test_quota_compliance_unix_LDADD = \
546  $(top_builddir)/src/transport/libgnunettransport.la \
547  $(top_builddir)/src/hello/libgnunethello.la \
548  $(top_builddir)/src/util/libgnunetutil.la
549
550 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
551  test_quota_compliance.c
552 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
553  $(top_builddir)/src/transport/libgnunettransport.la \
554  $(top_builddir)/src/hello/libgnunethello.la \
555  $(top_builddir)/src/util/libgnunetutil.la
556
557
558 test_transport_api_multi_SOURCES = \
559  test_transport_api.c
560 test_transport_api_multi_LDADD = \
561  $(top_builddir)/src/transport/libgnunettransport.la \
562  $(top_builddir)/src/hello/libgnunethello.la \
563  $(top_builddir)/src/util/libgnunetutil.la  
564 EXTRA_DIST = \
565   gnunet-transport-certificate-creation \
566   ats_mlp_p100_m400.problem \
567   test_transport_api_data.conf \
568   test_transport_api_tcp_peer1.conf \
569   test_transport_api_tcp_peer2.conf \
570   test_transport_api_udp_peer1.conf \
571   test_transport_api_udp_peer2.conf \
572   test_transport_api_unix_peer1.conf \
573   test_transport_api_unix_peer2.conf \
574   test_transport_api_udp_nat_peer1.conf \
575   test_transport_api_udp_nat_peer2.conf \
576   test_transport_api_tcp_nat_peer1.conf \
577   test_transport_api_tcp_nat_peer2.conf \
578   test_plugin_transport_data.conf \
579   test_transport_api_http_peer1.conf \
580   test_transport_api_http_peer2.conf \
581   test_transport_api_https_peer1.conf \
582   test_transport_api_https_peer2.conf \
583   test_transport_api_wlan_peer1.conf \
584   test_transport_api_wlan_peer2.conf \
585   test_transport_api_multi_peer1.conf \
586   test_transport_api_multi_peer2.conf \
587   test_transport_api_rel_http_peer1.conf \
588   test_transport_api_rel_http_peer2.conf \
589   test_transport_api_rel_https_peer1.conf \
590   test_transport_api_rel_https_peer2.conf \
591   test_plugin_transport_data_http.conf \
592   test_plugin_transport_data.conf \
593   test_quota_compliance_data.conf \
594   test_quota_compliance_tcp_peer1.conf \
595   test_quota_compliance_tcp_peer2.conf \
596   test_quota_compliance_http_peer1.conf \
597   test_quota_compliance_http_peer2.conf \
598   test_quota_compliance_https_peer1.conf \
599   test_quota_compliance_https_peer2.conf \
600   test_quota_compliance_udp_peer1.conf \
601   test_quota_compliance_udp_peer2.conf \
602   test_quota_compliance_unix_peer1.conf \
603   test_quota_compliance_unix_peer2.conf \
604   test_plugin_transport_data_udp.conf \
605   test_transport_ats_1addr.conf \
606   test_transport_ats_2addr.conf \
607   test_transport_ats_4addr.conf