From c96110fd976e92b0f8de0a08a5cb278ef66c664b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 15 May 2017 15:25:40 +0800 Subject: update Makefile.am --- tests/Makefile.am | 15 ++++++++++++++- utils/storage/Makefile.am | 7 +++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index afb2451..67f4065 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -29,7 +29,7 @@ INCLUDES = -I$(top_srcdir)/src \ -I$(top_srcdir)/src/lookup \ @GLIB2_CFLAGS@ -LDADD = ../src/libpinyin.la @GLIB2_LIBS@ +LDADD = @GLIB2_LIBS@ noinst_HEADERS = timer.h \ tests_helper.h @@ -40,6 +40,19 @@ noinst_PROGRAMS = test_pinyin \ test_pinyin_SOURCES = test_pinyin.cpp +test_pinyin_LDADD = ../src/libpinyin.la + test_phrase_SOURCES = test_phrase.cpp +test_phrase_LDADD = ../src/libpinyin.la + test_chewing_SOURCES = test_chewing.cpp + +test_chewing_LDADD = ../src/libpinyin.la + + +noinst_PROGRAMS += test_zhuyin + +test_zhuyin_SOURCES = test_zhuyin.cpp + +test_zhuyin_LDADD = ../src/libzhuyin.la diff --git a/utils/storage/Makefile.am b/utils/storage/Makefile.am index 3a42ee0..f5326a1 100644 --- a/utils/storage/Makefile.am +++ b/utils/storage/Makefile.am @@ -18,7 +18,7 @@ INCLUDES = -I$(top_srcdir)/src \ -I$(top_srcdir)/src/include \ -I$(top_srcdir)/src/storage \ -I$(top_srcdir)/src/lookup \ - -I$(top_srcdir)/utils \ + -I$(top_srcdir)/utils \ @GLIB2_CFLAGS@ LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@ @@ -27,7 +27,8 @@ bin_PROGRAMS = gen_binary_files \ import_interpolation noinst_PROGRAMS = export_interpolation \ - gen_pinyin_table + gen_pinyin_table \ + gen_zhuyin_table gen_binary_files_SOURCES = gen_binary_files.cpp @@ -36,3 +37,5 @@ import_interpolation_SOURCES = import_interpolation.cpp export_interpolation_SOURCES = export_interpolation.cpp gen_pinyin_table_SOURCES = gen_pinyin_table.cpp + +gen_zhuyin_table_SOURCES = gen_zhuyin_table.cpp -- cgit