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