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.

45 lines
666 B

  1. !IFNDEF LANGUAGE
  2. LANGUAGE=usa
  3. !ENDIF
  4. EFI_ROOT=$(PROJECT_ROOT)\efiutil\sdk
  5. !if $(IA64)
  6. LIBSRC=sal64
  7. MACH=IA64
  8. !else
  9. LIBSRC=nt32
  10. MACH=x86
  11. !endif
  12. OBJS=$(O)\diskpart.obj
  13. EFI_LIBS=$(EFI_ROOT)\build\$(LIBSRC)\output\lib\lib.lib \
  14. $(O)\diskpart.lib \
  15. $(O)\diskpart.res
  16. $(O)\link.rsp : makefile.inc
  17. type << > $@
  18. -subsystem:EFI_APPLICATION
  19. -driver
  20. -map
  21. -machine:$(MACH)
  22. -debug:full
  23. -last:.rdata
  24. -last:.pdata
  25. -last:.comment
  26. -base:0x1040000
  27. -entry:EfiMain
  28. -ignore:4049,4001
  29. -nodefaultlib
  30. -opt:noicf
  31. $(LINK_LIB_IGNORE_FLAG)
  32. $(EFI_LIBS)
  33. $(OBJS)
  34. <<NOKEEP
  35. $(O)\diskpart.efi: $(OSLOADER) makefile.inc $(O)\link.rsp
  36. -link -out:$@ @$(O)\link.rsp