!IFNDEF LANGUAGE LANGUAGE=usa !ENDIF # # BOOT_LIB_DIR is the relative path to boot.lib. # $(O)\msgs.mc : ..\msgs.$(LANGUAGE) copy $** $@ !IF $(386) !IFNDEF BOOT_LIB_DIR ENTRYPOINT=-entry:NtProcessStartup@4 LDR_NAME=setupldr$(DBG_LDR).exe BOOT_LIB_DIR=daytona$(DBG_LDR) !ENDIF SETUPLDR_LIBS= \ $(O)\setupldr.lib \ $(O)\setupldr.res \ $(PROJECT_ROOT)\boot\lib\$(BOOT_LIB_DIR)\$(O)\boot.lib \ $(PROJECT_ROOT)\boot\bd\daytona$(DBG_LDR)\$(O)\bd.lib \ $(PROJECT_ROOT)\boot\tftplib\$(O)\tftplib.lib \ $(PROJECT_ROOT)\boot\bootssp\boot\$(O)\bootssp.lib \ $(PROJECT_ROOT)\ntos\ke\up\$(O)\ke.lib \ $(PROJECT_ROOT)\ntos\rtl\boot$(DBG_LDR)\$(O)\bldrrtl$(DBG_LDR).lib \ $(PROJECT_ROOT)\ntos\config\boot\$(O)\bconfig.lib \ $(DS_LIB_PATH)\rsa32.lib \ $(SDK_LIB_PATH)\fdi.lib \ $(SDK_LIB_PATH)\libcntpr.lib \ $(O)\link.rsp : ..\makefile.inc type << > $@ -base:0x300000 -debug $(ENTRYPOINT) -fixed -ignore:4001 -incremental:no -map -nodefaultlib -opt:ref -opt:icf -subsystem:native $(LINK_TIME_CODE_GENERATION_LINKER_FLAGS) $(LINK_LIB_IGNORE_FLAG) $(SETUPLDR_LIBS) < $@ -subsystem:EFI_APPLICATION -nodefaultlib -debug:full -last:.rdata -last:.pdata -last:.comment -machine:IA64 -base:0x1040000 -opt:ref -opt:icf -entry:main -map -ignore:4049,4001,4217 $(LINK_TIME_CODE_GENERATION_LINKER_FLAGS) $(LINK_LIB_IGNORE_FLAG) $(SETUPLDR_LIBS) <$@ -rom -nodefaultlib -debugtype:cv -debug:full -align:0x200 -fixed !if $(ALPHA) -base:0x80600000 !elseif $(AXP64) -base:0xFFFFFFFF80600000 !endif -entry:SlInit -map -opt:noicf $(LINK_TIME_CODE_GENERATION_LINKER_FLAGS) $(LINK_LIB_IGNORE_FLAG) $(SETUPLDR_LIBS) <