Implement <ifnot>

svn path=/trunk/; revision=15934
This commit is contained in:
Hervé Poussineau 2005-06-16 20:37:50 +00:00
parent 2cc8819bc6
commit 8f5dd38cdd
4 changed files with 30 additions and 5 deletions

View file

@ -731,7 +731,8 @@ MingwModuleHandler::GenerateMacros (
{
fprintf (
fMakefile,
"ifeq (\"$(%s)\",\"%s\")\n",
"%s (\"$(%s)\",\"%s\")\n",
rIf.negated ? "ifneq" : "ifeq",
rIf.property.c_str(),
rIf.value.c_str() );
GenerateMacros (
@ -815,7 +816,8 @@ MingwModuleHandler::GenerateObjectMacros (
{
fprintf (
fMakefile,
"ifeq (\"$(%s)\",\"%s\")\n",
"%s (\"$(%s)\",\"%s\")\n",
rIf.negated ? "ifneq" : "ifeq",
rIf.property.c_str(),
rIf.value.c_str() );
GenerateObjectMacros (