summaryrefslogtreecommitdiff
path: root/mteval/Makefile.am
blob: 95845090270fed0d691492debeb332f7c9244fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
bin_PROGRAMS = \
  fast_score \
  mbr_kbest

if HAVE_GTEST
noinst_PROGRAMS = \
  scorer_test
TESTS = scorer_test
endif

noinst_LIBRARIES = libmteval.a

libmteval_a_SOURCES = ter.cc comb_scorer.cc aer_scorer.cc scorer.cc external_scorer.cc

fast_score_SOURCES = fast_score.cc
fast_score_LDADD = libmteval.a $(top_srcdir)/utils/libutils.a -lz

mbr_kbest_SOURCES = mbr_kbest.cc
mbr_kbest_LDADD = libmteval.a $(top_srcdir)/utils/libutils.a -lz

scorer_test_SOURCES = scorer_test.cc
scorer_test_LDADD = libmteval.a $(GTEST_LDFLAGS) $(GTEST_LIBS) $(top_srcdir)/utils/libutils.a -lz

AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I$(top_srcdir)/utils