- leaks
[oweals/gnunet.git] / src / mesh / Makefile.am
index 68ae729c91c0791c494d37ed0fecb0bb75ed927a..4bcaca75509c848f98aa8f5197969a158c60708b 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 \