* Bring back rbuild build to be used until bug 6372 is fixed.
[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" allowwarnings="true">
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 <define name ="NO_UNDERSCORE_PREFIX" />
22
23 <property name="PLATFORM" value="PC"/>
24 <property name="usewrc" value="false"/>
25 <property name="WINEBUILD_FLAGS" value="--kill-at"/>
26
27 <group compilerset="gcc">
28 <if property="OPTIMIZE" value="1">
29 <compilerflag>-ftracer</compilerflag>
30 <compilerflag>-momit-leaf-frame-pointer</compilerflag>
31 </if>
32 <compilerflag>-fms-extensions</compilerflag>
33 <compilerflag>-mpreferred-stack-boundary=4</compilerflag>
34 <compilerflag compiler="midl">-m64 --win64</compilerflag>
35 <!-- compilerflag compiler="cc,cxx">-gstabs+</compilerflag -->
36 <!-- compilerflag compiler="as">-gstabs+</compilerflag -->
37 <compilerflag>-U_X86_</compilerflag>
38 <compilerflag>-UWIN32</compilerflag>
39 <compilerflag>-Wno-format</compilerflag>
40 </group>
41
42 <group linkerset="ld">
43 <linkerflag>-disable-stdcall-fixup</linkerflag>
44 <linkerflag>-file-alignment=0x1000</linkerflag>
45 <linkerflag>-section-alignment=0x1000</linkerflag>
46 <linkerflag>--unique=.eh_frame</linkerflag>
47 <linkerflag>-static</linkerflag>
48 <linkerflag>--exclude-all-symbols</linkerflag>
49 </group>
50
51 <if property="USERMODE" value="1">
52 <directory name="base">
53 <directory name="applications">
54 <xi:include href="base/applications/applications.rbuild" />
55 </directory>
56 <directory name="services">
57 <xi:include href="base/services/services.rbuild" />
58 </directory>
59 <directory name="setup">
60 <xi:include href="base/setup/setup.rbuild" />
61 </directory>
62 <directory name="shell">
63 <directory name="cmd">
64 <xi:include href="base/shell/cmd/cmd.rbuild" />
65 </directory>
66 <directory name="explorer-new">
67 <xi:include href="base/shell/explorer-new/explorer.rbuild" />
68 </directory>
69 </directory>
70 <directory name="system">
71 <xi:include href="base/system/system.rbuild" />
72 </directory>
73 </directory>
74 <directory name="dll">
75 <xi:include href="dll/dll.rbuild" />
76 </directory>
77 </if>
78
79 <directory name="boot">
80 <xi:include href="boot/boot.rbuild" />
81 </directory>
82 <directory name="drivers">
83 <xi:include href="drivers/drivers.rbuild" />
84 </directory>
85 <directory name="hal">
86 <xi:include href="hal/hal.rbuild" />
87 </directory>
88 <directory name="include">
89 <xi:include href="include/directory.rbuild" />
90 </directory>
91 <directory name="lib">
92 <xi:include href="lib/lib.rbuild" />
93 </directory>
94 <directory name="media">
95 <xi:include href="media/media.rbuild" />
96 </directory>
97 <directory name="modules">
98 <xi:include href="modules/directory.rbuild" />
99 </directory>
100 <directory name="ntoskrnl">
101 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
102 <if property="BUILD_MP" value="1">
103 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
104 </if>
105 </directory>
106 <directory name="subsystems">
107 <xi:include href="subsystems/subsystems.rbuild" />
108 </directory>
109 <directory name="tools">
110 <xi:include href="tools/tools.rbuild" />
111 </directory>
112
113 </project>