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 \
110 $(top_builddir)/src/statistics/libgnunetstatistics.la
112 test_ats_api_scheduling_add_session_SOURCES = \
113 test_ats_api_scheduling_add_session.c test_ats_api_common.c
114 test_ats_api_scheduling_add_session_LDADD = \
115 $(top_builddir)/src/util/libgnunetutil.la \
116 $(top_builddir)/src/testing/libgnunettesting.la \
117 $(top_builddir)/src/ats/libgnunetats.la
119 test_ats_api_scheduling_min_bw_SOURCES = \
120 test_ats_api_scheduling_min_bw.c test_ats_api_common.c
121 test_ats_api_scheduling_min_bw_LDADD = \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/testing/libgnunettesting.la \
124 $(top_builddir)/src/ats/libgnunetats.la
126 test_ats_api_scheduling_check_min_bw_alt_SOURCES = \
127 test_ats_api_scheduling_check_min_bw_alt.c test_ats_api_common.c
128 test_ats_api_scheduling_check_min_bw_alt_LDADD = \
129 $(top_builddir)/src/util/libgnunetutil.la \
130 $(top_builddir)/src/testing/libgnunettesting.la \
131 $(top_builddir)/src/ats/libgnunetats.la
134 test_ats_api_scheduling_update_address_SOURCES = \
135 test_ats_api_scheduling_update_address.c test_ats_api_common.c
136 test_ats_api_scheduling_update_address_LDADD = \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/testing/libgnunettesting.la \
139 $(top_builddir)/src/ats/libgnunetats.la
141 test_ats_api_scheduling_destroy_address_SOURCES = \
142 test_ats_api_scheduling_destroy_address.c test_ats_api_common.c
143 test_ats_api_scheduling_destroy_address_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
145 $(top_builddir)/src/testing/libgnunettesting.la \
146 $(top_builddir)/src/ats/libgnunetats.la
148 test_ats_api_scheduling_destroy_session_SOURCES = \
149 test_ats_api_scheduling_destroy_session.c test_ats_api_common.c
150 test_ats_api_scheduling_destroy_session_LDADD = \
151 $(top_builddir)/src/util/libgnunetutil.la \
152 $(top_builddir)/src/testing/libgnunettesting.la \
153 $(top_builddir)/src/ats/libgnunetats.la
155 test_ats_api_scheduling_destroy_inbound_connection_SOURCES = \
156 test_ats_api_scheduling_destroy_inbound_connection.c test_ats_api_common.c
157 test_ats_api_scheduling_destroy_inbound_connection_LDADD = \
158 $(top_builddir)/src/util/libgnunetutil.la \
159 $(top_builddir)/src/testing/libgnunettesting.la \
160 $(top_builddir)/src/ats/libgnunetats.la
162 test_ats_api_scheduling_block_and_reset_SOURCES = \
163 test_ats_api_scheduling_block_and_reset.c test_ats_api_common.c
164 test_ats_api_scheduling_block_and_reset_LDADD = \
165 $(top_builddir)/src/util/libgnunetutil.la \
166 $(top_builddir)/src/testing/libgnunettesting.la \
167 $(top_builddir)/src/ats/libgnunetats.la
171 test_ats_api_performance_feedback_SOURCES = \
172 test_ats_api_performance_feedback.c
173 test_ats_api_performance_feedback_LDADD = \
174 $(top_builddir)/src/util/libgnunetutil.la \
175 $(top_builddir)/src/testing/libgnunettesting.la \
176 $(top_builddir)/src/hello/libgnunethello.la \
177 $(top_builddir)/src/ats/libgnunetats.la
179 test_ats_api_performance_list_addresses_SOURCES = \
180 test_ats_api_performance_list_addresses.c
181 test_ats_api_performance_list_addresses_LDADD = \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/testing/libgnunettesting.la \
184 $(top_builddir)/src/hello/libgnunethello.la \
185 $(top_builddir)/src/ats/libgnunetats.la
187 test_ats_api_performance_address_info_SOURCES = \
188 test_ats_api_performance_address_info.c
189 test_ats_api_performance_address_info_LDADD = \
190 $(top_builddir)/src/util/libgnunetutil.la \
191 $(top_builddir)/src/testing/libgnunettesting.la \
192 $(top_builddir)/src/hello/libgnunethello.la \
193 $(top_builddir)/src/ats/libgnunetats.la
196 test_ats_simplistic_SOURCES = \
197 test_ats_simplistic.c test_ats_api_common.c
198 test_ats_simplistic_LDADD = \
199 $(top_builddir)/src/util/libgnunetutil.la \
200 $(top_builddir)/src/testing/libgnunettesting.la \
201 $(top_builddir)/src/hello/libgnunethello.la \
202 $(top_builddir)/src/ats/libgnunetats.la
204 test_ats_simplistic_switch_networks_SOURCES = \
205 test_ats_simplistic_switch_networks.c test_ats_api_common.c
206 test_ats_simplistic_switch_networks_LDADD = \
207 $(top_builddir)/src/util/libgnunetutil.la \
208 $(top_builddir)/src/testing/libgnunettesting.la \
209 $(top_builddir)/src/ats/libgnunetats.la
211 test_ats_simplistic_change_preference_SOURCES = \
212 test_ats_simplistic_change_preference.c test_ats_api_common.c
213 test_ats_simplistic_change_preference_LDADD = \
214 $(top_builddir)/src/util/libgnunetutil.la \
215 $(top_builddir)/src/testing/libgnunettesting.la \
216 $(top_builddir)/src/ats/libgnunetats.la
218 test_ats_change_preference_SOURCES = \
219 test_ats_change_preference.c test_ats_api_common.c
220 test_ats_change_preference_LDADD = \
221 $(top_builddir)/src/util/libgnunetutil.la \
222 $(top_builddir)/src/testing/libgnunettesting.la \
223 $(top_builddir)/src/ats/libgnunetats.la
226 test_ats_mlp_SOURCES = \
227 $(GN_MLP_SRC) test_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
228 test_ats_mlp_LDADD = \
230 $(top_builddir)/src/util/libgnunetutil.la \
231 $(top_builddir)/src/statistics/libgnunetstatistics.la \
232 $(top_builddir)/src/ats/libgnunetats.la
234 test_ats_mlp_update_SOURCES = \
235 $(GN_MLP_SRC) test_ats_mlp_update.c test_ats_api_common.c gnunet-service-ats_normalization.c
236 test_ats_mlp_update_LDADD = \
238 $(top_builddir)/src/util/libgnunetutil.la \
239 $(top_builddir)/src/statistics/libgnunetstatistics.la \
240 $(top_builddir)/src/ats/libgnunetats.la
242 perf_ats_mlp_SOURCES = \
243 $(GN_MLP_SRC) perf_ats_mlp.c test_ats_api_common.c gnunet-service-ats_normalization.c
244 perf_ats_mlp_LDADD = \
246 $(top_builddir)/src/util/libgnunetutil.la \
247 $(top_builddir)/src/statistics/libgnunetstatistics.la \
248 $(top_builddir)/src/ats/libgnunetats.la
251 test_ats_normalization_update_quality_SOURCES = \
252 test_ats_normalization_update_quality.c test_ats_api_common.c
253 test_ats_normalization_update_quality_LDADD = \
255 $(top_builddir)/src/util/libgnunetutil.la \
256 $(top_builddir)/src/statistics/libgnunetstatistics.la \
257 $(top_builddir)/src/testing/libgnunettesting.la \
258 $(top_builddir)/src/ats/libgnunetats.la