Create a branch for header work.
[reactos.git] / ReactOS-amd64.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
3 <project name="ReactOS" makefile="makefile-amd64.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
4 <xi:include href="config-amd64.rbuild">
5 <xi:fallback>
6 <xi:include href="config-amd64.template.rbuild" />
7 </xi:fallback>
8 </xi:include>
9
10 <xi:include href="ReactOS-generic.rbuild" />
11
12 <define name="_M_AMD64" />
13 <define name="_AMD64_" />
14 <define name="_M_AXP64" />
15 <define name="__x86_64__" />
16 <!-- define name="_X86AMD64_" / FIXME: what is this used for? -->
17 <define name="_WIN64" />
18 <define name="TARGET_amd64" host="true" />
19
20 <define name="USE_COMPILER_EXCEPTIONS" />
21
22 <property name="PLATFORM" value="PC"/>
23 <property name="usewrc" value="false"/>
24 <property name="WINEBUILD_FLAGS" value="--kill-at"/>
25
26 <group compilerset="gcc">
27 <if property="OPTIMIZE" value="1">
28 <compilerflag>-ftracer</compilerflag>
29 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
30 </if>
31 <compilerflag>-mpreferred-stack-boundary=4</compilerflag>
32 <compilerflag compiler="midl">-m64 --win64</compilerflag>
33 <!-- compilerflag compiler="cc,cxx">-gstabs+</compilerflag -->
34 <!-- compilerflag compiler="as">-gstabs+</compilerflag -->
35 <compilerflag>-U_X86_</compilerflag>
36 <compilerflag>-Wno-format</compilerflag>
37 </group>
38
39 <group linkerset="ld">
40 <linkerflag>-disable-stdcall-fixup</linkerflag>
41 <linkerflag>-file-alignment=0x1000</linkerflag>
42 <linkerflag>-section-alignment=0x1000</linkerflag>
43 <linkerflag>--unique=.eh_frame</linkerflag>
44 <linkerflag>-static</linkerflag>
45 </group>
46
47 <if property="USERMODE" value="1">
48 <directory name="base">
49 <xi:include href="base/base.rbuild" />
50 </directory>
51 <directory name="dll">
52 <xi:include href="dll/dll.rbuild" />
53 </directory>
54 </if>
55
56 <directory name="boot">
57 <xi:include href="boot/boot.rbuild" />
58 </directory>
59 <directory name="drivers">
60 <xi:include href="drivers/drivers.rbuild" />
61 </directory>
62 <directory name="hal">
63 <xi:include href="hal/hal.rbuild" />
64 </directory>
65 <directory name="include">
66 <xi:include href="include/directory.rbuild" />
67 </directory>
68 <directory name="lib">
69 <xi:include href="lib/lib.rbuild" />
70 </directory>
71 <directory name="media">
72 <xi:include href="media/media.rbuild" />
73 </directory>
74 <directory name="modules">
75 <xi:include href="modules/directory.rbuild" />
76 </directory>
77 <directory name="ntoskrnl">
78 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
79 <if property="BUILD_MP" value="1">
80 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
81 </if>
82 </directory>
83 <directory name="subsystems">
84 <xi:include href="subsystems/subsystems.rbuild" />
85 </directory>
86 <directory name="tools">
87 <xi:include href="tools/tools.rbuild" />
88 </directory>
89
90 </project>