projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-changing exit helper code to automatically do the network configuration for an exit...
[oweals/gnunet.git]
/
src
/
ats
/
Makefile.am
diff --git
a/src/ats/Makefile.am
b/src/ats/Makefile.am
index 912912a8ae11c5da27c540f26c2b9eb0e56058dc..1f8a84a676623671143f1ad32a6750cdb8430d9b 100644
(file)
--- a/
src/ats/Makefile.am
+++ b/
src/ats/Makefile.am
@@
-2,7
+2,7
@@
INCLUDES = -I$(top_srcdir)/src/include
pkgcfgdir= $(pkgdatadir)/config.d/
pkgcfgdir= $(pkgdatadir)/config.d/
-
dist_
pkgcfg_DATA = \
+pkgcfg_DATA = \
ats.conf
if MINGW
ats.conf
if MINGW
@@
-16,6
+16,7
@@
endif
if HAVE_LIBGLPK
GN_LIBGLPK = -lglpk
GN_MLP_SRC = gnunet-service-ats_addresses_mlp.c gnunet-service-ats_addresses_mlp.h
if HAVE_LIBGLPK
GN_LIBGLPK = -lglpk
GN_MLP_SRC = gnunet-service-ats_addresses_mlp.c gnunet-service-ats_addresses_mlp.h
+ GN_MLP_TEST = test_ats_mlp
endif
lib_LTLIBRARIES = libgnunetats.la
endif
lib_LTLIBRARIES = libgnunetats.la
@@
-50,7
+51,8
@@
gnunet_service_ats_LDADD = \
check_PROGRAMS = \
check_PROGRAMS = \
- test_ats_api_scheduling
+ test_ats_api_scheduling \
+ $(GN_MLP_TEST)
# test_ats_api_scheduling_get_type
# test_ats_api_bandwidth_consumption
# test_ats_api_scheduling_get_type
# test_ats_api_bandwidth_consumption
@@
-58,6
+60,16
@@
if ENABLE_TEST_RUN
TESTS = $(check_PROGRAMS)
endif
TESTS = $(check_PROGRAMS)
endif
+if HAVE_LIBGLPK
+test_ats_mlp_SOURCES = \
+ $(GN_MLP_SRC) \
+ test_ats_mlp.c
+test_ats_mlp_LDADD = \
+ $(GN_LIBGLPK) \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la
+endif
+
test_ats_api_scheduling_SOURCES = \
test_ats_api_scheduling.c
test_ats_api_scheduling_LDADD = \
test_ats_api_scheduling_SOURCES = \
test_ats_api_scheduling.c
test_ats_api_scheduling_LDADD = \