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/
14 libexecdir= $(pkglibdir)/libexec/
19 plugindir = $(libdir)/gnunet
24 gnunet-service-mesh-enc
30 gnunet-service-mesh-enc
33 gnunet-service-mesh $(EXP_LIBEXEC)
39 libgnunetmesh.la $(EXP_LIB)
41 plugin_LTLIBRARIES = \
42 libgnunet_plugin_block_mesh.la
44 libgnunet_plugin_block_mesh_la_SOURCES = \
46 libgnunet_plugin_block_mesh_la_LIBADD = \
47 $(top_builddir)/src/block/libgnunetblock.la \
48 $(top_builddir)/src/util/libgnunetutil.la
49 libgnunet_plugin_block_mesh_la_LDFLAGS = \
51 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
52 $(top_builddir)/src/block/libgnunetblock.la \
53 $(top_builddir)/src/util/libgnunetutil.la
56 libgnunetmesh_la_SOURCES = \
57 mesh_api.c mesh_common.c
58 libgnunetmesh_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la \
62 libgnunetmesh_la_LDFLAGS = \
63 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
67 libgnunetmeshenc_la_SOURCES = \
68 mesh_api_enc.c mesh_common.c
69 libgnunetmeshenc_la_LIBADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \
73 libgnunetmeshenc_la_LDFLAGS = \
74 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
78 gnunet_mesh_SOURCES = \
81 $(top_builddir)/src/mesh/libgnunetmesh.la \
82 $(top_builddir)/src/util/libgnunetutil.la
83 gnunet_mesh_DEPENDENCIES = \
86 gnunet_service_mesh_SOURCES = \
87 gnunet-service-mesh.c \
90 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
91 gnunet_service_mesh_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la \
93 $(top_builddir)/src/core/libgnunetcore.la \
94 $(top_builddir)/src/dht/libgnunetdht.la \
95 $(top_builddir)/src/statistics/libgnunetstatistics.la \
96 $(top_builddir)/src/block/libgnunetblock.la
97 gnunet_service_mesh_DEPENDENCIES = \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/core/libgnunetcore.la \
100 $(top_builddir)/src/dht/libgnunetdht.la \
101 $(top_builddir)/src/statistics/libgnunetstatistics.la \
102 $(top_builddir)/src/block/libgnunetblock.la
104 gnunet_service_mesh_LDFLAGS = -lrt
107 gnunet_service_mesh_enc_SOURCES = \
108 gnunet-service-mesh-enc.c \
111 gnunet_service_mesh_enc_CFLAGS = $(AM_CFLAGS)
112 gnunet_service_mesh_enc_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/core/libgnunetcore.la \
115 $(top_builddir)/src/dht/libgnunetdht.la \
116 $(top_builddir)/src/statistics/libgnunetstatistics.la \
117 $(top_builddir)/src/block/libgnunetblock.la
118 gnunet_service_mesh_enc_DEPENDENCIES = \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/core/libgnunetcore.la \
121 $(top_builddir)/src/dht/libgnunetdht.la \
122 $(top_builddir)/src/statistics/libgnunetstatistics.la \
123 $(top_builddir)/src/block/libgnunetblock.la
125 gnunet_service_mesh_enc_LDFLAGS = -lrt
130 noinst_LIBRARIES = libgnunetmeshtest.a $(noinst_LIB_EXP)
133 libgnunetmeshtest_a_SOURCES = \
134 mesh_test_lib.c mesh_test_lib.h
135 libgnunetmeshtest_a_LIBADD = \
136 $(top_builddir)/src/util/libgnunetutil.la \
137 $(top_builddir)/src/testbed/libgnunettestbed.la \
138 $(top_builddir)/src/mesh/libgnunetmeshenc.la
139 libgnunetmeshtest_a_DEPENDENCIES = \
146 test_mesh_small_forward \
147 test_mesh_small_signal \
148 test_mesh_small_speed \
149 test_mesh_small_speed_ack \
150 test_mesh_small_speed_nobuf \
151 test_mesh_small_speed_backwards \
152 test_mesh_small_speed_nobuf_backwards \
153 test_mesh_small_speed_reliable \
154 test_mesh_small_speed_reliable_backwards
158 $(top_builddir)/src/util/libgnunetutil.la \
159 $(top_builddir)/src/testing/libgnunettesting.la \
160 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
161 $(top_builddir)/src/mesh/libgnunetmeshenc.la \
162 $(top_builddir)/src/testbed/libgnunettestbed.la
164 dep_mesh_test_lib = \
165 libgnunetmeshenc.la \
168 test_mesh_single_SOURCES = \
170 test_mesh_single_LDADD = $(ld_mesh_test_lib)
171 test_mesh_single_DEPENDENCIES = $(dep_mesh_test_lib)
173 test_mesh_local_SOURCES = \
175 test_mesh_local_LDADD = $(ld_mesh_test_lib)
176 test_mesh_local_DEPENDENCIES = $(dep_mesh_test_lib)
178 test_mesh_small_forward_SOURCES = \
180 test_mesh_small_forward_LDADD = $(ld_mesh_test_lib)
181 test_mesh_small_forward_DEPENDENCIES = $(dep_mesh_test_lib)
183 test_mesh_small_signal_SOURCES = \
185 test_mesh_small_signal_LDADD = $(ld_mesh_test_lib)
186 test_mesh_small_signal_DEPENDENCIES = $(dep_mesh_test_lib)
188 test_mesh_small_speed_SOURCES = \
190 test_mesh_small_speed_LDADD = $(ld_mesh_test_lib)
191 test_mesh_small_speed_DEPENDENCIES = $(dep_mesh_test_lib)
193 test_mesh_small_speed_ack_SOURCES = \
195 test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib)
196 test_mesh_small_speed_ack_DEPENDENCIES = $(dep_mesh_test_lib)
198 test_mesh_small_speed_nobuf_SOURCES = \
200 test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib)
201 test_mesh_small_speed_nobuf_DEPENDENCIES = $(dep_mesh_test_lib)
203 test_mesh_small_speed_backwards_SOURCES = \
205 test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib)
206 test_mesh_small_speed_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
208 test_mesh_small_speed_nobuf_backwards_SOURCES = \
210 test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib)
211 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
213 test_mesh_small_speed_reliable_SOURCES = \
215 test_mesh_small_speed_reliable_LDADD = $(ld_mesh_test_lib)
216 test_mesh_small_speed_reliable_DEPENDENCIES = $(dep_mesh_test_lib)
218 test_mesh_small_speed_reliable_backwards_SOURCES = \
220 test_mesh_small_speed_reliable_backwards_LDADD = $(ld_mesh_test_lib)
221 test_mesh_small_speed_reliable_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
230 mesh.h mesh_protocol.h \