diff options
author | marha <marha@users.sourceforge.net> | 2010-10-30 18:34:27 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-30 18:34:27 +0000 |
commit | 75ef19188d021a5e965198bde774c1c33bedc1f3 (patch) | |
tree | f20be1d1e684a5388c0e386ea302c1b3e98359d0 /tools/mhmake/src/commandqueue.cpp | |
parent | d9ddf066b898491827ffd6f1d115534c54c82f6b (diff) | |
download | vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.tar.gz vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.tar.bz2 vcxsrv-75ef19188d021a5e965198bde774c1c33bedc1f3.zip |
Increased gnu make compatibility.
Diffstat (limited to 'tools/mhmake/src/commandqueue.cpp')
-rw-r--r-- | tools/mhmake/src/commandqueue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/mhmake/src/commandqueue.cpp b/tools/mhmake/src/commandqueue.cpp index fca26f997..6f3fd4d1a 100644 --- a/tools/mhmake/src/commandqueue.cpp +++ b/tools/mhmake/src/commandqueue.cpp @@ -116,7 +116,7 @@ void commandqueue::ThrowCommandExecutionError(refptr<activeentry> pActiveEntry) {
fileinfo* pTarget=pActiveEntry->pTarget;
const string &Command=pActiveEntry->Command;
- mhmakeparser *pMakefile=pTarget->GetRule()->GetMakefile();
+ mhmakefileparser *pMakefile=pTarget->GetRule()->GetMakefile();
string ErrorMessage = string("Error running command: ")+ Command +"\n";
ErrorMessage += "Command defined in makefile: " + pMakefile->GetMakeDir()->GetQuotedFullFileName();
@@ -167,7 +167,7 @@ void commandqueue::RemoveActiveEntry(unsigned Entry) bool commandqueue::StartExecuteNextCommand(refptr<activeentry> pActiveEntry, mh_pid_t *pActiveProcess)
{
fileinfo* pTarget=pActiveEntry->pTarget;
- mhmakeparser *pMakefile=pTarget->GetRule()->GetMakefile();
+ mhmakefileparser *pMakefile=pTarget->GetRule()->GetMakefile();
pMakefile->SetRuleThatIsBuild(pTarget); // Make sure that the command expension is correct
string Command=pMakefile->ExpandExpression(*pActiveEntry->CurrentCommandIt);
@@ -222,7 +222,7 @@ void commandqueue::TargetBuildFinished(refptr<activeentry> pActiveEntry) pTarget->SetCommandsMd5_32(Md5_32); /* If the rule of the target was added with an implicit rule the targets in the rule is empty */
refptr<rule> pRule=pTarget->GetRule();
- mhmakeparser *pMakefile=pRule->GetMakefile();
+ mhmakefileparser *pMakefile=pRule->GetMakefile();
pMakefile->AddTarget(pTarget);
pMakefile->SetAutoDepsDirty();
@@ -251,7 +251,7 @@ bool commandqueue::StartExecuteCommands(fileinfo* pTarget) cout << "Building " << pTarget->GetQuotedFullFileName()<<endl;
// We do not have to put it in the queue, we can start executing directly
refptr<rule> pRule=pTarget->GetRule();
- mhmakeparser *pMakefile=pRule->GetMakefile();
+ mhmakefileparser *pMakefile=pRule->GetMakefile();
vector<string>::iterator CommandIt=pRule->GetCommands().begin();
refptr<activeentry> pActiveEntry=CreateActiveEntry();
|