Generate SMP friendly temporary filenames
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp

Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
--- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp	2005-05-31 15:46:26 UTC (rev 15702)
+++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp	2005-05-31 17:30:54 UTC (rev 15703)
@@ -912,8 +912,9 @@
 	dependencies += " " + NormalizeFilename ( module.xmlbuildFile );
 	string objectFilename =
 		GetObjectFilename ( sourceFilename, &clean_files );
-	string rciFilename = ros_temp + module.name + ".rci.tmp";
-	string resFilename = ros_temp + module.name + ".res.tmp";
+	string sourceFilenamePart = ReplaceExtension ( GetFilename ( sourceFilename ), "" );
+	string rciFilename = ros_temp + module.name + "." + sourceFilenamePart + ".rci.tmp";
+	string resFilename = ros_temp + module.name + "." + sourceFilenamePart + ".res.tmp";
 	if ( module.useWRC )
 	{
 		fprintf ( fMakefile,