From e2b2ab728217a64027232c7b8fbbb68ba13edd4a Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 26 Feb 2017 23:05:29 +0100 Subject: wrap consensus elements in block type --- src/consensus/Makefile.am | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/consensus/Makefile.am') diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am index b6385ac71..2b1987fbc 100644 --- a/src/consensus/Makefile.am +++ b/src/consensus/Makefile.am @@ -5,6 +5,8 @@ pkgcfgdir= $(pkgdatadir)/config.d/ libexecdir= $(pkglibdir)/libexec/ +plugindir = $(libdir)/gnunet + pkgcfg_DATA = \ consensus.conf @@ -67,6 +69,22 @@ libgnunetconsensus_la_LIBADD = \ libgnunetconsensus_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) + +plugin_LTLIBRARIES = \ + libgnunet_plugin_block_consensus.la + +libgnunet_plugin_block_consensus_la_SOURCES = \ + plugin_block_consensus.c +libgnunet_plugin_block_consensus_la_LIBADD = \ + $(top_builddir)/src/block/libgnunetblock.la \ + $(top_builddir)/src/block/libgnunetblockgroup.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(LTLIBINTL) +libgnunet_plugin_block_consensus_la_LDFLAGS = \ + $(GN_PLUGIN_LDFLAGS) + + + if HAVE_TESTING check_PROGRAMS = \ test_consensus_api -- cgit v1.2.3