2011-11-28 13:19:45 +04:00
|
|
|
alias headers : ../../util//kenutil : : : <include>. ;
|
2011-11-18 19:40:56 +04:00
|
|
|
|
2011-11-18 20:25:45 +04:00
|
|
|
alias ThreadPool : ThreadPool.cpp ;
|
|
|
|
|
2011-11-18 19:07:59 +04:00
|
|
|
if [ option.get "with-synlm" : no : yes ] = yes
|
|
|
|
{
|
|
|
|
lib m ;
|
2011-11-18 19:40:56 +04:00
|
|
|
obj SyntacticLanguageModel.o : SyntacticLanguageModel.cpp headers : <include>$(TOP)/synlm/hhmm/rvtl/include <include>$(TOP)/synlm/hhmm/wsjparse/include ;
|
2011-11-18 19:07:59 +04:00
|
|
|
alias synlm : SyntacticLanguageModel.o m : : : <define>HAVE_SYNLM ;
|
|
|
|
} else {
|
|
|
|
alias synlm ;
|
|
|
|
}
|
|
|
|
|
2011-11-21 15:42:46 +04:00
|
|
|
lib moses :
|
|
|
|
#All cpp files except those listed
|
|
|
|
[ glob *.cpp DynSAInclude/*.cpp : ThreadPool.cpp SyntacticLanguageModel.cpp ]
|
2012-01-26 15:38:40 +04:00
|
|
|
synlm ThreadPool CYKPlusParser//CYKPlusParser LM//LM RuleTable//RuleTable Scope3Parser//Scope3Parser headers ../..//z ../../OnDiskPt//OnDiskPt ;
|