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
94 test_mesh_local_traffic_fwd \
95 test_mesh_local_traffic_bck \
96 test_mesh_local_traffic_both \
99 test_mesh_small_unicast \
100 test_mesh_small_multicast \
101 test_mesh_small_speed \
102 test_mesh_small_speed_ack
104 test_mesh_api_SOURCES = \
106 test_mesh_api_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/testing/libgnunettesting.la \
109 $(top_builddir)/src/mesh/libgnunetmesh.la
110 test_mesh_api_DEPENDENCIES = \
112 $(top_builddir)/src/util/libgnunetutil.la
114 test_mesh_tree_api_SOURCES = \
116 test_mesh_tree_api_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/dht/libgnunetdht.la
119 test_mesh_tree_api_DEPENDENCIES = \
121 $(top_builddir)/src/dht/libgnunetdht.la
123 test_mesh_local_1_SOURCES = \
125 test_mesh_local_1_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_local_1_DEPENDENCIES = \
132 test_mesh_local_2_SOURCES = \
134 test_mesh_local_2_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/testing/libgnunettesting.la \
137 $(top_builddir)/src/mesh/libgnunetmesh.la
138 test_mesh_local_2_DEPENDENCIES = \
141 test_mesh_local_traffic_fwd_SOURCES = \
142 test_mesh_local_traffic.c
143 test_mesh_local_traffic_fwd_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
145 $(top_builddir)/src/testing/libgnunettesting.la \
146 $(top_builddir)/src/mesh/libgnunetmesh.la
147 test_mesh_local_traffic_fwd_DEPENDENCIES = \
150 test_mesh_local_traffic_bck_SOURCES = \
151 test_mesh_local_traffic.c
152 test_mesh_local_traffic_bck_LDADD = \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(top_builddir)/src/testing/libgnunettesting.la \
155 $(top_builddir)/src/mesh/libgnunetmesh.la
156 test_mesh_local_traffic_bck_DEPENDENCIES = \
159 test_mesh_local_traffic_both_SOURCES = \
160 test_mesh_local_traffic.c
161 test_mesh_local_traffic_both_LDADD = \
162 $(top_builddir)/src/util/libgnunetutil.la \
163 $(top_builddir)/src/testing/libgnunettesting.la \
164 $(top_builddir)/src/mesh/libgnunetmesh.la
165 test_mesh_local_traffic_both_DEPENDENCIES = \
169 test_mesh_2dtorus_SOURCES = \
171 test_mesh_2dtorus_LDADD = \
172 $(top_builddir)/src/util/libgnunetutil.la \
173 $(top_builddir)/src/testing_old/libgnunettesting_old.la
175 test_mesh_regex_SOURCES = \
177 test_mesh_regex_LDADD = \
178 $(top_builddir)/src/mesh/libgnunetmesh.la \
179 $(top_builddir)/src/util/libgnunetutil.la \
180 $(top_builddir)/src/testing_old/libgnunettesting_old.la
181 test_mesh_regex_DEPENDENCIES = \
185 test_mesh_small_unicast_SOURCES = \
187 test_mesh_small_unicast_LDADD = \
188 $(top_builddir)/src/mesh/libgnunetmesh.la \
189 $(top_builddir)/src/util/libgnunetutil.la \
190 $(top_builddir)/src/testing_old/libgnunettesting_old.la
191 test_mesh_small_unicast_DEPENDENCIES = \
194 test_mesh_small_multicast_SOURCES = \
196 test_mesh_small_multicast_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_small_multicast_DEPENDENCIES = \
203 test_mesh_small_speed_SOURCES = \
205 test_mesh_small_speed_LDADD = \
206 $(top_builddir)/src/mesh/libgnunetmesh.la \
207 $(top_builddir)/src/util/libgnunetutil.la \
208 $(top_builddir)/src/testing_old/libgnunettesting_old.la
209 test_mesh_small_speed_DEPENDENCIES = \
212 test_mesh_small_speed_ack_SOURCES = \
214 test_mesh_small_speed_ack_LDADD = \
215 $(top_builddir)/src/mesh/libgnunetmesh.la \
216 $(top_builddir)/src/util/libgnunetutil.la \
217 $(top_builddir)/src/testing_old/libgnunettesting_old.la
218 test_mesh_small_speed_ack_DEPENDENCIES = \
222 TESTS = test_mesh_api \
224 test_mesh_local_1 test_mesh_local_2 \
225 test_mesh_local_traffic_fwd \
226 test_mesh_local_traffic_bck \
227 test_mesh_local_traffic_both \
228 test_mesh_2dtorus test_mesh_regex \
229 test_mesh_small_unicast test_mesh_small_multicast \
230 test_mesh_small_speed
235 test_mesh_2dtorus.conf \
236 test_mesh_small.conf \