Add ntdllsys library to contain the syscalls of ntdll.dll
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 5 Jan 2008 22:38:42 +0000 (22:38 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 5 Jan 2008 22:38:42 +0000 (22:38 +0000)
svn path=/trunk/; revision=31617

reactos/dll/ntdll/ntdll.rbuild
reactos/lib/lib.rbuild
reactos/lib/ntdllsys/ntdllsys.rbuild [new file with mode: 0644]
reactos/tools/nci/nci.mak

index e7e16b2..c664802 100644 (file)
@@ -12,6 +12,7 @@
        <define name="_NTOSKRNL_" />
        <define name="__NO_CTYPE_INLINES" />
        <library>rtl</library>
+       <library>ntdllsys</library>
        <library>libcntpr</library>
        <library>pseh</library>
        <linkerflag>-lgcc</linkerflag>
                <pch>ntdll.h</pch>
        </directory>
 
-       <directory name="." root="intermediate">
-               <file>napi.S</file>
-       </directory>
-
        <directory name="def">
                <file>ntstatus.mc</file>
        </directory>
index 52e31a0..0a5ed52 100644 (file)
@@ -25,6 +25,9 @@
        <directory name="inflib">
                <xi:include href="inflib/inflib.rbuild" />
        </directory>
+       <directory name="ntdllsys">
+               <xi:include href="ntdllsys/ntdllsys.rbuild" />
+       </directory>
        <directory name="ppcmmu">
                <xi:include href="ppcmmu/ppcmmu.rbuild" />
        </directory>
diff --git a/reactos/lib/ntdllsys/ntdllsys.rbuild b/reactos/lib/ntdllsys/ntdllsys.rbuild
new file mode 100644 (file)
index 0000000..07d6b62
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
+<module name="ntdllsys" type="staticlibrary">
+       <define name="_DISABLE_TIDENTS" />
+       <directory name="." root="intermediate">
+               <file>ntdll.S</file>
+       </directory>
+</module>
index 564adb5..fb08ebe 100644 (file)
@@ -54,7 +54,7 @@ WIN32K_STUBS = $(INTERMEDIATE_)lib$(SEP)win32ksys$(SEP)win32k.S
 # NTOSKRNL.EXE
 KERNEL_SVC_DB = ntoskrnl$(SEP)sysfuncs.lst
 KERNEL_SERVICE_TABLE = $(INTERMEDIATE_)ntoskrnl$(SEP)include$(SEP)internal$(SEP)napi.h
-NTDLL_STUBS = $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)napi.S
+NTDLL_STUBS = $(INTERMEDIATE_)lib$(SEP)ntdllsys$(SEP)ntdll.S
 KERNEL_STUBS = $(INTERMEDIATE_)ntoskrnl$(SEP)ex$(SEP)zw.S
 
 NCI_SERVICE_FILES = \
@@ -67,7 +67,7 @@ NCI_SERVICE_FILES = \
 $(NCI_SERVICE_FILES): $(NCI_TARGET) $(KERNEL_SVC_DB) $(WIN32K_SVC_DB)
        $(ECHO_NCI)
        ${mkdir} $(INTERMEDIATE_)ntoskrnl$(SEP)include$(SEP)internal 2>$(NUL)
-       ${mkdir} $(INTERMEDIATE_)dll$(SEP)ntdll 2>$(NUL)
+       ${mkdir} $(INTERMEDIATE_)lib$(SEP)ntdllsys$(SEP)ntdll 2>$(NUL)
        ${mkdir} $(INTERMEDIATE_)ntoskrnl$(SEP)ex$(SEP) 2>$(NUL)
        ${mkdir} $(INTERMEDIATE_)subsystems$(SEP)win32$(SEP)win32k$(SEP)include 2>$(NUL)
        ${mkdir} $(INTERMEDIATE_)lib$(SEP)win32ksys 2>$(NUL)