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.

44 lines
686 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)\cdboot.obj \
  13. $(O)\cdboot.res
  14. EFI_LIBS=$(EFI_ROOT)\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