- Remove deprecated code, coverity 10236
[oweals/gnunet.git] / src / mesh / Makefile.am
index 68ae729c91c0791c494d37ed0fecb0bb75ed927a..2c9fd8db4f89c27330e2e063b09629dfda424f4c 100644 (file)
@@ -42,7 +42,7 @@ libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
  $(top_builddir)/src/util/libgnunetutil.la
 
 libgnunetmesh_la_SOURCES = \
-  mesh_api.c mesh.h mesh_protocol.h
+  mesh_api.c mesh_common.c
 libgnunetmesh_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(XLIB) \
@@ -63,7 +63,9 @@ libgnunetmeshblock_la_LDFLAGS = \
 
 gnunet_service_mesh_SOURCES = \
  gnunet-service-mesh.c \
- mesh_tunnel_tree.c mesh_tunnel_tree.h
+ mesh_tunnel_tree.c \
+ mesh_common.c
+gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
 gnunet_service_mesh_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/core/libgnunetcore.la \
@@ -80,6 +82,9 @@ gnunet_service_mesh_DEPENDENCIES = \
   $(top_builddir)/src/block/libgnunetblock.la \
   libgnunetmeshblock.la \
   $(top_builddir)/src/regex/libgnunetregex.la
+if LINUX
+gnunet_service_mesh_LDFLAGS = -lrt
+endif
 
 check_PROGRAMS = \
  test_mesh_api \
@@ -221,7 +226,8 @@ TESTS = test_mesh_api \
  test_mesh_local_traffic_bck \
  test_mesh_local_traffic_both \
  test_mesh_2dtorus test_mesh_regex \
- test_mesh_small_unicast test_mesh_small_multicast
+ test_mesh_small_unicast test_mesh_small_multicast \
+ test_mesh_small_speed
 endif
 
 EXTRA_DIST = \