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
27 gnunet-service-mesh $(EXP_LIBEXEC)
33 libgnunetmesh.la $(EXP_LIB)
35 plugin_LTLIBRARIES = \
36 libgnunet_plugin_block_mesh.la
38 libgnunet_plugin_block_mesh_la_SOURCES = \
40 libgnunet_plugin_block_mesh_la_LIBADD = \
41 $(top_builddir)/src/block/libgnunetblock.la \
42 $(top_builddir)/src/util/libgnunetutil.la
43 libgnunet_plugin_block_mesh_la_LDFLAGS = \
45 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
46 $(top_builddir)/src/block/libgnunetblock.la \
47 $(top_builddir)/src/util/libgnunetutil.la
50 libgnunetmesh_la_SOURCES = \
51 mesh_api.c mesh_common.c
52 libgnunetmesh_la_LIBADD = \
53 $(top_builddir)/src/util/libgnunetutil.la \
56 libgnunetmesh_la_LDFLAGS = \
57 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
60 gnunet_mesh_SOURCES = \
63 $(top_builddir)/src/mesh/libgnunetmesh.la \
64 $(top_builddir)/src/util/libgnunetutil.la
65 gnunet_mesh_DEPENDENCIES = \
68 gnunet_service_mesh_SOURCES = \
69 gnunet-service-mesh.c \
72 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
73 gnunet_service_mesh_LDADD = \
74 $(top_builddir)/src/util/libgnunetutil.la \
75 $(top_builddir)/src/core/libgnunetcore.la \
76 $(top_builddir)/src/dht/libgnunetdht.la \
77 $(top_builddir)/src/statistics/libgnunetstatistics.la \
78 $(top_builddir)/src/block/libgnunetblock.la
79 gnunet_service_mesh_DEPENDENCIES = \
80 $(top_builddir)/src/util/libgnunetutil.la \
81 $(top_builddir)/src/core/libgnunetcore.la \
82 $(top_builddir)/src/dht/libgnunetdht.la \
83 $(top_builddir)/src/statistics/libgnunetstatistics.la \
84 $(top_builddir)/src/block/libgnunetblock.la
86 gnunet_service_mesh_LDFLAGS = -lrt
89 gnunet_service_mesh_enc_SOURCES = \
90 gnunet-service-mesh-enc.c \
93 gnunet_service_mesh_enc_CFLAGS = $(AM_CFLAGS)
94 gnunet_service_mesh_enc_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/core/libgnunetcore.la \
97 $(top_builddir)/src/dht/libgnunetdht.la \
98 $(top_builddir)/src/statistics/libgnunetstatistics.la \
99 $(top_builddir)/src/block/libgnunetblock.la
100 gnunet_service_mesh_enc_DEPENDENCIES = \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/core/libgnunetcore.la \
103 $(top_builddir)/src/dht/libgnunetdht.la \
104 $(top_builddir)/src/statistics/libgnunetstatistics.la \
105 $(top_builddir)/src/block/libgnunetblock.la
107 gnunet_service_mesh_enc_LDFLAGS = -lrt
112 noinst_LIBRARIES = libgnunetmeshtest.a $(noinst_LIB_EXP)
115 libgnunetmeshtest_a_SOURCES = \
116 mesh_test_lib.c mesh_test_lib.h
117 libgnunetmeshtest_a_LIBADD = \
118 $(top_builddir)/src/util/libgnunetutil.la \
119 $(top_builddir)/src/testbed/libgnunettestbed.la \
120 $(top_builddir)/src/mesh/libgnunetmesh.la
121 libgnunetmeshtest_a_DEPENDENCIES = \
128 test_mesh_small_forward \
129 test_mesh_small_signal \
130 test_mesh_small_speed \
131 test_mesh_small_speed_ack \
132 test_mesh_small_speed_nobuf \
133 test_mesh_small_speed_backwards \
134 test_mesh_small_speed_nobuf_backwards \
135 test_mesh_small_speed_reliable \
136 test_mesh_small_speed_reliable_backwards
140 $(top_builddir)/src/util/libgnunetutil.la \
141 $(top_builddir)/src/testing/libgnunettesting.la \
142 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
143 $(top_builddir)/src/mesh/libgnunetmesh.la \
144 $(top_builddir)/src/testbed/libgnunettestbed.la
146 dep_mesh_test_lib = \
150 test_mesh_single_SOURCES = \
152 test_mesh_single_LDADD = $(ld_mesh_test_lib)
153 test_mesh_single_DEPENDENCIES = $(dep_mesh_test_lib)
155 test_mesh_local_SOURCES = \
157 test_mesh_local_LDADD = $(ld_mesh_test_lib)
158 test_mesh_local_DEPENDENCIES = $(dep_mesh_test_lib)
160 test_mesh_small_forward_SOURCES = \
162 test_mesh_small_forward_LDADD = $(ld_mesh_test_lib)
163 test_mesh_small_forward_DEPENDENCIES = $(dep_mesh_test_lib)
165 test_mesh_small_signal_SOURCES = \
167 test_mesh_small_signal_LDADD = $(ld_mesh_test_lib)
168 test_mesh_small_signal_DEPENDENCIES = $(dep_mesh_test_lib)
170 test_mesh_small_speed_SOURCES = \
172 test_mesh_small_speed_LDADD = $(ld_mesh_test_lib)
173 test_mesh_small_speed_DEPENDENCIES = $(dep_mesh_test_lib)
175 test_mesh_small_speed_ack_SOURCES = \
177 test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib)
178 test_mesh_small_speed_ack_DEPENDENCIES = $(dep_mesh_test_lib)
180 test_mesh_small_speed_nobuf_SOURCES = \
182 test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib)
183 test_mesh_small_speed_nobuf_DEPENDENCIES = $(dep_mesh_test_lib)
185 test_mesh_small_speed_backwards_SOURCES = \
187 test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib)
188 test_mesh_small_speed_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
190 test_mesh_small_speed_nobuf_backwards_SOURCES = \
192 test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib)
193 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
195 test_mesh_small_speed_reliable_SOURCES = \
197 test_mesh_small_speed_reliable_LDADD = $(ld_mesh_test_lib)
198 test_mesh_small_speed_reliable_DEPENDENCIES = $(dep_mesh_test_lib)
200 test_mesh_small_speed_reliable_backwards_SOURCES = \
202 test_mesh_small_speed_reliable_backwards_LDADD = $(ld_mesh_test_lib)
203 test_mesh_small_speed_reliable_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
212 mesh.h mesh_protocol.h \