[Cmake-commits] [cmake-commits] hoffman committed cmLocalUnixMakefileGenerator3.cxx 1.242 1.243

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 18 11:51:25 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4682

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
ENH: exclude borland make as well


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.242
retrieving revision 1.243
diff -C 2 -d -r1.242 -r1.243
*** cmLocalUnixMakefileGenerator3.cxx	18 Mar 2008 15:28:59 -0000	1.242
--- cmLocalUnixMakefileGenerator3.cxx	18 Mar 2008 15:51:23 -0000	1.243
***************
*** 739,757 ****
      ".SUFFIXES", no_depends, no_commands, false);
  
!   if(!this->NMake && !this->WatcomWMake)
      {
      // turn off RCS and SCCS automatic stuff from gmake
!     makefileStream << "# Remove some rules from gmake that .SUFFIXES does not remove.\n"
!                    << "# This makes gmake faster as it does not try to run implicit rules\n"
!                    << "# on targets that never exist.\n"
!                    << "SUFFIXES =\n"
!                    << "%: %,v\n"
!                    << "%: RCS/%,v\n"
!                    << "%: RCS/%\n"
!                    << "%: s.%\n"
!                    << "%: %.w\n"
!                    << "%.c: %.w %.ch\n"
!                    << "%: %.tex\n"
!                    << "%: SCCS/s.%\n\n";
      }
    // Add a fake suffix to keep HP happy.  Must be max 32 chars for SGI make.
--- 739,758 ----
      ".SUFFIXES", no_depends, no_commands, false);
  
!   if(!this->NMake && !this->WatcomWMake && !this->BorlandMakeCurlyHack)
      {
      // turn off RCS and SCCS automatic stuff from gmake
!     makefileStream
!       << "# Remove some rules from gmake that .SUFFIXES does not remove.\n"
!       << "# This makes gmake faster as it does not try to run implicit rules\n"
!       << "# on targets that never exist.\n"
!       << "SUFFIXES =\n"
!       << "%: %,v\n"
!       << "%: RCS/%,v\n"
!       << "%: RCS/%\n"
!       << "%: s.%\n"
!       << "%: %.w\n"
!       << "%.c: %.w %.ch\n"
!       << "%: %.tex\n"
!       << "%: SCCS/s.%\n\n";
      }
    // Add a fake suffix to keep HP happy.  Must be max 32 chars for SGI make.



More information about the Cmake-commits mailing list