Stricter dependencies enforced by clang

This commit is contained in:
Kenneth Heafield 2012-05-05 17:17:28 -04:00
parent c61390fb4e
commit 044a602604
4 changed files with 8 additions and 6 deletions

View File

@ -1 +1 @@
lib CYKPlusParser : [ glob *.cpp ] ..//headers ;
lib CYKPlusParser : [ glob *.cpp ] ..//moses_internal ;

View File

@ -11,9 +11,11 @@ if [ option.get "with-synlm" : no : yes ] = yes
alias synlm ;
}
lib moses :
lib moses_internal :
#All cpp files except those listed
[ glob *.cpp DynSAInclude/*.cpp : ThreadPool.cpp SyntacticLanguageModel.cpp ]
synlm ThreadPool CYKPlusParser//CYKPlusParser LM//LM RuleTable//RuleTable Scope3Parser//Scope3Parser headers ../..//z ../../OnDiskPt//OnDiskPt ;
[ glob *.cpp DynSAInclude/*.cpp : PhraseDictionary.cpp ThreadPool.cpp SyntacticLanguageModel.cpp ]
synlm ThreadPool headers ;
alias moses : PhraseDictionary.cpp moses_internal CYKPlusParser//CYKPlusParser LM//LM RuleTable//RuleTable Scope3Parser//Scope3Parser headers ../..//z ../../OnDiskPt//OnDiskPt ;
alias headers-to-install : [ glob-tree *.h ] ;

View File

@ -1 +1 @@
lib RuleTable : [ glob *.cpp ] ..//headers ..//Scope3Parser ;
lib RuleTable : [ glob *.cpp ] ..//moses_internal ..//Scope3Parser ..//CYKPlusParser ;

View File

@ -1 +1 @@
lib Scope3Parser : [ glob *.cpp ] ..//headers ;
lib Scope3Parser : [ glob *.cpp ] ..//moses_internal ;