[USB-BRINGUP-TRUNK]
[reactos.git] / ReactOS-i386.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
3 <project name="ReactOS" makefile="makefile-i386.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
4 <xi:include href="config.rbuild">
5 <xi:fallback>
6 <xi:include href="config.template.rbuild" />
7 </xi:fallback>
8 </xi:include>
9
10 <xi:include href="ReactOS-generic.rbuild" />
11
12 <define name="_M_IX86" />
13 <define name="_X86_" />
14 <define name="__i386__" />
15 <define name="TARGET_i386" host="true" />
16
17 <define name="USE_COMPILER_EXCEPTIONS" />
18 <define name="_USE_32BIT_TIME_T" />
19
20 <property name="PLATFORM" value="PC"/>
21
22 <group compilerset="gcc">
23 <if property="OPTIMIZE" value="1">
24 <compilerflag>-ftracer</compilerflag>
25 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
26 </if>
27 <compilerflag>-fms-extensions</compilerflag>
28 <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
29 <compilerflag compiler="midl">-m32 --win32</compilerflag>
30 <compilerflag compiler="cc,cxx">-gstabs+</compilerflag>
31 <compilerflag compiler="cc,cxx">-fno-set-stack-executable</compilerflag>
32 <compilerflag compiler="cc,cxx">-fno-optimize-sibling-calls</compilerflag>
33 <compilerflag compiler="cc,cxx">-fno-omit-frame-pointer</compilerflag>
34 <compilerflag compiler="as">-gstabs+</compilerflag>
35 </group>
36
37 <group linkerset="ld">
38 <linkerflag>-disable-stdcall-fixup</linkerflag>
39 <linkerflag>-file-alignment=0x1000</linkerflag>
40 <linkerflag>-section-alignment=0x1000</linkerflag>
41 </group>
42
43 <directory name="base">
44 <xi:include href="base/base.rbuild" />
45 </directory>
46 <directory name="boot">
47 <xi:include href="boot/boot.rbuild" />
48 </directory>
49 <directory name="dll">
50 <xi:include href="dll/dll.rbuild" />
51 </directory>
52 <directory name="drivers">
53 <xi:include href="drivers/drivers.rbuild" />
54 </directory>
55 <directory name="hal">
56 <xi:include href="hal/hal.rbuild" />
57 </directory>
58 <directory name="include">
59 <xi:include href="include/directory.rbuild" />
60 </directory>
61 <directory name="lib">
62 <xi:include href="lib/lib.rbuild" />
63 </directory>
64 <directory name="media">
65 <xi:include href="media/media.rbuild" />
66 </directory>
67 <directory name="modules">
68 <xi:include href="modules/directory.rbuild" />
69 </directory>
70 <directory name="ntoskrnl">
71 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
72 <if property="BUILD_MP" value="1">
73 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
74 </if>
75 </directory>
76 <directory name="subsystems">
77 <xi:include href="subsystems/subsystems.rbuild" />
78 </directory>
79 <directory name="tools">
80 <xi:include href="tools/tools.rbuild" />
81 </directory>
82 </project>