summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-13 19:51:14 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-13 19:51:14 (GMT)
commit6f247e851f8da871747ae2327e1981297a44c062 (patch)
treee646afaa4d9e07d8d85708ac1366e3bdb3e093d2 /Source/cmLocalUnixMakefileGenerator3.cxx
parenta3a7f040c6bbec1ce4d85b845dfd656db7721036 (diff)
downloadCMake-6f247e851f8da871747ae2327e1981297a44c062.zip
CMake-6f247e851f8da871747ae2327e1981297a44c062.tar.gz
CMake-6f247e851f8da871747ae2327e1981297a44c062.tar.bz2
ENH: remove duplicate provide rule for fortran
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 1dbc363..9d275fe 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<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);
- }
-
}
//----------------------------------------------------------------------------