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_session
69 # test_ats_api_scheduling_min_bw
70 # test_ats_api_scheduling_check_min_bw_alt
71 # test_ats_api_scheduling_update_address
72 # test_ats_api_scheduling_destroy_address
73 # test_ats_api_scheduling_destroy_session
74 # test_ats_api_scheduling_destroy_inbound_connection
75 # test_ats_api_scheduling_block_and_reset
76 # test_ats_normalization_update_quality
77 # test_ats_change_preference
79 # test_ats_simplistic_switch_networks
80 # test_ats_simplistic_change_preference
81 # test_ats_api_performance_list_addresses
82 # test_ats_api_performance_address_info
83 # test_ats_api_performance_feedback
88 # $(GN_MLP_TEST) $(GN_MLP_PERF) $(GN_MLP_TEST_UPDATE)
92 TESTS = $(check_PROGRAMS)
95 test_ats_api_scheduling_init_SOURCES = \
96 test_ats_api_scheduling_init.c \
97 test_ats_api_common.c test_ats_api_common.h
98 test_ats_api_scheduling_init_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \
101 $(top_builddir)/src/ats/libgnunetats.la
103 test_ats_api_scheduling_add_address_SOURCES = \
104 test_ats_api_scheduling_add_address.c \
105 test_ats_api_common.c test_ats_api_common.h
106 test_ats_api_scheduling_add_address_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/testing/libgnunettesting.la \
109 $(top_builddir)/src/ats/libgnunetats.la
111 test_ats_api_scheduling_add_session_SOURCES = \
112 test_ats_api_scheduling_add_session.c test_ats_api_common.c
113 test_ats_api_scheduling_add_session_LDADD = \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/testing/libgnunettesting.la \
116 $(top_builddir)/src/ats/libgnunetats.la
118 test_ats_api_scheduling_min_bw_SOURCES = \
119 test_ats_api_scheduling_min_bw.c test_ats_api_common.c
120 test_ats_api_scheduling_min_bw_LDADD = \
121 $(top_builddir)/src/util/libgnunetutil.la \
122 $(top_builddir)/src/testing/libgnunettesting.la \
123 $(top_builddir)/src/ats/libgnunetats.la
125 test_ats_api_scheduling_check_min_bw_alt_SOURCES = \
126 test_ats_api_scheduling_check_min_bw_alt.c test_ats_api_common.c
127 test_ats_api_scheduling_check_min_bw_alt_LDADD = \
128 $(top_builddir)/src/util/libgnunetutil.la \
129 $(top_builddir)/src/testing/libgnunettesting.la \
130 $(top_builddir)/src/ats/libgnunetats.la
133 test_ats_api_scheduling_update_address_SOURCES = \
134 test_ats_api_scheduling_update_address.c test_ats_api_common.c
135 test_ats_api_scheduling_update_address_LDADD = \
136 $(top_builddir)/src/util/libgnunetutil.la \
137 $(top_builddir)/src/testing/libgnunettesting.la \
138 $(top_builddir)/src/ats/libgnunetats.la
140 test_ats_api_scheduling_destroy_address_SOURCES = \
141 test_ats_api_scheduling_destroy_address.c test_ats_api_common.c
142 test_ats_api_scheduling_destroy_address_LDADD = \
143 $(top_builddir)/src/util/libgnunetutil.la \
144 $(top_builddir)/src/testing/libgnunettesting.la \
145 $(top_builddir)/src/ats/libgnunetats.la
147 test_ats_api_scheduling_destroy_session_SOURCES = \
148 test_ats_api_scheduling_destroy_session.c test_ats_api_common.c
149 test_ats_api_scheduling_destroy_session_LDADD = \
150 $(top_builddir)/src/util/libgnunetutil.la \
151 $(top_builddir)/src/testing/libgnunettesting.la \
152 $(top_builddir)/src/ats/libgnunetats.la
154 test_ats_api_scheduling_destroy_inbound_connection_SOURCES = \
155 test_ats_api_scheduling_destroy_inbound_connection.c test_ats_api_common.c
156 test_ats_api_scheduling_destroy_inbound_connection_LDADD = \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/testing/libgnunettesting.la \
159 $(top_builddir)/src/ats/libgnunetats.la
161 test_ats_api_scheduling_block_and_reset_SOURCES = \
162 test_ats_api_scheduling_block_and_reset.c test_ats_api_common.c
163 test_ats_api_scheduling_block_and_reset_LDADD = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/testing/libgnunettesting.la \
166 $(top_builddir)/src/ats/libgnunetats.la
170 test_ats_api_performance_feedback_SOURCES = \
171 test_ats_api_performance_feedback.c
172 test_ats_api_performance_feedback_LDADD = \
173 $(top_builddir)/src/util/libgnunetutil.la \
174 $(top_builddir)/src/testing/libgnunettesting.la \
175 $(top_builddir)/src/hello/libgnunethello.la \
176 $(top_builddir)/src/ats/libgnunetats.la
178 test_ats_api_performance_list_addresses_SOURCES = \
179 test_ats_api_performance_list_addresses.c
180 test_ats_api_performance_list_addresses_LDADD = \
181 $(top_builddir)/src/util/libgnunetutil.la \
182 $(top_builddir)/src/testing/libgnunettesting.la \
183 $(top_builddir)/src/hello/libgnunethello.la \
184 $(top_builddir)/src/ats/libgnunetats.la
186 test_ats_api_performance_address_info_SOURCES = \
187 test_ats_api_performance_address_info.c
188 test_ats_api_performance_address_info_LDADD = \
189 $(top_builddir)/src/util/libgnunetutil.la \
190 $(top_builddir)/src/testing/libgnunettesting.la \
191 $(top_builddir)/src/hello/libgnunethello.la \
192 $(top_builddir)/src/ats/libgnunetats.la
195 test_ats_simplistic_SOURCES = \
196 test_ats_simplistic.c test_ats_api_common.c
197 test_ats_simplistic_LDADD = \
198 $(top_builddir)/src/util/libgnunetutil.la \
199 $(top_builddir)/src/testing/libgnunettesting.la \
200 $(top_builddir)/src/hello/libgnunethello.la \
201 $(top_builddir)/src/ats/libgnunetats.la
203 test_ats_simplistic_switch_networks_SOURCES = \
204 test_ats_simplistic_switch_networks.c test_ats_api_common.c
205 test_ats_simplistic_switch_networks_LDADD = \
206 $(top_builddir)/src/util/libgnunetutil.la \
207 $(top_builddir)/src/testing/libgnunettesting.la \
208 $(top_builddir)/src/ats/libgnunetats.la
210 test_ats_simplistic_change_preference_SOURCES = \
211 test_ats_simplistic_change_preference.c test_ats_api_common.c
212 test_ats_simplistic_change_preference_LDADD = \
213 $(top_builddir)/src/util/libgnunetutil.la \
214 $(top_builddir)/src/testing/libgnunettesting.la \
215 $(top_builddir)/src/ats/libgnunetats.la
217 test_ats_change_preference_SOURCES = \
218 test_ats_change_preference.c test_ats_api_common.c
219 test_ats_change_preference_LDADD = \
220 $(top_builddir)/src/util/libgnunetutil.la \
221 $(top_builddir)/src/testing/libgnunettesting.la \
222 $(top_builddir)/src/ats/libgnunetats.la
225 test_ats_mlp_SOURCES = \
226 $(GN_MLP_SRC) test_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
227 test_ats_mlp_LDADD = \
229 $(top_builddir)/src/util/libgnunetutil.la \
230 $(top_builddir)/src/statistics/libgnunetstatistics.la \
231 $(top_builddir)/src/ats/libgnunetats.la
233 test_ats_mlp_update_SOURCES = \
234 $(GN_MLP_SRC) test_ats_mlp_update.c test_ats_api_common.c gnunet-service-ats_normalization.c
235 test_ats_mlp_update_LDADD = \
237 $(top_builddir)/src/util/libgnunetutil.la \
238 $(top_builddir)/src/statistics/libgnunetstatistics.la \
239 $(top_builddir)/src/ats/libgnunetats.la
241 perf_ats_mlp_SOURCES = \
242 $(GN_MLP_SRC) perf_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
243 perf_ats_mlp_LDADD = \
245 $(top_builddir)/src/util/libgnunetutil.la \
246 $(top_builddir)/src/statistics/libgnunetstatistics.la \
247 $(top_builddir)/src/ats/libgnunetats.la
250 test_ats_normalization_update_quality_SOURCES = \
251 test_ats_normalization_update_quality.c test_ats_api_common.c
252 test_ats_normalization_update_quality_LDADD = \
254 $(top_builddir)/src/util/libgnunetutil.la \
255 $(top_builddir)/src/statistics/libgnunetstatistics.la \
256 $(top_builddir)/src/testing/libgnunettesting.la \
257 $(top_builddir)/src/ats/libgnunetats.la