Speedup compilation of kernel32
[reactos.git] / reactos / ReactOS.xml
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.xml">
5 <xi:fallback>
6 <xi:include href="config.template.xml" />
7 </xi:fallback>
8 </xi:include>
9
10 <xi:include href="baseaddress.xml" />
11
12 <define name="_M_IX86" />
13 <define name="_X86_" />
14 <define name="__i386__" />
15 <if property="MP" value="1">
16 <define name="CONFIG_SMP" value="1" />
17 </if>
18 <if property="DBG" value="1">
19 <define name="DBG" value="1" />
20 <property name="DBG_OR_KDBG" value="true" />
21 </if>
22 <if property="DBG" value="0">
23 <compilerflag>-Os</compilerflag>
24 <compilerflag>-Wno-strict-aliasing</compilerflag>
25 <compilerflag>-ftracer</compilerflag>
26 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
27 <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
28 </if>
29 <if property="KDBG" value="1">
30 <define name="KDBG" value="1" />
31 <property name="DBG_OR_KDBG" value="true" />
32 </if>
33 <compilerflag>-Wpointer-arith</compilerflag>
34
35 <include>.</include>
36 <include>include</include>
37 <include>include/reactos</include>
38 <include>include/libs</include>
39 <include>include/drivers</include>
40 <include>include/subsys</include>
41 <include>include/ndk</include>
42 <include>w32api/include</include>
43 <include>w32api/include/crt</include>
44 <include>w32api/include/ddk</include>
45
46 <directory name="apps">
47 <xi:include href="apps/directory.xml" />
48 </directory>
49 <directory name="boot">
50 <xi:include href="boot/boot.xml" />
51 </directory>
52 <directory name="bootdata">
53 <xi:include href="bootdata/bootdata.xml" />
54 </directory>
55 <directory name="drivers">
56 <xi:include href="drivers/directory.xml" />
57 </directory>
58 <directory name="hal">
59 <xi:include href="hal/directory.xml" />
60 </directory>
61 <directory name="include">
62 <xi:include href="include/directory.xml" />
63 </directory>
64 <directory name="lib">
65 <xi:include href="lib/directory.xml" />
66 </directory>
67 <directory name="media">
68 <xi:include href="media/directory.xml" />
69 </directory>
70 <directory name="modules">
71 <xi:include href="modules/directory.xml" />
72 </directory>
73 <directory name="ntoskrnl">
74 <xi:include href="ntoskrnl/ntoskrnl.xml" />
75 </directory>
76 <directory name="regtests">
77 <xi:include href="regtests/directory.xml" />
78 </directory>
79 <directory name="services">
80 <xi:include href="services/directory.xml" />
81 </directory>
82 <directory name="subsys">
83 <xi:include href="subsys/directory.xml" />
84 </directory>
85 </project>