From 9bb5c9544782b846ee7425347dd343d6725121ff Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 16 Oct 2007 20:26:25 +0000 Subject: [PATCH] Reorganize templates to allow different templates in different build environments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4136 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/ConfTemplates/Darwin/build_rule.txt | 300 ++++++++ BaseTools/ConfTemplates/Darwin/target.txt | 71 ++ BaseTools/ConfTemplates/Darwin/tools_def.txt | 659 ++++++++++++++++++ 3 files changed, 1030 insertions(+) create mode 100644 BaseTools/ConfTemplates/Darwin/build_rule.txt create mode 100644 BaseTools/ConfTemplates/Darwin/target.txt create mode 100644 BaseTools/ConfTemplates/Darwin/tools_def.txt diff --git a/BaseTools/ConfTemplates/Darwin/build_rule.txt b/BaseTools/ConfTemplates/Darwin/build_rule.txt new file mode 100644 index 0000000000..06cfb6d1ba --- /dev/null +++ b/BaseTools/ConfTemplates/Darwin/build_rule.txt @@ -0,0 +1,300 @@ +# +# Copyright (c) 2007, Intel Corporation +# +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php + +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# Filename: build_rule.template +# + +## Syntax +# +# "*" is used to indicate that the source files will be processed at the same time. +# "?" is used to indicate that the source files will be processed one by one. +# +# "[" Build.[.][, Build.[.]] "]" +# ]> +# [File-Type =] (?|*). [(\n|,|;) (?|*).] +# +# ]> +# +# +# ]> +# +# [] +# + +## Placeholders for string substitution +# +# ${src} Source file(s) to be built (full path) +# ${s_path} Source file directory (absolute path) +# ${s_dir} Source file relative directory within a module +# (Note: ${s_dir} is always equals to "." if source file is given in absolute path.) +# ${s_name} Source file name without path +# ${s_base} Source file name without extension and path +# ${s_ext} Source file extension +# +# ${dst} Destination file(s) built from ${src} (full path) +# ${d_path} Destination file directory (absolute path) +# ${d_name} Destination file name without path +# ${d_base} Destination file name without extension and path +# ${d_ext} Destination file extension +# +# (+) Directory separator +# + +## Macro +# $(WORKSPACE) Workspace directory +# $(OUTPUT_DIR) Directory for intermediate files for building a module +# $(DEBUG_DIR) Directory for files used to debug a module +# $(BUILD_DIR) All files for building a platform will be put in this directory +# $(BIN_DIR) Common directory for executable files +# $(FV_DIR) Directory to store flash image files +# $(INC) Search path of current module +# $(LIBS) Static library files of current module +# $(_FLAGS) Tools flags of current module +# $(MODULE_NAME) Current module name +# $(MODULE_TYPE) Current module type +# $(ARCH) Architecture of current module +# $(TOOLCHAIN) Toolchain used to build current module +# $(TARGET) Target of current module (DEBUG/RELEASE) +# $() Path of tool +# $(EDK_TOOLS_PATH) Path of build tools +# $() File list of each file type +# (Note: The macro name is derived from file type name. For example, +# C-Code-File will have C_CODE_FILE_LIST macro.) +# +# $(CP) copy command +# $(MV) move command +# $(RM) delete command +# $(MD) create dir command +# $(RD) remove dir command +# + +## Reserved File-Type +# +# Dont't change following names of file types and their associated files, +# which are also used in tools' code +# +# C-Code-File +# C-Header-File +# Dynamic-Library-File +# Static-Library-File +# Visual-Form-Representation-File +# Unicode-Text-File +# + +[Build.C-Code-File] + + ?.c + ?.C + ?.cc + ?.CC + ?.cpp + ?.Cpp + ?.CPP + + + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj + + + "$(CC)" /Fo${dst} $(CC_FLAGS) $(INC) ${src} + + + "$(CC)" -o ${dst} $(CC_FLAGS) $(INC) ${src} + +[Build.C-Header-File] + + *.h, *.H + + + $(OUTPUT_DIR)(+)$(MODULE_NAME).gch + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj + + + + +[Build.Assembly-Code-File] + + Assembly-Code-File = ?.asm, ?.Asm, ?.ASM + + + ?.S + + + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj + + + "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i + Trim --source-code --convert-hex -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i + "$(ASM)" /Fo${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii + + + "$(ASM)" -o ${dst} $(ASM_FLAGS) $(INC) ${src} + +[Build.Iasm-Code-File] + + ?.s + + + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj + + + "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i + Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i + "$(ASM)" -o ${dst} $(ASM_FLAGS) ${d_path}(+)${s_base}.iii + +[Build.Visual-Form-Representation-File] + + ?.vfr + ?.Vfr + ?.VFR + + + $(DEBUG_DIR)(+)${s_dir}(+)${s_base}.c + + + "$(PP)" $(VFRPP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i + Trim --vfr-file -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i + -mkdir ${d_path} > NUL 2>&1 + VfrCompile -od ${d_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii + +[Build.Object-File] + + *.obj + *.o + + + $(OUTPUT_DIR)(+)$(MODULE_NAME).lib + + + "$(SLINK)" $(SLINK_FLAGS) /OUT:${dst} ${src} + + + "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) ${src} + +#[Build.Object-File, Build.Static-Library-File] +#BUILD_VERSION = 0x00010000 +# +# +# Object-File = *.obj +# Static-Library-File = *.lib, *.a +# +# +# $(OUTPUT_DIR)(+)$(MODULE_NAME).lib +# +# +# "$(SLINK)" /OUT:${dst} $(SLINK_FLAGS) ${src} +# +# +# "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) ${src1} -( ${src2} -) +# +[Build.Static-Library-File] + + ?.lib + $(LIBS) + $(MODULE_BUILD_DIR)\Makefile + + + $(DEBUG_DIR)(+)$(MODULE_NAME).dll + + + "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(LIBS) ${src} + + + "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -( $(DLINK_SPATH) $(LIBS) ${src} -) + +[Build.Dynamic-Library-File] + + ?.dll + + + $(DEBUG_DIR)(+)$(MODULE_NAME).efi + + + GenFw -e $(MODULE_TYPE) -o ${dst} ${src} + $(CP) ${dst} $(OUTPUT_DIR) + $(CP) ${dst} $(BIN_DIR) + -$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR) + +[Build.Dependency-Expression-File] + + ?.dxs, ?.Dxs, ?.DXS + + + $(OUTPUT_DIR)(+)$(MODULE_NAME).depex + + +# GenDepex -o ${dst} ${src} + +[Build.Acpi-Source-Language-File] + + ?.asl, ?.Asl, ?.ASL + + + $(OUTPUT_DIR)(+)${s_base}.aml + + + "$(PP)" $(APP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i + "$(ASL)" -p ${dst} ${d_path}(+)${s_base}.i + +[Build.Acpi-Table-Code-File] + + ?.aslc + + + $(OUTPUT_DIR)(+)${s_base}.acpi + + + "$(CC)" /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(INC) ${src} + "$(DLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(SLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj + GenFw -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll + +[Build.Masm16-Code-File] + + ?.asm16, ?.Asm16, ?.ASM16 + + + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.com + + + pushd . + cd $(OUTPUT_DIR)(+)${s_dir} + "$(ASM)" /nologo /omf ${src} /Bl"$(ASMLINK)" $(ASMLINK_FLAGS) + -$(CP) ${dst} $(OUTPUT_DIR) & popd + +[Build.Microcode-File] + + ?.txt, ?.TXT, ?.Txt + + + $(OUTPUT_DIR)(+)${s_base}.mcb + + + GenFw -o ${dst} -m ${src} + +[Build.Microcode-Binary-File] + + *.mcb + + + $(OUTPUT_DIR)(+)$(MODULE_NAME).bin + + + GenFw -o ${dst} -j ${src} + +[Build.Unicode-Text-File] + + *.uni, *.Uni, *.UNI + + + $(DEBUG_DIR)(+)AutoGen.c + $(DEBUG_DIR)(+)AutoGen.h + + + diff --git a/BaseTools/ConfTemplates/Darwin/target.txt b/BaseTools/ConfTemplates/Darwin/target.txt new file mode 100644 index 0000000000..e8e3243873 --- /dev/null +++ b/BaseTools/ConfTemplates/Darwin/target.txt @@ -0,0 +1,71 @@ +# +# Copyright (c) 2006-2007, Intel Corporation +# +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php + +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# Filename: target.template +# +# ALL Paths are Relative to WORKSPACE + +# Separate multiple LIST entries with a SINGLE SPACE character, do not use comma characters. +# Un-set an option by either commenting out the line, or not setting a value. + +# +# PROPERTY Type Use Description +# ---------------- -------- -------- ----------------------------------------------------------- +# ACTIVE_PLATFORM Filename Recommended Specify the WORKSPACE relative Path and Filename +# of the platform FPD file that will be used for the build +# This line is required if and only if the current working +# directory does not contain one or more FPD files. +ACTIVE_PLATFORM = Nt32Pkg/Nt32Pkg.dsc + +# TARGET List Optional Zero or more of the following: DEBUG, RELEASE, +# UserDefined; separated by a space character. +# If the line is missing or no value is specified, all +# valid targets specified in the FPD file will attempt +# to be built. The following line will build all platform +# targets. +TARGET = DEBUG + +# TARGET_ARCH List Optional What kind of architecture is the binary being target for. +# One, or more, of the following, IA32, IPF, X64, EBC or ARM. +# Multiple values can be specified on a single line, using +# space charaters to separate the values. These are used +# during the parsing of an FPD file, restricting the build +# output target(s.) +# The Build Target ARCH is determined by a logical AND of: +# FPD BuildOptions: tag +# If not specified, then all valid architectures specified +# in the FPD file, for which tools are available, will be +# built. +TARGET_ARCH = IA32 + +# TOOL_DEFINITION_FILE Filename Optional Specify the name of the filename to use for specifying +# the tools to use for the build. If not specified, +# tools_def.txt will be used for the build. This file +# MUST be located in the WORKSPACE/Conf directory. +TOOL_CHAIN_CONF = Conf/tools_def.txt + +# TAGNAME List Optional Specify the name(s) of the tools_def.txt TagName to use. +# If not specified, all applicable TagName tools will be +# used for the build. The list uses space character separation. +TOOL_CHAIN_TAG = MYTOOLS + +# MULTIPLE_THREAD FLAG Optional Flag to enable multi-thread build. If not specified, default +# is "Disable". If your computer is multi-core or multiple CPUs, +# enabling this feature will bring much benefit. +# This feature is only available for "spawn" build mode, and +# only for PLATFORM build. The clean, cleanall or +# stand-alone module build is still using the normal way. +MULTIPLE_THREAD = Disable + +# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. Default is 2. Recommend to +# set this value to one more than the number of your compurter +# cores or CPUs. +MAX_CONCURRENT_THREAD_NUMBER = 2 diff --git a/BaseTools/ConfTemplates/Darwin/tools_def.txt b/BaseTools/ConfTemplates/Darwin/tools_def.txt new file mode 100644 index 0000000000..08d52ba8b5 --- /dev/null +++ b/BaseTools/ConfTemplates/Darwin/tools_def.txt @@ -0,0 +1,659 @@ +# +# Copyright (c) 2006-2007, Intel Corporation +# +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + +IDENTIFIER = Default TOOL_CHAIN_CONF + +# common path macros +DEFINE VSNET_BIN = C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin +DEFINE VSNET_DLL = C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE + +DEFINE VSNET2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin +DEFINE VSNET2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE + +DEFINE VS2005EXP_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin +DEFINE VS2005EXP_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE + +DEFINE VS2005STD_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin +DEFINE VS2005STD_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE + +DEFINE VS2005PRO_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin +DEFINE VS2005PRO_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64 +DEFINE VS2005PRO_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE + +DEFINE VS2005TS_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin +DEFINE VS2005TS_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE + +DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16 +DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86 +DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64 +DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86 + +DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin +DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Bin +DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\9.1\Itanium\Bin + +DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin + +DEFINE ELFGCC_BIN = /usr/bin + +DEFINE PEGCC_BIN32 = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin +DEFINE PEGCC_BINX64 = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin + +DEFINE CYGWIN_BIN = c:/cygwin/bin +DEFINE CYGWIN_BIN32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin +DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin + +DEFINE ASL_BIN = C:\ASL + +#################################################################################### +# +# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = +# priorty: +# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest) +# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE +# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE +# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE +# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE +# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE +# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE +# ******_*********_****_COMMANDTYPE_ATTRIBUTE +# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE +# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE +# TARGET_*********_ARCH_***********_ATTRIBUTE +# ******_*********_ARCH_***********_ATTRIBUTE +# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE +# ******_TOOLCHAIN_****_***********_ATTRIBUTE +# TARGET_*********_****_***********_ATTRIBUTE +# ******_*********_****_***********_ATTRIBUTE (Lowest) +# +#################################################################################### +#################################################################################### +# +# Supported Tool Chains +# ===================== +# VS2003 - Microsoft Visual Studio .NET 2003 +# VS2005EXP* - Microsoft Visual Studio 2005 Express Edition +# VS2005STD* - Microsoft Visual Studio 2005 Standard Edition +# VS2005PRO - Microsoft Visual Studio 2005 Professional Edition +# VS2005TEAMSUITE* - Microsoft Visual Studio 2005 Team Suite Edition +# WINDDK3790x1830 - Microsoft Windows DDK 3790.1830 +# UINIXGCC - UNIX GCC +# ELFGCC - Linux ELF GCC +# CYGWINGCC - CygWin GCC +# ICC - Intel C Compiler V9.1 +# MYTOOLS - Settings compatible with previous versions of tools_def.template +# +# * Commented out - All versions of VS2005 use the same standard install directory +# +#################################################################################### +#################################################################################### +# +# Supported Tool Chain Family +# =========================== +# MSFT - Microsoft +# GCC - GNU GCC +# INTEL - INTEL + +#################################################################################### +# +# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation) +# +#################################################################################### +# VS2003 - Microsoft Visual Studio .NET 2003 +*_VS2003_*_*_FAMILY = MSFT + +################## +# IA32 definitions +################## +*_VS2003_IA32_*_DLL = DEF(VSNET2003_DLL) + +*_VS2003_IA32_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe +*_VS2003_IA32_CC_PATH = DEF(VSNET2003_BIN)\cl.exe +*_VS2003_IA32_VFRPP_PATH = DEF(VSNET2003_BIN)\cl.exe +*_VS2003_IA32_SLINK_PATH = DEF(VSNET2003_BIN)\lib.exe +*_VS2003_IA32_DLINK_PATH = DEF(VSNET2003_BIN)\link.exe +*_VS2003_IA32_ASMLINK_PATH = DEF(VSNET2003_BIN)\link.exe +*_VS2003_IA32_APP_PATH = DEF(VSNET2003_BIN)\cl.exe +*_VS2003_IA32_PP_PATH = DEF(VSNET2003_BIN)\cl.exe +*_VS2003_IA32_ASM_PATH = DEF(VSNET2003_BIN)\ml.exe +*_VS2003_IA32_PCH_PATH = DEF(VSNET2003_BIN)\cl.exe + + *_VS2003_IA32_MAKE_FLAGS = /nologo + *_VS2003_IA32_APP_FLAGS = /nologo /E /TC + *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h + *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h + DEBUG_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm +RELEASE_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 + DEBUG_VS2003_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm +RELEASE_VS2003_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC + DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi +RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 + *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG + DEBUG_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + +#################################################################################### +# +# Microsoft Visual Studio 2005 +# +#################################################################################### +# VS2005PRO - Microsoft Visual Studio 2005 Professional Edition +*_VS2005PRO_*_*_FAMILY = MSFT + +*_VS2005PRO_*_TIANO_PATH = TianoCompress.exe +*_VS2005PRO_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779 + +*_VS2005PRO_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe + + +*_VS2005PRO_*_SLINK_FLAGS = /NOLOGO /LTCG +*_VS2005PRO_*_APP_FLAGS = /nologo /E /TC +*_VS2005PRO_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h +*_VS2005PRO_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h +################## +# IA32 definitions +################## +*_VS2005PRO_IA32_*_DLL = DEF(VS2005PRO_DLL) + +*_VS2005PRO_IA32_MAKE_PATH = DEF(VS2005PRO_BIN)\nmake.exe +*_VS2005PRO_IA32_CC_PATH = DEF(VS2005PRO_BIN)\cl.exe +*_VS2005PRO_IA32_VFRPP_PATH = DEF(VS2005PRO_BIN)\cl.exe +*_VS2005PRO_IA32_SLINK_PATH = DEF(VS2005PRO_BIN)\lib.exe +*_VS2005PRO_IA32_DLINK_PATH = DEF(VS2005PRO_BIN)\link.exe +*_VS2005PRO_IA32_ASMLINK_PATH = DEF(VS2005PRO_BIN)\link.exe +*_VS2005PRO_IA32_APP_PATH = DEF(VS2005PRO_BIN)\cl.exe +*_VS2005PRO_IA32_PP_PATH = DEF(VS2005PRO_BIN)\cl.exe +*_VS2005PRO_IA32_ASM_PATH = DEF(VS2005PRO_BIN)\ml.exe + + *_VS2005PRO_IA32_MAKE_FLAGS = /nologo + DEBUG_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm +RELEASE_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 + DEBUG_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi +RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 + DEBUG_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text +*_VS2005PRO_IA32_ASMLINK_FLAGS = /link /nologo /tiny + +################## +# X64 definitions +################## +*_VS2005PRO_X64_*_DLL = DEF(VS2005PRO_DLL) + +*_VS2005PRO_X64_CC_PATH = DEF(VS2005PRO_BINX64)\cl.exe +*_VS2005PRO_X64_PP_PATH = DEF(VS2005PRO_BINX64)\cl.exe +*_VS2005PRO_X64_APP_PATH = DEF(VS2005PRO_BINX64)\cl.exe +*_VS2005PRO_X64_VFRPP_PATH = DEF(VS2005PRO_BINX64)\cl.exe +*_VS2005PRO_X64_ASM_PATH = DEF(VS2005PRO_BINX64)\ml64.exe +*_VS2005PRO_X64_SLINK_PATH = DEF(VS2005PRO_BINX64)\lib.exe +*_VS2005PRO_X64_DLINK_PATH = DEF(VS2005PRO_BINX64)\link.exe +*_VS2005PRO_X64_ASMLINK_PATH = DEF(VS2005PRO_BINX64)\link.exe + + DEBUG_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GF /Zi /Gm +RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GF + DEBUG_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi +RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd + DEBUG_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + +#################################################################################### +# +# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation) +# +#################################################################################### +# WINDDK3790x1830 - Microsoft Windows DDK 3790.1830 +*_WINDDK3790x1830_*_*_FAMILY = MSFT + +*_WINDDK3790x1830_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h +*_WINDDK3790x1830_*_APP_FLAGS = /nologo /E /TC +*_WINDDK3790x1830_*_SLINK_FLAGS = /nologo /LTCG +*_WINDDK3790x1830_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h + +################## +# ASL definitions +################## +*_WINDDK3790x1830_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe + +################## +# IA32 definitions +################## +*_WINDDK3790x1830_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe +*_WINDDK3790x1830_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe +*_WINDDK3790x1830_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe +*_WINDDK3790x1830_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe +*_WINDDK3790x1830_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe +*_WINDDK3790x1830_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe +*_WINDDK3790x1830_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe +*_WINDDK3790x1830_IA32_PCH_PATH = DEF(WINDDK_BIN32)\cl.exe +*_WINDDK3790x1830_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe + + DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm +RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 + DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm +RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC + DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi +RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 + DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + *_WINDDK3790x1830_IA32_ASMLINK_FLAGS = /link /nologo /tiny + +################## +# x64 definitions +################## +*_WINDDK3790x1830_IA32_CC_PATH = DEF(WINDDK_BINX64)\cl.exe +*_WINDDK3790x1830_IA32_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe +*_WINDDK3790x1830_IA32_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe +*_WINDDK3790x1830_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe +*_WINDDK3790x1830_IA32_PP_PATH = DEF(WINDDK_BINX64)\cl.exe +*_WINDDK3790x1830_IA32_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe +*_WINDDK3790x1830_IA32_APP_PATH = DEF(WINDDK_BINX64)\cl.exe +*_WINDDK3790x1830_IA32_PCH_PATH = DEF(WINDDK_BINX64)\cl.exe +*_WINDDK3790x1830_IA32_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe + + DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /Zi /Gm /EHs-c- /GF +RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GF + DEBUG_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm /EHs-c- /GF +RELEASE_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /EHs-c- /GF + DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi +RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd + DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + +################## +# IPF definitions +################## +*_WINDDK3790x1830_IA32_CC_PATH = DEF(WINDDK_BIN64)\cl.exe +*_WINDDK3790x1830_IA32_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe +*_WINDDK3790x1830_IA32_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe +*_WINDDK3790x1830_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe +*_WINDDK3790x1830_IA32_PP_PATH = DEF(WINDDK_BIN64)\cl.exe +*_WINDDK3790x1830_IA32_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe +*_WINDDK3790x1830_IA32_APP_PATH = DEF(WINDDK_BIN64)\cl.exe +*_WINDDK3790x1830_IA32_PCH_PATH = DEF(WINDDK_BIN64)\cl.exe +*_WINDDK3790x1830_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe + + DEBUG_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h /Zi +RELEASE_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h + DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi +RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC + DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug +RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 + DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG +RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb + +################## +# EBC definitions +################## +*_WINDDK3790x1830_EBC_*_FAMILY = INTEL + +*_WINDDK3790x1830_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe +*_WINDDK3790x1830_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe +*_WINDDK3790x1830_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe +*_WINDDK3790x1830_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe + +*_WINDDK3790x1830_EBC_CC_FLAGS = /nologo /c /W3 /WX /FIAutoGen.h +*_WINDDK3790x1830_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC +*_WINDDK3790x1830_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER + +#################################################################################### +# +# Unix GCC +# +#################################################################################### +# UINIXGCC - UINIX GCC +*_UNIXGCC_*_*_FAMILY = GCC + +*_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(ENTRYPOINT) --file-alignment 0x20 --section-alignment 0x20 +*_UNIXGCC_*_ASM_FLAGS = -c -imacros $(DEST_DIR_DEBUG)/AutoGen.h +*_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h +*_UNIXGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h + +################## +# IA32 definitions +################## +*_UNIXGCC_IA32_CC_PATH = DEF(PEGCC_BIN32)/gcc +*_UNIXGCC_IA32_SLINK_PATH = DEF(PEGCC_BIN32)/ar +*_UNIXGCC_IA32_DLINK_PATH = DEF(PEGCC_BIN32)/ld +*_UNIXGCC_IA32_ASM_PATH = DEF(PEGCC_BIN32)/gcc +*_UNIXGCC_IA32_PP_PATH = DEF(PEGCC_BIN32)/gcc +*_UNIXGCC_IA32_VFRPP_PATH = DEF(PEGCC_BIN32)/cc + +*_UNIXGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h + +################## +# X64 definitions +################## +*_UNIXGCC_X64_CC_PATH = DEF(PEGCC_BINX64)/gcc +*_UNIXGCC_X64_SLINK_PATH = DEF(PEGCC_BINX64)/ar +*_UNIXGCC_X64_DLINK_PATH = DEF(PEGCC_BINX64)/ld +*_UNIXGCC_X64_ASM_PATH = DEF(PEGCC_BINX64)/gcc +*_UNIXGCC_X64_PP_PATH = DEF(PEGCC_BINX64)/gcc +*_UNIXGCC_X64_VFRPP_PATH = DEF(PEGCC_BINX64)/gcc + +*_UNIXGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h -D_EFI_P64 + +#################################################################################### +# +# Cygwin GCC +# +#################################################################################### +# CYGWINGCC - CygWin GCC +*_CYGWINGCC_*_*_FAMILY = GCC + +*_CYGWINGCC_*_*_DPATH = DEF(CYGWIN_BIN) +*_CYGWINGCC_*_ASL_PATH = DEF(ASL_BIN)/iasl.exe +*_CYGWINGCC_*_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe + +*_CYGWINGCC_*_MAKE_FLAGS = /nologo +*_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(ENTRYPOINT) --file-alignment 0x20 --section-alignment 0x20 +*_CYGWINGCC_*_ASM_FLAGS = -c -imacros AutoGen.h +*_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h +*_CYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h + +################## +# IA32 definitions +################## +*_CYGWINGCC_IA32_CC_PATH = DEF(CYGWIN_BIN32)/gcc +*_CYGWINGCC_IA32_SLINK_PATH = DEF(CYGWIN_BIN32)/ar +*_CYGWINGCC_IA32_DLINK_PATH = DEF(CYGWIN_BIN32)/ld +*_CYGWINGCC_IA32_ASM_PATH = DEF(CYGWIN_BIN32)/gcc +*_CYGWINGCC_IA32_PP_PATH = DEF(CYGWIN_BIN32)/gcc +*_CYGWINGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BIN32)/gcc + +*_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h + +################## +# X64 definitions +################## +*_CYGWINGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)/gcc +*_CYGWINGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)/ar +*_CYGWINGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)/ld +*_CYGWINGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)/gcc +*_CYGWINGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)/gcc +*_CYGWINGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)/gcc + +*_CYGWINGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h -D_EFI_P64 + +#################################################################################### +# +# Elf GCC - This configuration is used to compile on Linux boxes to produce elf +# binaries. +# +#################################################################################### +# ELFGCC - Linux ELF GCC +*_ELFGCC_*_*_FAMILY = GCC + +*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc +*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar +*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld +*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc +*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc +*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc + +*_ELFGCC_IA32_CC_FLAGS = -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings +*_ELFGCC_*_DLINK_FLAGS = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(ENTRYPOINT) -u $(ENTRYPOINT) +*_ELFGCC_*_ASM_FLAGS = -m32 -c -imacros $(DEST_DIR_DEBUG)/AutoGen.h +*_ELFGCC_*_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h +*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h + + +#################################################################################### +# +# Intel EFI Byte Code Compiler (Template) +# +#################################################################################### +# *_*_EBC_*_FAMILY = INTEL +# +# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe +# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe +# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe +# +# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC +# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h +# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h +# *_*_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER +# +#################################################################################### +# +# Intel ACPI Source Language Compiler (Template) +# +#################################################################################### +# *_*_*_ASL_FAMILY = INTEL +# +# *_*_*_ASL_PATH = C:\ASL\iasl.exe +# +#################################################################################### +# +# Microsoft ACPI Source Language Compiler (Template) +# +#################################################################################### +# *_*_*_ASL_FAMILY = MSFT +# +# *_*_*_ASL_PATH = C:\ASL\iasl.exe +# + + +#################################################################################### +# +# Intel(R) C++ Compiler Version 9.1 +# +# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032 +# ASL - Intel ACPI Source Language COmpiler +# +#################################################################################### +# ICC - Intel C Compiler V9.1 +*_ICC_*_*_FAMILY = INTEL + +*_ICC_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe +*_ICC_*_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe + +*_ICC_*_MAKE_FLAGS = /nologo +*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h +*_ICC_*_APP_FLAGS = /nologo /E /TC +*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h + +################## +# IA32 definitions +################## +*_ICC_IA32_PCH_PATH = DEF(ICC_BIN32)\icl.exe +*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe +*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe +# xilib.exe needs lib.exe from Visual Studio +*_ICC_IA32_SLINK_DLL = DEF(VSNET2003_BIN) +*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe +*_ICC_IA32_ASMLINK_PATH = DEF(ICC_BIN32)\xilink.exe +*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe +*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe +*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe +*_ICC_IA32_ASM_PATH = DEF(VSNET2003_BIN)\ml.exe +*_ICC_IA32_ASM_DLL = DEF(VSNET2003_DLL) + + DEBUG_ICC_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm +RELEASE_ICC_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Gs8192 + DEBUG_ICC_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Yc /TC /Zi /Gm +RELEASE_ICC_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Yc /TC + DEBUG_ICC_IA32_ASM_FLAGS = /nologo /W3 /WX /c /Zd /W0 /Zi +RELEASE_ICC_IA32_ASM_FLAGS = /nologo /W3 /WX /c /Zd /W0 + *_ICC_IA32_SLINK_FLAGS = /nologo + DEBUG_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + +################## +# X64 definitions +################## +*_ICC_X64_PCH_PATH = DEF(ICC_BINX64)\icl.exe +*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe +*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe +*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe +*_ICC_X64_ASMLINK_PATH = DEF(ICC_BINX64)\xilink.exe +*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe +*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe +*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe +*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe +*_ICC_X64_ASM_DLL = DEF(VSNET2003_DLL) + + DEBUG_ICC_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF +RELEASE_ICC_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF + DEBUG_ICC_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF +RELEASE_ICC_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF + DEBUG_ICC_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi +RELEASE_ICC_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd + DEBUG_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + *_ICC_X64_SLINK_FLAGS = /nologo /LTCG + + +################## +# IPF definitions +################## +*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe +*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe +*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe +*_ICC_IPF_ASMLINK_PATH = DEF(ICC_BIN64)\xilink.exe +*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe +*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe + +*_ICC_IPF_PCH_PATH = DEF(ICC_BIN64)\icl.exe +*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe +*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe + + DEBUG_ICC_IPF_CC_FLAGS = /nologo /W4 /WX /GX /Gy /c /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi +RELEASE_ICC_IPF_CC_FLAGS = /nologo /W4 /WX /GX /Gy /c /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 + DEBUG_ICC_IPF_PCH_FLAGS = /nologo /W4 /WX /GX /Gy /c /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zi +RELEASE_ICC_IPF_PCH_FLAGS = /nologo /W4 /WX /GX /Gy /c /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC + DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32 +RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32 + DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG +RELEASE_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb + *_ICC_IPF_SLINK_FLAGS = /nologo + +#################################################################################### +# +# MYTOOLS +# IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker +# X64 - Microsoft Windows DDK 3790.1830 +# IPF - Microsoft Windows DDK 3790.1830 +# EBC - Intel EFI Byte Code Compiler +# +#################################################################################### +# MYTOOLS - Settings compatible with previous versions of tools_def.template +*_MYTOOLS_*_*_FAMILY = MSFT + +*_MYTOOLS_*_TIANO_PATH = TianoCompress.exe +*_MYTOOLS_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779 + +*_MYTOOLS_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe + +*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h + +################## +# IA32 definitions +################## +*_MYTOOLS_IA32_*_DLL = DEF(VSNET2003_DLL) + +*_MYTOOLS_IA32_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe +*_MYTOOLS_IA32_CC_PATH = DEF(VSNET2003_BIN)\cl.exe +*_MYTOOLS_IA32_SLINK_PATH = DEF(VSNET2003_BIN)\lib.exe +*_MYTOOLS_IA32_DLINK_PATH = DEF(VSNET2003_BIN)\link.exe +*_MYTOOLS_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe +*_MYTOOLS_IA32_PP_PATH = DEF(VSNET2003_BIN)\cl.exe +*_MYTOOLS_IA32_VFRPP_PATH = DEF(VSNET2003_BIN)\cl.exe +*_MYTOOLS_IA32_APP_PATH = DEF(VSNET2003_BIN)\cl.exe +*_MYTOOLS_IA32_ASM_PATH = DEF(VSNET2003_BIN)\ml.exe +*_MYTOOLS_IA32_PCH_PATH = DEF(VSNET2003_BIN)\cl.exe + + *_MYTOOLS_IA32_MAKE_FLAGS = /nologo + *_MYTOOLS_IA32_APP_FLAGS = /nologo /E /TC + *_MYTOOLS_IA32_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h + DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm +RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 + DEBUG_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm +RELEASE_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC + DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi +RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 + *_MYTOOLS_IA32_ASMLINK_FLAGS = /link /nologo /tiny + *_MYTOOLS_IA32_SLINK_FLAGS = /nologo /LTCG + DEBUG_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb +RELEASE_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb + +################## +# x64 definitions +################## +*_MYTOOLS_X64_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe +*_MYTOOLS_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe +*_MYTOOLS_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe +*_MYTOOLS_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe +*_MYTOOLS_X64_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe +*_MYTOOLS_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe +*_MYTOOLS_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe +*_MYTOOLS_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe +*_MYTOOLS_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe +*_MYTOOLS_X64_PCH_PATH = DEF(WINDDK_BINX64)\cl.exe + + *_MYTOOLS_X64_SLINK_FLAGS = /nologo /LTCG + *_MYTOOLS_X64_APP_FLAGS = /nologo /E /TC + *_MYTOOLS_X64_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h + *_MYTOOLS_X64_MAKE_FLAGS = /nologo + DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF +RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF + DEBUG_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF +RELEASE_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF + DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi +RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd + DEBUG_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text + +################## +# IPF definitions +################## +*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe +*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe +*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe +*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe +*_MYTOOLS_IPF_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe +*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe +*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe +*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe +*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe +*_MYTOOLS_IPF_PCH_PATH = DEF(WINDDK_BIN64)\cl.exe + + *_MYTOOLS_IPF_ASM_OUTPUT = "-o " + + *_MYTOOLS_IPF_MAKE_FLAGS = /nologo + *_MYTOOLS_IPF_APP_FLAGS = /nologo /E /TC + *_MYTOOLS_IPF_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h + DEBUG_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Zx +RELEASE_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zx + DEBUG_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Zx +RELEASE_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zx + DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug +RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 + DEBUG_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG +RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb + *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG + +################## +# EBC definitions +################## +*_MYTOOLS_EBC_*_FAMILY = INTEL + +*_MYTOOLS_EBC_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe +*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe +*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe +*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe +*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe + +*_MYTOOLS_EBC_MAKE_FLAGS = /nologo +*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h +*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /W3 /WX /FIAutoGen.h +*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC +*_MYTOOLS_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER +