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

  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)\$(NTTEST).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. $(PROJECT_LIB_PATH)\seccook.obj \
  17. $(PROJECT_LIB_PATH)\loadcfg.obj \
  18. !endif
  19. !if "$(BUILD_PASS)" != "PASS2"
  20. $(KERNEL_LIBS) \
  21. !endif
  22. $(O)\$(NTTEST).def
  23. -$(LIB_NAME) @<<
  24. $(LINK_LIB_IGNORE_FLAG)
  25. -def:$(O)\$(NTTEST).def
  26. -debugtype:cv
  27. -out:$(@R).lib
  28. -machine:$(MACHINE_TYPE)
  29. $(KERNEL_LIBS)
  30. <<NOKEEP
  31. -$(LIB_NAME) -out:$(@R).lib @<<
  32. $(@R).lib
  33. !if $(386)
  34. ..\$(TARGET_DIRECTORY)\excptlst.obj
  35. $(PROJECT_LIB_PATH)\sehprolg.obj
  36. $(PROJECT_LIB_PATH)\seccook.obj
  37. $(PROJECT_LIB_PATH)\loadcfg.obj
  38. !elseif $(IA64)
  39. $(PROJECT_LIB_PATH)\_memmove.obj
  40. $(PROJECT_LIB_PATH)\_memset.obj
  41. $(PROJECT_LIB_PATH)\_memcpy.obj
  42. !endif
  43. <<NOKEEP
  44. ..\init.c: $(SDK_INC_PATH)\ntverp.h
  45. ..\ntoskrnl.rc: ..\..\nls\$(O)\msg00001.bin