windows-nt/Source/XPSP1/NT/base/ntdll/makefile.nap
2020-09-26 16:20:57 +08:00

68 lines
1.7 KiB
Plaintext

!include $(NTMAKEENV)\makefile.plt
ntnaptbl.c: \nt\private\ntos\ke\services.tab
gensrv -d i386 -e asm -P \nt\private\ntos\ke
ntnapdef.h: \nt\private\ntos\ke\services.tab
gensrv -d i386 -e asm -P \nt\private\ntos\ke
i386\ntnap.inc: \nt\private\ntos\ke\services.tab
gensrv -d i386 -e asm -P \nt\private\ntos\ke
$(_OBJ_DIR)\i386\usrstubs.obj: i386\usrstubs.asm ntdll.def
$(_OBJ_DIR)\i386\napstubs.obj: i386\napstubs.asm ntdll.def
$(_OBJ_DIR)\mips\usrstubs.obj: mips\usrstubs.s ntdll.def
$(_OBJ_DIR)\ppc\usrstubs.obj: ppc\usrstubs.s ntdll.def
$(_OBJ_DIR)\ia64\usrstubs.obj: ia64\usrstubs.s ntdll.def
ntdll.xtr: \nt\private\ntos\ke\services.tab
gensrv -f ntdll.xtr \nt\private\ntos\ke
i386\usrstubs.asm: \nt\private\ntos\ke\services.tab
gensrv -d i386 -e asm \nt\private\ntos\ke
i386\napstubs.asm: \nt\private\ntos\ke\services.tab
gensrv -d i386 -e asm -P \nt\private\ntos\ke
mips\usrstubs.s: \nt\private\ntos\ke\services.tab
gensrv -d mips -e s -B \nt\private\ntos\ke
ppc\usrstubs.s: \nt\private\ntos\ke\services.tab
gensrv -d ppc -e s -B \nt\private\ntos\ke
ia64\usrstubs.s: \nt\private\ntos\ke\services.tab
gensrv -d ia64 -e s -B \nt\private\ntos\ke
!IF $(MIPS)
getntdlldef:
copy $(_OBJ_DIR)\mips\ntdll.def ntdll.def
ntdll.def: $(_OBJ_DIR)\mips\ntdll.def
!ENDIF
!IF $(386)
getntdlldef:
copy $(_OBJ_DIR)\i386\ntdll.def ntdll.def
ntdll.def: $(_OBJ_DIR)\i386\ntdll.def
!ENDIF
!IF $(IA64)
getntdlldef:
copy $(_OBJ_DIR)\ia64\ntdll.def ntdll.def
ntdll.def: $(_OBJ_DIR)\ia64\ntdll.def
!ENDIF
$(O)\ntdll.def: ntdlldef.src ntnapdef.src ntdll.xtr
copy ntdlldef.src+ntnapdef.src+ntdll.xtr ntdll.pp
$(TARGET_CPP) $(TARGET_DEFINES) /Tc ntdll.pp > $@
-del ntdll.pp