summaryrefslogtreecommitdiff
path: root/klm/lm/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'klm/lm/Makefile.am')
-rw-r--r--klm/lm/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/klm/lm/Makefile.am b/klm/lm/Makefile.am
new file mode 100644
index 00000000..a0c49eb4
--- /dev/null
+++ b/klm/lm/Makefile.am
@@ -0,0 +1,20 @@
+if HAVE_GTEST
+noinst_PROGRAMS = \
+ ngram_test
+TESTS = ngram_test
+endif
+
+noinst_LIBRARIES = libklm.a
+
+libklm_a_SOURCES = \
+ exception.cc \
+ ngram.cc \
+ ngram_build_binary.cc \
+ 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..
+