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/
17 plugindir = $(libdir)/gnunet
28 plugin_LTLIBRARIES = \
29 libgnunet_plugin_block_mesh.la
31 libgnunet_plugin_block_mesh_la_SOURCES = \
33 libgnunet_plugin_block_mesh_la_LIBADD = \
34 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
35 $(top_builddir)/src/block/libgnunetblock.la \
36 $(top_builddir)/src/util/libgnunetutil.la
37 libgnunet_plugin_block_mesh_la_LDFLAGS = \
39 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
40 libgnunetmeshblock.la \
41 $(top_builddir)/src/block/libgnunetblock.la \
42 $(top_builddir)/src/util/libgnunetutil.la
44 libgnunetmesh_la_SOURCES = \
45 mesh_api.c mesh_common.c
46 libgnunetmesh_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
50 libgnunetmesh_la_LDFLAGS = \
51 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
54 libgnunetmeshblock_la_SOURCES = \
56 libgnunetmeshblock_la_LIBADD = \
57 $(top_builddir)/src/util/libgnunetutil.la \
60 libgnunetmeshblock_la_LDFLAGS = \
61 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
64 gnunet_service_mesh_SOURCES = \
65 gnunet-service-mesh.c \
68 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
69 gnunet_service_mesh_LDADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \
71 $(top_builddir)/src/core/libgnunetcore.la \
72 $(top_builddir)/src/dht/libgnunetdht.la \
73 $(top_builddir)/src/statistics/libgnunetstatistics.la \
74 $(top_builddir)/src/block/libgnunetblock.la \
75 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
76 $(top_builddir)/src/regex/libgnunetregex.la
77 gnunet_service_mesh_DEPENDENCIES = \
78 $(top_builddir)/src/util/libgnunetutil.la \
79 $(top_builddir)/src/core/libgnunetcore.la \
80 $(top_builddir)/src/dht/libgnunetdht.la \
81 $(top_builddir)/src/statistics/libgnunetstatistics.la \
82 $(top_builddir)/src/block/libgnunetblock.la \
83 libgnunetmeshblock.la \
84 $(top_builddir)/src/regex/libgnunetregex.la
86 gnunet_service_mesh_LDFLAGS = -lrt
92 gnunet_regex_profiler_SOURCES = \
93 gnunet-regex-profiler.c
94 gnunet_regex_profiler_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/testbed/libgnunettestbed.la \
97 $(top_builddir)/src/mesh/libgnunetmesh.la \
98 $(top_builddir)/src/regex/libgnunetregex.la \
99 $(top_builddir)/src/statistics/libgnunetstatistics.la
100 gnunet_regex_profiler_DEPENDENCIES = \
108 test_mesh_local_traffic_fwd \
109 test_mesh_local_traffic_bck \
110 test_mesh_local_traffic_both \
113 test_mesh_small_unicast \
114 test_mesh_small_multicast \
115 test_mesh_small_speed \
116 test_mesh_small_speed_nobuf \
117 test_mesh_small_speed_min \
118 test_mesh_small_speed_backwards \
119 test_mesh_small_speed_nobuf_backwards \
120 test_mesh_small_speed_min_backwards \
121 test_mesh_small_speed_ack
123 test_mesh_api_SOURCES = \
125 test_mesh_api_LDADD = \
126 $(top_builddir)/src/util/libgnunetutil.la \
127 $(top_builddir)/src/testing/libgnunettesting.la \
128 $(top_builddir)/src/mesh/libgnunetmesh.la
129 test_mesh_api_DEPENDENCIES = \
131 $(top_builddir)/src/util/libgnunetutil.la
133 test_mesh_tree_api_SOURCES = \
135 test_mesh_tree_api_LDADD = \
136 $(top_builddir)/src/util/libgnunetutil.la \
137 $(top_builddir)/src/dht/libgnunetdht.la
138 test_mesh_tree_api_DEPENDENCIES = \
140 $(top_builddir)/src/dht/libgnunetdht.la
142 test_mesh_local_1_SOURCES = \
144 test_mesh_local_1_LDADD = \
145 $(top_builddir)/src/util/libgnunetutil.la \
146 $(top_builddir)/src/testing/libgnunettesting.la \
147 $(top_builddir)/src/mesh/libgnunetmesh.la
148 test_mesh_local_1_DEPENDENCIES = \
151 test_mesh_local_2_SOURCES = \
153 test_mesh_local_2_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_local_2_DEPENDENCIES = \
160 test_mesh_local_traffic_fwd_SOURCES = \
161 test_mesh_local_traffic.c
162 test_mesh_local_traffic_fwd_LDADD = \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/testing/libgnunettesting.la \
165 $(top_builddir)/src/mesh/libgnunetmesh.la
166 test_mesh_local_traffic_fwd_DEPENDENCIES = \
169 test_mesh_local_traffic_bck_SOURCES = \
170 test_mesh_local_traffic.c
171 test_mesh_local_traffic_bck_LDADD = \
172 $(top_builddir)/src/util/libgnunetutil.la \
173 $(top_builddir)/src/testing/libgnunettesting.la \
174 $(top_builddir)/src/mesh/libgnunetmesh.la
175 test_mesh_local_traffic_bck_DEPENDENCIES = \
178 test_mesh_local_traffic_both_SOURCES = \
179 test_mesh_local_traffic.c
180 test_mesh_local_traffic_both_LDADD = \
181 $(top_builddir)/src/util/libgnunetutil.la \
182 $(top_builddir)/src/testing/libgnunettesting.la \
183 $(top_builddir)/src/mesh/libgnunetmesh.la
184 test_mesh_local_traffic_both_DEPENDENCIES = \
188 test_mesh_2dtorus_SOURCES = \
190 test_mesh_2dtorus_LDADD = \
191 $(top_builddir)/src/util/libgnunetutil.la \
192 $(top_builddir)/src/testing_old/libgnunettesting_old.la
194 test_mesh_regex_SOURCES = \
196 test_mesh_regex_LDADD = \
197 $(top_builddir)/src/mesh/libgnunetmesh.la \
198 $(top_builddir)/src/util/libgnunetutil.la \
199 $(top_builddir)/src/testing_old/libgnunettesting_old.la
200 test_mesh_regex_DEPENDENCIES = \
204 test_mesh_small_unicast_SOURCES = \
206 test_mesh_small_unicast_LDADD = \
207 $(top_builddir)/src/mesh/libgnunetmesh.la \
208 $(top_builddir)/src/util/libgnunetutil.la \
209 $(top_builddir)/src/testing_old/libgnunettesting_old.la
210 test_mesh_small_unicast_DEPENDENCIES = \
213 test_mesh_small_multicast_SOURCES = \
215 test_mesh_small_multicast_LDADD = \
216 $(top_builddir)/src/mesh/libgnunetmesh.la \
217 $(top_builddir)/src/util/libgnunetutil.la \
218 $(top_builddir)/src/testing_old/libgnunettesting_old.la
219 test_mesh_small_multicast_DEPENDENCIES = \
222 test_mesh_small_speed_ack_SOURCES = \
224 test_mesh_small_speed_ack_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_small_speed_ack_DEPENDENCIES = \
231 test_mesh_small_speed_SOURCES = \
233 test_mesh_small_speed_LDADD = \
234 $(top_builddir)/src/mesh/libgnunetmesh.la \
235 $(top_builddir)/src/util/libgnunetutil.la \
236 $(top_builddir)/src/testing_old/libgnunettesting_old.la
237 test_mesh_small_speed_DEPENDENCIES = \
240 test_mesh_small_speed_min_SOURCES = \
242 test_mesh_small_speed_min_LDADD = \
243 $(top_builddir)/src/mesh/libgnunetmesh.la \
244 $(top_builddir)/src/util/libgnunetutil.la \
245 $(top_builddir)/src/testing_old/libgnunettesting_old.la
246 test_mesh_small_speed_min_DEPENDENCIES = \
249 test_mesh_small_speed_nobuf_SOURCES = \
251 test_mesh_small_speed_nobuf_LDADD = \
252 $(top_builddir)/src/mesh/libgnunetmesh.la \
253 $(top_builddir)/src/util/libgnunetutil.la \
254 $(top_builddir)/src/testing_old/libgnunettesting_old.la
255 test_mesh_small_speed_nobuf_DEPENDENCIES = \
258 test_mesh_small_speed_backwards_SOURCES = \
260 test_mesh_small_speed_backwards_LDADD = \
261 $(top_builddir)/src/mesh/libgnunetmesh.la \
262 $(top_builddir)/src/util/libgnunetutil.la \
263 $(top_builddir)/src/testing_old/libgnunettesting_old.la
264 test_mesh_small_speed_backwards_DEPENDENCIES = \
267 test_mesh_small_speed_min_backwards_SOURCES = \
269 test_mesh_small_speed_min_backwards_LDADD = \
270 $(top_builddir)/src/mesh/libgnunetmesh.la \
271 $(top_builddir)/src/util/libgnunetutil.la \
272 $(top_builddir)/src/testing_old/libgnunettesting_old.la
273 test_mesh_small_speed_min_backwards_DEPENDENCIES = \
276 test_mesh_small_speed_nobuf_backwards_SOURCES = \
278 test_mesh_small_speed_nobuf_backwards_LDADD = \
279 $(top_builddir)/src/mesh/libgnunetmesh.la \
280 $(top_builddir)/src/util/libgnunetutil.la \
281 $(top_builddir)/src/testing_old/libgnunettesting_old.la
282 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
287 TESTS = test_mesh_api \
289 test_mesh_local_1 test_mesh_local_2 \
290 test_mesh_local_traffic_fwd \
291 test_mesh_local_traffic_bck \
292 test_mesh_local_traffic_both \
293 test_mesh_2dtorus test_mesh_regex \
294 test_mesh_small_unicast test_mesh_small_multicast \
295 test_mesh_small_speed \
296 test_mesh_small_speed_min \
297 test_mesh_small_speed_nobuf \
298 test_mesh_small_speed_backwards \
299 test_mesh_small_speed_min_backwards
304 test_mesh_2dtorus.conf \
305 test_mesh_small.conf \