summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--decoder/Makefile.am8
2 files changed, 9 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 3fd38e0b..03e0dfea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,6 +52,8 @@ decoder/small_vector_test
decoder/t2s_test
decoder/trule_test
decoder/weights_test
+decoder/network_decoder
+decoder/local
depcomp
dist
dpmert/Makefile
diff --git a/decoder/Makefile.am b/decoder/Makefile.am
index e313f1f9..563ca0b9 100644
--- a/decoder/Makefile.am
+++ b/decoder/Makefile.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS = cdec minimal_decoder
+bin_PROGRAMS = cdec minimal_decoder network_decoder local
noinst_PROGRAMS = \
trule_test \
@@ -26,6 +26,12 @@ cdec_LDADD = libcdec.a ../mteval/libmteval.a ../utils/libutils.a ../klm/search/l
minimal_decoder_SOURCES = minimal_decoder.cc
minimal_decoder_LDADD = libcdec.a ../utils/libutils.a
+network_decoder_SOURCES = network_decoder.cc nn.hpp
+network_decoder_LDADD = libcdec.a ../klm/search/libksearch.a ../mteval/libmteval.a ../utils/libutils.a ../klm/lm/libklm.a ../klm/util/libklm_util.a ../klm/util/double-conversion/libklm_util_double.a /usr/lib64/libnanomsg.so
+
+local_SOURCES = local.cc nn.hpp
+local_LDADD = /usr/lib64/libnanomsg.so
+
AM_CPPFLAGS = -DTEST_DATA=\"$(top_srcdir)/decoder/test_data\" -DBOOST_TEST_DYN_LINK -W -Wno-sign-compare -I$(top_srcdir) -I$(top_srcdir)/mteval -I$(top_srcdir)/utils -I$(top_srcdir)/klm
rule_lexer.cc: rule_lexer.ll