Source code of Windows XP (NT5)
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.

43 lines
1.1 KiB

  1. !if exist($(TARGET_DIRECTORY).inc)
  2. !include $(TARGET_DIRECTORY).inc
  3. !endif
  4. $(O)\$(NTTEST).def: ..\ntoskrnl.src ..\$(TARGET_DIRECTORY)def.src
  5. copy ..\ntoskrnl.src+..\$(TARGET_DIRECTORY)def.src $(O)\$(NTTEST).pp
  6. $(TARGET_CPP) -nologo -EP $(TARGET_DEFINES) $(TARGET_DBG_DEFINES) $(C_DEFINES) $(O)\$(NTTEST).pp > $@
  7. -del $(O)\$(NTTEST).pp
  8. $(NTTEST).prf: $(TARGET_DIRECTORY).prf
  9. copy $** $@
  10. $(DDK_LIB_PATH)\ntoskrnl.lib : $(O)\ntoskrnl.lib
  11. $(PUBLISH_CMD) {$**=$@}
  12. $(O)\$(NTTEST).lib $(O)\$(NTTEST).exp: \
  13. !if $(386)
  14. ..\$(TARGET_DIRECTORY)\excptlst.obj \
  15. $(PROJECT_LIB_PATH)\sehprolg.obj \
  16. !endif
  17. !if "$(BUILD_PASS)" != "PASS2"
  18. $(KERNEL_LIBS) \
  19. !endif
  20. $(O)\$(NTTEST).def
  21. -$(LIB_NAME) @<<
  22. $(LINK_LIB_IGNORE_FLAG)
  23. -def:$(O)\$(NTTEST).def
  24. -debugtype:cv
  25. -out:$(@R).lib
  26. -machine:$(MACHINE_TYPE)
  27. $(KERNEL_LIBS)
  28. <<NOKEEP
  29. -$(LIB_NAME) -out:$(@R).lib @<<
  30. $(@R).lib
  31. !if $(386)
  32. ..\$(TARGET_DIRECTORY)\excptlst.obj
  33. $(PROJECT_LIB_PATH)\sehprolg.obj
  34. !endif
  35. <<NOKEEP
  36. ..\init.c: $(SDK_INC_PATH)\ntverp.h
  37. ..\ntoskrnl.rc: ..\..\nls\$(O)\msg00001.bin