AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
+noinst_PROGRAMS = \
+ gnunet-ats-solver-eval
+
if HAVE_LIBGLPK
GN_LIBGLPK = -lglpk
GN_MLP_LIB = libgnunet_plugin_ats_mlp.la
$(GN_MLP_LIB) \
libgnunet_plugin_ats_ril.la
+gnunet_ats_solver_eval_SOURCES = \
+ gnunet-ats-solver-eval.c gnunet-ats-solver-eval.h \
+ gnunet-service-ats_normalization.c
+gnunet_ats_solver_eval_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunetats.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(LTLIBINTL)
+gnunet_ats_solver_eval_DEPENDENCIES = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ libgnunetats.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la
+
libgnunetats_la_SOURCES = \
ats_api_scheduling.c \
ats_api_performance.c
libgnunet_plugin_ats_proportional_la_SOURCES = \
plugin_ats_proportional.c
libgnunet_plugin_ats_proportional_la_LIBADD = \
- libgnunetats.la \
+ libgnunetats.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(LTLIBINTL)
libgnunet_plugin_ats_proportional_la_DEPENDENCIES = \
- libgnunetats.la
+ libgnunetats.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/util/libgnunetutil.la
libgnunet_plugin_ats_proportional_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS)
libgnunet_plugin_ats_mlp_la_SOURCES = \
plugin_ats_mlp.c
libgnunet_plugin_ats_mlp_la_LIBADD = \
- libgnunetats.la \
+ libgnunetats.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la
libgnunet_plugin_ats_mlp_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS) $(GN_LIBGLPK)
libgnunet_plugin_ats_mlp_la_DEPENDENCIES = \
- libgnunetats.la
+ libgnunetats.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/util/libgnunetutil.la
endif
libgnunet_plugin_ats_ril_la_SOURCES = \
libgnunet_plugin_ats_ril_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS)
libgnunet_plugin_ats_ril_la_DEPENDENCIES = \
- libgnunetats.la
+ libgnunetats.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/util/libgnunetutil.la
libexec_PROGRAMS = \
gnunet-service-ats
$(TESTING_TESTS)
if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = $(check_PROGRAMS)
endif