ReactOS PowerPC WIP. This will be edited and merged, and likely shrunk.
[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="__MINGW_IMPORT">extern</define>
22 <define name="stdcall" empty="true" />
23 <define name="__stdcall__" empty="true" />
24 <define name="fastcall" empty="true" />
25 <define name="cdecl" empty="true" />
26 <define name="__cdecl__" empty="true" />
27 <define name="dllimport" empty="true" />
28 <define name="WORDS_BIGENDIAN" empty="true" />
29 <if property="MP" value="1">
30 <define name="CONFIG_SMP" value="1" />
31 </if>
32 <if property="DBG" value="1">
33 <define name="DBG" value="1" />
34 <property name="DBG_OR_KDBG" value="true" />
35 </if>
36 <if property="DBG" value="0">
37 <compilerflag>-Os</compilerflag>
38 <compilerflag>-Wno-strict-aliasing</compilerflag>
39 </if>
40 <if property="KDBG" value="1">
41 <define name="KDBG" value="1" />
42 <property name="DBG_OR_KDBG" value="true" />
43 </if>
44
45 <include>.</include>
46 <include>include</include>
47 <include>include/crt</include>
48 <include>include/ddk</include>
49 <include>include/GL</include>
50 <include>include/ndk</include>
51 <include>include/reactos</include>
52 <include>include/reactos/libs</include>
53
54 <directory name="base">
55 <xi:include href="base/base.rbuild" />
56 </directory>
57 <directory name="boot">
58 <xi:include href="boot/boot.rbuild" />
59 </directory>
60 <directory name="dll">
61 <xi:include href="dll/dll.rbuild" />
62 </directory>
63 <directory name="drivers">
64 <xi:include href="drivers/drivers.rbuild" />
65 </directory>
66 <directory name="hal">
67 <xi:include href="hal/hal.rbuild" />
68 </directory>
69 <directory name="include">
70 <xi:include href="include/directory.rbuild" />
71 </directory>
72 <directory name="lib">
73 <xi:include href="lib/lib.rbuild" />
74 </directory>
75 <directory name="media">
76 <xi:include href="media/media.rbuild" />
77 </directory>
78 <directory name="modules">
79 <xi:include href="modules/directory.rbuild" />
80 </directory>
81 <directory name="ntoskrnl">
82 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
83 </directory>
84 <directory name="regtests">
85 <xi:include href="regtests/directory.rbuild" />
86 </directory>
87 <directory name="subsystems">
88 <xi:include href="subsystems/subsystems.rbuild" />
89 </directory>
90
91 </project>