summaryrefslogtreecommitdiff
path: root/decoder/Makefile.am
diff options
context:
space:
mode:
authorjon.h.clark <jon.h.clark@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-11-12 20:22:56 +0000
committerjon.h.clark <jon.h.clark@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-11-12 20:22:56 +0000
commit29c93ee69d4507eee05b7693e5a781643e8339d4 (patch)
treef8159b5bd6a1208c167df70addc67f91b25de3dc /decoder/Makefile.am
parent64b541ab1490476f662a2bfeb66f237e3e2ed839 (diff)
Gross hack for compiling GLC as a library. Currently has hardcoded path, but shouldn't break the build.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@716 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/Makefile.am')
-rw-r--r--decoder/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/decoder/Makefile.am b/decoder/Makefile.am
index ea01a4da..4c688180 100644
--- a/decoder/Makefile.am
+++ b/decoder/Makefile.am
@@ -26,7 +26,6 @@ hg_test_SOURCES = hg_test.cc
hg_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
trule_test_SOURCES = trule_test.cc
trule_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
-
AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I.. -I../mteval -I../utils -I../klm
rule_lexer.cc: rule_lexer.l
@@ -58,6 +57,7 @@ libcdec_a_SOURCES = \
phrasetable_fst.cc \
trule.cc \
ff.cc \
+ ff_wordset.cc \
ff_lm.cc \
ff_klm.cc \
ff_ruleshape.cc \
@@ -75,3 +75,8 @@ libcdec_a_SOURCES = \
JSON_parser.c \
json_parse.cc \
grammar.cc
+
+if GLC
+ # Until we build GLC as a library...
+ libcdec_a_SOURCES += ff_glc.cc
+endif \ No newline at end of file