diff options
Diffstat (limited to 'src/mesh/Makefile.am')
-rw-r--r-- | src/mesh/Makefile.am | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am index 7d9a4daf8..c0733cafd 100644 --- a/src/mesh/Makefile.am +++ b/src/mesh/Makefile.am | |||
@@ -20,14 +20,19 @@ plugindir = $(libdir)/gnunet | |||
20 | 20 | ||
21 | AM_CLFAGS = -g | 21 | AM_CLFAGS = -g |
22 | 22 | ||
23 | if HAVE_EXPERIMENTAL | ||
24 | EXP_LIB = libgnunetmesh2.la | ||
25 | EXP_LIBEXEC = gnunet-service-mesh-new | ||
26 | endif | ||
27 | |||
23 | libexec_PROGRAMS = \ | 28 | libexec_PROGRAMS = \ |
24 | gnunet-service-mesh gnunet-service-mesh-new | 29 | gnunet-service-mesh $(EXP_LIBEXEC) |
25 | 30 | ||
26 | bin_PROGRAMS = \ | 31 | bin_PROGRAMS = \ |
27 | gnunet-mesh | 32 | gnunet-mesh |
28 | 33 | ||
29 | lib_LTLIBRARIES = \ | 34 | lib_LTLIBRARIES = \ |
30 | libgnunetmesh.la | 35 | libgnunetmesh.la $(EXP_LIB) |
31 | 36 | ||
32 | plugin_LTLIBRARIES = \ | 37 | plugin_LTLIBRARIES = \ |
33 | libgnunet_plugin_block_mesh.la | 38 | libgnunet_plugin_block_mesh.la |
@@ -53,6 +58,17 @@ libgnunetmesh_la_LDFLAGS = \ | |||
53 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 58 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
54 | -version-info 2:1:1 | 59 | -version-info 2:1:1 |
55 | 60 | ||
61 | libgnunetmesh2_la_SOURCES = \ | ||
62 | mesh2_api.c mesh_common.c | ||
63 | libgnunetmesh2_la_LIBADD = \ | ||
64 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
65 | $(XLIB) \ | ||
66 | $(LTLIBINTL) | ||
67 | libgnunetmesh2_la_LDFLAGS = \ | ||
68 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
69 | -version-info 2:2:1 | ||
70 | |||
71 | |||
56 | gnunet_service_mesh_SOURCES = \ | 72 | gnunet_service_mesh_SOURCES = \ |
57 | gnunet-service-mesh.c \ | 73 | gnunet-service-mesh.c \ |
58 | mesh_tunnel_tree.c mesh_tunnel_tree.h \ | 74 | mesh_tunnel_tree.c mesh_tunnel_tree.h \ |