Merge to trunk head (r46631)
[reactos.git] / boot / freeldr / freeldr / setupldr_main.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
3 <module name="setupldr_main" type="objectlibrary" crt="static">
4 <include base="setupldr_main">include</include>
5 <include base="ntoskrnl">include</include>
6 <define name="_NTHAL_" />
7 <define name="FREELDR_REACTOS_SETUP" />
8 <group compilerset="gcc">
9 <compilerflag>-ffreestanding</compilerflag>
10 <compilerflag>-fno-builtin</compilerflag>
11 <compilerflag>-fno-inline</compilerflag>
12 <compilerflag>-fno-zero-initialized-in-bss</compilerflag>
13 <compilerflag>-Os</compilerflag>
14 </group>
15 <file>bootmgr.c</file>
16 <directory name="inffile">
17 <file>inffile.c</file>
18 </directory>
19 <directory name="reactos">
20 <file>setupldr.c</file>
21 </directory>
22 <if property="ARCH" value="i386">
23 <directory name="windows">
24 <file>setupldr2.c</file>
25 </directory>
26 </if>
27 <if property="ARCH" value="amd64">
28 <directory name="windows">
29 <file>setupldr2.c</file>
30 </directory>
31 </if>
32 </module>