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