From 4417ddc9f73fb2222194ba5058cdcc35cf724328 Mon Sep 17 00:00:00 2001 From: redpony Date: Mon, 18 Oct 2010 23:31:31 +0000 Subject: fix klm build git-svn-id: https://ws10smt.googlecode.com/svn/trunk@682 ec762483-ff6d-05da-a07a-a48fb63a330f --- klm/lm/Makefile.am | 13 +++++-------- klm/util/Makefile.am | 22 +++++++++++++++++----- 2 files changed, 22 insertions(+), 13 deletions(-) (limited to 'klm') diff --git a/klm/lm/Makefile.am b/klm/lm/Makefile.am index a0c49eb4..48f9889e 100644 --- a/klm/lm/Makefile.am +++ b/klm/lm/Makefile.am @@ -1,8 +1,8 @@ -if HAVE_GTEST -noinst_PROGRAMS = \ - ngram_test -TESTS = ngram_test -endif +#noinst_PROGRAMS = \ +# ngram_test +#TESTS = ngram_test +#ngram_test_SOURCES = ngram_test.cc +#ngram_test_LDADD = ../util/libklm_util.a noinst_LIBRARIES = libklm.a @@ -13,8 +13,5 @@ libklm_a_SOURCES = \ ngram_query.cc \ virtual_interface.cc -ngram_test_SOURCES = ngram_test.cc -ngram_test_LDADD = ../util/libklm_util.a - AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I.. diff --git a/klm/util/Makefile.am b/klm/util/Makefile.am index d3aea6b7..be84736c 100644 --- a/klm/util/Makefile.am +++ b/klm/util/Makefile.am @@ -1,8 +1,20 @@ -if HAVE_GTEST -noinst_PROGRAMS = \ - scorer_test -TESTS = scorer_test -endif + +#noinst_PROGRAMS = \ +# file_piece_test \ +# joint_sort_test \ +# key_value_packing_test \ +# probing_hash_table_test \ +# sorted_uniform_test + +#TESTS = \ +# file_piece_test \ +# joint_sort_test \ +# key_value_packing_test \ +# probing_hash_table_test \ +# sorted_uniform_test + +#file_piece_test_SOURCES = file_piece_test.cc +#file_piece_test_LDADD = libklm_util.a noinst_LIBRARIES = libklm_util.a -- cgit v1.2.3