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/
25 gnunet_service_mesh_SOURCES = \
26 gnunet-service-mesh.c \
27 mesh_tunnel_tree.c mesh_tunnel_tree.h
28 gnunet_service_mesh_LDADD = \
29 $(top_builddir)/src/core/libgnunetcore.la\
30 $(top_builddir)/src/dht/libgnunetdht.la \
31 $(top_builddir)/src/util/libgnunetutil.la
32 gnunet_service_mesh_DEPENDENCIES = \
33 $(top_builddir)/src/core/libgnunetcore.la\
34 $(top_builddir)/src/dht/libgnunetdht.la \
35 $(top_builddir)/src/util/libgnunetutil.la
37 libgnunetmesh_la_SOURCES = \
38 mesh_api.c mesh.h mesh_protocol.h
39 libgnunetmesh_la_LIBADD = \
40 $(top_builddir)/src/util/libgnunetutil.la \
42 libgnunetmesh_la_LDFLAGS = \
43 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
52 test_mesh_small_unicast \
53 test_mesh_small_multicast \
54 test_mesh_small_speed \
55 test_mesh_small_speed_ack
57 test_mesh_api_SOURCES = \
59 test_mesh_api_LDADD = \
60 $(top_builddir)/src/util/libgnunetutil.la \
61 $(top_builddir)/src/mesh/libgnunetmesh.la
62 test_mesh_api_DEPENDENCIES = \
64 $(top_builddir)/src/util/libgnunetutil.la
66 test_mesh_tree_api_SOURCES = \
68 test_mesh_tree_api_LDADD = \
69 $(top_builddir)/src/util/libgnunetutil.la \
70 $(top_builddir)/src/dht/libgnunetdht.la
71 test_mesh_tree_api_DEPENDENCIES = \
73 $(top_builddir)/src/dht/libgnunetdht.la
75 test_mesh_local_1_SOURCES = \
77 test_mesh_local_1_LDADD = \
78 $(top_builddir)/src/util/libgnunetutil.la \
79 $(top_builddir)/src/mesh/libgnunetmesh.la
80 test_mesh_local_1_DEPENDENCIES = \
83 test_mesh_local_2_SOURCES = \
85 test_mesh_local_2_LDADD = \
86 $(top_builddir)/src/util/libgnunetutil.la \
87 $(top_builddir)/src/mesh/libgnunetmesh.la
88 test_mesh_local_2_DEPENDENCIES = \
91 test_mesh_2dtorus_SOURCES = \
93 test_mesh_2dtorus_LDADD = \
94 $(top_builddir)/src/util/libgnunetutil.la \
95 $(top_builddir)/src/testing/libgnunettesting.la
97 test_mesh_small_unicast_SOURCES = \
99 test_mesh_small_unicast_LDADD = \
100 $(top_builddir)/src/mesh/libgnunetmesh.la \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/testing/libgnunettesting.la
103 test_mesh_small_unicast_DEPENDENCIES = \
106 test_mesh_small_multicast_SOURCES = \
108 test_mesh_small_multicast_LDADD = \
109 $(top_builddir)/src/mesh/libgnunetmesh.la \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/testing/libgnunettesting.la
112 test_mesh_small_multicast_DEPENDENCIES = \
115 test_mesh_small_speed_SOURCES = \
117 test_mesh_small_speed_LDADD = \
118 $(top_builddir)/src/mesh/libgnunetmesh.la \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/testing/libgnunettesting.la
121 test_mesh_small_speed_DEPENDENCIES = \
124 test_mesh_small_speed_ack_SOURCES = \
126 test_mesh_small_speed_ack_LDADD = \
127 $(top_builddir)/src/mesh/libgnunetmesh.la \
128 $(top_builddir)/src/util/libgnunetutil.la \
129 $(top_builddir)/src/testing/libgnunettesting.la
130 test_mesh_small_speed_ack_DEPENDENCIES = \
134 TESTS = test_mesh_api test_mesh_tree_api test_mesh_local_1 test_mesh_local_2 \
135 test_mesh_2dtorus test_mesh_small_unicast test_mesh_small_multicast
140 test_mesh_2dtorus.conf \
141 test_mesh_small.conf \