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.

43 lines
653 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)\efichar.obj
  13. EFI_LIBS=$(EFI_ROOT)\build\$(LIBSRC)\output\lib\lib.lib
  14. $(O)\link.rsp : makefile.inc
  15. type << > $@
  16. -subsystem:EFI_APPLICATION
  17. -driver
  18. -map
  19. -machine:$(MACH)
  20. -debug:full
  21. -last:.rdata
  22. -last:.pdata
  23. -last:.comment
  24. -base:0x1040000
  25. -entry:EfiMain
  26. -ignore:4049,4001
  27. -nodefaultlib
  28. -opt:noicf
  29. $(LINK_LIB_IGNORE_FLAG)
  30. $(EFI_LIBS)
  31. $(OBJS)
  32. <<NOKEEP
  33. $(O)\$(TARGETNAME).efi: $(OSLOADER) makefile.inc $(O)\link.rsp
  34. -link -out:$@ @$(O)\link.rsp