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/block/libgnunetblock.la \
72 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
73 $(top_builddir)/src/regex/libgnunetregex.la
74 gnunet_service_mesh_DEPENDENCIES = \
75 $(top_builddir)/src/util/libgnunetutil.la \
76 $(top_builddir)/src/core/libgnunetcore.la \
77 $(top_builddir)/src/dht/libgnunetdht.la \
78 $(top_builddir)/src/block/libgnunetblock.la \
79 libgnunetmeshblock.la \
80 $(top_builddir)/src/regex/libgnunetregex.la
89 test_mesh_small_unicast \
90 test_mesh_small_multicast \
91 test_mesh_small_speed \
92 test_mesh_small_speed_ack
94 test_mesh_api_SOURCES = \
96 test_mesh_api_LDADD = \
97 $(top_builddir)/src/util/libgnunetutil.la \
98 $(top_builddir)/src/testing/libgnunettesting.la \
99 $(top_builddir)/src/mesh/libgnunetmesh.la
100 test_mesh_api_DEPENDENCIES = \
102 $(top_builddir)/src/util/libgnunetutil.la
104 test_mesh_tree_api_SOURCES = \
106 test_mesh_tree_api_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/dht/libgnunetdht.la
109 test_mesh_tree_api_DEPENDENCIES = \
111 $(top_builddir)/src/dht/libgnunetdht.la
113 test_mesh_local_1_SOURCES = \
115 test_mesh_local_1_LDADD = \
116 $(top_builddir)/src/util/libgnunetutil.la \
117 $(top_builddir)/src/testing/libgnunettesting.la \
118 $(top_builddir)/src/mesh/libgnunetmesh.la
119 test_mesh_local_1_DEPENDENCIES = \
122 test_mesh_local_2_SOURCES = \
124 test_mesh_local_2_LDADD = \
125 $(top_builddir)/src/util/libgnunetutil.la \
126 $(top_builddir)/src/testing/libgnunettesting.la \
127 $(top_builddir)/src/mesh/libgnunetmesh.la
128 test_mesh_local_2_DEPENDENCIES = \
131 test_mesh_2dtorus_SOURCES = \
133 test_mesh_2dtorus_LDADD = \
134 $(top_builddir)/src/util/libgnunetutil.la \
135 $(top_builddir)/src/testing_old/libgnunettesting_old.la
137 test_mesh_regex_SOURCES = \
139 test_mesh_regex_LDADD = \
140 $(top_builddir)/src/mesh/libgnunetmesh.la \
141 $(top_builddir)/src/util/libgnunetutil.la \
142 $(top_builddir)/src/testing_old/libgnunettesting_old.la
143 test_mesh_regex_DEPENDENCIES = \
147 test_mesh_small_unicast_SOURCES = \
149 test_mesh_small_unicast_LDADD = \
150 $(top_builddir)/src/mesh/libgnunetmesh.la \
151 $(top_builddir)/src/util/libgnunetutil.la \
152 $(top_builddir)/src/testing_old/libgnunettesting_old.la
153 test_mesh_small_unicast_DEPENDENCIES = \
156 test_mesh_small_multicast_SOURCES = \
158 test_mesh_small_multicast_LDADD = \
159 $(top_builddir)/src/mesh/libgnunetmesh.la \
160 $(top_builddir)/src/util/libgnunetutil.la \
161 $(top_builddir)/src/testing_old/libgnunettesting_old.la
162 test_mesh_small_multicast_DEPENDENCIES = \
165 test_mesh_small_speed_SOURCES = \
167 test_mesh_small_speed_LDADD = \
168 $(top_builddir)/src/mesh/libgnunetmesh.la \
169 $(top_builddir)/src/util/libgnunetutil.la \
170 $(top_builddir)/src/testing_old/libgnunettesting_old.la
171 test_mesh_small_speed_DEPENDENCIES = \
174 test_mesh_small_speed_ack_SOURCES = \
176 test_mesh_small_speed_ack_LDADD = \
177 $(top_builddir)/src/mesh/libgnunetmesh.la \
178 $(top_builddir)/src/util/libgnunetutil.la \
179 $(top_builddir)/src/testing_old/libgnunettesting_old.la
180 test_mesh_small_speed_ack_DEPENDENCIES = \
184 TESTS = test_mesh_api \
186 test_mesh_local_1 test_mesh_local_2 \
187 test_mesh_2dtorus test_mesh_regex \
188 test_mesh_small_unicast test_mesh_small_multicast
193 test_mesh_2dtorus.conf \
194 test_mesh_small.conf \