076e4e3ee3924d5844fb7a28d4efa90192aa19df
[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
16 <if property="DBG" value="1">
17 <define name="DBG">1</define>
18 <define name="_SEH_ENABLE_TRACE" />
19 <property name="DBG_OR_KDBG" value="true" />
20 </if>
21 <if property="KDBG" value="1">
22 <define name="KDBG">1</define>
23 <property name="DBG_OR_KDBG" value="true" />
24 </if>
25
26 <include>.</include>
27 <include>include</include>
28 <include root="intermediate">include</include>
29 <include>include/psdk</include>
30 <include root="intermediate">include/psdk</include>
31 <include>include/dxsdk</include>
32 <include root="intermediate">include/dxsdk</include>
33 <include>include/crt</include>
34 <include>include/crt/mingw32</include>
35 <include>include/ddk</include>
36 <include>include/GL</include>
37 <include>include/ndk</include>
38 <include>include/reactos</include>
39 <include root="intermediate">include/reactos</include>
40 <include root="intermediate">include/reactos/mc</include>
41 <include>include/reactos/libs</include>
42 <include>include/reactos/arm</include>
43
44 <property name="WINEBUILD_FLAGS" value="--kill-at"/>
45 <property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
46
47 <if property="SARCH" value="versatile">
48 <define name="BOARD_CONFIG_VERSATILE"/>
49 </if>
50
51 <if property="OPTIMIZE" value="1">
52 <compilerflag>-Os</compilerflag>
53 <compilerflag>-ftracer</compilerflag>
54 </if>
55 <if property="OPTIMIZE" value="2">
56 <compilerflag>-Os</compilerflag>
57 </if>
58 <if property="OPTIMIZE" value="3">
59 <compilerflag>-O1</compilerflag>
60 </if>
61 <if property="OPTIMIZE" value="4">
62 <compilerflag>-O2</compilerflag>
63 </if>
64 <if property="OPTIMIZE" value="5">
65 <compilerflag>-O3</compilerflag>
66 </if>
67
68 <compilerflag>-Wno-attributes</compilerflag>
69 <compilerflag>-fno-strict-aliasing</compilerflag>
70 <linkerflag>-s</linkerflag>
71 <linkerflag>-static</linkerflag>
72
73 <directory name="media">
74 <directory name="nls">
75 <xi:include href="media/nls/nls.rbuild" />
76 </directory>
77 </directory>
78 <directory name="lib">
79 <directory name="drivers">
80 <directory name="csq">
81 <xi:include href="lib/drivers/csq/csq.rbuild" />
82 </directory>
83 </directory>
84 <directory name="debugsup">
85 <xi:include href="lib/debugsup/debugsup.rbuild" />
86 </directory>
87 <directory name="3rdparty">
88 <directory name="zlib">
89 <xi:include href="lib/3rdparty/zlib/zlib.rbuild" />
90 </directory>
91 </directory>
92 <directory name="rtl">
93 <xi:include href="lib/rtl/rtl.rbuild" />
94 </directory>
95 <directory name="host">
96 <directory name="wcsfuncs">
97 <xi:include href="lib/host/wcsfuncs/wcsfuncs.rbuild" />
98 </directory>
99 </directory>
100 <directory name="inflib">
101 <xi:include href="lib/inflib/inflib.rbuild" />
102 </directory>
103 <directory name="cmlib">
104 <xi:include href="lib/cmlib/cmlib.rbuild" />
105 </directory>
106 <directory name="pseh">
107 <xi:include href="lib/pseh/pseh.rbuild" />
108 </directory>
109 <directory name="rossym">
110 <xi:include href="lib/rossym/rossym.rbuild" />
111 </directory>
112 <directory name="sdk">
113 <directory name="crt">
114 <xi:include href="lib/sdk/crt/crt.rbuild" />
115 <xi:include href="lib/sdk/crt/libcntpr.rbuild" />
116 </directory>
117 <directory name="wdmguid">
118 <xi:include href="lib/sdk/wdmguid/wdmguid.rbuild" />
119 </directory>
120 </directory>
121 </directory>
122 <directory name="include">
123 <xi:include href="include/directory.rbuild" />
124 </directory>
125 <directory name="tools">
126 <xi:include href="tools/tools.rbuild" />
127 </directory>
128 <directory name="ntoskrnl">
129 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
130 </directory>
131 <directory name="hal">
132 <directory name="halarm">
133 <directory name="generic">
134 <xi:include href="hal/halarm/generic/generic.rbuild" />
135 </directory>
136 <directory name="up">
137 <xi:include href="hal/halarm/up/halup.rbuild" />
138 </directory>
139 </directory>
140 <directory name="hal">
141 <xi:include href="hal/hal/hal.rbuild" />
142 </directory>
143 </directory>
144 <directory name="boot">
145 <xi:include href="boot/boot.rbuild" />
146 </directory>
147 <directory name="drivers">
148 <directory name="storage">
149 <directory name="class">
150 <directory name="ramdisk">
151 <xi:include href="drivers/storage/class/ramdisk/ramdisk.rbuild" />
152 </directory>
153 </directory>
154 </directory>
155 <directory name="filesystems">
156 <directory name="cdfs">
157 <xi:include href="drivers/filesystems/cdfs/cdfs.rbuild" />
158 </directory>
159 </directory>
160 <directory name="base">
161 <directory name="kdcom">
162 <xi:include href="drivers/base/kdcom/kdcom.rbuild" />
163 </directory>
164 <directory name="bootvid">
165 <xi:include href="drivers/base/bootvid/bootvid.rbuild" />
166 </directory>
167 </directory>
168 </directory>
169 </project>