[NTDLL/LDR]
[reactos.git] / reactos / dll / ntdll / ntdll.rbuild
index 4e035ed..544a53b 100644 (file)
@@ -1,9 +1,6 @@
 <?xml version="1.0"?>
 <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
 <group>
-       <module name="ntsys" type="staticlibrary">
-               <importlibrary definition="def/ntsys.pspec" dllname="ntdll.dll" root="intermediate" />
-       </module>
        <module name="ntdll" type="nativedll" entrypoint="0" baseaddress="${BASEADDRESS_NTDLL}" installbase="system32" installname="ntdll.dll" iscrt="yes">
                <bootstrap installbase="$(CDOUTPUT)/system32" />
                <importlibrary definition="def/ntdll.pspec" />
@@ -12,6 +9,7 @@
                <include base="ReactOS">include/reactos/subsys</include>
                <define name="__NTDLL__" />
                <define name="_NTOSKRNL_" />
+               <define name="CRTDLL" />
                <library>rtl</library>
                <library>ntdllsys</library>
                <library>libcntpr</library>
                                        <file>dispatch.S</file>
                                </directory>
                        </if>
+                       <if property="ARCH" value="amd64">
+                               <directory name="amd64">
+                                       <file>stubs.c</file>
+                               </directory>
+                       </if>
                        <if property="ARCH" value="arm">
                                <directory name="arm">
                                        <file>stubs_asm.s</file>
@@ -44,6 +47,9 @@
                        <pch>ntdll.h</pch>
                </directory>
                <directory name="ldr">
+                       <file>ldrapi.c</file>
+                       <file>ldrinit.c</file>
+                       <file>ldrutils.c</file>
                        <file>startup.c</file>
                        <file>utils.c</file>
                        <file>actctx.c</file>