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
22 gnunet-service-mesh gnunet-service-mesh_new
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 $(top_builddir)/src/block/libgnunetblock.la \
44 gnunet_service_mesh_SOURCES = \
45 gnunet-service-mesh.c \
46 mesh_tunnel_tree.c mesh_tunnel_tree.h
47 gnunet_service_mesh_LDADD = \
48 $(top_builddir)/src/core/libgnunetcore.la \
49 $(top_builddir)/src/dht/libgnunetdht.la \
50 $(top_builddir)/src/block/libgnunetblock.la \
51 $(top_builddir)/src/util/libgnunetutil.la
52 gnunet_service_mesh_DEPENDENCIES = \
53 $(top_builddir)/src/core/libgnunetcore.la \
54 $(top_builddir)/src/block/libgnunetblock.la \
55 $(top_builddir)/src/dht/libgnunetdht.la \
56 $(top_builddir)/src/util/libgnunetutil.la
58 gnunet_service_mesh_new_SOURCES = \
59 gnunet-service-mesh_new.c \
60 mesh_tunnel_tree.c mesh_tunnel_tree.h
61 gnunet_service_mesh_new_LDADD = \
62 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
63 $(top_builddir)/src/core/libgnunetcore.la\
64 $(top_builddir)/src/dht/libgnunetdht.la \
65 $(top_builddir)/src/regex/libgnunetregex.la \
66 $(top_builddir)/src/util/libgnunetutil.la
67 gnunet_service_mesh_new_DEPENDENCIES = \
68 libgnunetmeshblock.la \
69 $(top_builddir)/src/core/libgnunetcore.la\
70 $(top_builddir)/src/regex/libgnunetregex.la \
71 $(top_builddir)/src/dht/libgnunetdht.la \
72 $(top_builddir)/src/util/libgnunetutil.la
74 libgnunetmesh_la_SOURCES = \
75 mesh_api.c mesh.h mesh_protocol.h
76 libgnunetmesh_la_LIBADD = \
77 $(top_builddir)/src/util/libgnunetutil.la \
80 libgnunetmesh_la_LDFLAGS = \
81 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
84 libgnunetmeshblock_la_SOURCES = \
86 libgnunetmeshblock_la_LIBADD = \
87 $(top_builddir)/src/util/libgnunetutil.la \
90 libgnunetmeshblock_la_LDFLAGS = \
91 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
102 test_mesh_small_unicast \
103 test_mesh_small_multicast \
104 test_mesh_small_speed \
105 test_mesh_small_speed_ack
107 test_mesh_api_SOURCES = \
109 test_mesh_api_LDADD = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/testing/libgnunettesting.la \
112 $(top_builddir)/src/mesh/libgnunetmesh.la
113 test_mesh_api_DEPENDENCIES = \
115 $(top_builddir)/src/util/libgnunetutil.la
117 test_mesh_tree_api_SOURCES = \
119 test_mesh_tree_api_LDADD = \
120 $(top_builddir)/src/util/libgnunetutil.la \
121 $(top_builddir)/src/dht/libgnunetdht.la
122 test_mesh_tree_api_DEPENDENCIES = \
124 $(top_builddir)/src/dht/libgnunetdht.la
126 test_mesh_local_1_SOURCES = \
128 test_mesh_local_1_LDADD = \
129 $(top_builddir)/src/util/libgnunetutil.la \
130 $(top_builddir)/src/testing/libgnunettesting.la \
131 $(top_builddir)/src/mesh/libgnunetmesh.la
132 test_mesh_local_1_DEPENDENCIES = \
135 test_mesh_local_2_SOURCES = \
137 test_mesh_local_2_LDADD = \
138 $(top_builddir)/src/util/libgnunetutil.la \
139 $(top_builddir)/src/testing/libgnunettesting.la \
140 $(top_builddir)/src/mesh/libgnunetmesh.la
141 test_mesh_local_2_DEPENDENCIES = \
144 test_mesh_2dtorus_SOURCES = \
146 test_mesh_2dtorus_LDADD = \
147 $(top_builddir)/src/util/libgnunetutil.la \
148 $(top_builddir)/src/testing_old/libgnunettesting_old.la
150 test_mesh_regex_SOURCES = \
152 test_mesh_regex_LDADD = \
153 $(top_builddir)/src/mesh/libgnunetmesh.la \
154 $(top_builddir)/src/util/libgnunetutil.la \
155 $(top_builddir)/src/testing_old/libgnunettesting_old.la
156 test_mesh_regex_DEPENDENCIES = \
160 test_mesh_small_unicast_SOURCES = \
162 test_mesh_small_unicast_LDADD = \
163 $(top_builddir)/src/mesh/libgnunetmesh.la \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/testing_old/libgnunettesting_old.la
166 test_mesh_small_unicast_DEPENDENCIES = \
169 test_mesh_small_multicast_SOURCES = \
171 test_mesh_small_multicast_LDADD = \
172 $(top_builddir)/src/mesh/libgnunetmesh.la \
173 $(top_builddir)/src/util/libgnunetutil.la \
174 $(top_builddir)/src/testing_old/libgnunettesting_old.la
175 test_mesh_small_multicast_DEPENDENCIES = \
178 test_mesh_small_speed_SOURCES = \
180 test_mesh_small_speed_LDADD = \
181 $(top_builddir)/src/mesh/libgnunetmesh.la \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/testing_old/libgnunettesting_old.la
184 test_mesh_small_speed_DEPENDENCIES = \
187 test_mesh_small_speed_ack_SOURCES = \
189 test_mesh_small_speed_ack_LDADD = \
190 $(top_builddir)/src/mesh/libgnunetmesh.la \
191 $(top_builddir)/src/util/libgnunetutil.la \
192 $(top_builddir)/src/testing_old/libgnunettesting_old.la
193 test_mesh_small_speed_ack_DEPENDENCIES = \
197 TESTS = test_mesh_api test_mesh_tree_api test_mesh_local_1 test_mesh_local_2 \
198 test_mesh_2dtorus test_mesh_regex test_mesh_small_unicast test_mesh_small_multicast
203 test_mesh_2dtorus.conf \
204 test_mesh_small.conf \