Sync to trunk (r44371)
[reactos.git] / reactos / ReactOS-i386.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
3 <project name="ReactOS" makefile="makefile.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
19 <property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
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>-mpreferred-stack-boundary=2</compilerflag>
28 <compilerflag compiler="midl">-m32 --win32</compilerflag>
29 </group>
30
31 <group linkerset="ld">
32 <linkerflag>-disable-stdcall-fixup</linkerflag>
33 </group>
34
35 <directory name="base">
36 <xi:include href="base/base.rbuild" />
37 </directory>
38 <directory name="boot">
39 <xi:include href="boot/boot.rbuild" />
40 </directory>
41 <directory name="dll">
42 <xi:include href="dll/dll.rbuild" />
43 </directory>
44 <directory name="drivers">
45 <xi:include href="drivers/drivers.rbuild" />
46 </directory>
47 <directory name="hal">
48 <xi:include href="hal/hal.rbuild" />
49 </directory>
50 <directory name="include">
51 <xi:include href="include/directory.rbuild" />
52 </directory>
53 <directory name="lib">
54 <xi:include href="lib/lib.rbuild" />
55 </directory>
56 <directory name="media">
57 <xi:include href="media/media.rbuild" />
58 </directory>
59 <directory name="modules">
60 <xi:include href="modules/directory.rbuild" />
61 </directory>
62 <directory name="ntoskrnl">
63 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
64 <if property="BUILD_MP" value="1">
65 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
66 </if>
67 </directory>
68 <directory name="subsystems">
69 <xi:include href="subsystems/subsystems.rbuild" />
70 </directory>
71 <directory name="tools">
72 <xi:include href="tools/tools.rbuild" />
73 </directory>
74 </project>