Merge freeldr from amd64 branch:
[reactos.git] / reactos / ReactOS-arm.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
3 <project name="ReactOS" makefile="makefile-arm.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
4 <xi:include href="config-arm.rbuild">
5 <xi:fallback>
6 <xi:include href="config-arm.template.rbuild" />
7 </xi:fallback>
8 </xi:include>
9
10 <xi:include href="baseaddress.rbuild" />
11
12 <define name="__REACTOS__" />
13 <define name="_ARM_" />
14 <define name="__arm__" />
15 <define name="TARGET_arm" host="true" />
16
17 <if property="DBG" value="1">
18 <define name="DBG">1</define>
19 <define name="_SEH_ENABLE_TRACE" />
20 <property name="DBG_OR_KDBG" value="true" />
21 </if>
22 <if property="KDBG" value="1">
23 <define name="KDBG">1</define>
24 <property name="DBG_OR_KDBG" value="true" />
25 </if>
26
27 <include>.</include>
28 <include>include</include>
29 <include root="intermediate">include</include>
30 <include>include/psdk</include>
31 <include root="intermediate">include/psdk</include>
32 <include>include/dxsdk</include>
33 <include root="intermediate">include/dxsdk</include>
34 <include>include/crt</include>
35 <include>include/crt/mingw32</include>
36 <include>include/ddk</include>
37 <include>include/GL</include>
38 <include>include/ndk</include>
39 <include>include/reactos</include>
40 <include root="intermediate">include/reactos</include>
41 <include root="intermediate">include/reactos/mc</include>
42 <include>include/reactos/libs</include>
43 <include>include/reactos/arm</include>
44
45 <property name="WINEBUILD_FLAGS" value="--kill-at"/>
46 <property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
47
48 <if property="SARCH" value="versatile">
49 <define name="BOARD_CONFIG_VERSATILE"/>
50 </if>
51
52 <if property="OPTIMIZE" value="1">
53 <compilerflag>-Os</compilerflag>
54 <compilerflag>-ftracer</compilerflag>
55 </if>
56 <if property="OPTIMIZE" value="2">
57 <compilerflag>-Os</compilerflag>
58 </if>
59 <if property="OPTIMIZE" value="3">
60 <compilerflag>-O1</compilerflag>
61 </if>
62 <if property="OPTIMIZE" value="4">
63 <compilerflag>-O2</compilerflag>
64 </if>
65 <if property="OPTIMIZE" value="5">
66 <compilerflag>-O3</compilerflag>
67 </if>
68
69 <define name="__MSVCRT__"/>
70 <compilerflag>-Wno-attributes</compilerflag>
71 <compilerflag>-fno-strict-aliasing</compilerflag>
72 <linkerflag>--strip-debug</linkerflag>
73 <linkerflag>-static</linkerflag>
74
75 <directory name="media">
76 <directory name="nls">
77 <xi:include href="media/nls/nls.rbuild" />
78 </directory>
79 </directory>
80 <directory name="lib">
81 <directory name="drivers">
82 <directory name="csq">
83 <xi:include href="lib/drivers/csq/csq.rbuild" />
84 </directory>
85 </directory>
86 <directory name="debugsup">
87 <xi:include href="lib/debugsup/debugsup.rbuild" />
88 </directory>
89 <directory name="3rdparty">
90 <directory name="zlib">
91 <xi:include href="lib/3rdparty/zlib/zlib.rbuild" />
92 </directory>
93 </directory>
94 <directory name="rtl">
95 <xi:include href="lib/rtl/rtl.rbuild" />
96 </directory>
97 <directory name="host">
98 <directory name="wcsfuncs">
99 <xi:include href="lib/host/wcsfuncs/wcsfuncs.rbuild" />
100 </directory>
101 </directory>
102 <directory name="inflib">
103 <xi:include href="lib/inflib/inflib.rbuild" />
104 </directory>
105 <directory name="cmlib">
106 <xi:include href="lib/cmlib/cmlib.rbuild" />
107 </directory>
108 <directory name="pseh">
109 <xi:include href="lib/pseh/pseh.rbuild" />
110 </directory>
111 <directory name="rossym">
112 <xi:include href="lib/rossym/rossym.rbuild" />
113 </directory>
114 <directory name="sdk">
115 <directory name="crt">
116 <xi:include href="lib/sdk/crt/crt.rbuild" />
117 <xi:include href="lib/sdk/crt/libcntpr.rbuild" />
118 </directory>
119 <directory name="nt">
120 <xi:include href="lib/sdk/nt/nt.rbuild" />
121 </directory>
122 <directory name="wdmguid">
123 <xi:include href="lib/sdk/wdmguid/wdmguid.rbuild" />
124 </directory>
125 </directory>
126 <directory name="ntdllsys">
127 <xi:include href="lib/ntdllsys/ntdllsys.rbuild" />
128 </directory>
129 <directory name="smlib">
130 <xi:include href="lib/smlib/smlib.rbuild" />
131 </directory>
132 </directory>
133 <directory name="include">
134 <xi:include href="include/directory.rbuild" />
135 </directory>
136 <directory name="tools">
137 <xi:include href="tools/tools.rbuild" />
138 </directory>
139 <directory name="ntoskrnl">
140 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
141 </directory>
142 <directory name="hal">
143 <directory name="halarm">
144 <directory name="generic">
145 <xi:include href="hal/halarm/generic/generic.rbuild" />
146 </directory>
147 <directory name="up">
148 <xi:include href="hal/halarm/up/halup.rbuild" />
149 </directory>
150 </directory>
151 <directory name="hal">
152 <xi:include href="hal/hal/hal.rbuild" />
153 </directory>
154 </directory>
155 <directory name="boot">
156 <xi:include href="boot/boot.rbuild" />
157 </directory>
158 <directory name="drivers">
159 <directory name="storage">
160 <directory name="class">
161 <directory name="ramdisk">
162 <xi:include href="drivers/storage/class/ramdisk/ramdisk.rbuild" />
163 </directory>
164 </directory>
165 </directory>
166 <directory name="filesystems">
167 <directory name="fastfat">
168 <xi:include href="drivers/filesystems/fastfat/vfatfs.rbuild" />
169 </directory>
170 </directory>
171 <directory name="base">
172 <directory name="kdcom">
173 <xi:include href="drivers/base/kdcom/kdcom.rbuild" />
174 </directory>
175 <directory name="bootvid">
176 <xi:include href="drivers/base/bootvid/bootvid.rbuild" />
177 </directory>
178 </directory>
179 </directory>
180 <directory name="dll">
181 <directory name="ntdll">
182 <xi:include href="dll/ntdll/ntdll.rbuild" />
183 </directory>
184 </directory>
185 <directory name="base">
186 <directory name="system">
187 <directory name="smss">
188 <xi:include href="base/system/smss/smss.rbuild" />
189 </directory>
190 </directory>
191 </directory>
192 </project>