<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
<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
<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
--- /dev/null
+<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
--- /dev/null
+<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
<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
<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
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
--- /dev/null
+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