Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
1.4 KiB

!if exist($(TARGET_DIRECTORY).inc)
!include $(TARGET_DIRECTORY).inc
!endif
$(O)\$(NTTEST).def: ..\ntoskrnl.src ..\$(TARGET_DIRECTORY)def.src
copy ..\ntoskrnl.src+..\$(TARGET_DIRECTORY)def.src $(O)\$(NTTEST).pp
$(TARGET_CPP) -nologo -EP $(TARGET_DEFINES) $(TARGET_DBG_DEFINES) $(C_DEFINES) $(O)\$(NTTEST).pp > $@
-del $(O)\$(NTTEST).pp
$(NTTEST).prf: $(TARGET_DIRECTORY).prf
copy $** $@
$(DDK_LIB_PATH)\ntoskrnl.lib : $(O)\$(NTTEST).lib
$(PUBLISH_CMD) {$**=$@}
$(O)\$(NTTEST).lib $(O)\$(NTTEST).exp: \
!if $(386)
..\$(TARGET_DIRECTORY)\excptlst.obj \
$(PROJECT_LIB_PATH)\sehprolg.obj \
$(PROJECT_LIB_PATH)\seccook.obj \
$(PROJECT_LIB_PATH)\loadcfg.obj \
!endif
!if "$(BUILD_PASS)" != "PASS2"
$(KERNEL_LIBS) \
!endif
$(O)\$(NTTEST).def
-$(LIB_NAME) @<<
$(LINK_LIB_IGNORE_FLAG)
-def:$(O)\$(NTTEST).def
-debugtype:cv
-out:$(@R).lib
-machine:$(MACHINE_TYPE)
$(KERNEL_LIBS)
<<NOKEEP
-$(LIB_NAME) -out:$(@R).lib @<<
$(@R).lib
!if $(386)
..\$(TARGET_DIRECTORY)\excptlst.obj
$(PROJECT_LIB_PATH)\sehprolg.obj
$(PROJECT_LIB_PATH)\seccook.obj
$(PROJECT_LIB_PATH)\loadcfg.obj
!elseif $(IA64)
$(PROJECT_LIB_PATH)\_memmove.obj
$(PROJECT_LIB_PATH)\_memset.obj
$(PROJECT_LIB_PATH)\_memcpy.obj
!endif
<<NOKEEP
..\init.c: $(SDK_INC_PATH)\ntverp.h
..\ntoskrnl.rc: ..\..\nls\$(O)\msg00001.bin