Cleanup code for easier porting to other architectures
[reactos.git] / reactos / dll / ntdll / ntdll.rbuild
1 <module name="ntdll" type="win32dll" entrypoint="0" baseaddress="${BASEADDRESS_NTDLL}" installbase="system32" installname="ntdll.dll">
2 <bootstrap base="$(CDOUTPUT)/system32" />
3 <importlibrary definition="def/ntdll.def" />
4 <include base="ntdll">inc</include>
5 <include base="ReactOS">include/reactos/subsys</include>
6 <define name="__NTDLL__" />
7 <define name="_DISABLE_TIDENTS" />
8 <define name="__USE_W32API" />
9 <define name="_WIN32_WINNT">0x0502</define>
10 <define name="_NTOSKRNL_" />
11 <define name="__NO_CTYPE_INLINES" />
12 <library>rtl</library>
13 <library>libcntpr</library>
14 <library>pseh</library>
15 <linkerflag>-lgcc</linkerflag>
16 <linkerflag>-nostdlib</linkerflag>
17 <linkerflag>-nostartfiles</linkerflag>
18 <directory name="csr">
19 <file>api.c</file>
20 <file>capture.c</file>
21 <file>connect.c</file>
22 </directory>
23 <directory name="dbg">
24 <file>dbgui.c</file>
25 </directory>
26 <directory name="ldr">
27 <file>startup.c</file>
28 <file>utils.c</file>
29 </directory>
30 <directory name="main">
31 <if property="ARCH" value="i386">
32 <directory name="i386">
33 <file>dispatch.S</file>
34 </directory>
35 </if>
36 <ifnot property="ARCH" value="i386">
37 <file>dispatch.c</file>
38 </ifnot>
39 </directory>
40 <directory name="rtl">
41 <file>libsupp.c</file>
42 <file>version.c</file>
43 </directory>
44 <directory name="def">
45 <file>ntdll.rc</file>
46 </directory>
47 <directory name="inc">
48 <pch>ntdll.h</pch>
49 </directory>
50 <file>napi.S</file>
51 </module>