1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
19 plugindir = $(libdir)/gnunet
24 gnunet-service-mesh gnunet-service-mesh-new
30 plugin_LTLIBRARIES = \
31 libgnunet_plugin_block_mesh.la
33 libgnunet_plugin_block_mesh_la_SOURCES = \
35 libgnunet_plugin_block_mesh_la_LIBADD = \
36 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
37 $(top_builddir)/src/block/libgnunetblock.la \
38 $(top_builddir)/src/util/libgnunetutil.la
39 libgnunet_plugin_block_mesh_la_LDFLAGS = \
41 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
42 libgnunetmeshblock.la \
43 $(top_builddir)/src/block/libgnunetblock.la \
44 $(top_builddir)/src/util/libgnunetutil.la
46 libgnunetmesh_la_SOURCES = \
47 mesh_api.c mesh_common.c
48 libgnunetmesh_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
52 libgnunetmesh_la_LDFLAGS = \
53 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
56 libgnunetmeshblock_la_SOURCES = \
58 libgnunetmeshblock_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la \
62 libgnunetmeshblock_la_LDFLAGS = \
63 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
66 gnunet_service_mesh_SOURCES = \
67 gnunet-service-mesh.c \
70 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
71 gnunet_service_mesh_LDADD = \
72 $(top_builddir)/src/util/libgnunetutil.la \
73 $(top_builddir)/src/core/libgnunetcore.la \
74 $(top_builddir)/src/dht/libgnunetdht.la \
75 $(top_builddir)/src/statistics/libgnunetstatistics.la \
76 $(top_builddir)/src/block/libgnunetblock.la \
77 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
78 $(top_builddir)/src/regex/libgnunetregex.la
79 gnunet_service_mesh_DEPENDENCIES = \
80 $(top_builddir)/src/util/libgnunetutil.la \
81 $(top_builddir)/src/core/libgnunetcore.la \
82 $(top_builddir)/src/dht/libgnunetdht.la \
83 $(top_builddir)/src/statistics/libgnunetstatistics.la \
84 $(top_builddir)/src/block/libgnunetblock.la \
85 libgnunetmeshblock.la \
86 $(top_builddir)/src/regex/libgnunetregex.la
88 gnunet_service_mesh_LDFLAGS = -lrt
91 gnunet_service_mesh_new_SOURCES = \
92 gnunet-service-mesh-new.c \
95 gnunet_service_mesh_new_CFLAGS = $(AM_CFLAGS)
96 gnunet_service_mesh_new_LDADD = \
97 $(top_builddir)/src/util/libgnunetutil.la \
98 $(top_builddir)/src/core/libgnunetcore.la \
99 $(top_builddir)/src/dht/libgnunetdht.la \
100 $(top_builddir)/src/statistics/libgnunetstatistics.la \
101 $(top_builddir)/src/block/libgnunetblock.la \
102 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
103 $(top_builddir)/src/regex/libgnunetregex.la
104 gnunet_service_mesh_new_DEPENDENCIES = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/core/libgnunetcore.la \
107 $(top_builddir)/src/dht/libgnunetdht.la \
108 $(top_builddir)/src/statistics/libgnunetstatistics.la \
109 $(top_builddir)/src/block/libgnunetblock.la \
110 libgnunetmeshblock.la \
111 $(top_builddir)/src/regex/libgnunetregex.la
113 gnunet_service_mesh_new_LDFLAGS = -lrt
118 gnunet-regex-profiler
120 gnunet_regex_profiler_SOURCES = \
121 gnunet-regex-profiler.c
122 gnunet_regex_profiler_LDADD = \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/testbed/libgnunettestbed.la \
125 $(top_builddir)/src/mesh/libgnunetmesh.la \
126 $(top_builddir)/src/regex/libgnunetregex.la \
127 $(top_builddir)/src/statistics/libgnunetstatistics.la
128 gnunet_regex_profiler_DEPENDENCIES = \
136 test_mesh_local_traffic_fwd \
137 test_mesh_local_traffic_bck \
138 test_mesh_local_traffic_both \
141 test_mesh_small_unicast \
142 test_mesh_small_multicast \
143 test_mesh_small_speed \
144 test_mesh_small_speed_nobuf \
145 test_mesh_small_speed_min \
146 test_mesh_small_speed_backwards \
147 test_mesh_small_speed_nobuf_backwards \
148 test_mesh_small_speed_min_backwards \
149 test_mesh_small_speed_ack
151 test_mesh_api_SOURCES = \
153 test_mesh_api_LDADD = \
154 $(top_builddir)/src/util/libgnunetutil.la \
155 $(top_builddir)/src/testing/libgnunettesting.la \
156 $(top_builddir)/src/mesh/libgnunetmesh.la
157 test_mesh_api_DEPENDENCIES = \
159 $(top_builddir)/src/util/libgnunetutil.la
161 test_mesh_tree_api_SOURCES = \
163 test_mesh_tree_api_LDADD = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/dht/libgnunetdht.la
166 test_mesh_tree_api_DEPENDENCIES = \
168 $(top_builddir)/src/dht/libgnunetdht.la
170 test_mesh_local_1_SOURCES = \
172 test_mesh_local_1_LDADD = \
173 $(top_builddir)/src/util/libgnunetutil.la \
174 $(top_builddir)/src/testing/libgnunettesting.la \
175 $(top_builddir)/src/mesh/libgnunetmesh.la
176 test_mesh_local_1_DEPENDENCIES = \
179 test_mesh_local_2_SOURCES = \
181 test_mesh_local_2_LDADD = \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/testing/libgnunettesting.la \
184 $(top_builddir)/src/mesh/libgnunetmesh.la
185 test_mesh_local_2_DEPENDENCIES = \
188 test_mesh_local_traffic_fwd_SOURCES = \
189 test_mesh_local_traffic.c
190 test_mesh_local_traffic_fwd_LDADD = \
191 $(top_builddir)/src/util/libgnunetutil.la \
192 $(top_builddir)/src/testing/libgnunettesting.la \
193 $(top_builddir)/src/mesh/libgnunetmesh.la
194 test_mesh_local_traffic_fwd_DEPENDENCIES = \
197 test_mesh_local_traffic_bck_SOURCES = \
198 test_mesh_local_traffic.c
199 test_mesh_local_traffic_bck_LDADD = \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 $(top_builddir)/src/testing/libgnunettesting.la \
202 $(top_builddir)/src/mesh/libgnunetmesh.la
203 test_mesh_local_traffic_bck_DEPENDENCIES = \
206 test_mesh_local_traffic_both_SOURCES = \
207 test_mesh_local_traffic.c
208 test_mesh_local_traffic_both_LDADD = \
209 $(top_builddir)/src/util/libgnunetutil.la \
210 $(top_builddir)/src/testing/libgnunettesting.la \
211 $(top_builddir)/src/mesh/libgnunetmesh.la
212 test_mesh_local_traffic_both_DEPENDENCIES = \
216 test_mesh_2dtorus_SOURCES = \
218 test_mesh_2dtorus_LDADD = \
219 $(top_builddir)/src/util/libgnunetutil.la \
220 $(top_builddir)/src/testing_old/libgnunettesting_old.la
222 test_mesh_regex_SOURCES = \
224 test_mesh_regex_LDADD = \
225 $(top_builddir)/src/mesh/libgnunetmesh.la \
226 $(top_builddir)/src/util/libgnunetutil.la \
227 $(top_builddir)/src/testing_old/libgnunettesting_old.la
228 test_mesh_regex_DEPENDENCIES = \
232 test_mesh_small_unicast_SOURCES = \
234 test_mesh_small_unicast_LDADD = \
235 $(top_builddir)/src/mesh/libgnunetmesh.la \
236 $(top_builddir)/src/util/libgnunetutil.la \
237 $(top_builddir)/src/testing_old/libgnunettesting_old.la
238 test_mesh_small_unicast_DEPENDENCIES = \
241 test_mesh_small_multicast_SOURCES = \
243 test_mesh_small_multicast_LDADD = \
244 $(top_builddir)/src/mesh/libgnunetmesh.la \
245 $(top_builddir)/src/util/libgnunetutil.la \
246 $(top_builddir)/src/testing_old/libgnunettesting_old.la
247 test_mesh_small_multicast_DEPENDENCIES = \
250 test_mesh_small_speed_ack_SOURCES = \
252 test_mesh_small_speed_ack_LDADD = \
253 $(top_builddir)/src/mesh/libgnunetmesh.la \
254 $(top_builddir)/src/util/libgnunetutil.la \
255 $(top_builddir)/src/testing_old/libgnunettesting_old.la
256 test_mesh_small_speed_ack_DEPENDENCIES = \
259 test_mesh_small_speed_SOURCES = \
261 test_mesh_small_speed_LDADD = \
262 $(top_builddir)/src/mesh/libgnunetmesh.la \
263 $(top_builddir)/src/util/libgnunetutil.la \
264 $(top_builddir)/src/testing_old/libgnunettesting_old.la
265 test_mesh_small_speed_DEPENDENCIES = \
268 test_mesh_small_speed_min_SOURCES = \
270 test_mesh_small_speed_min_LDADD = \
271 $(top_builddir)/src/mesh/libgnunetmesh.la \
272 $(top_builddir)/src/util/libgnunetutil.la \
273 $(top_builddir)/src/testing_old/libgnunettesting_old.la
274 test_mesh_small_speed_min_DEPENDENCIES = \
277 test_mesh_small_speed_nobuf_SOURCES = \
279 test_mesh_small_speed_nobuf_LDADD = \
280 $(top_builddir)/src/mesh/libgnunetmesh.la \
281 $(top_builddir)/src/util/libgnunetutil.la \
282 $(top_builddir)/src/testing_old/libgnunettesting_old.la
283 test_mesh_small_speed_nobuf_DEPENDENCIES = \
286 test_mesh_small_speed_backwards_SOURCES = \
288 test_mesh_small_speed_backwards_LDADD = \
289 $(top_builddir)/src/mesh/libgnunetmesh.la \
290 $(top_builddir)/src/util/libgnunetutil.la \
291 $(top_builddir)/src/testing_old/libgnunettesting_old.la
292 test_mesh_small_speed_backwards_DEPENDENCIES = \
295 test_mesh_small_speed_min_backwards_SOURCES = \
297 test_mesh_small_speed_min_backwards_LDADD = \
298 $(top_builddir)/src/mesh/libgnunetmesh.la \
299 $(top_builddir)/src/util/libgnunetutil.la \
300 $(top_builddir)/src/testing_old/libgnunettesting_old.la
301 test_mesh_small_speed_min_backwards_DEPENDENCIES = \
304 test_mesh_small_speed_nobuf_backwards_SOURCES = \
306 test_mesh_small_speed_nobuf_backwards_LDADD = \
307 $(top_builddir)/src/mesh/libgnunetmesh.la \
308 $(top_builddir)/src/util/libgnunetutil.la \
309 $(top_builddir)/src/testing_old/libgnunettesting_old.la
310 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
315 TESTS = test_mesh_api \
317 test_mesh_local_1 test_mesh_local_2 \
318 test_mesh_local_traffic_fwd \
319 test_mesh_local_traffic_bck \
320 test_mesh_local_traffic_both \
321 test_mesh_2dtorus test_mesh_regex \
322 test_mesh_small_unicast test_mesh_small_multicast \
323 test_mesh_small_speed \
324 test_mesh_small_speed_min \
325 test_mesh_small_speed_nobuf \
326 test_mesh_small_speed_backwards \
327 test_mesh_small_speed_min_backwards
332 test_mesh_2dtorus.conf \
333 test_mesh_small.conf \