Add ntdllsys library to contain the syscalls of ntdll.dll

svn path=/trunk/; revision=31617
This commit is contained in:
Hervé Poussineau 2008-01-05 22:38:42 +00:00
parent 0642d6bf5c
commit 6a94d219db
4 changed files with 14 additions and 6 deletions

View 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>
@ -50,10 +51,6 @@
<pch>ntdll.h</pch>
</directory>
<directory name="." root="intermediate">
<file>napi.S</file>
</directory>
<directory name="def">
<file>ntstatus.mc</file>
</directory>

View 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>

View file

@ -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>

View 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)