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/
20 gnunet-service-mesh gnunet-service-mesh_new
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 gnunet_service_mesh_new_SOURCES = \
38 gnunet-service-mesh_new.c \
39 mesh_tunnel_tree.c mesh_tunnel_tree.h
40 gnunet_service_mesh_new_LDADD = \
41 $(top_builddir)/src/core/libgnunetcore.la\
42 $(top_builddir)/src/dht/libgnunetdht.la \
43 $(top_builddir)/src/util/libgnunetutil.la
44 gnunet_service_mesh_new_DEPENDENCIES = \
45 $(top_builddir)/src/core/libgnunetcore.la\
46 $(top_builddir)/src/dht/libgnunetdht.la \
47 $(top_builddir)/src/util/libgnunetutil.la
49 libgnunetmesh_la_SOURCES = \
50 mesh_api.c mesh.h mesh_protocol.h
51 libgnunetmesh_la_LIBADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \
55 libgnunetmesh_la_LDFLAGS = \
56 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
65 test_mesh_small_unicast \
66 test_mesh_small_multicast \
67 test_mesh_small_speed \
68 test_mesh_small_speed_ack
70 test_mesh_api_SOURCES = \
72 test_mesh_api_LDADD = \
73 $(top_builddir)/src/util/libgnunetutil.la \
74 $(top_builddir)/src/mesh/libgnunetmesh.la
75 test_mesh_api_DEPENDENCIES = \
77 $(top_builddir)/src/util/libgnunetutil.la
79 test_mesh_tree_api_SOURCES = \
81 test_mesh_tree_api_LDADD = \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 $(top_builddir)/src/dht/libgnunetdht.la
84 test_mesh_tree_api_DEPENDENCIES = \
86 $(top_builddir)/src/dht/libgnunetdht.la
88 test_mesh_local_1_SOURCES = \
90 test_mesh_local_1_LDADD = \
91 $(top_builddir)/src/util/libgnunetutil.la \
92 $(top_builddir)/src/mesh/libgnunetmesh.la
93 test_mesh_local_1_DEPENDENCIES = \
96 test_mesh_local_2_SOURCES = \
98 test_mesh_local_2_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/mesh/libgnunetmesh.la
101 test_mesh_local_2_DEPENDENCIES = \
104 test_mesh_2dtorus_SOURCES = \
106 test_mesh_2dtorus_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/testing_old/libgnunettesting_old.la
110 test_mesh_small_unicast_SOURCES = \
112 test_mesh_small_unicast_LDADD = \
113 $(top_builddir)/src/mesh/libgnunetmesh.la \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/testing_old/libgnunettesting_old.la
116 test_mesh_small_unicast_DEPENDENCIES = \
119 test_mesh_small_multicast_SOURCES = \
121 test_mesh_small_multicast_LDADD = \
122 $(top_builddir)/src/mesh/libgnunetmesh.la \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/testing_old/libgnunettesting_old.la
125 test_mesh_small_multicast_DEPENDENCIES = \
128 test_mesh_small_speed_SOURCES = \
130 test_mesh_small_speed_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_speed_DEPENDENCIES = \
137 test_mesh_small_speed_ack_SOURCES = \
139 test_mesh_small_speed_ack_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_speed_ack_DEPENDENCIES = \
147 TESTS = test_mesh_api test_mesh_tree_api test_mesh_local_1 test_mesh_local_2 \
148 test_mesh_2dtorus test_mesh_small_unicast test_mesh_small_multicast
153 test_mesh_2dtorus.conf \
154 test_mesh_small.conf \