Put remaining files on the cd
authorCasper Hornstrup <chorns@users.sourceforge.net>
Sat, 5 Mar 2005 23:22:44 +0000 (23:22 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Sat, 5 Mar 2005 23:22:44 +0000 (23:22 +0000)
svn path=/branches/xmlbuildsystem/; revision=13840

reactos/boot/freeldr/freeldr.xml
reactos/boot/freeldr/freeldr/freeldr.xml
reactos/boot/freeldr/freeldr/freeldr_main.xml
reactos/boot/freeldr/freeldr/setupldr.xml [new file with mode: 0644]
reactos/boot/freeldr/freeldr/setupldr_main.xml [new file with mode: 0644]
reactos/bootdata/bootdata.xml
reactos/subsys/system/directory.xml
reactos/tools/rbuild/bootstrap.cpp
reactos/tools/wrc/makefile [new file with mode: 0644]

index 9ef1a6a..a504c71 100644 (file)
@@ -6,5 +6,7 @@
        <xi:include href="freeldr/freeldr_base64k.xml" />\r
        <xi:include href="freeldr/freeldr_base.xml" />\r
        <xi:include href="freeldr/freeldr_main.xml" />\r
+       <xi:include href="freeldr/setupldr_main.xml" />\r
        <xi:include href="freeldr/freeldr.xml" />\r
+       <xi:include href="freeldr/setupldr.xml" />\r
 </directory>\r
index eaa46f3..3ef38e6 100644 (file)
@@ -1,4 +1,5 @@
 <module name="freeldr" type="bootloader">\r
+       <bootstrap base="loader" />\r
        <library>freeldr_startup</library>\r
        <library>freeldr_base64k</library>\r
        <library>freeldr_base</library>\r
index 820e4a6..b57c69d 100644 (file)
@@ -8,9 +8,6 @@
        <compilerflag>-fno-inline</compilerflag>\r
        <compilerflag>-fno-zero-initialized-in-bss</compilerflag>\r
        <compilerflag>-Os</compilerflag>\r
-       <directory name="inffile">\r
-               <file>inffile.c</file>\r
-       </directory>\r
        <file>bootmgr.c</file>\r
        <file>drivemap.c</file>\r
        <file>miscboot.c</file>\r
diff --git a/reactos/boot/freeldr/freeldr/setupldr.xml b/reactos/boot/freeldr/freeldr/setupldr.xml
new file mode 100644 (file)
index 0000000..011cfdd
--- /dev/null
@@ -0,0 +1,8 @@
+<module name="setupldr" type="bootloader">\r
+       <bootstrap base="loader" />\r
+       <library>freeldr_startup</library>\r
+       <library>freeldr_base64k</library>\r
+       <library>freeldr_base</library>\r
+       <library>setupldr_main</library>\r
+       <library>rossym</library>\r
+</module>\r
diff --git a/reactos/boot/freeldr/freeldr/setupldr_main.xml b/reactos/boot/freeldr/freeldr/setupldr_main.xml
new file mode 100644 (file)
index 0000000..3fd450f
--- /dev/null
@@ -0,0 +1,17 @@
+<module name="setupldr_main" type="objectlibrary">\r
+       <include base="setupldr_main">include</include>\r
+       <include base="ntoskrnl">include</include>\r
+       <define name="__USE_W32API" />\r
+       <compilerflag>-nostdlib</compilerflag>\r
+       <compilerflag>-ffreestanding</compilerflag>\r
+       <compilerflag>-fno-builtin</compilerflag>\r
+       <compilerflag>-fno-inline</compilerflag>\r
+       <compilerflag>-fno-zero-initialized-in-bss</compilerflag>\r
+       <compilerflag>-Os</compilerflag>\r
+       <directory name="inffile">\r
+               <file>inffile.c</file>\r
+       </directory>\r
+       <directory name="reactos">\r
+         <file>setupldr.c</file>\r
+       </directory>\r
+</module>\r
index 540f2d3..7eca69a 100644 (file)
@@ -3,6 +3,6 @@
 <cdfile>readme.txt</cdfile>\r
 <cdfile base="reactos">hivecls.inf</cdfile>\r
 <cdfile base="reactos">hivedef.inf</cdfile>\r
-<cdfile base="reactos">hiveinst.inf</cdfile>\r
 <cdfile base="reactos">hivesft.inf</cdfile>\r
 <cdfile base="reactos">hivesys.inf</cdfile>\r
+<cdfile base="reactos">txtsetup.sif</cdfile>\r
index b54bc33..610454a 100644 (file)
@@ -19,6 +19,9 @@
 <directory name="notepad">\r
        <xi:include href="notepad/notepad.xml" />\r
 </directory>\r
+<directory name="reactos">\r
+       <xi:include href="reactos/reactos.xml" />\r
+</directory>\r
 <directory name="regedit">\r
        <xi:include href="regedit/regedit.xml" />\r
 </directory>\r
index 00ee4bd..f136132 100644 (file)
@@ -33,11 +33,11 @@ Bootstrap::IsSupportedModuleType ( ModuleType type )
                case Win32GUI:\r
                case KernelModeDriver:\r
                case BootSector:\r
+               case BootLoader:\r
                        return true;\r
                case BuildTool:\r
                case StaticLibrary:\r
                case ObjectLibrary:\r
-               case BootLoader:\r
                case Iso:\r
                        return false;\r
        }\r
diff --git a/reactos/tools/wrc/makefile b/reactos/tools/wrc/makefile
new file mode 100644 (file)
index 0000000..333bef9
--- /dev/null
@@ -0,0 +1,39 @@
+WRC_BASE = tools$(SEP)wrc
+
+WRC_TARGET = \
+       $(ROS_INTERMEDIATE)$(WRC_BASE)$(SEP)wrc$(EXEPOSTFIX)
+
+WRC_SOURCES = \
+       $(WRC_BASE)$(SEP)dumpres.c \
+       $(WRC_BASE)$(SEP)genres.c \
+       $(WRC_BASE)$(SEP)newstruc.c \
+       $(WRC_BASE)$(SEP)readres.c \
+       $(WRC_BASE)$(SEP)translation.c \
+       $(WRC_BASE)$(SEP)utils.c \
+       $(WRC_BASE)$(SEP)wrc.c \
+       $(WRC_BASE)$(SEP)writeres.c \
+       $(WRC_BASE)$(SEP)y.tab.c \
+       $(WRC_BASE)$(SEP)lex.yy.c \
+       $(WRC_BASE)$(SEP)port$(SEP)mkstemps.o
+
+WRC_OBJECTS = \
+       $(WRC_SOURCES:.c=.o)
+
+WRC_HOST_CFLAGS = -I$(WRC_BASE) -g -Werror -Wall \
+                  -D__USE_W32API -DWINE_UNICODE_API= \
+                  -Dwchar_t="unsigned short" -D_WCHAR_T_DEFINED \
+                  -I$(UNICODE_BASE) -I$(WPP_BASE) -I$(WRC_BASE) \
+                  -Iinclude/wine -Iinclude -Iw32api/include
+
+WRC_HOST_LFLAGS = -g
+
+$(WRC_TARGET): $(WRC_OBJECTS) $(UNICODE_TARGET) $(WPP_TARGET)
+       ${host_gcc} $(WRC_OBJECTS) $(UNICODE_TARGET) $(WPP_TARGET) $(WRC_HOST_LFLAGS) -o $(WRC_TARGET)
+
+$(WRC_OBJECTS): %.o : %.c
+       ${host_gcc} $(WRC_HOST_CFLAGS) -c $< -o $@
+
+.PHONY: wrc_clean
+wrc_clean:
+       -@$(rm) $(WRC_TARGET) $(WRC_OBJECTS) 2>$(NUL)
+clean: wrc_clean