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 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
41 $(top_builddir)/src/block/libgnunetblock.la \
42 $(top_builddir)/src/util/libgnunetutil.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/util/libgnunetutil.la \
49 $(top_builddir)/src/core/libgnunetcore.la \
50 $(top_builddir)/src/dht/libgnunetdht.la \
51 $(top_builddir)/src/block/libgnunetblock.la \
52 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
53 $(top_builddir)/src/regex/libgnunetregex.la
54 gnunet_service_mesh_DEPENDENCIES = \
55 $(top_builddir)/src/util/libgnunetutil.la \
56 $(top_builddir)/src/core/libgnunetcore.la \
57 $(top_builddir)/src/dht/libgnunetdht.la \
58 $(top_builddir)/src/block/libgnunetblock.la \
59 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
60 $(top_builddir)/src/regex/libgnunetregex.la
62 libgnunetmesh_la_SOURCES = \
63 mesh_api.c mesh.h mesh_protocol.h
64 libgnunetmesh_la_LIBADD = \
65 $(top_builddir)/src/util/libgnunetutil.la \
68 libgnunetmesh_la_LDFLAGS = \
69 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
72 libgnunetmeshblock_la_SOURCES = \
74 libgnunetmeshblock_la_LIBADD = \
75 $(top_builddir)/src/util/libgnunetutil.la \
78 libgnunetmeshblock_la_LDFLAGS = \
79 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
90 test_mesh_small_unicast \
91 test_mesh_small_multicast \
92 test_mesh_small_speed \
93 test_mesh_small_speed_ack
95 test_mesh_api_SOURCES = \
97 test_mesh_api_LDADD = \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/testing/libgnunettesting.la \
100 $(top_builddir)/src/mesh/libgnunetmesh.la
101 test_mesh_api_DEPENDENCIES = \
103 $(top_builddir)/src/util/libgnunetutil.la
105 test_mesh_tree_api_SOURCES = \
107 test_mesh_tree_api_LDADD = \
108 $(top_builddir)/src/util/libgnunetutil.la \
109 $(top_builddir)/src/dht/libgnunetdht.la
110 test_mesh_tree_api_DEPENDENCIES = \
112 $(top_builddir)/src/dht/libgnunetdht.la
114 test_mesh_local_1_SOURCES = \
116 test_mesh_local_1_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/testing/libgnunettesting.la \
119 $(top_builddir)/src/mesh/libgnunetmesh.la
120 test_mesh_local_1_DEPENDENCIES = \
123 test_mesh_local_2_SOURCES = \
125 test_mesh_local_2_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_2_DEPENDENCIES = \
132 test_mesh_2dtorus_SOURCES = \
134 test_mesh_2dtorus_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/testing_old/libgnunettesting_old.la
138 test_mesh_regex_SOURCES = \
140 test_mesh_regex_LDADD = \
141 $(top_builddir)/src/mesh/libgnunetmesh.la \
142 $(top_builddir)/src/util/libgnunetutil.la \
143 $(top_builddir)/src/testing_old/libgnunettesting_old.la
144 test_mesh_regex_DEPENDENCIES = \
148 test_mesh_small_unicast_SOURCES = \
150 test_mesh_small_unicast_LDADD = \
151 $(top_builddir)/src/mesh/libgnunetmesh.la \
152 $(top_builddir)/src/util/libgnunetutil.la \
153 $(top_builddir)/src/testing_old/libgnunettesting_old.la
154 test_mesh_small_unicast_DEPENDENCIES = \
157 test_mesh_small_multicast_SOURCES = \
159 test_mesh_small_multicast_LDADD = \
160 $(top_builddir)/src/mesh/libgnunetmesh.la \
161 $(top_builddir)/src/util/libgnunetutil.la \
162 $(top_builddir)/src/testing_old/libgnunettesting_old.la
163 test_mesh_small_multicast_DEPENDENCIES = \
166 test_mesh_small_speed_SOURCES = \
168 test_mesh_small_speed_LDADD = \
169 $(top_builddir)/src/mesh/libgnunetmesh.la \
170 $(top_builddir)/src/util/libgnunetutil.la \
171 $(top_builddir)/src/testing_old/libgnunettesting_old.la
172 test_mesh_small_speed_DEPENDENCIES = \
175 test_mesh_small_speed_ack_SOURCES = \
177 test_mesh_small_speed_ack_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_small_speed_ack_DEPENDENCIES = \
185 TESTS = test_mesh_api \
187 test_mesh_local_1 test_mesh_local_2 \
188 test_mesh_2dtorus test_mesh_regex \
189 test_mesh_small_unicast test_mesh_small_multicast
194 test_mesh_2dtorus.conf \
195 test_mesh_small.conf \