ENH: remove duplicate provide rule for fortran

This commit is contained in:
Ken Martin 2005-05-13 15:51:14 -04:00
parent a3a7f040c6
commit 6f247e851f
1 changed files with 0 additions and 21 deletions

View File

@ -643,27 +643,6 @@ cmLocalUnixMakefileGenerator3
// Add this to the set of provides-requires objects on the target. // Add this to the set of provides-requires objects on the target.
provides_requires.push_back(objectRequires); provides_requires.push_back(objectRequires);
} }
// If the language needs provides-requires mode, create the
// corresponding targets.
if(strcmp(lang, "Fortran") == 0)
{
std::string objectRequires = obj;
std::string objectProvides = obj;
objectRequires += ".requires";
objectProvides += ".provides";
// Add the provides target to build the object file.
std::vector<std::string> no_commands;
std::vector<std::string> p_depends;
p_depends.push_back(obj);
this->WriteMakeRule(ruleFileStream, 0,
objectProvides.c_str(), p_depends, no_commands);
// Add this to the set of provides-requires objects on the target.
provides_requires.push_back(objectRequires);
}
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------