windows-nt/Source/XPSP1/NT/base/efiutil/efintldr/makefile.inc

42 lines
613 B
PHP
Raw Normal View History

2020-09-26 03:20:57 -05:00
!IFNDEF LANGUAGE
LANGUAGE=usa
!ENDIF
!if $(IA64)
LIBSRC=sal64
MACH=IA64
!else
LIBSRC=nt32
MACH=x86
!endif
OBJS=$(O)\efintldr.obj \
$(O)\utils.obj \
$(O)\menu.obj
EFI_LIBS=$(EFI_SOURCE)\build\$(LIBSRC)\output\lib\lib.lib
$(O)\link.rsp : makefile.inc
type << > $@
-subsystem:EFI_APPLICATION
-driver
-map
-machine:$(MACH)
-debug:full
-last:.rdata
-last:.pdata
-last:.comment
-base:0x1040000
-entry:EfiMain
-ignore:4049,4001
-nodefaultlib
-opt:noicf
$(LINK_LIB_IGNORE_FLAG)
$(EFI_LIBS)
$(OBJS)
<<NOKEEP
$(O)\$(TARGETNAME).efi: $(OBJS) makefile.inc $(O)\link.rsp
-link -out:$@ @$(O)\link.rsp