Sync to trunk r38250
[reactos.git] / reactos / dll / win32 / kernel32 / kernel32.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
3 <group>
4 <module name="kernel32_base" type="objectlibrary" crt="dll" allowwarnings="true">
5 <include base="kernel32_base">.</include>
6 <include base="kernel32_base">include</include>
7 <include base="ReactOS">include/reactos/subsys</include>
8 <define name="_DISABLE_TIDENTS" />
9 <define name="_WIN32_WINNT">0x0600</define>
10 <define name="__NO_CTYPE_INLINES" />
11 <define name="NTDDI_VERSION">0x05020100</define>
12 <dependency>errcodes</dependency>
13 <!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38269
14 <pch>k32.h</pch>
15 -->
16 <!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7 -->
17 <compilerflag>-fno-unit-at-a-time</compilerflag>
18 <directory name="debug">
19 <file>debugger.c</file>
20 <file>output.c</file>
21 </directory>
22 <directory name="except">
23 <file>except.c</file>
24 </directory>
25 <directory name="file">
26 <file>backup.c</file>
27 <file>bintype.c</file>
28 <file>cnotify.c</file>
29 <file>copy.c</file>
30 <file>create.c</file>
31 <file>curdir.c</file>
32 <file>delete.c</file>
33 <file>deviceio.c</file>
34 <file>dir.c</file>
35 <file>dosdev.c</file>
36 <file>file.c</file>
37 <file>find.c</file>
38 <file>hardlink.c</file>
39 <file>iocompl.c</file>
40 <file>lfile.c</file>
41 <file>lock.c</file>
42 <file>mailslot.c</file>
43 <file>move.c</file>
44 <file>npipe.c</file>
45 <file>pipe.c</file>
46 <file>rw.c</file>
47 <file>tape.c</file>
48 <file>volume.c</file>
49 </directory>
50 <directory name="mem">
51 <file>global.c</file>
52 <file>heap.c</file>
53 <file>isbad.c</file>
54 <file>local.c</file>
55 <file>procmem.c</file>
56 <file>resnotify.c</file>
57 <file>section.c</file>
58 <file>virtual.c</file>
59 </directory>
60 <directory name="misc">
61 <file>actctx.c</file>
62 <file>atom.c</file>
63 <file>chartype.c</file>
64 <file>collation.c</file>
65 <file>casemap.c</file>
66 <file>comm.c</file>
67 <file>computername.c</file>
68 <file>console.c</file>
69 <file>dllmain.c</file>
70 <file>env.c</file>
71 <file>error.c</file>
72 <file>errormsg.c</file>
73 <file>fold.c</file>
74 <file>handle.c</file>
75 <file>lang.c</file>
76 <file>ldr.c</file>
77 <file>lzexpand_main.c</file>
78 <file>muldiv.c</file>
79 <file>nls.c</file>
80 <file>perfcnt.c</file>
81 <file>recovery.c</file>
82 <file>res.c</file>
83 <file>sortkey.c</file>
84 <file>stubs.c</file>
85 <file>sysinfo.c</file>
86 <file>time.c</file>
87 <file>timerqueue.c</file>
88 <file>toolhelp.c</file>
89 <file>version.c</file>
90 </directory>
91 <directory name="process">
92 <file>cmdline.c</file>
93 <file>procsup.c</file>
94 <file>job.c</file>
95 <file>proc.c</file>
96 <file>session.c</file>
97 </directory>
98 <directory name="string">
99 <file>lstring.c</file>
100 </directory>
101 <directory name="synch">
102 <file>condvar.c</file>
103 <file>critical.c</file>
104 <file>event.c</file>
105 <file>mutex.c</file>
106 <file>sem.c</file>
107 <file>timer.c</file>
108 <file>wait.c</file>
109 </directory>
110 <directory name="thread">
111 <file>fiber.c</file>
112 <file>fls.c</file>
113 <file>thread.c</file>
114 <file>tls.c</file>
115 </directory>
116 <directory name="misc">
117 <file>lcformat.c</file>
118 <file>profile.c</file>
119 <file>utils.c</file>
120 </directory>
121 <directory name="thread">
122 <if property="ARCH" value="i386">
123 <directory name="i386">
124 <file>fiber.S</file>
125 <file>thread.S</file>
126 </directory>
127 </if>
128 <if property="ARCH" value="amd64">
129 <directory name="amd64">
130 <file>fiber.S</file>
131 <file>thread.S</file>
132 </directory>
133 </if>
134 </directory>
135
136 <compilerflag compiler="cpp">-fno-exceptions</compilerflag>
137 <compilerflag compiler="cpp">-fno-rtti</compilerflag>
138
139 <directory name="misc">
140 <file>icustubs.cpp</file>
141 </directory>
142 <library>normalize</library>
143 </module>
144 <module name="kernel32" type="win32dll" baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32" installname="kernel32.dll" crt="dll">
145 <importlibrary definition="kernel32.spec" />
146 <include base="kernel32">.</include>
147 <include base="kernel32" root="intermediate">.</include>
148 <include base="kernel32">include</include>
149 <define name="_DISABLE_TIDENTS" />
150 <library>kernel32_base</library>
151 <library>wine</library>
152 <library>pseh</library>
153
154 <file>kernel32.rc</file>
155
156 <library>ntdll</library>
157 </module>
158 </group>