1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
12 libexecdir= $(pkglibdir)/libexec/
14 pkgcfgdir= $(pkgdatadir)/config.d/
20 underlay_daemon = gnunet-daemon-testbed-underlay
24 gnunet-service-testbed \
25 gnunet-helper-testbed \
26 gnunet-service-testbed-logger \
27 gnunet-daemon-testbed-blacklist \
31 gnunet-testbed-profiler
33 gnunet_service_testbed_SOURCES = \
34 gnunet-service-testbed.c gnunet-service-testbed.h \
35 gnunet-service-testbed_links.c gnunet-service-testbed_links.h \
36 gnunet-service-testbed_peers.c \
37 gnunet-service-testbed_cache.c \
38 gnunet-service-testbed_oc.c \
39 gnunet-service-testbed_cpustatus.c \
40 gnunet-service-testbed_meminfo.c gnunet-service-testbed_meminfo.h \
41 gnunet-service-testbed_barriers.c gnunet-service-testbed_barriers.h \
42 gnunet-service-testbed_connectionpool.c gnunet-service-testbed_connectionpool.h
43 gnunet_service_testbed_LDADD = $(XLIB) \
44 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/core/libgnunetcore.la \
46 $(top_builddir)/src/hello/libgnunethello.la \
47 $(top_builddir)/src/transport/libgnunettransport.la \
48 $(top_builddir)/src/testing/libgnunettesting.la \
49 $(top_builddir)/src/testbed/libgnunettestbed.la \
50 $(top_builddir)/src/arm/libgnunetarm.la \
51 $(LTLIBINTL) $(Z_LIBS)
52 gnunet_service_testbed_DEPENDENCIES = \
55 gnunet_service_testbed_logger_SOURCES = \
56 gnunet-service-testbed-logger.c
57 gnunet_service_testbed_logger_LDADD = \
58 $(top_builddir)/src/util/libgnunetutil.la
59 gnunet_service_testbed_logger_DEPENDENCIES = \
60 $(top_builddir)/src/util/libgnunetutil.la
62 gnunet_testbed_profiler_SOURCES = \
63 gnunet-testbed-profiler.c
64 gnunet_testbed_profiler_LDADD = $(XLIB) \
65 $(top_builddir)/src/util/libgnunetutil.la \
66 $(top_builddir)/src/testbed/libgnunettestbed.la
67 gnunet_testbed_profiler_DEPENDENCIES = \
68 $(top_builddir)/src/util/libgnunetutil.la \
71 gnunet_helper_testbed_SOURCES = \
72 gnunet-helper-testbed.c
73 gnunet_helper_testbed_LDADD = $(XLIB) \
74 $(top_builddir)/src/util/libgnunetutil.la \
75 $(top_builddir)/src/testing/libgnunettesting.la \
77 $(LTLIBINTL) $(Z_LIBS)
78 gnunet_helper_testbed_DEPENDENCIES = \
79 gnunet-service-testbed.$(OBJEXT) \
82 gnunet_daemon_testbed_blacklist_SOURCES = gnunet-daemon-testbed-blacklist.c
83 gnunet_daemon_testbed_blacklist_LDADD = $(XLIB) \
84 $(top_builddir)/src/transport/libgnunettransport.la \
85 $(top_builddir)/src/util/libgnunetutil.la \
87 gnunet_daemon_testbed_blacklist_DEPENDENCIES = \
88 $(top_builddir)/src/transport/libgnunettransport.la \
89 $(top_builddir)/src/util/libgnunetutil.la
91 gnunet_daemon_testbed_underlay_SOURCES = gnunet-daemon-testbed-underlay.c
92 gnunet_daemon_testbed_underlay_LDADD = $(XLIB) \
93 $(top_builddir)/src/transport/libgnunettransport.la \
94 $(top_builddir)/src/util/libgnunetutil.la \
95 $(LTLIBINTL) -lsqlite3
96 gnunet_daemon_testbed_underlay_DEPENDENCIES = \
97 $(top_builddir)/src/transport/libgnunettransport.la \
98 $(top_builddir)/src/util/libgnunetutil.la
101 libgnunettestbed.la \
102 libgnunettestbedlogger.la
104 libgnunettestbed_la_SOURCES = \
105 testbed_api.c testbed_api.h testbed.h \
106 testbed_api_hosts.c testbed_api_hosts.h testbed_helper.h \
107 testbed_api_operations.c testbed_api_operations.h \
108 testbed_api_peers.c testbed_api_peers.h \
109 testbed_api_services.c \
110 testbed_api_statistics.c \
111 testbed_api_testbed.c \
113 testbed_api_topology.c testbed_api_topology.h \
114 testbed_api_sd.c testbed_api_sd.h \
115 testbed_api_barriers.c testbed_api_barriers.h
116 libgnunettestbed_la_LIBADD = $(XLIB) \
117 $(top_builddir)/src/core/libgnunetcore.la \
118 $(top_builddir)/src/statistics/libgnunetstatistics.la \
119 $(top_builddir)/src/transport/libgnunettransport.la \
120 $(top_builddir)/src/hello/libgnunethello.la \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/testing/libgnunettesting.la \
125 libgnunettestbed_la_LDFLAGS = \
129 libgnunettestbedlogger_la_SOURCES = \
131 libgnunettestbedlogger_la_LIBADD = $(XLIB) \
132 $(top_builddir)/src/util/libgnunetutil.la \
134 libgnunettestbedlogger_la_LDFLAGS = \
139 test_testbed_api_hosts \
140 test_testbed_logger_api \
141 test_gnunet_helper_testbed \
142 test_testbed_api_controllerlink \
143 test_testbed_api_2peers_1controller \
144 test_testbed_api_3peers_3controllers \
146 test_testbed_api_sd \
147 test_testbed_api_operations \
148 test_testbed_api_testbed_run \
149 test_testbed_api_test \
150 test_testbed_api_test_timeout \
151 test_testbed_api_peer_reconfiguration \
152 test_testbed_api_peers_manage_services \
153 test_testbed_api_topology \
154 test_testbed_api_topology_clique \
155 test_testbed_api_testbed_run_topologyrandom \
156 test_testbed_api_testbed_run_topologyline \
157 test_testbed_api_testbed_run_topologyclique \
158 test_testbed_api_testbed_run_topologyring \
159 test_testbed_api_testbed_run_topologysmallworldring \
160 test_testbed_api_testbed_run_topology2dtorus \
161 test_testbed_api_testbed_run_topologysmallworld \
162 test_testbed_api_testbed_run_topologyfromfile \
163 test_testbed_api_testbed_run_topologyscalefree \
164 test_testbed_api_testbed_run_waitforever \
165 test_testbed_api_statistics \
166 gnunet-service-test-barriers \
167 test_testbed_api_barriers
172 test_testbed_logger_api \
173 test_testbed_api_sd \
174 test_testbed_api_operations \
175 test_testbed_api_hosts \
176 test_gnunet_helper_testbed \
177 test_testbed_api_2peers_1controller \
178 test_testbed_api_controllerlink \
179 test_testbed_api_3peers_3controllers \
180 test_testbed_api_testbed_run \
181 test_testbed_api_test \
182 test_testbed_api_test_timeout \
183 test_testbed_api_statistics \
184 test_testbed_api_peer_reconfiguration \
185 test_testbed_api_peers_manage_services \
186 test_testbed_api_topology \
187 test_testbed_api_topology_clique \
188 test_testbed_api_testbed_run_topologyrandom \
189 test_testbed_api_testbed_run_topologyline \
190 test_testbed_api_testbed_run_topologyclique \
191 test_testbed_api_testbed_run_topologyring \
192 test_testbed_api_testbed_run_topology2dtorus \
193 test_testbed_api_testbed_run_topologysmallworld \
194 test_testbed_api_testbed_run_topologysmallworldring \
195 test_testbed_api_testbed_run_topologyfromfile \
196 test_testbed_api_testbed_run_topologyscalefree \
197 test_testbed_api_barriers
200 test_testbed_api_hosts_SOURCES = \
201 test_testbed_api_hosts.c
202 test_testbed_api_hosts_LDADD = \
203 $(top_builddir)/src/util/libgnunetutil.la \
206 test_testbed_api_SOURCES = \
208 test_testbed_api_LDADD = \
209 $(top_builddir)/src/util/libgnunetutil.la \
210 $(top_builddir)/src/testing/libgnunettesting.la \
211 $(top_builddir)/src/arm/libgnunetarm.la \
214 test_testbed_logger_api_SOURCES = \
215 test_testbed_logger_api.c
216 test_testbed_logger_api_LDADD = \
217 $(top_builddir)/src/util/libgnunetutil.la \
218 $(top_builddir)/src/testing/libgnunettesting.la \
219 libgnunettestbedlogger.la
221 test_testbed_api_sd_SOURCES = \
222 test_testbed_api_sd.c
223 test_testbed_api_sd_LDADD = \
224 $(top_builddir)/src/util/libgnunetutil.la \
227 test_testbed_api_2peers_1controller_SOURCES = \
228 test_testbed_api_2peers_1controller.c
229 test_testbed_api_2peers_1controller_LDADD = \
230 $(top_builddir)/src/util/libgnunetutil.la \
231 $(top_builddir)/src/testing/libgnunettesting.la \
234 test_testbed_api_3peers_3controllers_SOURCES = \
235 test_testbed_api_3peers_3controllers.c
236 test_testbed_api_3peers_3controllers_LDADD = \
237 $(top_builddir)/src/util/libgnunetutil.la \
238 $(top_builddir)/src/testing/libgnunettesting.la \
241 test_testbed_api_operations_SOURCES = \
242 test_testbed_api_operations.c
243 test_testbed_api_operations_LDADD = \
244 $(top_builddir)/src/util/libgnunetutil.la \
247 test_testbed_api_controllerlink_SOURCES = \
248 test_testbed_api_controllerlink.c
249 test_testbed_api_controllerlink_LDADD = \
250 $(top_builddir)/src/util/libgnunetutil.la \
253 test_testbed_api_testbed_run_SOURCES = \
254 test_testbed_api_testbed_run.c
255 test_testbed_api_testbed_run_LDADD = \
256 $(top_builddir)/src/util/libgnunetutil.la \
259 test_testbed_api_test_SOURCES = \
260 test_testbed_api_test.c
261 test_testbed_api_test_LDADD = \
262 $(top_builddir)/src/util/libgnunetutil.la \
265 test_testbed_api_test_timeout_SOURCES = \
266 test_testbed_api_test_timeout.c
267 test_testbed_api_test_timeout_LDADD = \
268 $(top_builddir)/src/util/libgnunetutil.la \
271 test_testbed_api_topology_SOURCES = \
272 test_testbed_api_topology.c
273 test_testbed_api_topology_LDADD = \
274 $(top_builddir)/src/util/libgnunetutil.la \
277 test_testbed_api_topology_clique_SOURCES = \
278 test_testbed_api_topology_clique.c
279 test_testbed_api_topology_clique_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la \
283 test_gnunet_helper_testbed_SOURCES = \
284 test_gnunet_helper_testbed.c
285 test_gnunet_helper_testbed_LDADD = \
286 $(top_builddir)/src/util/libgnunetutil.la \
287 libgnunettestbed.la \
290 test_testbed_api_testbed_run_topologyrandom_SOURCES = \
291 test_testbed_api_testbed_run.c
292 test_testbed_api_testbed_run_topologyrandom_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la \
296 test_testbed_api_testbed_run_topologyline_SOURCES = \
297 test_testbed_api_testbed_run.c
298 test_testbed_api_testbed_run_topologyline_LDADD = \
299 $(top_builddir)/src/util/libgnunetutil.la \
302 test_testbed_api_testbed_run_topologyclique_SOURCES = \
303 test_testbed_api_testbed_run.c
304 test_testbed_api_testbed_run_topologyclique_LDADD = \
305 $(top_builddir)/src/util/libgnunetutil.la \
308 test_testbed_api_testbed_run_topologyring_SOURCES = \
309 test_testbed_api_testbed_run.c
310 test_testbed_api_testbed_run_topologyring_LDADD = \
311 $(top_builddir)/src/util/libgnunetutil.la \
314 test_testbed_api_testbed_run_topologysmallworldring_SOURCES = \
315 test_testbed_api_testbed_run.c
316 test_testbed_api_testbed_run_topologysmallworldring_LDADD = \
317 $(top_builddir)/src/util/libgnunetutil.la \
320 test_testbed_api_testbed_run_topology2dtorus_SOURCES = \
321 test_testbed_api_testbed_run.c
322 test_testbed_api_testbed_run_topology2dtorus_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la \
326 test_testbed_api_testbed_run_topologysmallworld_SOURCES = \
327 test_testbed_api_testbed_run.c
328 test_testbed_api_testbed_run_topologysmallworld_LDADD = \
329 $(top_builddir)/src/util/libgnunetutil.la \
332 test_testbed_api_testbed_run_topologyfromfile_SOURCES = \
333 test_testbed_api_testbed_run.c
334 test_testbed_api_testbed_run_topologyfromfile_LDADD = \
335 $(top_builddir)/src/util/libgnunetutil.la \
338 test_testbed_api_testbed_run_topologyscalefree_SOURCES = \
339 test_testbed_api_testbed_run.c
340 test_testbed_api_testbed_run_topologyscalefree_LDADD = \
341 $(top_builddir)/src/util/libgnunetutil.la \
344 test_testbed_api_testbed_run_waitforever_SOURCES = \
345 test_testbed_api_testbed_run.c
346 test_testbed_api_testbed_run_waitforever_LDADD = \
347 $(top_builddir)/src/util/libgnunetutil.la \
350 test_testbed_api_statistics_SOURCES = \
351 test_testbed_api_statistics.c
352 test_testbed_api_statistics_LDADD = \
353 $(top_builddir)/src/util/libgnunetutil.la \
356 test_testbed_api_peers_manage_services_SOURCES = \
357 test_testbed_api_peers_manage_services.c
358 test_testbed_api_peers_manage_services_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la \
362 test_testbed_api_peer_reconfiguration_SOURCES = \
363 test_testbed_api_peer_reconfiguration.c
364 test_testbed_api_peer_reconfiguration_LDADD = \
365 $(top_builddir)/src/util/libgnunetutil.la \
368 test_testbed_api_barriers_SOURCES = \
369 test_testbed_api_barriers.c \
370 test_testbed_api_barriers.h
371 test_testbed_api_barriers_LDADD = \
372 $(top_builddir)/src/util/libgnunetutil.la \
374 test_testbed_api_barriers_DEPENDENCIES = \
375 gnunet-service-test-barriers
377 gnunet_service_test_barriers_SOURCES = \
378 gnunet-service-test-barriers.c \
379 test_testbed_api_barriers.h
380 gnunet_service_test_barriers_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la \
385 test_testbed_api.conf \
386 test_testbed_api_test_timeout.conf \
387 test_testbed_api_template.conf \
388 test_testbed_logger_api.conf \
389 test_testbed_api_testbed_run_topologyring.conf \
390 test_testbed_api_testbed_run_topologyclique.conf \
391 test_testbed_api_testbed_run_topologyline.conf \
392 test_testbed_api_testbed_run_topologyrandom.conf \
393 test_testbed_api_testbed_run_topologysmallworldring.conf \
394 test_testbed_api_testbed_run_topology2dtorus.conf \
395 test_testbed_api_testbed_run_topologysmallworld.conf \
396 test_testbed_api_testbed_run_topologyfromfile.conf \
397 test_testbed_api_testbed_run_topologyscalefree.conf \
398 test_testbed_api_barriers.conf.in \
399 overlay_topology.txt \