[ros-diffs] [royce] 13152: mark off area where variables need to differ for *nix

royce at svn.reactos.com royce at svn.reactos.com
Thu Jan 20 07:09:10 CET 2005


mark off area where variables need to differ for *nix
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
  _____  

Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
2005-01-20 02:14:20 UTC (rev 13151)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
2005-01-20 06:09:07 UTC (rev 13152)
@@ -160,6 +160,7 @@

 void
 MingwBackend::GenerateGlobalVariables ()
 {
+#ifdef WIN32
 	fprintf ( fMakefile, "host_gcc = gcc\n" );
 	fprintf ( fMakefile, "host_ar = ar\n" );
 	fprintf ( fMakefile, "host_ld = ld\n" );
@@ -167,11 +168,14 @@
 	fprintf ( fMakefile, "gcc = gcc\n" );
 	fprintf ( fMakefile, "ld = ld\n" );
 	fprintf ( fMakefile, "ar = ar\n" );
-        fprintf ( fMakefile, "mkdir = tools%crmkdir\n", CSEP );
+	fprintf ( fMakefile, "mkdir = tools%crmkdir\n", CSEP );
 	fprintf ( fMakefile, "dlltool = dlltool\n" );
 	fprintf ( fMakefile, "windres = windres\n" );
-        fprintf ( fMakefile, "NUL=NUL\n" );
+	fprintf ( fMakefile, "NUL=NUL\n" );
 	fprintf ( fMakefile, "winebuild = tools" SSEP "winebuild" SSEP
"winebuild\n" );
+#else
+#error still need to generate tool macros for UNIX
+#endif
 	fprintf ( fMakefile, "\n" );
 	GenerateGlobalCFlagsAndProperties (
 		"=",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050120/49043ab4/attachment.html


More information about the Ros-diffs mailing list