diff options
Diffstat (limited to 'src/ats/Makefile.am')
-rw-r--r-- | src/ats/Makefile.am | 521 |
1 files changed, 30 insertions, 491 deletions
diff --git a/src/ats/Makefile.am b/src/ats/Makefile.am index 2a14ae73f..63917b907 100644 --- a/src/ats/Makefile.am +++ b/src/ats/Makefile.am | |||
@@ -18,23 +18,6 @@ if USE_COVERAGE | |||
18 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | 18 | AM_CFLAGS = -fprofile-arcs -ftest-coverage |
19 | endif | 19 | endif |
20 | 20 | ||
21 | #noinst_PROGRAMS = \ | ||
22 | # gnunet-ats-solver-eval | ||
23 | |||
24 | if HAVE_LIBGLPK | ||
25 | GN_LIBGLPK = -lglpk | ||
26 | GN_MLP_LIB = libgnunet_plugin_ats_mlp.la | ||
27 | GN_MLP_PERF = perf_ats_mlp | ||
28 | GN_MLP_ADD_ADDRESS = test_ats_solver_add_address_mlp | ||
29 | GN_MLP_ADD_REQUEST_ADDRESS = test_ats_solver_add_address_and_request_mlp | ||
30 | GN_MLP_ADD_REQUEST_ADDRESS_DELAYED = test_ats_solver_add_address_and_request_delayed_mlp | ||
31 | GN_MLP_REQUEST_ADD_ADDRESS = test_ats_solver_request_and_add_address_mlp | ||
32 | GN_MLP_REQUEST_DELETE_ADDRESS = test_ats_solver_request_and_delete_address_mlp | ||
33 | GN_MLP_PREFERENCES_ADDRESS = test_ats_solver_preferences_mlp | ||
34 | GN_MLP_ALTERNATIVE_DELETE_ADDRESS = test_ats_solver_alternative_after_delete_address_mlp | ||
35 | GN_MLP_SOLVER_PERF = perf_ats_solver_mlp | ||
36 | endif | ||
37 | |||
38 | lib_LTLIBRARIES = libgnunetats.la | 21 | lib_LTLIBRARIES = libgnunetats.la |
39 | 22 | ||
40 | plugin_LTLIBRARIES = \ | 23 | plugin_LTLIBRARIES = \ |
@@ -42,21 +25,10 @@ plugin_LTLIBRARIES = \ | |||
42 | $(GN_MLP_LIB) \ | 25 | $(GN_MLP_LIB) \ |
43 | libgnunet_plugin_ats_ril.la | 26 | libgnunet_plugin_ats_ril.la |
44 | 27 | ||
45 | #gnunet_ats_solver_eval_SOURCES = \ | 28 | if HAVE_LIBGLPK |
46 | # gnunet-ats-solver-eval.c gnunet-ats-solver-eval.h \ | 29 | plugin_LTLIBRARIES += \ |
47 | # gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \ | 30 | libgnunet_plugin_ats_mlp.la |
48 | # gnunet-service-ats_plugins.c gnunet-service-ats_plugins.h \ | 31 | endif |
49 | # gnunet-service-ats_connectivity.c gnunet-service-ats_connectivity.h \ | ||
50 | # gnunet-service-ats_feedback.c gnunet-service-ats_feedback.h \ | ||
51 | # gnunet-service-ats_performance.c gnunet-service-ats_performance.h \ | ||
52 | # gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h \ | ||
53 | # gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \ | ||
54 | # gnunet-service-ats_normalization.c | ||
55 | #gnunet_ats_solver_eval_LDADD = \ | ||
56 | # $(top_builddir)/src/util/libgnunetutil.la \ | ||
57 | # libgnunetats.la \ | ||
58 | # $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
59 | # $(LTLIBINTL) | ||
60 | 32 | ||
61 | libgnunetats_la_SOURCES = \ | 33 | libgnunetats_la_SOURCES = \ |
62 | ats_api_connectivity.c \ | 34 | ats_api_connectivity.c \ |
@@ -90,7 +62,8 @@ libgnunet_plugin_ats_mlp_la_LIBADD = \ | |||
90 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 62 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
91 | $(top_builddir)/src/util/libgnunetutil.la | 63 | $(top_builddir)/src/util/libgnunetutil.la |
92 | libgnunet_plugin_ats_mlp_la_LDFLAGS = \ | 64 | libgnunet_plugin_ats_mlp_la_LDFLAGS = \ |
93 | $(GN_PLUGIN_LDFLAGS) $(GN_LIBGLPK) | 65 | $(GN_PLUGIN_LDFLAGS) \ |
66 | -lglpk | ||
94 | endif | 67 | endif |
95 | 68 | ||
96 | libgnunet_plugin_ats_ril_la_SOURCES = \ | 69 | libgnunet_plugin_ats_ril_la_SOURCES = \ |
@@ -107,7 +80,7 @@ libexec_PROGRAMS = \ | |||
107 | gnunet-service-ats | 80 | gnunet-service-ats |
108 | 81 | ||
109 | gnunet_service_ats_SOURCES = \ | 82 | gnunet_service_ats_SOURCES = \ |
110 | gnunet-service-ats.c gnunet-service-ats.h\ | 83 | gnunet-service-ats.c gnunet-service-ats.h \ |
111 | gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \ | 84 | gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \ |
112 | gnunet-service-ats_connectivity.c gnunet-service-ats_connectivity.h \ | 85 | gnunet-service-ats_connectivity.c gnunet-service-ats_connectivity.h \ |
113 | gnunet-service-ats_feedback.c gnunet-service-ats_feedback.h \ | 86 | gnunet-service-ats_feedback.c gnunet-service-ats_feedback.h \ |
@@ -125,44 +98,12 @@ gnunet_service_ats_LDADD = \ | |||
125 | 98 | ||
126 | if HAVE_TESTING | 99 | if HAVE_TESTING |
127 | TESTING_TESTS = \ | 100 | TESTING_TESTS = \ |
128 | test_ats_api_scheduling_init \ | 101 | test_ats_api_proportional \ |
129 | test_ats_api_scheduling_add_address \ | 102 | test_ats_api_ril |
130 | test_ats_api_scheduling_add_address_duplicate \ | 103 | if HAVE_LIBGLPK |
131 | test_ats_api_scheduling_add_address_inbound \ | 104 | TESTING_TESTS += \ |
132 | test_ats_api_scheduling_destroy_address \ | 105 | test_ats_api_mlp |
133 | test_ats_api_scheduling_add_session \ | 106 | endif |
134 | test_ats_api_delayed_service_scheduling_add_address \ | ||
135 | test_ats_api_performance_list_all_addresses \ | ||
136 | test_ats_api_delayed_service_performance_list_all_addresses \ | ||
137 | test_ats_api_performance_list_peer_addresses \ | ||
138 | test_ats_api_performance_list_all_addresses_active \ | ||
139 | test_ats_api_performance_monitor \ | ||
140 | test_ats_api_delayed_service_performance_monitor \ | ||
141 | test_ats_api_performance_monitor_initial_callback \ | ||
142 | test_ats_solver_add_address_proportional \ | ||
143 | test_ats_solver_add_address_and_request_proportional \ | ||
144 | test_ats_solver_add_address_and_request_delayed_proportional\ | ||
145 | test_ats_solver_request_and_add_address_proportional \ | ||
146 | test_ats_solver_request_and_delete_address_proportional \ | ||
147 | test_ats_solver_alternative_after_delete_address_proportional \ | ||
148 | test_ats_solver_preferences_proportional \ | ||
149 | test_ats_solver_preferences_ril \ | ||
150 | $(GN_MLP_ADD_ADDRESS) \ | ||
151 | $(GN_MLP_ADD_REQUEST_ADDRESS) \ | ||
152 | $(GN_MLP_ADD_REQUEST_ADDRESS_DELAYED) \ | ||
153 | $(GN_MLP_REQUEST_ADD_ADDRESS) \ | ||
154 | $(GN_MLP_REQUEST_DELETE_ADDRESS) \ | ||
155 | $(GN_MLP_ALTERNATIVE_DELETE_ADDRESS) \ | ||
156 | $(GN_MLP_PREFERENCES_ADDRESS) \ | ||
157 | test_ats_solver_add_address_ril \ | ||
158 | test_ats_solver_add_address_and_request_ril \ | ||
159 | test_ats_solver_add_address_and_request_delayed_ril \ | ||
160 | test_ats_solver_request_and_add_address_ril \ | ||
161 | test_ats_solver_request_and_delete_address_ril \ | ||
162 | test_ats_solver_alternative_after_delete_address_ril \ | ||
163 | perf_ats_solver_proportional \ | ||
164 | $(GN_MLP_SOLVER_PERF) \ | ||
165 | perf_ats_solver_ril | ||
166 | endif | 107 | endif |
167 | 108 | ||
168 | check_PROGRAMS = \ | 109 | check_PROGRAMS = \ |
@@ -173,438 +114,36 @@ AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PAT | |||
173 | TESTS = $(check_PROGRAMS) | 114 | TESTS = $(check_PROGRAMS) |
174 | endif | 115 | endif |
175 | 116 | ||
176 | # scheduling API tests | 117 | test_ats_api_proportional_SOURCES = \ |
177 | 118 | test_ats_api.c \ | |
178 | test_ats_api_scheduling_init_SOURCES = \ | 119 | test_ats_lib.c test_ats_lib.h |
179 | test_ats_api_scheduling_init.c \ | 120 | test_ats_api_proportional_LDADD = \ |
180 | test_ats_api_common.c test_ats_api_common.h | ||
181 | test_ats_api_scheduling_init_LDADD = \ | ||
182 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
183 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
184 | libgnunetats.la \ | ||
185 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
186 | |||
187 | test_ats_api_scheduling_add_address_SOURCES = \ | ||
188 | test_ats_api_scheduling_add_address.c \ | ||
189 | test_ats_api_common.c test_ats_api_common.h | ||
190 | test_ats_api_scheduling_add_address_LDADD = \ | ||
191 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
192 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
193 | libgnunetats.la \ | ||
194 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
195 | |||
196 | test_ats_api_delayed_service_scheduling_add_address_SOURCES = \ | ||
197 | test_ats_api_delayed_service_scheduling_add_address.c \ | ||
198 | test_ats_api_common.c test_ats_api_common.h | ||
199 | test_ats_api_delayed_service_scheduling_add_address_LDADD = \ | ||
200 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
201 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
202 | libgnunetats.la \ | ||
203 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
204 | |||
205 | test_ats_api_scheduling_add_address_inbound_SOURCES = \ | ||
206 | test_ats_api_scheduling_add_address_inbound.c \ | ||
207 | test_ats_api_common.c test_ats_api_common.h | ||
208 | test_ats_api_scheduling_add_address_inbound_LDADD = \ | ||
209 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
210 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
211 | libgnunetats.la \ | ||
212 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
213 | |||
214 | test_ats_api_scheduling_add_address_duplicate_SOURCES = \ | ||
215 | test_ats_api_scheduling_add_address_duplicate.c \ | ||
216 | test_ats_api_common.c test_ats_api_common.h | ||
217 | test_ats_api_scheduling_add_address_duplicate_LDADD = \ | ||
218 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
219 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
220 | libgnunetats.la \ | ||
221 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
222 | |||
223 | test_ats_api_scheduling_destroy_address_SOURCES = \ | ||
224 | test_ats_api_scheduling_destroy_address.c \ | ||
225 | test_ats_api_common.c test_ats_api_common.h | ||
226 | test_ats_api_scheduling_destroy_address_LDADD = \ | ||
227 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
228 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
229 | libgnunetats.la \ | ||
230 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
231 | |||
232 | test_ats_api_scheduling_add_session_SOURCES = \ | ||
233 | test_ats_api_scheduling_add_session.c test_ats_api_common.c | ||
234 | test_ats_api_scheduling_add_session_LDADD = \ | ||
235 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
236 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
237 | libgnunetats.la \ | ||
238 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
239 | |||
240 | # performance API tests | ||
241 | |||
242 | test_ats_api_performance_list_all_addresses_SOURCES = \ | ||
243 | test_ats_api_performance_list_all_addresses.c | ||
244 | test_ats_api_performance_list_all_addresses_LDADD = \ | ||
245 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
246 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
247 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
248 | libgnunetats.la \ | ||
249 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
250 | |||
251 | test_ats_api_delayed_service_performance_list_all_addresses_SOURCES = \ | ||
252 | test_ats_api_delayed_service_performance_list_all_addresses.c | ||
253 | test_ats_api_delayed_service_performance_list_all_addresses_LDADD = \ | ||
254 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
255 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
256 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
257 | libgnunetats.la \ | ||
258 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
259 | |||
260 | test_ats_api_performance_list_peer_addresses_SOURCES = \ | ||
261 | test_ats_api_performance_list_peer_addresses.c | ||
262 | test_ats_api_performance_list_peer_addresses_LDADD = \ | ||
263 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
264 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
265 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
266 | libgnunetats.la \ | ||
267 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
268 | |||
269 | test_ats_api_performance_list_all_addresses_active_SOURCES = \ | ||
270 | test_ats_api_performance_list_all_addresses_active.c | ||
271 | test_ats_api_performance_list_all_addresses_active_LDADD = \ | ||
272 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
273 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
274 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
275 | libgnunetats.la \ | ||
276 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
277 | |||
278 | test_ats_api_performance_monitor_SOURCES = \ | ||
279 | test_ats_api_performance_monitor.c | ||
280 | test_ats_api_performance_monitor_LDADD = \ | ||
281 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
282 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
283 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
284 | libgnunetats.la \ | ||
285 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
286 | |||
287 | test_ats_api_delayed_service_performance_monitor_SOURCES = \ | ||
288 | test_ats_api_delayed_service_performance_monitor.c | ||
289 | test_ats_api_delayed_service_performance_monitor_LDADD = \ | ||
290 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
291 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
292 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
293 | libgnunetats.la \ | ||
294 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
295 | |||
296 | |||
297 | |||
298 | test_ats_api_performance_monitor_initial_callback_SOURCES = \ | ||
299 | test_ats_api_performance_monitor_initial_callback.c | ||
300 | test_ats_api_performance_monitor_initial_callback_LDADD = \ | ||
301 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
302 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
303 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
304 | libgnunetats.la \ | ||
305 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
306 | |||
307 | # solver tests | ||
308 | test_ats_solver_add_address_proportional_SOURCES = \ | ||
309 | test_ats_solver_add_address.c \ | ||
310 | test_ats_api_common.c test_ats_api_common.h | ||
311 | test_ats_solver_add_address_proportional_LDADD = \ | ||
312 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
313 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
314 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
315 | libgnunetats.la \ | ||
316 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
317 | |||
318 | if HAVE_LIBGLPK | ||
319 | test_ats_solver_add_address_mlp_SOURCES = \ | ||
320 | test_ats_solver_add_address.c \ | ||
321 | test_ats_api_common.c test_ats_api_common.h | ||
322 | test_ats_solver_add_address_mlp_LDADD = \ | ||
323 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
324 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
325 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
326 | libgnunetats.la \ | ||
327 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
328 | endif | ||
329 | |||
330 | test_ats_solver_add_address_ril_SOURCES = \ | ||
331 | test_ats_solver_add_address.c \ | ||
332 | test_ats_api_common.c test_ats_api_common.h | ||
333 | test_ats_solver_add_address_ril_LDADD = \ | ||
334 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
335 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
336 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
337 | libgnunetats.la \ | ||
338 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
339 | |||
340 | test_ats_solver_add_address_and_request_proportional_SOURCES = \ | ||
341 | test_ats_solver_add_address_and_request.c \ | ||
342 | test_ats_api_common.c test_ats_api_common.h | ||
343 | test_ats_solver_add_address_and_request_proportional_LDADD = \ | ||
344 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
345 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
346 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
347 | libgnunetats.la \ | ||
348 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
349 | |||
350 | test_ats_solver_add_address_and_request_delayed_proportional_SOURCES = \ | ||
351 | test_ats_solver_add_address_and_request.c \ | ||
352 | test_ats_api_common.c test_ats_api_common.h | ||
353 | test_ats_solver_add_address_and_request_delayed_proportional_LDADD = \ | ||
354 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
355 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
356 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
357 | libgnunetats.la \ | ||
358 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
359 | |||
360 | test_ats_solver_add_address_and_request_delayed_ril_SOURCES = \ | ||
361 | test_ats_solver_add_address_and_request.c \ | ||
362 | test_ats_api_common.c test_ats_api_common.h | ||
363 | test_ats_solver_add_address_and_request_delayed_ril_LDADD = \ | ||
364 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
365 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
366 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
367 | libgnunetats.la \ | ||
368 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
369 | |||
370 | if HAVE_LIBGLPK | ||
371 | test_ats_solver_add_address_and_request_mlp_SOURCES = \ | ||
372 | test_ats_solver_add_address_and_request.c \ | ||
373 | test_ats_api_common.c test_ats_api_common.h | ||
374 | test_ats_solver_add_address_and_request_mlp_LDADD = \ | ||
375 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
376 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
377 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
378 | libgnunetats.la \ | ||
379 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
380 | endif | ||
381 | |||
382 | test_ats_solver_add_address_and_request_delayed_mlp_SOURCES = \ | ||
383 | test_ats_solver_add_address_and_request.c \ | ||
384 | test_ats_api_common.c test_ats_api_common.h | ||
385 | test_ats_solver_add_address_and_request_delayed_mlp_LDADD = \ | ||
386 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
387 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
388 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
389 | libgnunetats.la \ | ||
390 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
391 | |||
392 | test_ats_solver_add_address_and_request_ril_SOURCES = \ | ||
393 | test_ats_solver_add_address_and_request.c \ | ||
394 | test_ats_api_common.c test_ats_api_common.h | ||
395 | test_ats_solver_add_address_and_request_ril_LDADD = \ | ||
396 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
397 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
398 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
399 | libgnunetats.la \ | ||
400 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
401 | |||
402 | |||
403 | test_ats_solver_request_and_add_address_proportional_SOURCES = \ | ||
404 | test_ats_solver_request_and_add_address.c \ | ||
405 | test_ats_api_common.c test_ats_api_common.h | ||
406 | test_ats_solver_request_and_add_address_proportional_LDADD = \ | ||
407 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
408 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
409 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
410 | libgnunetats.la \ | ||
411 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
412 | |||
413 | if HAVE_LIBGLPK | ||
414 | test_ats_solver_request_and_add_address_mlp_SOURCES = \ | ||
415 | test_ats_solver_request_and_add_address.c \ | ||
416 | test_ats_api_common.c test_ats_api_common.h | ||
417 | test_ats_solver_request_and_add_address_mlp_LDADD = \ | ||
418 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
419 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
420 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
421 | libgnunetats.la \ | ||
422 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
423 | endif | ||
424 | |||
425 | test_ats_solver_request_and_add_address_ril_SOURCES = \ | ||
426 | test_ats_solver_request_and_add_address.c \ | ||
427 | test_ats_api_common.c test_ats_api_common.h | ||
428 | test_ats_solver_request_and_add_address_ril_LDADD = \ | ||
429 | $(top_builddir)/src/util/libgnunetutil.la \ | 121 | $(top_builddir)/src/util/libgnunetutil.la \ |
430 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
431 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
432 | libgnunetats.la \ | ||
433 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
434 | |||
435 | |||
436 | test_ats_solver_request_and_delete_address_proportional_SOURCES = \ | ||
437 | test_ats_solver_request_and_delete_address.c \ | ||
438 | test_ats_api_common.c test_ats_api_common.h | ||
439 | test_ats_solver_request_and_delete_address_proportional_LDADD = \ | ||
440 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
441 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
442 | $(top_builddir)/src/hello/libgnunethello.la \ | 122 | $(top_builddir)/src/hello/libgnunethello.la \ |
443 | libgnunetats.la \ | ||
444 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
445 | |||
446 | if HAVE_LIBGLPK | ||
447 | test_ats_solver_request_and_delete_address_mlp_SOURCES = \ | ||
448 | test_ats_solver_request_and_delete_address.c \ | ||
449 | test_ats_api_common.c test_ats_api_common.h | ||
450 | test_ats_solver_request_and_delete_address_mlp_LDADD = \ | ||
451 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
452 | $(top_builddir)/src/testing/libgnunettesting.la \ | 123 | $(top_builddir)/src/testing/libgnunettesting.la \ |
453 | $(top_builddir)/src/hello/libgnunethello.la \ | 124 | libgnunetats.la |
454 | libgnunetats.la \ | ||
455 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
456 | endif | ||
457 | |||
458 | test_ats_solver_request_and_delete_address_ril_SOURCES = \ | ||
459 | test_ats_solver_request_and_delete_address.c \ | ||
460 | test_ats_api_common.c test_ats_api_common.h | ||
461 | test_ats_solver_request_and_delete_address_ril_LDADD = \ | ||
462 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
463 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
464 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
465 | libgnunetats.la \ | ||
466 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
467 | |||
468 | 125 | ||
469 | test_ats_solver_alternative_after_delete_address_proportional_SOURCES = \ | 126 | test_ats_api_ril_SOURCES = \ |
470 | test_ats_solver_alternative_after_delete_address.c \ | 127 | test_ats_api.c \ |
471 | test_ats_api_common.c test_ats_api_common.h | 128 | test_ats_lib.c test_ats_lib.h |
472 | test_ats_solver_alternative_after_delete_address_proportional_LDADD = \ | 129 | test_ats_api_ril_LDADD = \ |
473 | $(top_builddir)/src/util/libgnunetutil.la \ | 130 | $(top_builddir)/src/util/libgnunetutil.la \ |
474 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
475 | $(top_builddir)/src/hello/libgnunethello.la \ | 131 | $(top_builddir)/src/hello/libgnunethello.la \ |
476 | libgnunetats.la \ | ||
477 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
478 | |||
479 | test_ats_solver_preferences_proportional_SOURCES = \ | ||
480 | test_ats_solver_preferences.c \ | ||
481 | test_ats_api_common.c test_ats_api_common.h | ||
482 | test_ats_solver_preferences_proportional_LDADD = \ | ||
483 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
484 | $(top_builddir)/src/testing/libgnunettesting.la \ | 132 | $(top_builddir)/src/testing/libgnunettesting.la \ |
485 | $(top_builddir)/src/hello/libgnunethello.la \ | 133 | libgnunetats.la |
486 | libgnunetats.la \ | ||
487 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
488 | 134 | ||
489 | if HAVE_LIBGLPK | 135 | test_ats_api_mlp_SOURCES = \ |
490 | test_ats_solver_alternative_after_delete_address_mlp_SOURCES = \ | 136 | test_ats_api.c \ |
491 | test_ats_solver_alternative_after_delete_address.c \ | 137 | test_ats_lib.c test_ats_lib.h |
492 | test_ats_api_common.c test_ats_api_common.h | 138 | test_ats_api_mlp_LDADD = \ |
493 | test_ats_solver_alternative_after_delete_address_mlp_LDADD = \ | ||
494 | $(top_builddir)/src/util/libgnunetutil.la \ | 139 | $(top_builddir)/src/util/libgnunetutil.la \ |
495 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
496 | $(top_builddir)/src/hello/libgnunethello.la \ | 140 | $(top_builddir)/src/hello/libgnunethello.la \ |
497 | libgnunetats.la \ | ||
498 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
499 | |||
500 | test_ats_solver_preferences_mlp_SOURCES = \ | ||
501 | test_ats_solver_preferences.c \ | ||
502 | test_ats_api_common.c test_ats_api_common.h | ||
503 | test_ats_solver_preferences_mlp_LDADD = \ | ||
504 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
505 | $(top_builddir)/src/testing/libgnunettesting.la \ | 141 | $(top_builddir)/src/testing/libgnunettesting.la \ |
506 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
507 | libgnunetats.la \ | ||
508 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
509 | endif | ||
510 | |||
511 | test_ats_solver_alternative_after_delete_address_ril_SOURCES = \ | ||
512 | test_ats_solver_alternative_after_delete_address.c \ | ||
513 | test_ats_api_common.c test_ats_api_common.h | ||
514 | test_ats_solver_alternative_after_delete_address_ril_LDADD = \ | ||
515 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
516 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
517 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
518 | libgnunetats.la \ | ||
519 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
520 | |||
521 | #perf_ats_mlp_SOURCES = \ | ||
522 | # $(GN_MLP_SRC) perf_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c | ||
523 | #perf_ats_mlp_LDADD = \ | ||
524 | # $(GN_LIBGLPK) \ | ||
525 | # $(top_builddir)/src/util/libgnunetutil.la \ | ||
526 | # $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
527 | # libgnunetats.la | ||
528 | |||
529 | perf_ats_solver_mlp_SOURCES = \ | ||
530 | perf_ats_solver.c \ | ||
531 | test_ats_api_common.c \ | ||
532 | gnunet-service-ats_normalization.c \ | ||
533 | gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \ | ||
534 | gnunet-service-ats_connectivity.c gnunet-service-ats_connectivity.h \ | ||
535 | gnunet-service-ats_performance.c gnunet-service-ats_performance.h \ | ||
536 | gnunet-service-ats_preferences.c gnunet-service-ats_preferences.h \ | ||
537 | gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \ | ||
538 | gnunet-service-ats_plugins.c gnunet-service-ats_plugins.h \ | ||
539 | gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h | ||
540 | |||
541 | perf_ats_solver_mlp_LDADD = \ | ||
542 | $(GN_LIBGLPK) \ | ||
543 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
544 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
545 | libgnunetats.la | ||
546 | |||
547 | perf_ats_solver_proportional_SOURCES = \ | ||
548 | perf_ats_solver.c \ | ||
549 | test_ats_api_common.c \ | ||
550 | gnunet-service-ats_normalization.c \ | ||
551 | gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \ | ||
552 | gnunet-service-ats_connectivity.c gnunet-service-ats_connectivity.h \ | ||
553 | gnunet-service-ats_preferences.c gnunet-service-ats_preferences.h \ | ||
554 | gnunet-service-ats_performance.c gnunet-service-ats_performance.h \ | ||
555 | gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \ | ||
556 | gnunet-service-ats_plugins.c gnunet-service-ats_plugins.h \ | ||
557 | gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h | ||
558 | |||
559 | perf_ats_solver_proportional_LDADD = \ | ||
560 | $(GN_LIBGLPK) \ | ||
561 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
562 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
563 | libgnunetats.la | ||
564 | |||
565 | perf_ats_solver_ril_SOURCES = \ | ||
566 | perf_ats_solver.c \ | ||
567 | test_ats_api_common.c \ | ||
568 | gnunet-service-ats_normalization.c \ | ||
569 | gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \ | ||
570 | gnunet-service-ats_connectivity.c gnunet-service-ats_connectivity.h \ | ||
571 | gnunet-service-ats_preferences.c gnunet-service-ats_preferences.h \ | ||
572 | gnunet-service-ats_performance.c gnunet-service-ats_performance.h \ | ||
573 | gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \ | ||
574 | gnunet-service-ats_plugins.c gnunet-service-ats_plugins.h \ | ||
575 | gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h | ||
576 | |||
577 | perf_ats_solver_ril_LDADD = \ | ||
578 | $(GN_LIBGLPK) \ | ||
579 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
580 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
581 | libgnunetats.la | 142 | libgnunetats.la |
582 | 143 | ||
583 | test_ats_solver_preferences_ril_SOURCES = \ | ||
584 | test_ats_solver_preferences.c \ | ||
585 | test_ats_api_common.c test_ats_api_common.h | ||
586 | test_ats_solver_preferences_ril_LDADD = \ | ||
587 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
588 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
589 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
590 | libgnunetats.la \ | ||
591 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
592 | |||
593 | EXTRA_DIST = \ | 144 | EXTRA_DIST = \ |
594 | ats.h \ | 145 | ats.h \ |
595 | test_delay \ | 146 | test_delay \ |
596 | test_ats_api.conf \ | 147 | test_ats_api_mlp.conf \ |
597 | test_ats_api_delayed.conf \ | 148 | test_ats_api_ril.conf \ |
598 | test_ats_mlp.conf \ | 149 | test_ats_api_proportional.conf |
599 | test_ats_solver_default.conf \ | ||
600 | test_ats_solver_proportional.conf \ | ||
601 | test_ats_solver_proportional.conf \ | ||
602 | test_ats_solver_mlp.conf \ | ||
603 | test_ats_solver_delayed_mlp.conf \ | ||
604 | test_ats_solver_ril.conf \ | ||
605 | test_ats_solver_delayed_ril.conf \ | ||
606 | perf_ats_solver_mlp.conf \ | ||
607 | test_ats_solver_delayed_mlp.conf \ | ||
608 | perf_ats_solver_proportional.conf \ | ||
609 | perf_ats_solver_ril.conf \ | ||
610 | perf_ats_solver.conf | ||