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 $(EXP_LIBEXEC)
30 libgnunetmesh.la $(EXP_LIB)
32 plugin_LTLIBRARIES = \
33 libgnunet_plugin_block_mesh.la
35 libgnunet_plugin_block_mesh_la_SOURCES = \
37 libgnunet_plugin_block_mesh_la_LIBADD = \
38 $(top_builddir)/src/block/libgnunetblock.la \
39 $(top_builddir)/src/util/libgnunetutil.la
40 libgnunet_plugin_block_mesh_la_LDFLAGS = \
42 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
43 $(top_builddir)/src/block/libgnunetblock.la \
44 $(top_builddir)/src/util/libgnunetutil.la
47 libgnunetmesh_la_SOURCES = \
48 mesh_api.c mesh_common.c
49 libgnunetmesh_la_LIBADD = \
50 $(top_builddir)/src/util/libgnunetutil.la \
53 libgnunetmesh_la_LDFLAGS = \
54 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
57 gnunet_mesh_SOURCES = \
60 $(top_builddir)/src/mesh/libgnunetmesh.la \
61 $(top_builddir)/src/util/libgnunetutil.la
62 gnunet_mesh_DEPENDENCIES = \
65 gnunet_service_mesh_SOURCES = \
66 gnunet-service-mesh.c \
69 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
70 gnunet_service_mesh_LDADD = \
71 $(top_builddir)/src/util/libgnunetutil.la \
72 $(top_builddir)/src/core/libgnunetcore.la \
73 $(top_builddir)/src/dht/libgnunetdht.la \
74 $(top_builddir)/src/statistics/libgnunetstatistics.la \
75 $(top_builddir)/src/block/libgnunetblock.la
76 gnunet_service_mesh_DEPENDENCIES = \
77 $(top_builddir)/src/util/libgnunetutil.la \
78 $(top_builddir)/src/core/libgnunetcore.la \
79 $(top_builddir)/src/dht/libgnunetdht.la \
80 $(top_builddir)/src/statistics/libgnunetstatistics.la \
81 $(top_builddir)/src/block/libgnunetblock.la
83 gnunet_service_mesh_LDFLAGS = -lrt
87 noinst_LIBRARIES = libgnunetmeshtest.a $(noinst_LIB_EXP)
90 libgnunetmeshtest_a_SOURCES = \
91 mesh_test_lib.c mesh_test_lib.h
92 libgnunetmeshtest_a_LIBADD = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 $(top_builddir)/src/testbed/libgnunettestbed.la \
95 $(top_builddir)/src/mesh/libgnunetmesh.la
96 libgnunetmeshtest_a_DEPENDENCIES = \
103 test_mesh_small_forward \
104 test_mesh_small_signal \
105 test_mesh_small_speed \
106 test_mesh_small_speed_ack \
107 test_mesh_small_speed_nobuf \
108 test_mesh_small_speed_backwards \
109 test_mesh_small_speed_nobuf_backwards \
110 test_mesh_small_speed_reliable \
111 test_mesh_small_speed_reliable_backwards
115 $(top_builddir)/src/util/libgnunetutil.la \
116 $(top_builddir)/src/testing/libgnunettesting.la \
117 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
118 $(top_builddir)/src/mesh/libgnunetmesh.la \
119 $(top_builddir)/src/testbed/libgnunettestbed.la
121 dep_mesh_test_lib = \
125 test_mesh_single_SOURCES = \
127 test_mesh_single_LDADD = $(ld_mesh_test_lib)
128 test_mesh_single_DEPENDENCIES = $(dep_mesh_test_lib)
130 test_mesh_local_SOURCES = \
132 test_mesh_local_LDADD = $(ld_mesh_test_lib)
133 test_mesh_local_DEPENDENCIES = $(dep_mesh_test_lib)
135 test_mesh_small_forward_SOURCES = \
137 test_mesh_small_forward_LDADD = $(ld_mesh_test_lib)
138 test_mesh_small_forward_DEPENDENCIES = $(dep_mesh_test_lib)
140 test_mesh_small_signal_SOURCES = \
142 test_mesh_small_signal_LDADD = $(ld_mesh_test_lib)
143 test_mesh_small_signal_DEPENDENCIES = $(dep_mesh_test_lib)
145 test_mesh_small_speed_SOURCES = \
147 test_mesh_small_speed_LDADD = $(ld_mesh_test_lib)
148 test_mesh_small_speed_DEPENDENCIES = $(dep_mesh_test_lib)
150 test_mesh_small_speed_ack_SOURCES = \
152 test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib)
153 test_mesh_small_speed_ack_DEPENDENCIES = $(dep_mesh_test_lib)
155 test_mesh_small_speed_nobuf_SOURCES = \
157 test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib)
158 test_mesh_small_speed_nobuf_DEPENDENCIES = $(dep_mesh_test_lib)
160 test_mesh_small_speed_backwards_SOURCES = \
162 test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib)
163 test_mesh_small_speed_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
165 test_mesh_small_speed_nobuf_backwards_SOURCES = \
167 test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib)
168 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
170 test_mesh_small_speed_reliable_SOURCES = \
172 test_mesh_small_speed_reliable_LDADD = $(ld_mesh_test_lib)
173 test_mesh_small_speed_reliable_DEPENDENCIES = $(dep_mesh_test_lib)
175 test_mesh_small_speed_reliable_backwards_SOURCES = \
177 test_mesh_small_speed_reliable_backwards_LDADD = $(ld_mesh_test_lib)
178 test_mesh_small_speed_reliable_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
187 mesh.h mesh_protocol.h \