sync to trunk revision 36700
[reactos.git] / reactos / boot / freeldr / freeldr / freeldr_arch.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE directory SYSTEM "../../../tools/rbuild/project.dtd">
3 <module name="freeldr_arch" type="objectlibrary">
4 <include base="freeldr_base">include</include>
5 <include base="freeldr_base">cache</include>
6 <include base="ntoskrnl">include</include>
7 <include base="ReactOS">include/reactos/libs</include>
8 <include base="ReactOS">include/reactos/elf</include>
9 <define name="_NTHAL_" />
10 <compilerflag>-fno-inline</compilerflag>
11 <compilerflag>-fno-zero-initialized-in-bss</compilerflag>
12
13 <if property="ARCH" value="arm">
14 <compilerflag>-ffreestanding</compilerflag>
15 <compilerflag>-fno-builtin</compilerflag>
16 <compilerflag>-Os</compilerflag>
17 </if>
18
19 <directory name="arch">
20 <directory name="i386">
21 <if property="ARCH" value="i386">
22 <file>_alloca.S</file>
23 <file>archmach.c</file>
24 <file>hardware.c</file>
25 <file>hwacpi.c</file>
26 <file>hwapm.c</file>
27 <file>hwpci.c</file>
28 <file>i386disk.c</file>
29 <file>i386rtl.c</file>
30 <file>i386vid.c</file>
31 <file>loader.c</file>
32 <file>machpc.c</file>
33 <file>pccons.c</file>
34 <file>pcdisk.c</file>
35 <file>pcmem.c</file>
36 <file>pcrtc.c</file>
37 <file>pcvideo.c</file>
38 <file>machxbox.c</file>
39 <file>xboxcons.c</file>
40 <file>xboxdisk.c</file>
41 <file>xboxfont.c</file>
42 <file>xboxhw.c</file>
43 <file>xboxi2c.c</file>
44 <file>xboxmem.c</file>
45 <file>xboxrtc.c</file>
46 <file>xboxvideo.c</file>
47 </if>
48 </directory>
49 <directory name="powerpc">
50 <if property="ARCH" value="powerpc">
51 <file>boot.s</file>
52 <file>loader.c</file>
53 <file>mach.c</file>
54 <file>mboot.c</file>
55 <file>ofw.c</file>
56 <file>ofw_util.s</file>
57 <file>ofw_calls.s</file>
58 <file>ofwdisk.c</file>
59 <file>ofw_method.c</file>
60 <file>prep.c</file>
61 <file>prep_ide.c</file>
62 <file>prep_pci.c</file>
63 <file>prep_vga.c</file>
64 </if>
65 </directory>
66 <directory name="arm">
67 <if property="ARCH" value="arm">
68 <file>boot.s</file>
69 <file>ferouart.c</file>
70 <file>loader.c</file>
71 <file>macharm.c</file>
72 <file>versuart.c</file>
73 </if>
74 </directory>
75
76 <if property="ARCH" value="amd64">
77 <directory name="amd64">
78 <file>loader.c</file>
79 </directory>
80 <directory name="i386">
81 <file>hardware.c</file>
82 <file>hwacpi.c</file>
83 <file>hwapm.c</file>
84 <file>hwpci.c</file>
85 <file>i386rtl.c</file>
86 <file>i386disk.c</file>
87 <file>i386vid.c</file>
88 <file>machpc.c</file>
89 <file>pccons.c</file>
90 <file>pcdisk.c</file>
91 <file>pcmem.c</file>
92 <file>pcrtc.c</file>
93 <file>pcvideo.c</file>
94 </directory>
95 </if>
96
97 </directory>
98 </module>