* Disable compiling usermode components for now.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 27 Feb 2010 14:22:19 +0000 (14:22 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 27 Feb 2010 14:22:19 +0000 (14:22 +0000)
svn path=/branches/header-work/; revision=45697

ReactOS-i386.rbuild
config.template.rbuild
drivers/wdm/audio/backpln/directory.rbuild
lib/3rdparty/3rdparty.rbuild
lib/3rdparty/mingw/mingw.rbuild
lib/tdilib/tdilib.rbuild
subsystems/subsystems.rbuild
subsystems/win32/win32.rbuild

index 75a6b78..a1abbf9 100644 (file)
                <linkerflag>-section-alignment=0x1000</linkerflag>
        </group>
 
-       <directory name="base">
-               <xi:include href="base/base.rbuild" />
-       </directory>
+       <if property="USERMODE" value="1">
+               <directory name="base">
+                       <xi:include href="base/base.rbuild" />
+               </directory>
+               <directory name="dll">
+                       <xi:include href="dll/dll.rbuild" />
+               </directory>
+       </if>
+
        <directory name="boot">
                <xi:include href="boot/boot.rbuild" />
        </directory>
-       <directory name="dll">
-               <xi:include href="dll/dll.rbuild" />
-       </directory>
        <directory name="drivers">
                <xi:include href="drivers/drivers.rbuild" />
        </directory>
index d8a1304..c0d17e3 100644 (file)
 -->
 <property name="BUILD_MP" value="1" />
 
+<!--
+       Whether to compile any usermode parts. This is while kernel mode is under
+       heavy development and usermode part not relevant for bootcd.
+-->
+<property name="USERMODE" value="0" />
+
 </group>
index e65bc58..2db6e35 100644 (file)
@@ -1,9 +1,12 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../../tools/rbuild/project.dtd">
 <group xmlns:xi="http://www.w3.org/2001/XInclude">
-       <directory name="audio_test">
-               <xi:include href="audio_test/audio_test.rbuild" />
-       </directory>
+
+       <if property="USERMODE" value="1">
+               <directory name="audio_test">
+                       <xi:include href="audio_test/audio_test.rbuild" />
+               </directory>
+       </if>
        <directory name="portcls">
                <xi:include href="portcls/portcls.rbuild" />
        </directory>
index 7f0c200..28bbf8d 100644 (file)
@@ -7,9 +7,13 @@
        <directory name="bzip2">
                <xi:include href="bzip2/bzip2.rbuild" />
        </directory>
-       <directory name="cardlib">
-               <xi:include href="cardlib/cardlib.rbuild" />
-       </directory>
+
+       <if property="USERMODE" value="1">
+               <directory name="cardlib">
+                       <xi:include href="cardlib/cardlib.rbuild" />
+               </directory>
+       </if>
+
        <directory name="expat">
                <xi:include href="expat/expat.rbuild" />
        </directory>
index 0e87ee7..1807208 100644 (file)
@@ -4,7 +4,9 @@
 <module name="mingw_common" type="staticlibrary" isstartuplib="true" crt="dll">
        <define name="_CRTBLD" />
        <include base="ReactOS">include/reactos/mingw-w64</include>
-       <library>kernel32</library>
+       <if property="USERMODE" value="1">
+               <library>kernel32</library>
+       </if>
        <file>_newmode.c</file>
        <file>atonexit.c</file>
        <file>charmax.c</file>
index ec06f02..355073b 100644 (file)
@@ -1,9 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
-<module name="tdilib" type="staticlibrary">
-       <include base="iphlpapi">.</include>
-       <include base="tdilib">.</include>
-       <library>ntdll</library>
-       <file>enum.c</file>
-       <file>handle.c</file>
-</module>
+<if property="USERMODE" value="1">
+       <module name="tdilib" type="staticlibrary">
+               <include base="iphlpapi">.</include>
+               <include base="tdilib">.</include>
+               <library>ntdll</library>
+               <file>enum.c</file>
+               <file>handle.c</file>
+       </module>
+</if>
\ No newline at end of file
index 49a9029..87042d7 100644 (file)
@@ -1,9 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../tools/rbuild/project.dtd">
 <group xmlns:xi="http://www.w3.org/2001/XInclude">
-<directory name="ntvdm">
-       <xi:include href="ntvdm/ntvdm.rbuild" />
-</directory>
+<if property="USERMODE" value="1">
+       <directory name="ntvdm">
+               <xi:include href="ntvdm/ntvdm.rbuild" />
+       </directory>
+</if>
 <directory name="win32">
        <xi:include href="win32/win32.rbuild" />
 </directory>
index 7dc498f..50546eb 100644 (file)
@@ -1,9 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
 <group xmlns:xi="http://www.w3.org/2001/XInclude">
-<directory name="csrss">
-       <xi:include href="csrss/csrss.rbuild" />
-</directory>
+<if property="USERMODE" value="1">
+       <directory name="csrss">
+               <xi:include href="csrss/csrss.rbuild" />
+       </directory>
+</if>
 <directory name="win32k">
        <xi:include href="win32k/win32k.rbuild" />
 </directory>