From c651b45f01ccd44defd30f82fd21beb4426fea65 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 24 May 2016 20:40:15 +0000 Subject: - jsonapi build fix, add peerstore flat (EXP) --- src/peerstore/Makefile.am | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'src/peerstore/Makefile.am') diff --git a/src/peerstore/Makefile.am b/src/peerstore/Makefile.am index 766055baf..dbb86553d 100644 --- a/src/peerstore/Makefile.am +++ b/src/peerstore/Makefile.am @@ -51,9 +51,21 @@ libgnunetpeerstore_la_LIBADD = \ libgnunetpeerstore_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) +if HAVE_EXPERIMENTAL + FLAT_PLUGIN = libgnunet_plugin_peerstore_flat.la + +libgnunet_plugin_peerstore_flat_la_SOURCES = \ + plugin_peerstore_flat.c +libgnunet_plugin_peerstore_flat_la_LIBADD = \ + libgnunetpeerstore.la \ + $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ + $(LTLIBINTL) +libgnunet_plugin_peerstore_flat_la_LDFLAGS = \ + $(GN_PLUGIN_LDFLAGS) +endif + if HAVE_SQLITE -plugin_LTLIBRARIES = \ - libgnunet_plugin_peerstore_sqlite.la +SQLITE_PLUGIN = libgnunet_plugin_peerstore_sqlite.la libgnunet_plugin_peerstore_sqlite_la_SOURCES = \ plugin_peerstore_sqlite.c @@ -65,6 +77,11 @@ libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \ $(GN_PLUGIN_LDFLAGS) endif +plugin_LTLIBRARIES = \ + $(SQLITE_PLUGIN) \ + $(FLAT_PLUGIN) + + check_PROGRAMS = \ test_peerstore_api_store \ test_peerstore_api_iterate \ -- cgit v1.2.3