summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/lookup/Makefile.am4
-rw-r--r--utils/segment/Makefile.am4
-rw-r--r--utils/storage/Makefile.am4
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 93df7d6..7666a6c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,6 +32,10 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../src/libpinyin.la @GLIB2_LIBS@
+if KYOTOCABINET
+LDADD += @KYOTOCABINET_LIBS@
+endif
+
noinst_HEADERS = timer.h \
tests_helper.h
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am
index 804d037..e36f5be 100644
--- a/tests/lookup/Makefile.am
+++ b/tests/lookup/Makefile.am
@@ -24,6 +24,10 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
+if KYOTOCABINET
+LDADD += @KYOTOCABINET_LIBS@
+endif
+
noinst_PROGRAMS = test_pinyin_lookup \
test_phrase_lookup
diff --git a/utils/segment/Makefile.am b/utils/segment/Makefile.am
index 8c081d1..8a9c286 100644
--- a/utils/segment/Makefile.am
+++ b/utils/segment/Makefile.am
@@ -26,6 +26,10 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
+if KYOTOCABINET
+LDADD += @KYOTOCABINET_LIBS@
+endif
+
noinst_PROGRAMS = spseg ngseg mergeseq
spseg_SOURCES = spseg.cpp
diff --git a/utils/storage/Makefile.am b/utils/storage/Makefile.am
index 376c0e7..a90234a 100644
--- a/utils/storage/Makefile.am
+++ b/utils/storage/Makefile.am
@@ -24,6 +24,10 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
+if KYOTOCABINET
+LDADD += @KYOTOCABINET_LIBS@
+endif
+
bin_PROGRAMS = gen_binary_files \
import_interpolation