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/block/libgnunetblock.la \
35 $(top_builddir)/src/util/libgnunetutil.la
36 libgnunet_plugin_block_mesh_la_LDFLAGS = \
38 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
39 $(top_builddir)/src/block/libgnunetblock.la
42 gnunet_service_mesh_SOURCES = \
43 gnunet-service-mesh.c \
44 mesh_tunnel_tree.c mesh_tunnel_tree.h
45 gnunet_service_mesh_LDADD = \
46 $(top_builddir)/src/core/libgnunetcore.la \
47 $(top_builddir)/src/dht/libgnunetdht.la \
48 $(top_builddir)/src/block/libgnunetblock.la \
49 $(top_builddir)/src/util/libgnunetutil.la
50 gnunet_service_mesh_DEPENDENCIES = \
51 $(top_builddir)/src/core/libgnunetcore.la \
52 $(top_builddir)/src/dht/libgnunetdht.la \
53 $(top_builddir)/src/util/libgnunetutil.la
55 gnunet_service_mesh_new_SOURCES = \
56 gnunet-service-mesh_new.c \
57 mesh_tunnel_tree.c mesh_tunnel_tree.h
58 gnunet_service_mesh_new_LDADD = \
59 libgnunetmeshblock.la \
60 $(top_builddir)/src/core/libgnunetcore.la\
61 $(top_builddir)/src/dht/libgnunetdht.la \
62 $(top_builddir)/src/regex/libgnunetregex.la \
63 $(top_builddir)/src/util/libgnunetutil.la
64 gnunet_service_mesh_new_DEPENDENCIES = \
65 $(top_builddir)/src/core/libgnunetcore.la\
66 $(top_builddir)/src/dht/libgnunetdht.la \
67 $(top_builddir)/src/util/libgnunetutil.la
69 libgnunetmesh_la_SOURCES = \
70 mesh_api.c mesh.h mesh_protocol.h
71 libgnunetmesh_la_LIBADD = \
72 $(top_builddir)/src/util/libgnunetutil.la \
75 libgnunetmesh_la_LDFLAGS = \
76 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
79 libgnunetmeshblock_la_SOURCES = \
81 libgnunetmeshblock_la_LIBADD = \
82 $(top_builddir)/src/util/libgnunetutil.la \
85 libgnunetmeshblock_la_LDFLAGS = \
86 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
96 test_mesh_small_unicast \
97 test_mesh_small_multicast \
98 test_mesh_small_speed \
99 test_mesh_small_speed_ack
101 test_mesh_api_SOURCES = \
103 test_mesh_api_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/testing/libgnunettesting.la \
106 $(top_builddir)/src/mesh/libgnunetmesh.la
107 test_mesh_api_DEPENDENCIES = \
109 $(top_builddir)/src/util/libgnunetutil.la
111 test_mesh_tree_api_SOURCES = \
113 test_mesh_tree_api_LDADD = \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/dht/libgnunetdht.la
116 test_mesh_tree_api_DEPENDENCIES = \
118 $(top_builddir)/src/dht/libgnunetdht.la
120 test_mesh_local_1_SOURCES = \
122 test_mesh_local_1_LDADD = \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/testing/libgnunettesting.la \
125 $(top_builddir)/src/mesh/libgnunetmesh.la
126 test_mesh_local_1_DEPENDENCIES = \
129 test_mesh_local_2_SOURCES = \
131 test_mesh_local_2_LDADD = \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/testing/libgnunettesting.la \
134 $(top_builddir)/src/mesh/libgnunetmesh.la
135 test_mesh_local_2_DEPENDENCIES = \
138 test_mesh_2dtorus_SOURCES = \
140 test_mesh_2dtorus_LDADD = \
141 $(top_builddir)/src/util/libgnunetutil.la \
142 $(top_builddir)/src/testing_old/libgnunettesting_old.la
144 test_mesh_small_unicast_SOURCES = \
146 test_mesh_small_unicast_LDADD = \
147 $(top_builddir)/src/mesh/libgnunetmesh.la \
148 $(top_builddir)/src/util/libgnunetutil.la \
149 $(top_builddir)/src/testing_old/libgnunettesting_old.la
150 test_mesh_small_unicast_DEPENDENCIES = \
153 test_mesh_small_multicast_SOURCES = \
155 test_mesh_small_multicast_LDADD = \
156 $(top_builddir)/src/mesh/libgnunetmesh.la \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/testing_old/libgnunettesting_old.la
159 test_mesh_small_multicast_DEPENDENCIES = \
162 test_mesh_small_speed_SOURCES = \
164 test_mesh_small_speed_LDADD = \
165 $(top_builddir)/src/mesh/libgnunetmesh.la \
166 $(top_builddir)/src/util/libgnunetutil.la \
167 $(top_builddir)/src/testing_old/libgnunettesting_old.la
168 test_mesh_small_speed_DEPENDENCIES = \
171 test_mesh_small_speed_ack_SOURCES = \
173 test_mesh_small_speed_ack_LDADD = \
174 $(top_builddir)/src/mesh/libgnunetmesh.la \
175 $(top_builddir)/src/util/libgnunetutil.la \
176 $(top_builddir)/src/testing_old/libgnunettesting_old.la
177 test_mesh_small_speed_ack_DEPENDENCIES = \
181 TESTS = test_mesh_api test_mesh_tree_api test_mesh_local_1 test_mesh_local_2 \
182 test_mesh_2dtorus test_mesh_small_unicast test_mesh_small_multicast
187 test_mesh_2dtorus.conf \
188 test_mesh_small.conf \