From 6f247e851f8da871747ae2327e1981297a44c062 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 13 May 2005 15:51:14 -0400 Subject: [PATCH] ENH: remove duplicate provide rule for fortran --- Source/cmLocalUnixMakefileGenerator3.cxx | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 1dbc3635a..9d275fe3d 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -643,27 +643,6 @@ cmLocalUnixMakefileGenerator3 // Add this to the set of provides-requires objects on the target. 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 no_commands; - std::vector 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); - } - } //----------------------------------------------------------------------------