[Cmake-commits] [cmake-commits] hoffman committed cmLocalUnixMakefileGenerator3.cxx 1.240 1.241

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 18 10:02:33 EDT 2008


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

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
ENH: try to improve make speed by getting rid of some implicit rules that were still around.


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.240
retrieving revision 1.241
diff -C 2 -d -r1.240 -r1.241
*** cmLocalUnixMakefileGenerator3.cxx	13 Mar 2008 01:06:32 -0000	1.240
--- cmLocalUnixMakefileGenerator3.cxx	18 Mar 2008 14:02:31 -0000	1.241
***************
*** 739,742 ****
--- 739,754 ----
      ".SUFFIXES", no_depends, no_commands, false);
  
+   // 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"
+                  << "%: %,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.
    std::vector<std::string> depends;



More information about the Cmake-commits mailing list