1 INCLUDES = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 AM_CFLAGS = -fprofile-arcs -ftest-coverage
20 GN_MLP_SRC = gnunet-service-ats_addresses_mlp.c gnunet-service-ats_addresses_mlp.h
21 GN_MLP_TEST = test_ats_mlp
22 GN_MLP_TEST_AVG = test_ats_mlp_averaging
23 GN_MLP_PERF = perf_ats_mlp
26 lib_LTLIBRARIES = libgnunetats.la
28 libgnunetats_la_SOURCES = \
29 ats_api_scheduling.c \
32 libgnunetats_la_LIBADD = \
33 $(top_builddir)/src/util/libgnunetutil.la \
36 libgnunetats_la_LDFLAGS = \
44 gnunet_service_ats_SOURCES = \
45 gnunet-service-ats.c gnunet-service-ats.h\
46 gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \
47 gnunet-service-ats_addresses_simplistic.c gnunet-service-ats_addresses_simplistic.h \
49 gnunet-service-ats_performance.c gnunet-service-ats_performance.h \
50 gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \
51 gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h
52 gnunet_service_ats_LDADD = \
53 $(top_builddir)/src/statistics/libgnunetstatistics.la \
54 $(top_builddir)/src/util/libgnunetutil.la \
57 gnunet_service_ats_DEPENDENCIES = \
61 test_ats_api_scheduling_init \
62 test_ats_api_scheduling_add_address \
63 test_ats_api_scheduling_update_address \
64 test_ats_api_scheduling_destroy_address \
65 test_ats_api_scheduling_destroy_session \
66 test_ats_api_scheduling_block_and_reset \
68 test_ats_api_performance
70 # $(GN_MLP_TEST_AVG) \
72 # test_ats_api_scheduling_get_type
73 # test_ats_api_bandwidth_consumption
76 TESTS = $(check_PROGRAMS)
79 test_ats_api_scheduling_init_SOURCES = \
80 test_ats_api_scheduling_init.c
81 test_ats_api_scheduling_init_LDADD = \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 $(top_builddir)/src/testing/libgnunettesting.la \
84 $(top_builddir)/src/ats/libgnunetats.la
86 test_ats_api_scheduling_add_address_SOURCES = \
87 test_ats_api_scheduling_add_address.c
88 test_ats_api_scheduling_add_address_LDADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(top_builddir)/src/testing/libgnunettesting.la \
91 $(top_builddir)/src/ats/libgnunetats.la
93 test_ats_api_scheduling_update_address_SOURCES = \
94 test_ats_api_scheduling_update_address.c
95 test_ats_api_scheduling_update_address_LDADD = \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/testing/libgnunettesting.la \
98 $(top_builddir)/src/ats/libgnunetats.la
100 test_ats_api_scheduling_destroy_address_SOURCES = \
101 test_ats_api_scheduling_destroy_address.c
102 test_ats_api_scheduling_destroy_address_LDADD = \
103 $(top_builddir)/src/util/libgnunetutil.la \
104 $(top_builddir)/src/testing/libgnunettesting.la \
105 $(top_builddir)/src/ats/libgnunetats.la
107 test_ats_api_scheduling_destroy_session_SOURCES = \
108 test_ats_api_scheduling_destroy_session.c
109 test_ats_api_scheduling_destroy_session_LDADD = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/testing/libgnunettesting.la \
112 $(top_builddir)/src/ats/libgnunetats.la
114 test_ats_api_scheduling_block_and_reset_SOURCES = \
115 test_ats_api_scheduling_block_and_reset.c
116 test_ats_api_scheduling_block_and_reset_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/testing/libgnunettesting.la \
119 $(top_builddir)/src/ats/libgnunetats.la
121 test_ats_api_performance_SOURCES = \
122 test_ats_api_performance.c
123 test_ats_api_performance_LDADD = \
124 $(top_builddir)/src/util/libgnunetutil.la \
125 $(top_builddir)/src/testing/libgnunettesting.la \
126 $(top_builddir)/src/hello/libgnunethello.la \
127 $(top_builddir)/src/ats/libgnunetats.la
129 test_ats_simplistic_SOURCES = \
130 test_ats_simplistic.c
131 test_ats_simplistic_LDADD = \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/testing/libgnunettesting.la \
134 $(top_builddir)/src/hello/libgnunethello.la \
135 $(top_builddir)/src/ats/libgnunetats.la
139 #test_ats_mlp_SOURCES = \
142 #test_ats_mlp_LDADD = \
144 # $(top_builddir)/src/util/libgnunetutil.la \
145 # $(top_builddir)/src/statistics/libgnunetstatistics.la
147 #test_ats_mlp_averaging_SOURCES = \
149 # test_ats_mlp_averaging.c
150 #test_ats_mlp_averaging_LDADD = \
152 # $(top_builddir)/src/util/libgnunetutil.la \
153 # $(top_builddir)/src/statistics/libgnunetstatistics.la
155 #perf_ats_mlp_SOURCES = \
158 #perf_ats_mlp_LDADD = \
160 # $(top_builddir)/src/util/libgnunetutil.la \
161 # $(top_builddir)/src/statistics/libgnunetstatistics.la
164 #test_ats_api_bandwidth_consumption_SOURCES = \
165 # test_ats_api_bandwidth_consumption.c
166 #test_ats_api_bandwidth_consumption_LDADD = \
167 # $(top_builddir)/src/util/libgnunetutil.la \
168 # $(top_builddir)/src/testing/libgnunettesting.la \
169 # $(top_builddir)/src/ats/libgnunetats.la