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.h mesh_protocol.h
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 \
66 mesh_tunnel_tree.c mesh_tunnel_tree.h
67 gnunet_service_mesh_LDADD = \
68 $(top_builddir)/src/util/libgnunetutil.la \
69 $(top_builddir)/src/core/libgnunetcore.la \
70 $(top_builddir)/src/dht/libgnunetdht.la \
71 $(top_builddir)/src/statistics/libgnunetstatistics.la \
72 $(top_builddir)/src/block/libgnunetblock.la \
73 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
74 $(top_builddir)/src/regex/libgnunetregex.la
75 gnunet_service_mesh_DEPENDENCIES = \
76 $(top_builddir)/src/util/libgnunetutil.la \
77 $(top_builddir)/src/core/libgnunetcore.la \
78 $(top_builddir)/src/dht/libgnunetdht.la \
79 $(top_builddir)/src/statistics/libgnunetstatistics.la \
80 $(top_builddir)/src/block/libgnunetblock.la \
81 libgnunetmeshblock.la \
82 $(top_builddir)/src/regex/libgnunetregex.la
91 test_mesh_small_unicast \
92 test_mesh_small_multicast \
93 test_mesh_small_speed \
94 test_mesh_small_speed_ack
96 test_mesh_api_SOURCES = \
98 test_mesh_api_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \
101 $(top_builddir)/src/mesh/libgnunetmesh.la
102 test_mesh_api_DEPENDENCIES = \
104 $(top_builddir)/src/util/libgnunetutil.la
106 test_mesh_tree_api_SOURCES = \
108 test_mesh_tree_api_LDADD = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/dht/libgnunetdht.la
111 test_mesh_tree_api_DEPENDENCIES = \
113 $(top_builddir)/src/dht/libgnunetdht.la
115 test_mesh_local_1_SOURCES = \
117 test_mesh_local_1_LDADD = \
118 $(top_builddir)/src/util/libgnunetutil.la \
119 $(top_builddir)/src/testing/libgnunettesting.la \
120 $(top_builddir)/src/mesh/libgnunetmesh.la
121 test_mesh_local_1_DEPENDENCIES = \
124 test_mesh_local_2_SOURCES = \
126 test_mesh_local_2_LDADD = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/testing/libgnunettesting.la \
129 $(top_builddir)/src/mesh/libgnunetmesh.la
130 test_mesh_local_2_DEPENDENCIES = \
133 test_mesh_2dtorus_SOURCES = \
135 test_mesh_2dtorus_LDADD = \
136 $(top_builddir)/src/util/libgnunetutil.la \
137 $(top_builddir)/src/testing_old/libgnunettesting_old.la
139 test_mesh_regex_SOURCES = \
141 test_mesh_regex_LDADD = \
142 $(top_builddir)/src/mesh/libgnunetmesh.la \
143 $(top_builddir)/src/util/libgnunetutil.la \
144 $(top_builddir)/src/testing_old/libgnunettesting_old.la
145 test_mesh_regex_DEPENDENCIES = \
149 test_mesh_small_unicast_SOURCES = \
151 test_mesh_small_unicast_LDADD = \
152 $(top_builddir)/src/mesh/libgnunetmesh.la \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(top_builddir)/src/testing_old/libgnunettesting_old.la
155 test_mesh_small_unicast_DEPENDENCIES = \
158 test_mesh_small_multicast_SOURCES = \
160 test_mesh_small_multicast_LDADD = \
161 $(top_builddir)/src/mesh/libgnunetmesh.la \
162 $(top_builddir)/src/util/libgnunetutil.la \
163 $(top_builddir)/src/testing_old/libgnunettesting_old.la
164 test_mesh_small_multicast_DEPENDENCIES = \
167 test_mesh_small_speed_SOURCES = \
169 test_mesh_small_speed_LDADD = \
170 $(top_builddir)/src/mesh/libgnunetmesh.la \
171 $(top_builddir)/src/util/libgnunetutil.la \
172 $(top_builddir)/src/testing_old/libgnunettesting_old.la
173 test_mesh_small_speed_DEPENDENCIES = \
176 test_mesh_small_speed_ack_SOURCES = \
178 test_mesh_small_speed_ack_LDADD = \
179 $(top_builddir)/src/mesh/libgnunetmesh.la \
180 $(top_builddir)/src/util/libgnunetutil.la \
181 $(top_builddir)/src/testing_old/libgnunettesting_old.la
182 test_mesh_small_speed_ack_DEPENDENCIES = \
186 TESTS = test_mesh_api \
188 test_mesh_local_1 test_mesh_local_2 \
189 test_mesh_2dtorus test_mesh_regex \
190 test_mesh_small_unicast test_mesh_small_multicast
195 test_mesh_2dtorus.conf \
196 test_mesh_small.conf \