MinGW backend.
Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/
Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.cpp
Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.h
Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/
Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/makefile
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h

Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.cpp	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.cpp	2005-01-04 22:40:08 UTC (rev 12805)
@@ -0,0 +1,9 @@
+#ifdef _MSC_VER
+#pragma warning ( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
+#endif//_MSC_VER
+
+#include "backend.h"
+
+Backend::Backend()
+{
+}

Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.h
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.h	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/backend.h	2005-01-04 22:40:08 UTC (rev 12805)
@@ -0,0 +1,14 @@
+#ifndef __BACKEND_H
+#define __BACKEND_H
+
+#include "../rbuild.h"
+
+class Backend
+{
+public:
+	Backend();
+protected:
+	Project ProjectNode;
+};
+
+#endif /* __BACKEND_H */

Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp	2005-01-04 22:40:08 UTC (rev 12805)
@@ -0,0 +1,11 @@
+#ifdef _MSC_VER
+#pragma warning ( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
+#endif//_MSC_VER
+#if 0
+#include "mingw.h"
+
+MingwBackend::MingwBackend(Project project)
+	: ProjectNode(project)
+{
+}
+#endif

Added: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h	2005-01-04 22:40:08 UTC (rev 12805)
@@ -0,0 +1,12 @@
+#ifndef __MINGW_H
+#define __MINGW_H
+#if 0
+#include "backend.h"
+
+class MingwBackend : public Backend
+{
+public:
+	MingwBackend();
+};
+#endif
+#endif /* __MINGW_H */

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/makefile
--- branches/xmlbuildsystem/reactos/tools/rbuild/makefile	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/makefile	2005-01-04 22:40:08 UTC (rev 12805)
@@ -4,7 +4,15 @@
 
 all: $(TARGET)
 
+BACKEND_MINGW_BASE_OBJECTS = \
+	backend/mingw/mingw.cpp
+
+BACKEND_BASE_OBJECTS = \
+	$(BACKEND_MINGW_BASE_OBJECTS) \
+	backend/backend.cpp
+
 BASE_OBJECTS = \
+	$(BACKEND_BASE_OBJECTS) \
 	exception.o \
 	module.o \
 	project.o \
@@ -19,7 +27,7 @@
 
 TEST_OBJECTS = $(BASE_OBJECTS) $(TESTS) tests/alltests.o
 
-HOST_CFLAGS = -g -I. -Werror -Wall
+HOST_CXXFLAGS = -g -I. -Werror -Wall
 
 HOST_LFLAGS = -g
 
@@ -45,7 +53,7 @@
 
 %.o: %.cpp
 	$(HALFVERBOSEECHO) [CXX]     $<
-	$(HOST_CXX) $(HOST_CFLAGS) -c $< -o $@
+	$(HOST_CXX) $(HOST_CXXFLAGS) -c $< -o $@
 
 test: rbuild_tests$(EXE_POSTFIX)
 	$(EXE_PREFIX)rbuild_tests$(EXE_POSTFIX)

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp	2005-01-04 22:40:08 UTC (rev 12805)
@@ -7,6 +7,10 @@
 using std::string;
 using std::vector;
 
+Project::Project()
+{
+}
+
 Project::Project(string filename)
 {
 	if ( !xmlfile.open ( filename ) )

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h
--- branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h	2005-01-04 22:11:50 UTC (rev 12804)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h	2005-01-04 22:40:08 UTC (rev 12805)
@@ -17,6 +17,7 @@
 	std::string name;
 	std::vector<Module*> modules;
 
+	Project ();
 	Project ( string filename );
 	~Project ();
 	void ProcessXML ( const XMLElement& e, const std::string& path );