mosesdecoder/moses/src/Makefile.am

274 lines
7.0 KiB
Makefile
Raw Normal View History

lib_LTLIBRARIES = libmoses.la
AM_CPPFLAGS = -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES $(BOOST_CPPFLAGS)
libmoses_ladir = ${includedir}
libmoses_la_HEADERS = \
AlignmentInfo.h \
BilingualDynSuffixArray.h \
BitmapContainer.h \
CellCollection.h \
ChartRule.h \
ChartRuleCollection.h \
ConfusionNet.h \
DecodeGraph.h \
DecodeStep.h \
DecodeStepGeneration.h \
DecodeStepTranslation.h \
Dictionary.h \
DotChart.h \
DotChartOnDisk.h \
DummyScoreProducers.h \
DynSAInclude/file.h \
DynSAInclude/vocab.h \
DynSuffixArray.h \
FFState.h \
Factor.h \
FactorCollection.h \
FactorTypeSet.h \
FeatureFunction.h \
File.h \
FilePtr.h \
FloydWarshall.h \
GenerationDictionary.h \
GlobalLexicalModel.h \
gzfilebuf.h \
hash.h \
Hypothesis.h \
HypothesisStack.h \
HypothesisStackCubePruning.h \
HypothesisStackNormal.h \
InputFileStream.h \
InputType.h \
LMList.h \
LVoc.h \
LanguageModel.h \
LanguageModelJoint.h \
LanguageModelFactory.h \
LanguageModelInternal.h \
LanguageModelMultiFactor.h \
LanguageModelRemote.h \
LanguageModelSingleFactor.h \
LanguageModelSkip.h \
LexicalReordering.h \
LexicalReorderingState.h \
LexicalReorderingTable.h \
Manager.h \
ObjectPool.h \
PCNTools.h \
PDTAimp.h \
Parameter.h \
PartialTranslOptColl.h \
Phrase.h \
PhraseDictionary.h \
PhraseDictionaryDynSuffixArray.h \
PhraseDictionaryMemory.h \
PhraseDictionarySCFG.h \
PhraseDictionaryNode.h \
PhraseDictionaryNodeSCFG.h \
PhraseDictionaryOnDisk.h \
PhraseDictionaryTree.h \
PhraseDictionaryTreeAdaptor.h \
PrefixTree.h \
PrefixTreeMap.h \
ReorderingConstraint.h \
ReorderingStack.h \
ScoreComponentCollection.h \
ScoreIndexManager.h \
ScoreProducer.h \
Search.h \
SearchCubePruning.h \
SearchNormal.h \
Sentence.h \
SentenceStats.h \
SquareMatrix.h \
StaticData.h \
TargetPhrase.h \
TargetPhraseCollection.h \
Timer.h \
TranslationOption.h \
TranslationOptionCollection.h \
TranslationOptionCollectionConfusionNet.h \
TranslationOptionCollectionText.h \
TranslationOptionList.h \
TreeInput.h \
TrellisPath.h \
TrellisPathCollection.h \
TrellisPathList.h \
TypeDef.h \
UniqueObject.h \
UserMessage.h \
Util.h \
Word.h \
WordConsumed.h \
WordLattice.h \
WordsBitmap.h \
WordsRange.h \
XmlOption.h
if PROTOBUF
libmoses_la_HEADERS += rule.pb.h hypergraph.pb.h
endif
if SRI_LM
libmoses_la_HEADERS += LanguageModelSRI.h \
LanguageModelParallelBackoff.h
endif
if IRST_LM
libmoses_la_HEADERS += LanguageModelIRST.h
endif
if RAND_LM
libmoses_la_HEADERS += LanguageModelRandLM.h
endif
if INTERNAL_LM
libmoses_la_HEADERS += LanguageModelInternal.h \
NGramCollection.h \
NGramNode.h
endif
libmoses_la_SOURCES = \
AlignmentInfo.cpp \
BilingualDynSuffixArray.cpp \
BitmapContainer.cpp \
ChartRule.cpp \
ChartRuleCollection.cpp \
ConfusionNet.cpp \
DecodeGraph.cpp \
DecodeStep.cpp \
DecodeStepGeneration.cpp \
DecodeStepTranslation.cpp \
Dictionary.cpp \
DotChart.cpp \
DotChartOnDisk.cpp \
DummyScoreProducers.cpp \
DynSAInclude/file.cpp \
DynSAInclude/vocab.cpp \
DynSuffixArray.cpp \
FFState.cpp \
Factor.cpp \
FactorCollection.cpp \
FactorTypeSet.cpp \
FeatureFunction.cpp \
FloydWarshall.cpp \
GenerationDictionary.cpp \
GlobalLexicalModel.cpp \
hash.cpp \
Hypothesis.cpp \
HypothesisStack.cpp \
HypothesisStackCubePruning.cpp \
HypothesisStackNormal.cpp \
InputFileStream.cpp \
InputType.cpp \
LMList.cpp \
LVoc.cpp \
LanguageModel.cpp \
LanguageModelFactory.cpp \
LanguageModelInternal.cpp \
LanguageModelJoint.cpp \
LanguageModelMultiFactor.cpp \
LanguageModelRemote.cpp \
LanguageModelSingleFactor.cpp \
LanguageModelSkip.cpp \
LexicalReordering.cpp \
LexicalReorderingState.cpp \
LexicalReorderingTable.cpp \
Manager.cpp \
NGramCollection.cpp \
NGramNode.cpp \
PCNTools.cpp \
Parameter.cpp \
PartialTranslOptColl.cpp \
Phrase.cpp \
PhraseDictionary.cpp \
PhraseDictionaryDynSuffixArray.cpp \
PhraseDictionaryMemory.cpp \
PhraseDictionarySCFG.cpp \
PhraseDictionarySCFGChart.cpp \
PhraseDictionaryNode.cpp \
PhraseDictionaryNodeSCFG.cpp \
PhraseDictionaryOnDisk.cpp \
PhraseDictionaryOnDiskChart.cpp \
PhraseDictionaryTree.cpp \
PhraseDictionaryTreeAdaptor.cpp \
PrefixTreeMap.cpp \
ReorderingConstraint.cpp \
ReorderingStack.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 \
TranslationOptionCollectionConfusionNet.cpp \
TranslationOptionCollectionText.cpp \
TranslationOptionList.cpp \
TreeInput.cpp \
TrellisPath.cpp \
TrellisPathCollection.cpp \
UserMessage.cpp \
Util.cpp \
Word.cpp \
WordConsumed.cpp \
WordLattice.cpp \
WordsBitmap.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_la_SOURCES += rule.pb.cc hypergraph.pb.cc
endif
if SRI_LM
libmoses_la_SOURCES += LanguageModelSRI.cpp \
LanguageModelParallelBackoff.cpp
endif
if IRST_LM
libmoses_la_SOURCES += LanguageModelIRST.cpp
endif
if RAND_LM
libmoses_la_SOURCES += LanguageModelRandLM.cpp
endif
if INTERNAL_LM
libmoses_la_SOURCES += LanguageModelInternal.cpp \
NGramCollection.cpp \
NGramNode.cpp
endif
libmoses_la_LIBADD = $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)