mark off area where variables need to differ for *nix
authorRoyce Mitchell III <royce3@ev1.net>
Thu, 20 Jan 2005 06:09:07 +0000 (06:09 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Thu, 20 Jan 2005 06:09:07 +0000 (06:09 +0000)
svn path=/branches/xmlbuildsystem/; revision=13152

reactos/tools/rbuild/backend/mingw/mingw.cpp

index 6224823..35b3223 100644 (file)
@@ -160,6 +160,7 @@ MingwBackend::GenerateProjectLFLAGS ()
 void\r
 MingwBackend::GenerateGlobalVariables ()\r
 {\r
+#ifdef WIN32\r
        fprintf ( fMakefile, "host_gcc = gcc\n" );\r
        fprintf ( fMakefile, "host_ar = ar\n" );\r
        fprintf ( fMakefile, "host_ld = ld\n" );\r
@@ -167,11 +168,14 @@ MingwBackend::GenerateGlobalVariables ()
        fprintf ( fMakefile, "gcc = gcc\n" );\r
        fprintf ( fMakefile, "ld = ld\n" );\r
        fprintf ( fMakefile, "ar = ar\n" );\r
-        fprintf ( fMakefile, "mkdir = tools%crmkdir\n", CSEP );\r
+       fprintf ( fMakefile, "mkdir = tools%crmkdir\n", CSEP );\r
        fprintf ( fMakefile, "dlltool = dlltool\n" );\r
        fprintf ( fMakefile, "windres = windres\n" );\r
-        fprintf ( fMakefile, "NUL=NUL\n" );\r
+       fprintf ( fMakefile, "NUL=NUL\n" );\r
        fprintf ( fMakefile, "winebuild = tools" SSEP "winebuild" SSEP "winebuild\n" );\r
+#else\r
+#error still need to generate tool macros for UNIX\r
+#endif\r
        fprintf ( fMakefile, "\n" );\r
        GenerateGlobalCFlagsAndProperties (\r
                "=",\r