Commit 7dca03eb authored by Shane Snyder's avatar Shane Snyder

makefile tweaks to install/use client&server libs

parent d005458e
...@@ -30,7 +30,7 @@ lib_LTLIBRARIES = src/libbake-bulk-client.la src/libbake-bulk-server.la ...@@ -30,7 +30,7 @@ lib_LTLIBRARIES = src/libbake-bulk-client.la src/libbake-bulk-server.la
src_libbake_bulk_client_la_SOURCES = src_libbake_bulk_client_la_SOURCES =
src_libbake_bulk_server_la_SOURCES = src_libbake_bulk_server_la_SOURCES =
LDADD = src/libbake-bulk-client.la LDADD = src/libbake-bulk-client.la src/libbake-bulk-server.la
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = maint/bake-bulk.pc pkgconfig_DATA = maint/bake-bulk.pc
......
...@@ -5,6 +5,7 @@ src_libbake_bulk_server_la_SOURCES += \ ...@@ -5,6 +5,7 @@ src_libbake_bulk_server_la_SOURCES += \
src/bake-bulk-server.c src/bake-bulk-server.c
bin_PROGRAMS += \ bin_PROGRAMS += \
src/bake-bulk-server-daemon \
src/bb-shutdown \ src/bb-shutdown \
src/bb-copy-to \ src/bb-copy-to \
src/bb-copy-from \ src/bb-copy-from \
......
...@@ -109,7 +109,8 @@ int main(int argc, char **argv) ...@@ -109,7 +109,8 @@ int main(int argc, char **argv)
mid = margo_init_pool(handler_pool, handler_pool, hg_context); mid = margo_init_pool(handler_pool, handler_pool, hg_context);
assert(mid); assert(mid);
/* XXX BAKE SERVER INIT */ /* register the bake bulk server */
bake_server_register(mid, bb_pmem_pool, bb_pmem_root);
/* NOTE: at this point this server ULT has two options. It can wait on /* NOTE: at this point this server ULT has two options. It can wait on
* whatever mechanism it wants to (however long the daemon should run and * whatever mechanism it wants to (however long the daemon should run and
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <assert.h> #include <assert.h>
#include <bake-bulk-server.h> #include <bake-bulk-server.h>
#include <libpmemobj.h> #include <libpmemobj.h>
#include "bake-bulk-rpc.h" #include "bake-bulk-rpc.h"
/* definition of internal region_id_t identifier for libpmemobj back end */ /* definition of internal region_id_t identifier for libpmemobj back end */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment