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">
6 <xi:include href="config.template.rbuild" />
10 <xi:include href="ReactOS-generic.rbuild" />
12 <define name="_M_IX86" />
13 <define name="_X86_" />
14 <define name="__i386__" />
15 <define name="TARGET_i386" host="true" />
17 <property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
19 <if property="OPTIMIZE" value="1">
20 <compilerflag>-Os</compilerflag>
21 <compilerflag>-ftracer</compilerflag>
22 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
24 <if property="OPTIMIZE" value="2">
25 <compilerflag>-Os</compilerflag>
27 <if property="OPTIMIZE" value="3">
28 <compilerflag>-O1</compilerflag>
30 <if property="OPTIMIZE" value="4">
31 <compilerflag>-O2</compilerflag>
33 <if property="OPTIMIZE" value="5">
34 <compilerflag>-O3</compilerflag>
37 <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
38 <compilerflag>-fno-strict-aliasing</compilerflag>
39 <compilerflag>-Wno-strict-aliasing</compilerflag>
40 <compilerflag>-Wpointer-arith</compilerflag>
41 <linkerflag>-disable-stdcall-fixup</linkerflag>