diff options
Diffstat (limited to 'moses/src/Makefile.am')
-rw-r--r-- | moses/src/Makefile.am | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/moses/src/Makefile.am b/moses/src/Makefile.am new file mode 100644 index 000000000..21ddd352d --- /dev/null +++ b/moses/src/Makefile.am @@ -0,0 +1,133 @@ +lib_LIBRARIES = libmoses.a +AM_CPPFLAGS = -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES +libmoses_a_SOURCES = \ + AlignmentInfo.cpp \ + BitmapContainer.cpp \ + ChartInput.cpp \ + ChartRule.cpp \ + ChartRuleCollection.cpp \ + ConfusionNet.cpp \ + DecodeGraph.cpp \ + DecodeStep.cpp \ + DecodeStepGeneration.cpp \ + DecodeStepTranslation.cpp \ + Dictionary.cpp \ + DotChart.cpp \ + DotChartOnDisk.cpp \ + DummyScoreProducers.cpp \ + Factor.cpp \ + FactorCollection.cpp \ + FactorTypeSet.cpp \ + FloydWarshall.cpp \ + GenerationDictionary.cpp \ + hash.cpp \ + Hypothesis.cpp \ + HypothesisStack.cpp \ + HypothesisStackCubePruning.cpp \ + HypothesisStackNormal.cpp \ + InputType.cpp \ + InputFileStream.cpp \ + LMList.cpp \ + LVoc.cpp \ + LanguageModel.cpp \ + LanguageModelFactory.cpp \ + LanguageModelInternal.cpp \ + LanguageModelMultiFactor.cpp \ + LanguageModelRemote.cpp \ + LanguageModelSingleFactor.cpp \ + LanguageModelSkip.cpp \ + TrellisPath.cpp \ + TrellisPathCollection.cpp \ + LexicalReordering.cpp \ + LexicalReorderingTable.cpp \ + Manager.cpp \ + mempool.cpp \ + NGramCollection.cpp \ + NGramNode.cpp \ + PCNTools.cpp \ + Parameter.cpp \ + PartialTranslOptColl.cpp \ + Phrase.cpp \ + PhraseDictionary.cpp \ + PhraseDictionaryMemory.cpp \ + PhraseDictionaryMemoryChart.cpp \ + PhraseDictionaryNewFormat.cpp \ + PhraseDictionaryNewFormatChart.cpp \ + PhraseDictionaryNode.cpp \ + PhraseDictionaryNodeMemory.cpp \ + PhraseDictionaryNodeSourceLabel.cpp \ + PhraseDictionaryOnDisk.cpp \ + PhraseDictionaryOnDiskChart.cpp \ + PhraseDictionarySourceLabel.cpp \ + PhraseDictionarySourceLabelChart.cpp \ + PhraseDictionaryTree.cpp \ + PhraseDictionaryTreeAdaptor.cpp \ + PhraseDictionaryGlueRule.cpp \ + PrefixTreeMap.cpp \ + ReorderingConstraint.cpp \ + ScoreComponentCollection.cpp \ + ScoreIndexManager.cpp \ + ScoreProducer.cpp \ + Search.cpp \ + SearchCubePruning.cpp \ + SearchNormal.cpp \ + Sentence.cpp \ + SentenceStats.cpp \ + SquareMatrix.cpp \ + StaticData.cpp \ + TargetPhrase.cpp \ + TargetPhraseCollection.cpp \ + Timer.cpp \ + TranslationOption.cpp \ + TranslationOptionCollection.cpp \ + TranslationOptionCollectionText.cpp \ + TranslationOptionCollectionConfusionNet.cpp \ + TranslationOptionList.cpp \ + UserMessage.cpp \ + Util.cpp \ + WordConsumed.cpp \ + Word.cpp \ + WordsBitmap.cpp \ + WordLattice.cpp \ + WordsRange.cpp \ + XmlOption.cpp + +if PROTOBUF +BUILT_SOURCES = \ + rule.pb.h \ + rule.pb.cc \ + hypergraph.pb.h \ + hypergraph.pb.cc + +CLEANFILES = $(BUILT_SOURCES) +SUFFIXES = .proto + +rule.pb.cc: rule.proto + @PROTOC@ --cpp_out=. $< +rule.pb.h: rule.proto + @PROTOC@ --cpp_out=. $< + +hypergraph.pb.cc: hypergraph.proto + @PROTOC@ --cpp_out=. $< +hypergraph.pb.h: hypergraph.proto + @PROTOC@ --cpp_out=. $< + +libmoses_a_SOURCES += rule.pb.cc hypergraph.pb.cc + +endif + +if SRI_LM +libmoses_a_SOURCES += LanguageModelSRI.cpp +endif + +if IRST_LM +libmoses_a_SOURCES += LanguageModelIRST.cpp +endif + +if INTERNAL_LM +libmoses_a_SOURCES += LanguageModelInternal.cpp \ + NGramCollection.cpp \ + NGramNode.cpp +endif + + |