Rbuild changes for include structure change.
[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.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" empty="true" />
22 <define name="__restrict__" empty="true" />
23 <compilerflag>-v</compilerflag>
24 <if property="MP" value="1">
25 <define name="CONFIG_SMP" value="1" />
26 </if>
27 <if property="DBG" value="1">
28 <define name="DBG" value="1" />
29 <property name="DBG_OR_KDBG" value="true" />
30 </if>
31 <if property="DBG" value="0">
32 <compilerflag>-Os</compilerflag>
33 <compilerflag>-Wno-strict-aliasing</compilerflag>
34 </if>
35 <if property="KDBG" value="1">
36 <define name="KDBG" value="1" />
37 <property name="DBG_OR_KDBG" value="true" />
38 </if>
39 <compilerflag>-Wpointer-arith</compilerflag>
40
41 <include>.</include>
42 <include>include</include>
43 <include>include/reactos</include>
44 <include>include/libs</include>
45 <include>include/drivers</include>
46 <include>include/subsys</include>
47 <include>include/ndk</include>
48 <include>include</include>
49 <include>include/crt</include>
50 <include>include/ddk</include>
51
52 <directory name="apps">
53 <xi:include href="apps/directory.rbuild" />
54 </directory>
55 <directory name="boot">
56 <xi:include href="boot/boot.rbuild" />
57 </directory>
58 <directory name="drivers">
59 <xi:include href="drivers/directory.rbuild" />
60 </directory>
61 <directory name="hal">
62 <xi:include href="hal/directory.rbuild" />
63 </directory>
64 <directory name="include">
65 <xi:include href="include/directory.rbuild" />
66 </directory>
67 <directory name="lib">
68 <xi:include href="lib/directory.rbuild" />
69 </directory>
70 <directory name="media">
71 <xi:include href="media/directory.rbuild" />
72 </directory>
73 <directory name="modules">
74 <xi:include href="modules/directory.rbuild" />
75 </directory>
76 <directory name="ntoskrnl">
77 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
78 </directory>
79 <directory name="regtests">
80 <xi:include href="regtests/directory.rbuild" />
81 </directory>
82 <directory name="services">
83 <xi:include href="services/directory.rbuild" />
84 </directory>
85 <directory name="subsys">
86 <xi:include href="subsys/directory.rbuild" />
87 </directory>
88 </project>