2 # included from Top Level Makefile.am
3 # All paths should be given relative to the root
6 # Copyright (C) 2009 Brian Aker
9 # Use and distribution licensed under the BSD license. See
10 # the COPYING file in the parent directory for full text.
12 lib_LTLIBRARIES+= libhashkit/libhashkit.la
19 nobase_include_HEADERS+= \
22 libhashkit_libhashkit_la_SOURCES= \
23 libhashkit/algorithm.cc \
24 libhashkit/behavior.cc \
26 libhashkit/digest.cc \
27 libhashkit/fnv_32.cc \
28 libhashkit/fnv_64.cc \
29 libhashkit/function.cc \
31 libhashkit/hashkit.cc \
32 libhashkit/jenkins.cc \
33 libhashkit/ketama.cc \
35 libhashkit/murmur.cc \
36 libhashkit/one_at_a_time.cc \
37 libhashkit/str_algorithm.cc \
38 libhashkit/strerror.cc
41 libhashkit_libhashkit_la_SOURCES+= libhashkit/hsieh.cc
43 libhashkit_libhashkit_la_SOURCES+= libhashkit/nohsieh.cc
47 libhashkit_libhashkit_la_CPPFLAGS= -DBUILDING_HASHKIT
49 libhashkit_libhashkit_la_CFLAGS= -DBUILDING_HASHKIT
51 libhashkit_libhashkit_la_CXXFLAGS= -DBUILDING_HASHKIT
53 libhashkit_libhashkit_la_LIBADD=
54 libhashkit_libhashkit_la_LDFLAGS= -version-info $(HASHKIT_LIBRARY_VERSION)
56 # library used for testing
57 noinst_LTLIBRARIES+= libhashkit/libhashkitinc.la
59 libhashkit_libhashkitinc_la_SOURCES= ${libhashkit_libhashkit_la_SOURCES}
60 libhashkit_libhashkitinc_la_CFLAGS= ${libhashkit_libhashkit_la_CFLAGS}
61 libhashkit_libhashkitinc_la_LDFLAGS= $(LIBM)