- fix some prototypes, remove dxroslayer from dsound
[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 <if property="OPTIMIZE" value="1">
23 <compilerflag>-Os</compilerflag>
24 <compilerflag>-ftracer</compilerflag>
25 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
26 </if>
27 <if property="OPTIMIZE" value="2">
28 <compilerflag>-Os</compilerflag>
29 </if>
30 <if property="OPTIMIZE" value="3">
31 <compilerflag>-O1</compilerflag>
32 </if>
33 <if property="OPTIMIZE" value="4">
34 <compilerflag>-O2</compilerflag>
35 </if>
36 <if property="OPTIMIZE" value="5">
37 <compilerflag>-O3</compilerflag>
38 </if>
39
40 <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
41 <compilerflag>-fno-strict-aliasing</compilerflag>
42 <compilerflag>-Wno-strict-aliasing</compilerflag>
43 <compilerflag>-Wpointer-arith</compilerflag>
44 <compilerflag>-Wno-multichar</compilerflag>
45 <!-- compilerflag>-H</compilerflag> enable this for header traces -->
46 <linkerflag>-disable-stdcall-fixup</linkerflag>
47
48 </project>