- Move NCI generated files to arch-specific directories
[reactos.git] / reactos / dll / ntdll / ntdll.rbuild
index 41bd902..e5d0a75 100644 (file)
@@ -1,52 +1,65 @@
-<module name="ntdll" type="win32dll" baseaddress="${BASEADDRESS_NTDLL}" installbase="system32" installname="ntdll.dll">
-       <bootstrap base="reactos/system32" />
-       <importlibrary definition="def/ntdll.def" />
-       <include base="ntdll">inc</include>
-       <include base="ReactOS">include/reactos/subsys</include>
-       <define name="__NTDLL__" />
-       <define name="_DISABLE_TIDENTS" />
-       <define name="__USE_W32API" />
-       <define name="_WIN32_WINNT">0x0502</define>
-       <define name="_NTOSKRNL_" />
-       <define name="__NO_CTYPE_INLINES" />
-       <library>rtl</library>
-       <library>intrlck</library>
-       <library>string</library>
-       <library>pseh</library>
-       <linkerflag>-lgcc</linkerflag>
-       <linkerflag>-nostdlib</linkerflag>
-       <linkerflag>-nostartfiles</linkerflag>
-       <directory name="csr">
-               <file>api.c</file>
-               <file>capture.c</file>
-               <file>connect.c</file>
-       </directory>
-       <directory name="dbg">
-               <file>dbgui.c</file>
-       </directory>
-       <directory name="ldr">
-               <file>startup.c</file>
-               <file>utils.c</file>
-       </directory>
-       <directory name="main">
-               <if property="ARCH" value="i386">
-                       <directory name="i386">
-                               <file>dispatch.S</file>
-                       </directory>
-               </if>
-               <ifnot property="ARCH" value="i386">
-                       <file>dispatch.c</file>
-               </ifnot>
-       </directory>
-       <directory name="rtl">
-               <file>libsupp.c</file>
-               <file>version.c</file>
-       </directory>
-       <directory name="def">
-               <file>ntdll.rc</file>
-       </directory>
-       <directory name="inc">
-               <pch>ntdll.h</pch>
-       </directory>
-       <file>napi.S</file>
+<module name="ntdll" type="win32dll" entrypoint="0" baseaddress="${BASEADDRESS_NTDLL}" installbase="system32" installname="ntdll.dll">
+    <bootstrap base="$(CDOUTPUT)/system32" />
+    <importlibrary definition="def/ntdll.def" />
+    <include base="ntdll">inc</include>
+    <include base="ReactOS">include/reactos/subsys</include>
+    <define name="__NTDLL__" />
+    <define name="_DISABLE_TIDENTS" />
+    <define name="__USE_W32API" />
+    <define name="_WIN32_WINNT">0x0502</define>
+    <define name="_NTOSKRNL_" />
+    <define name="__NO_CTYPE_INLINES" />
+    <library>rtl</library>
+    <library>libcntpr</library>
+    <library>pseh</library>
+    <linkerflag>-lgcc</linkerflag>
+    <linkerflag>-nostdlib</linkerflag>
+    <linkerflag>-nostartfiles</linkerflag>
+    <directory name="csr">
+        <file>api.c</file>
+        <file>capture.c</file>
+        <file>connect.c</file>
+    </directory>
+    <directory name="dbg">
+        <file>dbgui.c</file>
+    </directory>
+    <directory name="ldr">
+        <file>startup.c</file>
+        <file>utils.c</file>
+    </directory>
+    <directory name="main">
+        <if property="ARCH" value="i386">
+            <directory name="i386">
+                <file>dispatch.S</file>
+            </directory>
+        </if>
+        <ifnot property="ARCH" value="i386">
+            <file>dispatch.c</file>
+        </ifnot>
+    </directory>
+    <directory name="rtl">
+        <file>libsupp.c</file>
+        <file>version.c</file>
+    </directory>
+    <directory name="def">
+        <file>ntdll.rc</file>
+    </directory>
+    <directory name="inc">
+        <pch>ntdll.h</pch>
+    </directory>
+    <if property="ARCH" value="i386">
+        <directory name="i386">
+            <file>napi.S</file>
+        </directory>
+    </if>
+    <if property="ARCH" value="powerpc">
+        <directory name="powerpc">
+            <file>napi.S</file>
+        </directory>
+    </if>
+    <if property="ARCH" value="mips">
+        <directory name="mips">
+            <file>napi.S</file>
+        </directory>
+    </if>
 </module>
 </module>