5bfd52a61775783592a9761ae61d22a4fa517ef3
[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="as">-gstabs+</compilerflag>
34 </group>
35
36 <group linkerset="ld">
37 <linkerflag>-disable-stdcall-fixup</linkerflag>
38 <linkerflag>-file-alignment=0x1000</linkerflag>
39 <linkerflag>-section-alignment=0x1000</linkerflag>
40 </group>
41
42 <directory name="base">
43 <xi:include href="base/base.rbuild" />
44 </directory>
45 <directory name="boot">
46 <xi:include href="boot/boot.rbuild" />
47 </directory>
48 <directory name="dll">
49 <xi:include href="dll/dll.rbuild" />
50 </directory>
51 <directory name="drivers">
52 <xi:include href="drivers/drivers.rbuild" />
53 </directory>
54 <directory name="hal">
55 <xi:include href="hal/hal.rbuild" />
56 </directory>
57 <directory name="include">
58 <xi:include href="include/directory.rbuild" />
59 </directory>
60 <directory name="lib">
61 <xi:include href="lib/lib.rbuild" />
62 </directory>
63 <directory name="media">
64 <xi:include href="media/media.rbuild" />
65 </directory>
66 <directory name="modules">
67 <xi:include href="modules/directory.rbuild" />
68 </directory>
69 <directory name="ntoskrnl">
70 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
71 <if property="BUILD_MP" value="1">
72 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
73 </if>
74 </directory>
75 <directory name="subsystems">
76 <xi:include href="subsystems/subsystems.rbuild" />
77 </directory>
78 <directory name="tools">
79 <xi:include href="tools/tools.rbuild" />
80 </directory>
81 </project>