Sync to trunk (r44371)
[reactos.git] / reactos / lib / 3rdparty / mingw / mingw.rbuild
index 05cd498..940e5af 100644 (file)
@@ -1,53 +1,60 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <group>
-<module name="mingw_common" type="staticlibrary" isstartuplib="true" underscoresymbols="true" crt="dll">
-       <importlibrary definition="moldname-msvcrt.def" dllname="msvcrt.dll" />
-       <include base="mingw_common">include</include>
+<module name="mingw_common" type="staticlibrary" isstartuplib="true" crt="dll">
+       <define name="_CRTBLD" />
+       <include base="ReactOS">include/reactos/mingw-w64</include>
+       <library>kernel32</library>
        <file>_newmode.c</file>
-       <file>_wgetopt.c</file>
-       <file>argv.c</file>
        <file>atonexit.c</file>
        <file>binmode.c</file>
        <file>charmax.c</file>
        <file>cinitexe.c</file>
        <file>CRT_fp10.c</file>
        <file>CRT_fp8.c</file>
+       <file>CRT_glob.c</file>
+       <file>crt_handler.c</file>
        <file>dllentry.c</file>
+       <file>dummy_mingwthrd.c</file>
        <file>gccmain.c</file>
-       <file>getopt.c</file>
+       <!-- file>getopt.c</file -->
        <file>gs_support.c</file>
        <file>merr.c</file>
+       <!-- file>mingw_custom.c</file -->
        <file>mingw_helpers.c</file>
+       <file>mingwthrd_nomt.c</file>
        <file>natstart.c</file>
        <file>pesect.c</file>
        <file>pseudo-reloc.c</file>
        <file>pseudo-reloc-list.c</file>
        <file>tlssup.c</file>
+       <file>txtmode.c</file>
        <file>wildcard.c</file>
        <file>xncommod.c</file>
        <file>xthdloc.c</file>
        <file>xtxtmode.c</file>
 </module>
-<module name="mingw_main" type="staticlibrary" isstartuplib="true" allowwarnings="true" crt="dll">
-       <include base="mingw_common">include</include>
-       <library>mingw_common</library>
+<module name="mingw_main" type="staticlibrary" isstartuplib="true" crt="dll">
+       <define name="_CRTBLD" />
+       <include base="ReactOS">include/reactos/mingw-w64</include>
+       <compilerflag compilerset="msc">/wd4733</compilerflag>
        <file>crt0_c.c</file>
        <file>crtexe.c</file>
        <file>dllargv.c</file>
 </module>
-<module name="mingw_wmain" type="staticlibrary" isstartuplib="true" allowwarnings="true" unicode="yes" crt="dll">
-       <include base="mingw_common">include</include>
-       <library>mingw_common</library>
-       <define name="WPRFLAG"/>
+<module name="mingw_wmain" type="staticlibrary" isstartuplib="true" unicode="yes" crt="dll">
+       <define name="_CRTBLD" />
+       <define name="WPRFLAG" />
+       <include base="ReactOS">include/reactos/mingw-w64</include>
+       <compilerflag compilerset="msc">/wd4733</compilerflag>
        <file>crt0_w.c</file>
        <file>crtexe.c</file>
        <file>dllargv.c</file>
 </module>
 <module name="mingw_dllmain" type="staticlibrary" isstartuplib="true" crt="dll">
-       <include base="mingw_common">include</include>
-       <library>mingw_common</library>
-       <file>dllargv.c</file>
+       <define name="_CRTBLD" />
+       <include base="ReactOS">include/reactos/mingw-w64</include>
        <file>crtdll.c</file>
+       <file>dllargv.c</file>
 </module>
 </group>