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.

41 lines
613 B

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