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.

49 lines
951 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)\efichk.obj
  13. EFI_LIBS=..\..\efilib\src\$(ALT_PROJECT)\$(TARGETPATH)\$(TARGET_DIRECTORY)\efilib.lib \
  14. $(EFI_ROOT)\build\$(LIBSRC)\output\lib\lib.lib \
  15. !if $(IA64)
  16. $(EFI_ROOT)\build\$(LIBSRC)\output\shell\lib\lib.lib
  17. !else
  18. $(EFI_ROOT)\build\$(LIBSRC)\output\shell\lib\lib.lib \
  19. $(SDK_LIB_PATH)\int64.lib
  20. !endif
  21. $(O)\link.rsp : makefile.inc
  22. type << > $@
  23. -subsystem:EFI_APPLICATION
  24. -driver
  25. -map
  26. -machine:$(MACH)
  27. -debug:full
  28. -last:.rdata
  29. -last:.pdata
  30. -last:.comment
  31. -base:0x1040000
  32. -entry:InitializeEfiChkApplication
  33. -ignore:4049,4001
  34. -nodefaultlib
  35. -opt:noicf
  36. $(LINK_LIB_IGNORE_FLAG)
  37. $(EFI_LIBS)
  38. $(OBJS)
  39. <<NOKEEP
  40. $(O)\$(TARGETNAME).efi: $(OSLOADER) makefile.inc $(O)\link.rsp
  41. -link -out:$@ @$(O)\link.rsp