Makefile.am 736 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
ACLOCAL_AMFLAGS="-Im4"

#bin_PROGRAMS = kv-client\
#		kv-server

lib_LTLIBRARIES = libkvclient.la \
                  libkvserver.la

libkvclient_la_SOURCES = src/kv-client.c

Rob Latham's avatar
Rob Latham committed
11 12 13 14 15
libkvserver_la_SOURCES = src/kv-server.cc \
			src/BwTree/src/bwtree.cpp

libkvserver_la_CXXFLAGS = -pthread -std=c++11 -g -Wall -mcx16 -Wno-invalid-offsetof
libkvserver_la_CPPFLAGS = -I${srcdir}/src/BwTree/src
16 17 18 19 20 21 22 23 24 25 26 27 28 29

include_HEADERS = src/sds-keyval.h

check_PROGRAMS = test/test-client \
		test/test-server

TESTS = test/test-client \
        test/test-server

test_test_client_CPPFLAGS = ${CPPFLAGS} -I${srcdir}/src
test_test_client_LDADD =  ${LIBS} -lkvclient

test_test_server_CPPFLAGS = ${CPPFLAGS} -I${srcdir}/src
test_test_server_LDADD =  ${LIBS} -lkvserver