1 INCLUDES = -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_performance.c gnunet-service-ats_performance.h \
52 gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \
53 gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h
54 gnunet_service_ats_LDADD = \
55 $(top_builddir)/src/statistics/libgnunetstatistics.la \
56 $(top_builddir)/src/util/libgnunetutil.la \
60 gnunet_service_ats_DEPENDENCIES = \
65 test_ats_api_scheduling_init \
66 test_ats_api_scheduling_add_address \
67 test_ats_api_scheduling_add_session \
68 test_ats_api_scheduling_min_bw \
69 test_ats_api_scheduling_check_min_bw_alt \
70 test_ats_api_scheduling_update_address \
71 test_ats_api_scheduling_destroy_address \
72 test_ats_api_scheduling_destroy_session \
73 test_ats_api_scheduling_destroy_inbound_connection \
74 test_ats_api_scheduling_block_and_reset \
75 test_ats_normalization_update_quality \
76 test_ats_change_preference \
78 test_ats_simplistic_switch_networks \
79 test_ats_simplistic_change_preference \
80 test_ats_api_performance_list_addresses \
81 test_ats_api_performance_address_info \
82 test_ats_api_performance_feedback
87 $(GN_MLP_TEST) $(GN_MLP_PERF) $(GN_MLP_TEST_UPDATE)
91 TESTS = $(check_PROGRAMS)
94 test_ats_api_scheduling_init_SOURCES = \
95 test_ats_api_scheduling_init.c \
96 test_ats_api_common.c test_ats_api_common.h
97 test_ats_api_scheduling_init_LDADD = \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/testing/libgnunettesting.la \
100 $(top_builddir)/src/ats/libgnunetats.la
102 test_ats_api_scheduling_add_address_SOURCES = \
103 test_ats_api_scheduling_add_address.c \
104 test_ats_api_common.c test_ats_api_common.h
105 test_ats_api_scheduling_add_address_LDADD = \
106 $(top_builddir)/src/util/libgnunetutil.la \
107 $(top_builddir)/src/testing/libgnunettesting.la \
108 $(top_builddir)/src/ats/libgnunetats.la
110 test_ats_api_scheduling_add_session_SOURCES = \
111 test_ats_api_scheduling_add_session.c test_ats_api_common.c
112 test_ats_api_scheduling_add_session_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/testing/libgnunettesting.la \
115 $(top_builddir)/src/ats/libgnunetats.la
117 test_ats_api_scheduling_min_bw_SOURCES = \
118 test_ats_api_scheduling_min_bw.c test_ats_api_common.c
119 test_ats_api_scheduling_min_bw_LDADD = \
120 $(top_builddir)/src/util/libgnunetutil.la \
121 $(top_builddir)/src/testing/libgnunettesting.la \
122 $(top_builddir)/src/ats/libgnunetats.la
124 test_ats_api_scheduling_check_min_bw_alt_SOURCES = \
125 test_ats_api_scheduling_check_min_bw_alt.c test_ats_api_common.c
126 test_ats_api_scheduling_check_min_bw_alt_LDADD = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/testing/libgnunettesting.la \
129 $(top_builddir)/src/ats/libgnunetats.la
132 test_ats_api_scheduling_update_address_SOURCES = \
133 test_ats_api_scheduling_update_address.c test_ats_api_common.c
134 test_ats_api_scheduling_update_address_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/testing/libgnunettesting.la \
137 $(top_builddir)/src/ats/libgnunetats.la
139 test_ats_api_scheduling_destroy_address_SOURCES = \
140 test_ats_api_scheduling_destroy_address.c test_ats_api_common.c
141 test_ats_api_scheduling_destroy_address_LDADD = \
142 $(top_builddir)/src/util/libgnunetutil.la \
143 $(top_builddir)/src/testing/libgnunettesting.la \
144 $(top_builddir)/src/ats/libgnunetats.la
146 test_ats_api_scheduling_destroy_session_SOURCES = \
147 test_ats_api_scheduling_destroy_session.c test_ats_api_common.c
148 test_ats_api_scheduling_destroy_session_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_inbound_connection_SOURCES = \
154 test_ats_api_scheduling_destroy_inbound_connection.c test_ats_api_common.c
155 test_ats_api_scheduling_destroy_inbound_connection_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_block_and_reset_SOURCES = \
161 test_ats_api_scheduling_block_and_reset.c test_ats_api_common.c
162 test_ats_api_scheduling_block_and_reset_LDADD = \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/testing/libgnunettesting.la \
165 $(top_builddir)/src/ats/libgnunetats.la
169 test_ats_api_performance_feedback_SOURCES = \
170 test_ats_api_performance_feedback.c
171 test_ats_api_performance_feedback_LDADD = \
172 $(top_builddir)/src/util/libgnunetutil.la \
173 $(top_builddir)/src/testing/libgnunettesting.la \
174 $(top_builddir)/src/hello/libgnunethello.la \
175 $(top_builddir)/src/ats/libgnunetats.la
177 test_ats_api_performance_list_addresses_SOURCES = \
178 test_ats_api_performance_list_addresses.c
179 test_ats_api_performance_list_addresses_LDADD = \
180 $(top_builddir)/src/util/libgnunetutil.la \
181 $(top_builddir)/src/testing/libgnunettesting.la \
182 $(top_builddir)/src/hello/libgnunethello.la \
183 $(top_builddir)/src/ats/libgnunetats.la
185 test_ats_api_performance_address_info_SOURCES = \
186 test_ats_api_performance_address_info.c
187 test_ats_api_performance_address_info_LDADD = \
188 $(top_builddir)/src/util/libgnunetutil.la \
189 $(top_builddir)/src/testing/libgnunettesting.la \
190 $(top_builddir)/src/hello/libgnunethello.la \
191 $(top_builddir)/src/ats/libgnunetats.la
194 test_ats_simplistic_SOURCES = \
195 test_ats_simplistic.c test_ats_api_common.c
196 test_ats_simplistic_LDADD = \
197 $(top_builddir)/src/util/libgnunetutil.la \
198 $(top_builddir)/src/testing/libgnunettesting.la \
199 $(top_builddir)/src/hello/libgnunethello.la \
200 $(top_builddir)/src/ats/libgnunetats.la
202 test_ats_simplistic_switch_networks_SOURCES = \
203 test_ats_simplistic_switch_networks.c test_ats_api_common.c
204 test_ats_simplistic_switch_networks_LDADD = \
205 $(top_builddir)/src/util/libgnunetutil.la \
206 $(top_builddir)/src/testing/libgnunettesting.la \
207 $(top_builddir)/src/ats/libgnunetats.la
209 test_ats_simplistic_change_preference_SOURCES = \
210 test_ats_simplistic_change_preference.c test_ats_api_common.c
211 test_ats_simplistic_change_preference_LDADD = \
212 $(top_builddir)/src/util/libgnunetutil.la \
213 $(top_builddir)/src/testing/libgnunettesting.la \
214 $(top_builddir)/src/ats/libgnunetats.la
216 test_ats_change_preference_SOURCES = \
217 test_ats_change_preference.c test_ats_api_common.c
218 test_ats_change_preference_LDADD = \
219 $(top_builddir)/src/util/libgnunetutil.la \
220 $(top_builddir)/src/testing/libgnunettesting.la \
221 $(top_builddir)/src/ats/libgnunetats.la
224 test_ats_mlp_SOURCES = \
225 $(GN_MLP_SRC) test_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
226 test_ats_mlp_LDADD = \
228 $(top_builddir)/src/util/libgnunetutil.la \
229 $(top_builddir)/src/statistics/libgnunetstatistics.la \
230 $(top_builddir)/src/ats/libgnunetats.la
232 test_ats_mlp_update_SOURCES = \
233 $(GN_MLP_SRC) test_ats_mlp_update.c test_ats_api_common.c gnunet-service-ats_normalization.c
234 test_ats_mlp_update_LDADD = \
236 $(top_builddir)/src/util/libgnunetutil.la \
237 $(top_builddir)/src/statistics/libgnunetstatistics.la \
238 $(top_builddir)/src/ats/libgnunetats.la
240 perf_ats_mlp_SOURCES = \
241 $(GN_MLP_SRC) perf_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
242 perf_ats_mlp_LDADD = \
244 $(top_builddir)/src/util/libgnunetutil.la \
245 $(top_builddir)/src/statistics/libgnunetstatistics.la \
246 $(top_builddir)/src/ats/libgnunetats.la
249 test_ats_normalization_update_quality_SOURCES = \
250 test_ats_normalization_update_quality.c test_ats_api_common.c
251 test_ats_normalization_update_quality_LDADD = \
253 $(top_builddir)/src/util/libgnunetutil.la \
254 $(top_builddir)/src/statistics/libgnunetstatistics.la \
255 $(top_builddir)/src/testing/libgnunettesting.la \
256 $(top_builddir)/src/ats/libgnunetats.la