- Create another branch for networking fixes
[reactos.git] / 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="PLATFORM" value="PC"/>
20
21 <group compilerset="gcc">
22 <if property="OPTIMIZE" value="1">
23 <compilerflag>-ftracer</compilerflag>
24 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
25 </if>
26 <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
27 <compilerflag compiler="midl">-m32 --win32</compilerflag>
28 </group>
29
30 <group linkerset="ld">
31 <linkerflag>-disable-stdcall-fixup</linkerflag>
32 <linkerflag>-file-alignment=0x1000</linkerflag>
33 <linkerflag>-section-alignment=0x1000</linkerflag>
34 </group>
35
36 <directory name="base">
37 <xi:include href="base/base.rbuild" />
38 </directory>
39 <directory name="boot">
40 <xi:include href="boot/boot.rbuild" />
41 </directory>
42 <directory name="dll">
43 <xi:include href="dll/dll.rbuild" />
44 </directory>
45 <directory name="drivers">
46 <xi:include href="drivers/drivers.rbuild" />
47 </directory>
48 <directory name="hal">
49 <xi:include href="hal/hal.rbuild" />
50 </directory>
51 <directory name="include">
52 <xi:include href="include/directory.rbuild" />
53 </directory>
54 <directory name="lib">
55 <xi:include href="lib/lib.rbuild" />
56 </directory>
57 <directory name="media">
58 <xi:include href="media/media.rbuild" />
59 </directory>
60 <directory name="modules">
61 <xi:include href="modules/directory.rbuild" />
62 </directory>
63 <directory name="ntoskrnl">
64 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
65 <if property="BUILD_MP" value="1">
66 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
67 </if>
68 </directory>
69 <directory name="subsystems">
70 <xi:include href="subsystems/subsystems.rbuild" />
71 </directory>
72 <directory name="tools">
73 <xi:include href="tools/tools.rbuild" />
74 </directory>
75 </project>