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.

29 lines
663 B

  1. !if $(AMD64)
  2. #
  3. # There are several steps here. XMSTUB.ASM contains both 16-bit and
  4. # x86 32-bit code, and so must be assembled with the X86 assembler.
  5. #
  6. # The object code is then extracted from the resultant .obj file via
  7. # DMPOBJ.EXE, and placed into byte arrays declared in rmstub.h and
  8. # pmstub.h
  9. #
  10. STUBOBJ=obj\amd64\xmstub.ob
  11. startup_code: obj\amd64\rmstub.h obj\amd64\pmstub.h
  12. obj\amd64\rmstub.h: $(STUBOBJ)
  13. dmpobj $? RMSTUB HalpRMStub > $@
  14. obj\amd64\pmstub.h: $(STUBOBJ)
  15. dmpobj $? PMSTUB HalpPMStub > $@
  16. $(STUBOBJ): ..\amd64\xmstub.asm
  17. ml -c -Fl -coff -I$(SDXROOT)\public\sdk\inc -Fo$@ $?
  18. !endif