summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-22 14:09:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-22 14:09:17 (GMT)
commitcba6b7334056e55869c37cbbd2143c2478751ac4 (patch)
treee5615b44f21847d75d8ecabe2777655c1417e271 /Source/cmLocalUnixMakefileGenerator3.cxx
parent3b66c0a5740482c478b48f1bd3f295bfe54a82fa (diff)
downloadCMake-cba6b7334056e55869c37cbbd2143c2478751ac4.zip
CMake-cba6b7334056e55869c37cbbd2143c2478751ac4.tar.gz
CMake-cba6b7334056e55869c37cbbd2143c2478751ac4.tar.bz2
BUG: clean rule wasn't cleaning libs and executables
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx17
1 files changed, 11 insertions, 6 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 69ded21..aa79fed 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1460,7 +1460,8 @@ cmLocalUnixMakefileGenerator3
buildTargetRuleName.c_str());
cleanFiles.push_back(cleanObjs);
- cleanFiles.push_back(targetFullPath.c_str());
+ cleanFiles.push_back
+ (this->Convert(targetFullPath.c_str(),HOME_OUTPUT,MAKEFILE));
}
//----------------------------------------------------------------------------
@@ -1689,24 +1690,28 @@ cmLocalUnixMakefileGenerator3
std::string cleanFullSharedName = outpath + cleanSharedName;
std::string cleanFullSharedSOName = outpath + cleanSharedSOName;
std::string cleanFullSharedRealName = outpath + cleanSharedRealName;
- libCleanFiles.push_back(cleanFullStaticName);
+ libCleanFiles.push_back
+ (this->Convert(cleanFullStaticName.c_str(),HOME_OUTPUT,MAKEFILE));
if(cleanSharedRealName != cleanStaticName)
{
- libCleanFiles.push_back(cleanFullSharedRealName);
+ libCleanFiles.push_back
+ (this->Convert(cleanFullSharedRealName.c_str(),HOME_OUTPUT,MAKEFILE));
}
if(cleanSharedSOName != cleanStaticName &&
cleanSharedSOName != cleanSharedRealName)
{
- libCleanFiles.push_back(cleanFullSharedSOName);
+ libCleanFiles.push_back
+ (this->Convert(cleanFullSharedSOName.c_str(),HOME_OUTPUT,MAKEFILE));
}
if(cleanSharedName != cleanStaticName &&
cleanSharedName != cleanSharedSOName &&
cleanSharedName != cleanSharedRealName)
{
- libCleanFiles.push_back(cleanFullSharedName);
+ libCleanFiles.push_back
+ (this->Convert(cleanFullSharedName.c_str(),HOME_OUTPUT,MAKEFILE));
}
}
-
+
// Add a command to remove any existing files for this library.
this->AppendCleanCommand(commands, libCleanFiles);