- const TargetList &depends = i->second->get_depends();
- for(TargetList::const_iterator j=depends.begin(); j!=depends.end(); ++j)
+ const Target::Dependencies &depends = i->second->get_dependencies();
+ for(Target::Dependencies::const_iterator j=depends.begin(); j!=depends.end(); ++j)
+ rdepends[*j].insert(i->second);
+ const Target::Dependencies &tdepends = i->second->get_transitive_dependencies();
+ for(Target::Dependencies::const_iterator j=tdepends.begin(); j!=tdepends.end(); ++j)