summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-04-20 16:21:58 +0800
committerPeng Wu <alexepico@gmail.com>2015-04-20 16:21:58 +0800
commit66e1956cedc8e0e33a900e843cfea842e4483a6a (patch)
treeec72928b4055b72fc59cc5f1ed7ade07d0477571
parent8e47e4c42f969ffd3709079db7a74b01ffd0663d (diff)
downloadlibpinyin-66e1956cedc8e0e33a900e843cfea842e4483a6a.tar.gz
libpinyin-66e1956cedc8e0e33a900e843cfea842e4483a6a.tar.xz
libpinyin-66e1956cedc8e0e33a900e843cfea842e4483a6a.zip
update Makefile.am
-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