summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
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);