XLIB = -lgcov
endif
-if ENABLE_LL
- ll_binaries = \
- gnunet-testbed-mpi-spawn
-endif
-
libexecdir= $(pkglibdir)/libexec/
pkgcfgdir= $(pkgdatadir)/config.d/
pkgcfg_DATA = \
testbed.conf
+if HAVE_SQLITE
+ underlay_daemon = gnunet-daemon-testbed-underlay
+ generate_underlay = generate-underlay-topology
+endif
+
libexec_PROGRAMS = \
gnunet-service-testbed \
gnunet-helper-testbed \
gnunet-service-testbed-logger \
- gnunet-daemon-testbed-blacklist
+ gnunet-daemon-testbed-blacklist \
+ $(underlay_daemon)
bin_PROGRAMS = \
- $(ll_binaries) \
gnunet-testbed-profiler
+noinst_PROGRAMS = \
+ $(generate_underlay)
+
gnunet_service_testbed_SOURCES = \
- gnunet-service-testbed.h \
- gnunet-service-testbed.c \
- gnunet-service-testbed_links.c \
+ gnunet-service-testbed.c gnunet-service-testbed.h \
+ gnunet-service-testbed_links.c gnunet-service-testbed_links.h \
gnunet-service-testbed_peers.c \
gnunet-service-testbed_cache.c \
gnunet-service-testbed_oc.c \
gnunet-service-testbed_cpustatus.c \
- gnunet-service-testbed_meminfo.c \
- gnunet-service-testbed_meminfo.h \
- gnunet-service-testbed_barriers.c \
- gnunet-service-testbed_barriers.h
+ gnunet-service-testbed_meminfo.c gnunet-service-testbed_meminfo.h \
+ gnunet-service-testbed_barriers.c gnunet-service-testbed_barriers.h \
+ gnunet-service-testbed_connectionpool.c gnunet-service-testbed_connectionpool.h
gnunet_service_testbed_LDADD = $(XLIB) \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la
-gnunet_testbed_mpi_spawn_SOURCES = gnunet_testbed_mpi_spawn.c
-gnunet_testbed_mpi_spawn_LDADD = $(XLIB) \
- $(top_builddir)/src/util/libgnunetutil.la \
- $(top_builddir)/src/testbed/libgnunettestbed.la
-gnunet_testbed_mpi_spawn_DEPENDENCIES = \
+gnunet_daemon_testbed_underlay_SOURCES = gnunet-daemon-testbed-underlay.c
+gnunet_daemon_testbed_underlay_LDADD = $(XLIB) \
+ $(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la \
- libgnunettestbed.la
+ $(LTLIBINTL) -lsqlite3
+gnunet_daemon_testbed_underlay_DEPENDENCIES = \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/util/libgnunetutil.la
lib_LTLIBRARIES = \
libgnunettestbed.la \
testbed_api_test.c \
testbed_api_topology.c testbed_api_topology.h \
testbed_api_sd.c testbed_api_sd.h \
- testbed_api_barriers.c
+ testbed_api_barriers.c testbed_api_barriers.h
libgnunettestbed_la_LIBADD = $(XLIB) \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
+generate_underlay_topology_SOURCES = generate-underlay-topology.c
+generate_underlay_topology_LDADD = $(XLIB) \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testbed/libgnunettestbed.la \
+ $(LTLIBINTL) -lsqlite3
+generate_underlay_topology_DEPENDENCIES = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunettestbed.la
+
check_PROGRAMS = \
test_testbed_api_hosts \
test_testbed_logger_api \
test_gnunet_helper_testbed_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
libgnunettestbed.la \
- $(Z_LIBZ)
+ $(Z_LIBS)
test_testbed_api_testbed_run_topologyrandom_SOURCES = \
test_testbed_api_testbed_run.c
EXTRA_DIST = \
test_testbed_api.conf \
test_testbed_api_test_timeout.conf \
+ test_testbed_api_template.conf \
+ test_testbed_logger_api.conf \
test_testbed_api_testbed_run_topologyring.conf \
test_testbed_api_testbed_run_topologyclique.conf \
test_testbed_api_testbed_run_topologyline.conf \