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.

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