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 \
58 gnunet_service_ats_DEPENDENCIES = \
62 test_ats_api_scheduling_init \
63 test_ats_api_scheduling_add_address \
64 test_ats_api_scheduling_add_session \
65 test_ats_api_scheduling_update_address \
66 test_ats_api_scheduling_switch_network \
67 test_ats_api_scheduling_destroy_address \
68 test_ats_api_scheduling_destroy_session \
69 test_ats_api_scheduling_destroy_inbound_connection \
70 test_ats_api_scheduling_block_and_reset \
72 test_ats_api_performance
74 # $(GN_MLP_TEST_AVG) \
76 # test_ats_api_scheduling_get_type
77 # test_ats_api_bandwidth_consumption
80 TESTS = $(check_PROGRAMS)
83 test_ats_api_scheduling_init_SOURCES = \
84 test_ats_api_scheduling_init.c test_ats_api_common.c
85 test_ats_api_scheduling_init_LDADD = \
86 $(top_builddir)/src/util/libgnunetutil.la \
87 $(top_builddir)/src/testing/libgnunettesting.la \
88 $(top_builddir)/src/ats/libgnunetats.la
90 test_ats_api_scheduling_add_address_SOURCES = \
91 test_ats_api_scheduling_add_address.c test_ats_api_common.c
92 test_ats_api_scheduling_add_address_LDADD = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 $(top_builddir)/src/testing/libgnunettesting.la \
95 $(top_builddir)/src/ats/libgnunetats.la
97 test_ats_api_scheduling_add_session_SOURCES = \
98 test_ats_api_scheduling_add_session.c test_ats_api_common.c
99 test_ats_api_scheduling_add_session_LDADD = \
100 $(top_builddir)/src/util/libgnunetutil.la \
101 $(top_builddir)/src/testing/libgnunettesting.la \
102 $(top_builddir)/src/ats/libgnunetats.la
104 test_ats_api_scheduling_update_address_SOURCES = \
105 test_ats_api_scheduling_update_address.c test_ats_api_common.c
106 test_ats_api_scheduling_update_address_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/testing/libgnunettesting.la \
109 $(top_builddir)/src/ats/libgnunetats.la
111 test_ats_api_scheduling_switch_network_SOURCES = \
112 test_ats_api_scheduling_switch_network.c test_ats_api_common.c
113 test_ats_api_scheduling_switch_network_LDADD = \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/testing/libgnunettesting.la \
116 $(top_builddir)/src/ats/libgnunetats.la
120 test_ats_api_scheduling_destroy_address_SOURCES = \
121 test_ats_api_scheduling_destroy_address.c test_ats_api_common.c
122 test_ats_api_scheduling_destroy_address_LDADD = \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/testing/libgnunettesting.la \
125 $(top_builddir)/src/ats/libgnunetats.la
127 test_ats_api_scheduling_destroy_session_SOURCES = \
128 test_ats_api_scheduling_destroy_session.c test_ats_api_common.c
129 test_ats_api_scheduling_destroy_session_LDADD = \
130 $(top_builddir)/src/util/libgnunetutil.la \
131 $(top_builddir)/src/testing/libgnunettesting.la \
132 $(top_builddir)/src/ats/libgnunetats.la
134 test_ats_api_scheduling_destroy_inbound_connection_SOURCES = \
135 test_ats_api_scheduling_destroy_inbound_connection.c test_ats_api_common.c
136 test_ats_api_scheduling_destroy_inbound_connection_LDADD = \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/testing/libgnunettesting.la \
139 $(top_builddir)/src/ats/libgnunetats.la
141 test_ats_api_scheduling_block_and_reset_SOURCES = \
142 test_ats_api_scheduling_block_and_reset.c test_ats_api_common.c
143 test_ats_api_scheduling_block_and_reset_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
145 $(top_builddir)/src/testing/libgnunettesting.la \
146 $(top_builddir)/src/ats/libgnunetats.la
148 test_ats_api_performance_SOURCES = \
149 test_ats_api_performance.c
150 test_ats_api_performance_LDADD = \
151 $(top_builddir)/src/util/libgnunetutil.la \
152 $(top_builddir)/src/testing/libgnunettesting.la \
153 $(top_builddir)/src/hello/libgnunethello.la \
154 $(top_builddir)/src/ats/libgnunetats.la
156 test_ats_simplistic_SOURCES = \
157 test_ats_simplistic.c test_ats_api_common.c
158 test_ats_simplistic_LDADD = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/testing/libgnunettesting.la \
161 $(top_builddir)/src/hello/libgnunethello.la \
162 $(top_builddir)/src/ats/libgnunetats.la
166 #test_ats_mlp_SOURCES = \
169 #test_ats_mlp_LDADD = \
171 # $(top_builddir)/src/util/libgnunetutil.la \
172 # $(top_builddir)/src/statistics/libgnunetstatistics.la
174 #test_ats_mlp_averaging_SOURCES = \
176 # test_ats_mlp_averaging.c
177 #test_ats_mlp_averaging_LDADD = \
179 # $(top_builddir)/src/util/libgnunetutil.la \
180 # $(top_builddir)/src/statistics/libgnunetstatistics.la
182 #perf_ats_mlp_SOURCES = \
185 #perf_ats_mlp_LDADD = \
187 # $(top_builddir)/src/util/libgnunetutil.la \
188 # $(top_builddir)/src/statistics/libgnunetstatistics.la
191 #test_ats_api_bandwidth_consumption_SOURCES = \
192 # test_ats_api_bandwidth_consumption.c
193 #test_ats_api_bandwidth_consumption_LDADD = \
194 # $(top_builddir)/src/util/libgnunetutil.la \
195 # $(top_builddir)/src/testing/libgnunettesting.la \
196 # $(top_builddir)/src/ats/libgnunetats.la