1 AM_CPPFLAGS = -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
27 # gnunet-service-mesh-enc
30 gnunet-service-mesh $(EXP_LIBEXEC)
36 libgnunetmesh.la $(EXP_LIB)
38 plugin_LTLIBRARIES = \
39 libgnunet_plugin_block_mesh.la
41 libgnunet_plugin_block_mesh_la_SOURCES = \
43 libgnunet_plugin_block_mesh_la_LIBADD = \
44 $(top_builddir)/src/block/libgnunetblock.la \
45 $(top_builddir)/src/util/libgnunetutil.la
46 libgnunet_plugin_block_mesh_la_LDFLAGS = \
48 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
49 $(top_builddir)/src/block/libgnunetblock.la \
50 $(top_builddir)/src/util/libgnunetutil.la
53 libgnunetmesh_la_SOURCES = \
54 mesh_api.c mesh_common.c
55 libgnunetmesh_la_LIBADD = \
56 $(top_builddir)/src/util/libgnunetutil.la \
59 libgnunetmesh_la_LDFLAGS = \
60 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
64 libgnunetmeshenc_la_SOURCES = \
65 mesh_api_enc.c mesh_common.c
66 libgnunetmeshenc_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la \
70 libgnunetmeshenc_la_LDFLAGS = \
71 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
75 gnunet_mesh_SOURCES = \
78 $(top_builddir)/src/mesh/libgnunetmesh.la \
79 $(top_builddir)/src/util/libgnunetutil.la
80 gnunet_mesh_DEPENDENCIES = \
83 gnunet_service_mesh_SOURCES = \
84 gnunet-service-mesh.c \
87 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
88 gnunet_service_mesh_LDADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(top_builddir)/src/core/libgnunetcore.la \
91 $(top_builddir)/src/dht/libgnunetdht.la \
92 $(top_builddir)/src/statistics/libgnunetstatistics.la \
93 $(top_builddir)/src/block/libgnunetblock.la
94 gnunet_service_mesh_DEPENDENCIES = \
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
101 gnunet_service_mesh_LDFLAGS = -lrt
104 gnunet_service_mesh_enc_SOURCES = \
105 gnunet-service-mesh-enc.c \
106 gnunet-service-mesh_tunnel.c \
107 gnunet-service-mesh_channel.c \
108 gnunet-service-mesh_connection.c \
109 gnunet-service-mesh_peer.c \
110 gnunet-service-mesh_dht.c \
111 gnunet-service-mesh_local.c \
114 gnunet_service_mesh_enc_CFLAGS = $(AM_CFLAGS)
115 gnunet_service_mesh_enc_LDADD = \
116 $(top_builddir)/src/util/libgnunetutil.la \
117 $(top_builddir)/src/core/libgnunetcore.la \
118 $(top_builddir)/src/dht/libgnunetdht.la \
119 $(top_builddir)/src/statistics/libgnunetstatistics.la \
120 $(top_builddir)/src/block/libgnunetblock.la
121 gnunet_service_mesh_enc_DEPENDENCIES = \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/core/libgnunetcore.la \
124 $(top_builddir)/src/dht/libgnunetdht.la \
125 $(top_builddir)/src/statistics/libgnunetstatistics.la \
126 $(top_builddir)/src/block/libgnunetblock.la
128 gnunet_service_mesh_enc_LDFLAGS = -lrt
133 noinst_LIBRARIES = libgnunetmeshtest.a $(noinst_LIB_EXP)
136 libgnunetmeshtest_a_SOURCES = \
137 mesh_test_lib.c mesh_test_lib.h
138 libgnunetmeshtest_a_LIBADD = \
139 $(top_builddir)/src/util/libgnunetutil.la \
140 $(top_builddir)/src/testbed/libgnunettestbed.la \
141 $(top_builddir)/src/mesh/libgnunetmeshenc.la
142 libgnunetmeshtest_a_DEPENDENCIES = \
149 test_mesh_small_forward \
150 test_mesh_small_signal \
151 test_mesh_small_speed \
152 test_mesh_small_speed_ack \
153 test_mesh_small_speed_nobuf \
154 test_mesh_small_speed_backwards \
155 test_mesh_small_speed_nobuf_backwards \
156 test_mesh_small_speed_reliable \
157 test_mesh_small_speed_reliable_backwards
161 $(top_builddir)/src/util/libgnunetutil.la \
162 $(top_builddir)/src/testing/libgnunettesting.la \
163 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
164 $(top_builddir)/src/mesh/libgnunetmeshenc.la \
165 $(top_builddir)/src/testbed/libgnunettestbed.la
167 dep_mesh_test_lib = \
168 libgnunetmeshenc.la \
171 test_mesh_single_SOURCES = \
173 test_mesh_single_LDADD = $(ld_mesh_test_lib)
174 test_mesh_single_DEPENDENCIES = $(dep_mesh_test_lib)
176 test_mesh_local_SOURCES = \
178 test_mesh_local_LDADD = $(ld_mesh_test_lib)
179 test_mesh_local_DEPENDENCIES = $(dep_mesh_test_lib)
181 test_mesh_small_forward_SOURCES = \
183 test_mesh_small_forward_LDADD = $(ld_mesh_test_lib)
184 test_mesh_small_forward_DEPENDENCIES = $(dep_mesh_test_lib)
186 test_mesh_small_signal_SOURCES = \
188 test_mesh_small_signal_LDADD = $(ld_mesh_test_lib)
189 test_mesh_small_signal_DEPENDENCIES = $(dep_mesh_test_lib)
191 test_mesh_small_speed_SOURCES = \
193 test_mesh_small_speed_LDADD = $(ld_mesh_test_lib)
194 test_mesh_small_speed_DEPENDENCIES = $(dep_mesh_test_lib)
196 test_mesh_small_speed_ack_SOURCES = \
198 test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib)
199 test_mesh_small_speed_ack_DEPENDENCIES = $(dep_mesh_test_lib)
201 test_mesh_small_speed_nobuf_SOURCES = \
203 test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib)
204 test_mesh_small_speed_nobuf_DEPENDENCIES = $(dep_mesh_test_lib)
206 test_mesh_small_speed_backwards_SOURCES = \
208 test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib)
209 test_mesh_small_speed_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
211 test_mesh_small_speed_nobuf_backwards_SOURCES = \
213 test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib)
214 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
216 test_mesh_small_speed_reliable_SOURCES = \
218 test_mesh_small_speed_reliable_LDADD = $(ld_mesh_test_lib)
219 test_mesh_small_speed_reliable_DEPENDENCIES = $(dep_mesh_test_lib)
221 test_mesh_small_speed_reliable_backwards_SOURCES = \
223 test_mesh_small_speed_reliable_backwards_LDADD = $(ld_mesh_test_lib)
224 test_mesh_small_speed_reliable_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
233 mesh.h mesh_protocol.h \