From 66e1956cedc8e0e33a900e843cfea842e4483a6a Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 20 Apr 2015 16:21:58 +0800 Subject: update Makefile.am --- tests/Makefile.am | 4 ++++ tests/lookup/Makefile.am | 4 ++++ utils/segment/Makefile.am | 4 ++++ utils/storage/Makefile.am | 4 ++++ 4 files changed, 16 insertions(+) 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 -- cgit