summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-05-15 15:25:40 +0800
committerPeng Wu <alexepico@gmail.com>2017-05-15 15:25:40 +0800
commitc96110fd976e92b0f8de0a08a5cb278ef66c664b (patch)
tree145822eb358e3a9274b7c9ab3daf4cc5b15dae44
parentee66af93e3168149a581acc262c3050569f94b72 (diff)
downloadlibpinyin-c96110fd976e92b0f8de0a08a5cb278ef66c664b.tar.gz
libpinyin-c96110fd976e92b0f8de0a08a5cb278ef66c664b.tar.xz
libpinyin-c96110fd976e92b0f8de0a08a5cb278ef66c664b.zip
update Makefile.am
-rw-r--r--tests/Makefile.am15
-rw-r--r--utils/storage/Makefile.am7
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