summaryrefslogtreecommitdiff
path: root/vest/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'vest/Makefile.am')
-rw-r--r--vest/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/vest/Makefile.am b/vest/Makefile.am
new file mode 100644
index 00000000..6815ae75
--- /dev/null
+++ b/vest/Makefile.am
@@ -0,0 +1,35 @@
+bin_PROGRAMS = \
+ mbr_kbest \
+ mr_vest_map \
+ mr_vest_reduce \
+ mr_vest_generate_mapper_input \
+ fast_score
+
+if HAVE_GTEST
+noinst_PROGRAMS = \
+ scorer_test \
+ lo_test
+endif
+
+mbr_kbest_SOURCES = mbr_kbest.cc ter.cc comb_scorer.cc aer_scorer.cc scorer.cc viterbi_envelope.cc
+mbr_kbest_LDADD = $(top_srcdir)/decoder/libcdec.a -lz
+
+fast_score_SOURCES = fast_score.cc ter.cc comb_scorer.cc aer_scorer.cc scorer.cc viterbi_envelope.cc
+fast_score_LDADD = $(top_srcdir)/decoder/libcdec.a -lz
+
+mr_vest_generate_mapper_input_SOURCES = mr_vest_generate_mapper_input.cc line_optimizer.cc
+mr_vest_generate_mapper_input_LDADD = $(top_srcdir)/decoder/libcdec.a -lz
+
+mr_vest_map_SOURCES = viterbi_envelope.cc error_surface.cc aer_scorer.cc mr_vest_map.cc scorer.cc ter.cc comb_scorer.cc line_optimizer.cc
+mr_vest_map_LDADD = $(top_srcdir)/decoder/libcdec.a -lz
+
+mr_vest_reduce_SOURCES = error_surface.cc aer_scorer.cc mr_vest_reduce.cc scorer.cc ter.cc comb_scorer.cc line_optimizer.cc viterbi_envelope.cc
+mr_vest_reduce_LDADD = $(top_srcdir)/decoder/libcdec.a -lz
+
+scorer_test_SOURCES = aer_scorer.cc scorer_test.cc scorer.cc ter.cc comb_scorer.cc viterbi_envelope.cc
+scorer_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) $(top_srcdir)/decoder/libcdec.a -lz
+
+lo_test_SOURCES = lo_test.cc scorer.cc ter.cc aer_scorer.cc comb_scorer.cc viterbi_envelope.cc error_surface.cc line_optimizer.cc
+lo_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) $(top_srcdir)/decoder/libcdec.a -lz
+
+AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I$(top_srcdir)/decoder