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.

46 lines
729 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)\nvrboot.obj
  13. EFI_LIBS=$(EFI_ROOT)\build\$(LIBSRC)\output\lib\lib.lib \
  14. $(O)\nvrboot.lib \
  15. $(O)\nvrboot.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. -fixed
  28. -entry:InitializeNvrutilApplication
  29. -ignore:4049,4001
  30. -nodefaultlib
  31. -opt:noicf
  32. $(LINK_LIB_IGNORE_FLAG)
  33. $(EFI_LIBS)
  34. $(OBJS)
  35. <<NOKEEP
  36. $(O)\nvrboot.efi: $(OSLOADER) makefile.inc $(O)\link.rsp
  37. -link -out:$@ @$(O)\link.rsp