Remove some spam and add options to make ntoskrnl a bit smaller and easier to process.
[reactos.git] / reactos / ReactOS-ppc.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
3 <project name="ReactOS" makefile="makefile.ppc" xmlns:xi="http://www.w3.org/2001/XInclude">
4 <xi:include href="config-ppc.rbuild">
5 <xi:fallback>
6 <xi:include href="config-ppc.template.rbuild" />
7 </xi:fallback>
8 </xi:include>
9
10 <xi:include href="baseaddress.rbuild" />
11
12 <property name="BOOTPROG_PREPARE" value="ppc-le2be" />
13 <property name="BOOTPROG_FLATFORMAT" value="-O elf32-powerpc -B powerpc:common" />
14 <property name="BOOTPROG_LINKFORMAT" value="-melf32ppc --no-omagic -Ttext 0xe00000 -Tdata 0xe10000" />
15 <property name="BOOTPROG_COPYFORMAT" value="--only-section=.text --only-section=.data --only-section=.bss -O aixcoff-rs6000" />
16
17 <define name="_M_PPC" />
18 <define name="_PPC_" />
19 <define name="__PowerPC__" />
20 <define name="_REACTOS_" />
21 <define name="stdcall" empty="true" />
22 <define name="__stdcall__" empty="true" />
23 <define name="fastcall" empty="true" />
24 <define name="cdecl" empty="true" />
25 <define name="__cdecl__" empty="true" />
26 <define name="dllimport" empty="true" />
27 <define name="WORDS_BIGENDIAN" empty="true" />
28 <define name="MB_CUR_MAX">1</define>
29 <compilerflag>-fshort-wchar</compilerflag>
30 <compilerflag>-fsigned-char</compilerflag>
31 <compilerflag>-map</compilerflag>
32 <compilerflag>-mfull-toc</compilerflag>
33 <compilerflag>-meabi</compilerflag>
34 <compilerflag>-O2</compilerflag>
35 <compilerflag>-Wno-strict-aliasing</compilerflag>
36 <if property="MP" value="1">
37 <define name="CONFIG_SMP" value="1" />
38 </if>
39 <if property="DBG" value="1">
40 <define name="DBG" value="1" />
41 <property name="DBG_OR_KDBG" value="true" />
42 </if>
43 <if property="DBG" value="0">
44 <compilerflag>-Os</compilerflag>
45 <compilerflag>-Wno-strict-aliasing</compilerflag>
46 </if>
47 <if property="KDBG" value="1">
48 <define name="KDBG" value="1" />
49 <property name="DBG_OR_KDBG" value="true" />
50 </if>
51
52 <include>.</include>
53 <include>include</include>
54 <include>include/crt</include>
55 <include>include/ddk</include>
56 <include>include/GL</include>
57 <include>include/ndk</include>
58 <include>include/psdk</include>
59 <include>include/reactos</include>
60 <include>include/reactos/libs</include>
61
62 <directory name="base">
63 <xi:include href="base/base.rbuild" />
64 </directory>
65 <directory name="boot">
66 <xi:include href="boot/boot.rbuild" />
67 </directory>
68 <directory name="dll">
69 <xi:include href="dll/dll.rbuild" />
70 </directory>
71 <directory name="drivers">
72 <xi:include href="drivers/drivers.rbuild" />
73 </directory>
74 <directory name="hal">
75 <xi:include href="hal/hal.rbuild" />
76 </directory>
77 <directory name="include">
78 <xi:include href="include/directory.rbuild" />
79 </directory>
80 <directory name="lib">
81 <xi:include href="lib/lib.rbuild" />
82 </directory>
83 <directory name="media">
84 <xi:include href="media/media.rbuild" />
85 </directory>
86 <directory name="modules">
87 <xi:include href="modules/directory.rbuild" />
88 </directory>
89 <directory name="ntoskrnl">
90 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
91 </directory>
92 <directory name="regtests">
93 <xi:include href="regtests/directory.rbuild" />
94 </directory>
95 <directory name="subsystems">
96 <xi:include href="subsystems/subsystems.rbuild" />
97 </directory>
98
99 </project>