diff options
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/CMakeLists.txt | 14 | ||||
-rw-r--r-- | tests/storage/Makefile.am | 9 |
2 files changed, 14 insertions, 9 deletions
diff --git a/tests/storage/CMakeLists.txt b/tests/storage/CMakeLists.txt index 96b12fc..378e134 100644 --- a/tests/storage/CMakeLists.txt +++ b/tests/storage/CMakeLists.txt @@ -7,7 +7,7 @@ add_executable( target_link_libraries( test_parser2 - libpinyin + pinyin ) add_executable( @@ -17,7 +17,7 @@ add_executable( target_link_libraries( test_chewing_table - libpinyin + pinyin ) add_executable( @@ -27,7 +27,7 @@ add_executable( target_link_libraries( test_phrase_index - libpinyin + pinyin ) add_executable( @@ -37,7 +37,7 @@ add_executable( target_link_libraries( test_phrase_index_logger - libpinyin + pinyin ) add_executable( @@ -47,7 +47,7 @@ add_executable( target_link_libraries( test_phrase_table - libpinyin + pinyin ) add_executable( @@ -57,7 +57,7 @@ add_executable( target_link_libraries( test_ngram - libpinyin + pinyin ) add_executable( @@ -67,5 +67,5 @@ add_executable( target_link_libraries( test_flexible_ngram - libpinyin + pinyin ) diff --git a/tests/storage/Makefile.am b/tests/storage/Makefile.am index 6f75534..6b05918 100644 --- a/tests/storage/Makefile.am +++ b/tests/storage/Makefile.am @@ -14,14 +14,19 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <http://www.gnu.org/licenses/>. -INCLUDES = -I$(top_srcdir)/src \ +AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_srcdir)/src/include \ -I$(top_srcdir)/src/storage \ -I$(top_srcdir)/src/lookup \ -I$(top_srcdir)/tests \ @GLIB2_CFLAGS@ -LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@ +LDADD = \ + ../../src/libpinyin_internal.a \ + ../../src/storage/libstorage.a \ + ../../src/lookup/liblookup.a \ + @GLIB2_LIBS@ \ + $(NULL) TESTS = test_phrase_index_logger \ test_ngram \ |