mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- Add a status table for ntdll, which corresponds to Windows 2003 SP1 build. ntstatus.mc is done by Dmitry Philippov, with some additional editing by me. Now we have a real autogenerated ntstatus.h (the one in include/ddk still remains for now).
- Include autogenerated resources in ntdll.dll. svn path=/trunk/; revision=31399
This commit is contained in:
parent
6cc7a5cdb4
commit
aa2093d7d9
|
@ -375,11 +375,14 @@ endif
|
|||
|
||||
NTOSKRNL_MC = ntoskrnl$(SEP)ntoskrnl.mc
|
||||
KERNEL32_MC = dll$(SEP)win32$(SEP)kernel32$(SEP)kernel32.mc
|
||||
NTDLL_MC = dll$(SEP)ntdll$(SEP)def$(SEP)ntstatus.mc
|
||||
BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
|
||||
BUGCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)bugcodes.h
|
||||
BUGCODES_RC = $(INTERMEDIATE_)ntoskrnl$(SEP)bugcodes.rc
|
||||
ERRCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)errcodes.h
|
||||
ERRCODES_RC = $(INTERMEDIATE_)dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
|
||||
NTSTATUS_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)ntstatus.h
|
||||
NTSTATUS_RC = $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)def$(SEP)ntstatus.rc
|
||||
|
||||
|
||||
include lib/lib.mak
|
||||
|
@ -395,6 +398,8 @@ PREAUTO := \
|
|||
$(BUGCODES_RC) \
|
||||
$(ERRCODES_H) \
|
||||
$(ERRCODES_RC) \
|
||||
$(NTSTATUS_H) \
|
||||
$(NTSTATUS_RC) \
|
||||
$(GENDIB_DIB_FILES) \
|
||||
$(NCI_SERVICE_FILES)
|
||||
ifeq ($(ARCH),powerpc)
|
||||
|
@ -478,6 +483,12 @@ $(ERRCODES_H) $(ERRCODES_RC): $(WMC_TARGET) $(KERNEL32_MC)
|
|||
$(ECHO_WMC)
|
||||
$(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC)
|
||||
|
||||
$(NTSTATUS_H) $(NTSTATUS_RC): $(WMC_TARGET) $(NTDLL_MC)
|
||||
${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
|
||||
${mkdir} $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)def 2>$(NUL)
|
||||
$(ECHO_WMC)
|
||||
$(Q)$(WMC_TARGET) -i -U -H $(NTSTATUS_H) -o $(NTSTATUS_RC) $(NTDLL_MC)
|
||||
|
||||
.PHONY: msvc6
|
||||
msvc6: $(RBUILD_TARGET)
|
||||
$(ECHO_RBUILD)
|
||||
|
|
|
@ -5,3 +5,5 @@
|
|||
#define REACTOS_STR_INTERNAL_NAME "ntdll\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "ntdll.dll\0"
|
||||
#include <reactos/version.rc>
|
||||
|
||||
#include "ntstatus.rc"
|
||||
|
|
5239
reactos/dll/ntdll/def/ntstatus.mc
Normal file
5239
reactos/dll/ntdll/def/ntstatus.mc
Normal file
File diff suppressed because it is too large
Load diff
|
@ -4,6 +4,7 @@
|
|||
<bootstrap installbase="$(CDOUTPUT)/system32" />
|
||||
<importlibrary definition="def/ntdll.def" />
|
||||
<include base="ntdll">inc</include>
|
||||
<include base="ntdll" root="intermediate">def</include>
|
||||
<include base="ReactOS">include/reactos/subsys</include>
|
||||
<define name="__NTDLL__" />
|
||||
<define name="_DISABLE_TIDENTS" />
|
||||
|
|
Loading…
Reference in a new issue