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
22 gnunet-service-mesh gnunet-service-mesh_new
27 plugin_LTLIBRARIES = \
28 libgnunet_plugin_block_mesh.la
30 libgnunet_plugin_block_mesh_la_SOURCES = \
32 libgnunet_plugin_block_mesh_la_LIBADD = \
33 $(top_builddir)/src/block/libgnunetblock.la \
34 $(top_builddir)/src/util/libgnunetutil.la
35 libgnunet_plugin_block_mesh_la_LDFLAGS = \
37 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
38 $(top_builddir)/src/block/libgnunetblock.la
41 gnunet_service_mesh_SOURCES = \
42 gnunet-service-mesh.c \
43 mesh_tunnel_tree.c mesh_tunnel_tree.h
44 gnunet_service_mesh_LDADD = \
45 $(top_builddir)/src/core/libgnunetcore.la \
46 $(top_builddir)/src/dht/libgnunetdht.la \
47 $(top_builddir)/src/block/libgnunetblock.la \
48 $(top_builddir)/src/util/libgnunetutil.la
49 gnunet_service_mesh_DEPENDENCIES = \
50 $(top_builddir)/src/core/libgnunetcore.la\
51 $(top_builddir)/src/dht/libgnunetdht.la \
52 $(top_builddir)/src/util/libgnunetutil.la
54 gnunet_service_mesh_new_SOURCES = \
55 gnunet-service-mesh_new.c \
56 mesh_tunnel_tree.c mesh_tunnel_tree.h
57 gnunet_service_mesh_new_LDADD = \
58 $(top_builddir)/src/core/libgnunetcore.la\
59 $(top_builddir)/src/dht/libgnunetdht.la \
60 $(top_builddir)/src/regex/libgnunetregex.la \
61 $(top_builddir)/src/util/libgnunetutil.la
62 gnunet_service_mesh_new_DEPENDENCIES = \
63 $(top_builddir)/src/core/libgnunetcore.la\
64 $(top_builddir)/src/dht/libgnunetdht.la \
65 $(top_builddir)/src/util/libgnunetutil.la
67 libgnunetmesh_la_SOURCES = \
68 mesh_api.c mesh.h mesh_protocol.h
69 libgnunetmesh_la_LIBADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \
73 libgnunetmesh_la_LDFLAGS = \
74 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
83 test_mesh_small_unicast \
84 test_mesh_small_multicast \
85 test_mesh_small_speed \
86 test_mesh_small_speed_ack
88 test_mesh_api_SOURCES = \
90 test_mesh_api_LDADD = \
91 $(top_builddir)/src/util/libgnunetutil.la \
92 $(top_builddir)/src/mesh/libgnunetmesh.la
93 test_mesh_api_DEPENDENCIES = \
95 $(top_builddir)/src/util/libgnunetutil.la
97 test_mesh_tree_api_SOURCES = \
99 test_mesh_tree_api_LDADD = \
100 $(top_builddir)/src/util/libgnunetutil.la \
101 $(top_builddir)/src/dht/libgnunetdht.la
102 test_mesh_tree_api_DEPENDENCIES = \
104 $(top_builddir)/src/dht/libgnunetdht.la
106 test_mesh_local_1_SOURCES = \
108 test_mesh_local_1_LDADD = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/mesh/libgnunetmesh.la
111 test_mesh_local_1_DEPENDENCIES = \
114 test_mesh_local_2_SOURCES = \
116 test_mesh_local_2_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/mesh/libgnunetmesh.la
119 test_mesh_local_2_DEPENDENCIES = \
122 test_mesh_2dtorus_SOURCES = \
124 test_mesh_2dtorus_LDADD = \
125 $(top_builddir)/src/util/libgnunetutil.la \
126 $(top_builddir)/src/testing_old/libgnunettesting_old.la
128 test_mesh_small_unicast_SOURCES = \
130 test_mesh_small_unicast_LDADD = \
131 $(top_builddir)/src/mesh/libgnunetmesh.la \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/testing_old/libgnunettesting_old.la
134 test_mesh_small_unicast_DEPENDENCIES = \
137 test_mesh_small_multicast_SOURCES = \
139 test_mesh_small_multicast_LDADD = \
140 $(top_builddir)/src/mesh/libgnunetmesh.la \
141 $(top_builddir)/src/util/libgnunetutil.la \
142 $(top_builddir)/src/testing_old/libgnunettesting_old.la
143 test_mesh_small_multicast_DEPENDENCIES = \
146 test_mesh_small_speed_SOURCES = \
148 test_mesh_small_speed_LDADD = \
149 $(top_builddir)/src/mesh/libgnunetmesh.la \
150 $(top_builddir)/src/util/libgnunetutil.la \
151 $(top_builddir)/src/testing_old/libgnunettesting_old.la
152 test_mesh_small_speed_DEPENDENCIES = \
155 test_mesh_small_speed_ack_SOURCES = \
157 test_mesh_small_speed_ack_LDADD = \
158 $(top_builddir)/src/mesh/libgnunetmesh.la \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/testing_old/libgnunettesting_old.la
161 test_mesh_small_speed_ack_DEPENDENCIES = \
165 TESTS = test_mesh_api test_mesh_tree_api test_mesh_local_1 test_mesh_local_2 \
166 test_mesh_2dtorus test_mesh_small_unicast test_mesh_small_multicast
171 test_mesh_2dtorus.conf \
172 test_mesh_small.conf \