1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 AM_CFLAGS = -fprofile-arcs -ftest-coverage
20 GN_MLP_SRC = gnunet-service-ats-solver_mlp.c gnunet-service-ats-solver_mlp.h
21 GN_MLP_TEST = test_ats_mlp
22 GN_MLP_TEST_UPDATE = test_ats_mlp_update
23 GN_MLP_TEST_AVG = test_ats_mlp_averaging
24 GN_MLP_PERF = perf_ats_mlp
27 lib_LTLIBRARIES = libgnunetats.la
29 libgnunetats_la_SOURCES = \
30 ats_api_scheduling.c \
33 libgnunetats_la_LIBADD = \
34 $(top_builddir)/src/util/libgnunetutil.la \
37 libgnunetats_la_LDFLAGS = \
45 gnunet_service_ats_SOURCES = \
46 gnunet-service-ats.c gnunet-service-ats.h\
47 gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \
48 gnunet-service-ats_normalization.c gnunet-service-ats_normalization.h \
49 gnunet-service-ats-solver_proportional.c gnunet-service-ats-solver_proportional.h \
51 gnunet-service-ats-solver_ril.c gnunet-service-ats-solver_ril.h \
52 gnunet-service-ats_performance.c gnunet-service-ats_performance.h \
53 gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \
54 gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h
55 gnunet_service_ats_LDADD = \
56 $(top_builddir)/src/statistics/libgnunetstatistics.la \
57 $(top_builddir)/src/util/libgnunetutil.la \
61 gnunet_service_ats_DEPENDENCIES = \
66 test_ats_api_scheduling_init \
67 test_ats_api_scheduling_add_address \
68 test_ats_api_scheduling_add_address_duplicate
69 # test_ats_api_scheduling_add_session
70 # test_ats_api_scheduling_min_bw
71 # test_ats_api_scheduling_check_min_bw_alt
72 # test_ats_api_scheduling_update_address
73 # test_ats_api_scheduling_destroy_address
74 # test_ats_api_scheduling_destroy_session
75 # test_ats_api_scheduling_destroy_inbound_connection
76 # test_ats_api_scheduling_block_and_reset
77 # test_ats_normalization_update_quality
78 # test_ats_change_preference
80 # test_ats_simplistic_switch_networks
81 # test_ats_simplistic_change_preference
82 # test_ats_api_performance_list_addresses
83 # test_ats_api_performance_address_info
84 # test_ats_api_performance_feedback
89 # $(GN_MLP_TEST) $(GN_MLP_PERF) $(GN_MLP_TEST_UPDATE)
93 TESTS = $(check_PROGRAMS)
96 test_ats_api_scheduling_init_SOURCES = \
97 test_ats_api_scheduling_init.c \
98 test_ats_api_common.c test_ats_api_common.h
99 test_ats_api_scheduling_init_LDADD = \
100 $(top_builddir)/src/util/libgnunetutil.la \
101 $(top_builddir)/src/testing/libgnunettesting.la \
102 $(top_builddir)/src/ats/libgnunetats.la \
103 $(top_builddir)/src/statistics/libgnunetstatistics.la
105 test_ats_api_scheduling_add_address_SOURCES = \
106 test_ats_api_scheduling_add_address.c \
107 test_ats_api_common.c test_ats_api_common.h
108 test_ats_api_scheduling_add_address_LDADD = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/testing/libgnunettesting.la \
111 $(top_builddir)/src/ats/libgnunetats.la \
112 $(top_builddir)/src/statistics/libgnunetstatistics.la
114 test_ats_api_scheduling_add_address_duplicate_SOURCES = \
115 test_ats_api_scheduling_add_address_duplicate.c \
116 test_ats_api_common.c test_ats_api_common.h
117 test_ats_api_scheduling_add_address_duplicate_LDADD = \
118 $(top_builddir)/src/util/libgnunetutil.la \
119 $(top_builddir)/src/testing/libgnunettesting.la \
120 $(top_builddir)/src/ats/libgnunetats.la \
121 $(top_builddir)/src/statistics/libgnunetstatistics.la
124 test_ats_api_scheduling_add_session_SOURCES = \
125 test_ats_api_scheduling_add_session.c test_ats_api_common.c
126 test_ats_api_scheduling_add_session_LDADD = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/testing/libgnunettesting.la \
129 $(top_builddir)/src/ats/libgnunetats.la
131 test_ats_api_scheduling_min_bw_SOURCES = \
132 test_ats_api_scheduling_min_bw.c test_ats_api_common.c
133 test_ats_api_scheduling_min_bw_LDADD = \
134 $(top_builddir)/src/util/libgnunetutil.la \
135 $(top_builddir)/src/testing/libgnunettesting.la \
136 $(top_builddir)/src/ats/libgnunetats.la
138 test_ats_api_scheduling_check_min_bw_alt_SOURCES = \
139 test_ats_api_scheduling_check_min_bw_alt.c test_ats_api_common.c
140 test_ats_api_scheduling_check_min_bw_alt_LDADD = \
141 $(top_builddir)/src/util/libgnunetutil.la \
142 $(top_builddir)/src/testing/libgnunettesting.la \
143 $(top_builddir)/src/ats/libgnunetats.la
146 test_ats_api_scheduling_update_address_SOURCES = \
147 test_ats_api_scheduling_update_address.c test_ats_api_common.c
148 test_ats_api_scheduling_update_address_LDADD = \
149 $(top_builddir)/src/util/libgnunetutil.la \
150 $(top_builddir)/src/testing/libgnunettesting.la \
151 $(top_builddir)/src/ats/libgnunetats.la
153 test_ats_api_scheduling_destroy_address_SOURCES = \
154 test_ats_api_scheduling_destroy_address.c test_ats_api_common.c
155 test_ats_api_scheduling_destroy_address_LDADD = \
156 $(top_builddir)/src/util/libgnunetutil.la \
157 $(top_builddir)/src/testing/libgnunettesting.la \
158 $(top_builddir)/src/ats/libgnunetats.la
160 test_ats_api_scheduling_destroy_session_SOURCES = \
161 test_ats_api_scheduling_destroy_session.c test_ats_api_common.c
162 test_ats_api_scheduling_destroy_session_LDADD = \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/testing/libgnunettesting.la \
165 $(top_builddir)/src/ats/libgnunetats.la
167 test_ats_api_scheduling_destroy_inbound_connection_SOURCES = \
168 test_ats_api_scheduling_destroy_inbound_connection.c test_ats_api_common.c
169 test_ats_api_scheduling_destroy_inbound_connection_LDADD = \
170 $(top_builddir)/src/util/libgnunetutil.la \
171 $(top_builddir)/src/testing/libgnunettesting.la \
172 $(top_builddir)/src/ats/libgnunetats.la
174 test_ats_api_scheduling_block_and_reset_SOURCES = \
175 test_ats_api_scheduling_block_and_reset.c test_ats_api_common.c
176 test_ats_api_scheduling_block_and_reset_LDADD = \
177 $(top_builddir)/src/util/libgnunetutil.la \
178 $(top_builddir)/src/testing/libgnunettesting.la \
179 $(top_builddir)/src/ats/libgnunetats.la
183 test_ats_api_performance_feedback_SOURCES = \
184 test_ats_api_performance_feedback.c
185 test_ats_api_performance_feedback_LDADD = \
186 $(top_builddir)/src/util/libgnunetutil.la \
187 $(top_builddir)/src/testing/libgnunettesting.la \
188 $(top_builddir)/src/hello/libgnunethello.la \
189 $(top_builddir)/src/ats/libgnunetats.la
191 test_ats_api_performance_list_addresses_SOURCES = \
192 test_ats_api_performance_list_addresses.c
193 test_ats_api_performance_list_addresses_LDADD = \
194 $(top_builddir)/src/util/libgnunetutil.la \
195 $(top_builddir)/src/testing/libgnunettesting.la \
196 $(top_builddir)/src/hello/libgnunethello.la \
197 $(top_builddir)/src/ats/libgnunetats.la
199 test_ats_api_performance_address_info_SOURCES = \
200 test_ats_api_performance_address_info.c
201 test_ats_api_performance_address_info_LDADD = \
202 $(top_builddir)/src/util/libgnunetutil.la \
203 $(top_builddir)/src/testing/libgnunettesting.la \
204 $(top_builddir)/src/hello/libgnunethello.la \
205 $(top_builddir)/src/ats/libgnunetats.la
208 test_ats_simplistic_SOURCES = \
209 test_ats_simplistic.c test_ats_api_common.c
210 test_ats_simplistic_LDADD = \
211 $(top_builddir)/src/util/libgnunetutil.la \
212 $(top_builddir)/src/testing/libgnunettesting.la \
213 $(top_builddir)/src/hello/libgnunethello.la \
214 $(top_builddir)/src/ats/libgnunetats.la
216 test_ats_simplistic_switch_networks_SOURCES = \
217 test_ats_simplistic_switch_networks.c test_ats_api_common.c
218 test_ats_simplistic_switch_networks_LDADD = \
219 $(top_builddir)/src/util/libgnunetutil.la \
220 $(top_builddir)/src/testing/libgnunettesting.la \
221 $(top_builddir)/src/ats/libgnunetats.la
223 test_ats_simplistic_change_preference_SOURCES = \
224 test_ats_simplistic_change_preference.c test_ats_api_common.c
225 test_ats_simplistic_change_preference_LDADD = \
226 $(top_builddir)/src/util/libgnunetutil.la \
227 $(top_builddir)/src/testing/libgnunettesting.la \
228 $(top_builddir)/src/ats/libgnunetats.la
230 test_ats_change_preference_SOURCES = \
231 test_ats_change_preference.c test_ats_api_common.c
232 test_ats_change_preference_LDADD = \
233 $(top_builddir)/src/util/libgnunetutil.la \
234 $(top_builddir)/src/testing/libgnunettesting.la \
235 $(top_builddir)/src/ats/libgnunetats.la
238 test_ats_mlp_SOURCES = \
239 $(GN_MLP_SRC) test_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
240 test_ats_mlp_LDADD = \
242 $(top_builddir)/src/util/libgnunetutil.la \
243 $(top_builddir)/src/statistics/libgnunetstatistics.la \
244 $(top_builddir)/src/ats/libgnunetats.la
246 test_ats_mlp_update_SOURCES = \
247 $(GN_MLP_SRC) test_ats_mlp_update.c test_ats_api_common.c gnunet-service-ats_normalization.c
248 test_ats_mlp_update_LDADD = \
250 $(top_builddir)/src/util/libgnunetutil.la \
251 $(top_builddir)/src/statistics/libgnunetstatistics.la \
252 $(top_builddir)/src/ats/libgnunetats.la
254 perf_ats_mlp_SOURCES = \
255 $(GN_MLP_SRC) perf_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
256 perf_ats_mlp_LDADD = \
258 $(top_builddir)/src/util/libgnunetutil.la \
259 $(top_builddir)/src/statistics/libgnunetstatistics.la \
260 $(top_builddir)/src/ats/libgnunetats.la
263 test_ats_normalization_update_quality_SOURCES = \
264 test_ats_normalization_update_quality.c test_ats_api_common.c
265 test_ats_normalization_update_quality_LDADD = \
267 $(top_builddir)/src/util/libgnunetutil.la \
268 $(top_builddir)/src/statistics/libgnunetstatistics.la \
269 $(top_builddir)/src/testing/libgnunettesting.la \
270 $(top_builddir)/src/ats/libgnunetats.la