2011-05-16 01:48:01 +03:00
|
|
|
TESTS = $(check_PROGRAMS)
|
2012-06-09 06:58:52 +03:00
|
|
|
check_PROGRAMS = seeded_hash_test mph_bits_test hollow_iterator_test mph_index_test trigraph_test
|
2012-06-05 06:27:17 +03:00
|
|
|
if USE_LIBCHECK
|
2012-06-09 06:58:52 +03:00
|
|
|
check_PROGRAMS += test_test map_tester_test mph_map_test dense_hash_map_test string_util_test
|
2012-06-05 06:27:17 +03:00
|
|
|
check_LTLIBRARIES = libcxxmph_test.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_PROGRAMS = bm_map # bm_index - disabled because of cmph dependency
|
2010-11-06 01:46:53 +02:00
|
|
|
bin_PROGRAMS = cxxmph
|
2012-06-03 03:47:18 +03:00
|
|
|
|
|
|
|
cxxmph_includedir = $(includedir)/cxxmph/
|
2012-06-03 05:17:45 +03:00
|
|
|
cxxmph_include_HEADERS = mph_bits.h mph_map.h mph_index.h MurmurHash3.h trigraph.h seeded_hash.h stringpiece.h hollow_iterator.h string_util.h
|
2012-06-03 03:47:18 +03:00
|
|
|
|
2012-06-03 05:17:45 +03:00
|
|
|
noinst_LTLIBRARIES = libcxxmph_bm.la
|
2010-10-05 17:51:17 +03:00
|
|
|
lib_LTLIBRARIES = libcxxmph.la
|
2012-06-03 05:17:45 +03:00
|
|
|
libcxxmph_la_SOURCES = MurmurHash3.cpp trigraph.cc mph_bits.cc mph_index.cc benchmark.h benchmark.cc string_util.cc
|
2010-10-05 17:51:17 +03:00
|
|
|
libcxxmph_la_LDFLAGS = -version-info 0:0:0
|
2012-06-03 03:47:18 +03:00
|
|
|
libcxxmph_test_la_SOURCES = test.h test.cc
|
|
|
|
libcxxmph_test_la_LIBADD = libcxxmph.la
|
2012-06-03 05:17:45 +03:00
|
|
|
libcxxmph_bm_la_SOURCES = benchmark.h benchmark.cc bm_common.h bm_common.cc
|
|
|
|
libcxxmph_bm_la_LIBADD = libcxxmph.la
|
2012-06-03 03:47:18 +03:00
|
|
|
|
|
|
|
test_test_SOURCES = test_test.cc
|
|
|
|
test_test_LDADD = libcxxmph_test.la $(CHECK_LIBS)
|
2010-06-28 22:01:18 +03:00
|
|
|
|
2012-06-03 03:47:18 +03:00
|
|
|
mph_map_test_LDADD = libcxxmph_test.la $(CHECK_LIBS)
|
2011-05-16 02:47:42 +03:00
|
|
|
mph_map_test_SOURCES = mph_map_test.cc
|
2012-06-09 06:58:52 +03:00
|
|
|
dense_hash_map_test_LDADD = libcxxmph_test.la $(CHECK_LIBS)
|
|
|
|
dense_hash_map_test_SOURCES = dense_hash_map_test.cc
|
2010-10-25 05:12:47 +03:00
|
|
|
|
2011-05-23 21:01:08 +03:00
|
|
|
mph_index_test_LDADD = libcxxmph.la
|
|
|
|
mph_index_test_SOURCES = mph_index_test.cc
|
2010-10-28 03:17:09 +03:00
|
|
|
|
2011-11-05 19:15:11 +02:00
|
|
|
trigraph_test_LDADD = libcxxmph.la
|
|
|
|
trigraph_test_SOURCES = trigraph_test.cc
|
|
|
|
|
2012-06-05 03:03:19 +03:00
|
|
|
# Bad dependency, do not compile by default.
|
|
|
|
# bm_index_LDADD = libcxxmph_bm.la -lcmph
|
|
|
|
# bm_index_SOURCES = bm_index.cc
|
2012-06-03 05:17:45 +03:00
|
|
|
|
|
|
|
bm_map_LDADD = libcxxmph_bm.la
|
|
|
|
bm_map_SOURCES = bm_map.cc
|
2011-02-14 00:40:26 +02:00
|
|
|
|
2010-11-06 01:46:53 +02:00
|
|
|
cxxmph_LDADD = libcxxmph.la
|
|
|
|
cxxmph_SOURCES = cxxmph.cc
|
2012-03-12 04:21:18 +02:00
|
|
|
|
|
|
|
hollow_iterator_test_SOURCES = hollow_iterator_test.cc
|
2012-03-21 15:20:30 +02:00
|
|
|
|
2012-03-20 16:47:55 +02:00
|
|
|
seeded_hash_test_SOURCES = seeded_hash_test.cc
|
2012-03-21 15:20:30 +02:00
|
|
|
seeded_hash_test_LDADD = libcxxmph.la
|
2012-03-20 16:47:55 +02:00
|
|
|
|
2012-03-14 21:43:38 +02:00
|
|
|
mph_bits_test_SOURCES = mph_bits_test.cc
|
|
|
|
mph_bits_test_LDADD = libcxxmph.la
|
2012-03-12 04:21:18 +02:00
|
|
|
|
2012-06-01 23:49:00 +03:00
|
|
|
string_util_test_SOURCES = string_util_test.cc
|
2012-06-09 06:58:52 +03:00
|
|
|
string_util_test_LDADD = libcxxmph.la libcxxmph_test.la $(CHECK_LIBS)
|
2012-06-01 23:49:00 +03:00
|
|
|
|
2012-05-28 07:39:36 +03:00
|
|
|
map_tester_test_SOURCES = map_tester.cc map_tester_test.cc
|
2012-06-03 03:47:18 +03:00
|
|
|
map_tester_test_LDADD = libcxxmph.la libcxxmph_test.la $(CHECK_LIBS)
|
2012-05-28 07:39:36 +03:00
|
|
|
|