GN_MLP_REQUEST_ADD_ADDRESS = test_ats_solver_request_and_add_address_mlp
GN_MLP_REQUEST_DELETE_ADDRESS = test_ats_solver_request_and_delete_address_mlp
GN_MLP_ALTERNATIVE_DELETE_ADDRESS = test_ats_solver_alternative_after_delete_address_mlp
-
endif
lib_LTLIBRARIES = libgnunetats.la
plugin_LTLIBRARIES = \
libgnunet_plugin_ats_proportional.la \
- libgnunet_plugin_ats_mlp.la
+ $(GN_MLP_LIB) \
+ libgnunet_plugin_ats_ril.la
libgnunetats_la_SOURCES = \
ats_api_scheduling.c \
- ats_api_performance.c
+ ats_api_performance.c
libgnunetats_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIB_LDFLAGS) \
-version-info 4:0:0
+libgnunet_plugin_ats_proportional_la_SOURCES = \
+ libgnunet_plugin_ats_proportional.c
+libgnunet_plugin_ats_proportional_la_LIBADD = \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/ats/libgnunetats.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(LTLIBINTL)
+libgnunet_plugin_ats_proportional_la_LDFLAGS = \
+ $(GN_PLUGIN_LDFLAGS)
+libgnunet_plugin_ats_proportional_la_DEPENDENCIES = \
+ libgnunetats.la
+
+if HAVE_LIBGLPK
+libgnunet_plugin_ats_mlp_la_SOURCES = \
+ libgnunet_plugin_ats_mlp.c
+libgnunet_plugin_ats_mlp_la_LIBADD = \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/ats/libgnunetats.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
+endif
+
+libgnunet_plugin_ats_ril_la_SOURCES = \
+ libgnunet_plugin_ats_ril.c
+libgnunet_plugin_ats_ril_la_LIBADD = \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/ats/libgnunetats.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(LTLIBINTL)
+libgnunet_plugin_ats_ril_la_LDFLAGS = \
+ $(GN_PLUGIN_LDFLAGS)
+libgnunet_plugin_ats_ril_la_DEPENDENCIES = \
+ libgnunetats.la
libexec_PROGRAMS = \
gnunet-service-ats
-# gnunet-service-ats-solver_proportional.c gnunet-service-ats-solver_proportional.h
-# $(GN_MLP_SRC)
-# gnunet-service-ats-solver_ril.c gnunet-service-ats-solver_ril.h
-
gnunet_service_ats_SOURCES = \
gnunet-service-ats.c gnunet-service-ats.h\
gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \
$(GN_MLP_ADD_REQUEST_ADDRESS) \
$(GN_MLP_REQUEST_ADD_ADDRESS) \
$(GN_MLP_REQUEST_DELETE_ADDRESS) \
- $(GN_MLP_ALTERNATIVE_DELETE_ADDRESS)
-# test_ats_solver_add_address_ril
-# test_ats_solver_add_address_and_request_ril
-# test_ats_solver_request_and_add_address_ril
-# test_ats_solver_request_and_delete_address_ril
-# test_ats_solver_alternative_after_delete_address_ril
+ $(GN_MLP_ALTERNATIVE_DELETE_ADDRESS) \
+ test_ats_solver_add_address_ril \
+ test_ats_solver_add_address_and_request_ril \
+ test_ats_solver_request_and_add_address_ril \
+ test_ats_solver_request_and_delete_address_ril \
+ test_ats_solver_alternative_after_delete_address_ril
# test_ats_api_scheduling_min_bw
# test_ats_api_scheduling_check_min_bw_alt
TESTS = $(check_PROGRAMS)
endif
-libgnunet_plugin_ats_proportional_la_SOURCES = \
- libgnunet_plugin_ats_proportional.c
-libgnunet_plugin_ats_proportional_la_LIBADD = \
- $(top_builddir)/src/statistics/libgnunetstatistics.la \
- $(top_builddir)/src/util/libgnunetutil.la \
- $(LTLIBINTL)
-
-if HAVE_LIBGLPK
-endif
-libgnunet_plugin_ats_mlp_la_SOURCES = \
- libgnunet_plugin_ats_mlp.c
-libgnunet_plugin_ats_mlp_la_LIBADD = \
- $(top_builddir)/src/statistics/libgnunetstatistics.la \
- $(top_builddir)/src/util/libgnunetutil.la \
- $(GN_LIBGLPK)
-libgnunet_plugin_ats_mlp_la_LDFLAGS = \
- $(GN_LIBGLPK)
-
-
# scheduling API tests
test_ats_api_scheduling_init_SOURCES = \