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.
82 lines
2.0 KiB
82 lines
2.0 KiB
|
|
|
|
|
|
##############################################################################
|
|
# The following variables must be define in the environment for
|
|
# a make to work.
|
|
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
# EFI_SOURCE=
|
|
# EFI_BUILD_TOOLS=
|
|
|
|
!IFNDEF EFI_SOURCE
|
|
error Need to have EFI_SOURCE set to the root of the EFI source tree
|
|
!ENDIF
|
|
|
|
#
|
|
#
|
|
#
|
|
|
|
PROCESSOR=Ia64
|
|
BUILD_TOOL=..\tools\bin
|
|
BIN_DIR=bin
|
|
|
|
#
|
|
# BugBug: Change C_BUILD, AFLAGS, & CC when you change compilers
|
|
#
|
|
|
|
C_STD_INCLUDE=/X
|
|
C_PROJ_FLAGS=/D EFI64 $(ENV_CFLAGS)
|
|
!IF "$(SOFT_SDV)" == "YES"
|
|
C_PROJ_FLAGS= $(C_PROJ_FLAGS) /D SOFT_SDV
|
|
!ENDIF
|
|
!IF "$(EFI_DEBUG)" == "YES"
|
|
C_PROJ_FLAGS= $(C_PROJ_FLAGS) /D EFI_DEBUG
|
|
!ENDIF
|
|
!IF "$(EFI_DEBUG_CLEAR_MEMORY)" == "YES"
|
|
C_PROJ_FLAGS= $(C_PROJ_FLAGS) /D EFI_DEBUG_CLEAR_MEMORY
|
|
!ENDIF
|
|
!IF "$(EFI_BOOTSHELL)" == "YES"
|
|
C_PROJ_FLAGS= $(C_PROJ_FLAGS) /D EFI_BOOTSHELL
|
|
!ENDIF
|
|
!IF "$(EFI_SPLIT_CONSOLES)" == "YES"
|
|
C_PROJ_FLAGS= $(C_PROJ_FLAGS) /D EFI_SPLIT_CONSOLES
|
|
!ENDIF
|
|
|
|
|
|
#C_BUILD_FLAGS=/nologo /X /Zl /Od /W3 /WX /QIA64_fr32
|
|
C_BUILD_FLAGS=/nologo /X /Zl /Od /W3 /WX /QIA64_fr32 /QIA64_A0
|
|
L_BUILD_FLAGS=/nologo /SUBSYSTEM:NATIVE /NODEFAULTLIB /MACHINE:IA64 /MAP /DEBUG /DEBUGTYPE:CV /DEBUG:FULL
|
|
|
|
LIB_BUILD_FLAGS=/nologo /MACHINE:IA64
|
|
|
|
#AFLAGS = -X explicit -F COFF32_PLUS -M ilp64 -N us
|
|
AFLAGS = -X explicit -F COFF32_PLUS -N us
|
|
CFLAGS_P = /EP /C $(C_STD_INCLUDE) $(C_PROJ_FLAGS) $(INC)
|
|
|
|
#
|
|
# Ia64 tools
|
|
#
|
|
|
|
IA64_TOOLS=$(NTMAKEENV)\win64\$(PROCESSOR_ARCHITECTURE)
|
|
|
|
CC=$(IA64_TOOLS)\cl
|
|
|
|
LINK=$(NTMAKEENV)\$(PROCESSOR_ARCHITECTURE)\link
|
|
LIB=$(NTMAKEENV)\$(PROCESSOR_ARCHITECTURE)\lib
|
|
ASM=$(IA64_TOOLS)\ias
|
|
MAKE=nmake -nologo
|
|
FWIMAGE=$(BUILD_TOOL)\fwimage
|
|
BSCMAKE=bscmake
|
|
#
|
|
#
|
|
#
|
|
|
|
L_FLAGS=$(L_BUILD_FLAGS) $(L_PROJ_FLAGS)
|
|
C_FLAGS=$(C_BUILD_FLAGS) $(C_STD_INCLUDE) $(C_PROJ_FLAGS) $(INC)
|
|
LIB_FLAGS=$(LIB_BUILD_FLAGS) $(LIB_PROJ_FLAGS)
|
|
|
|
|
|
# tool path
|
|
|
|
PATH=$(PATH);$(EFI_BUILD_TOOLS);$(EFI_SOURCE)\tools\bin
|