diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-04 22:56:14 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-04 22:56:14 +0000 |
commit | 69c2c2b38df086ed0eb495882f5be00755610d41 (patch) | |
tree | 90a6f94e3e4779d3ccfdbfb9f370bc9a7b7e8926 | |
parent | 43b94c2fd099b20d58bdbdb3a59ffe67beac8a12 (diff) | |
download | edk2-69c2c2b38df086ed0eb495882f5be00755610d41.zip edk2-69c2c2b38df086ed0eb495882f5be00755610d41.tar.gz edk2-69c2c2b38df086ed0eb495882f5be00755610d41.tar.bz2 |
Pull majority of flag settings into tools_def.txt and only leave custom flags for platforms in the FPD files.
Add standard profiles for VS 2003, VS 2005 Professional, DDK 3790.1830, Intel EBC, Intel ASL
Preserve MYTOOLS profile that is compatible with previous versions of this file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1655 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/Conf/tools_def.template | 432 |
1 files changed, 394 insertions, 38 deletions
diff --git a/Tools/Conf/tools_def.template b/Tools/Conf/tools_def.template index aae566f..7bd96f8 100644 --- a/Tools/Conf/tools_def.template +++ b/Tools/Conf/tools_def.template @@ -5,75 +5,431 @@ # 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
+####################################################################################
+#
# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
+#
+####################################################################################
+####################################################################################
+#
+# 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 - UINIX GCC
+# CYGWINGCC - CygWin GCC
+# MYTOOLS - Settings compatible with previous versions of tools_def.template
+#
+####################################################################################
+
+####################################################################################
+#
+# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
+#
+####################################################################################
+
+*_VS2003_IA32_*_FAMILY = MSFT
+
+*_VS2003_IA32_CC_NAME = cl.exe
+*_VS2003_IA32_SLINK_NAME = lib.exe
+*_VS2003_IA32_DLINK_NAME = link.exe
+*_VS2003_IA32_ASMLINK_NAME = link.exe
+*_VS2003_IA32_PP_NAME = cl.exe
+*_VS2003_IA32_ASM_NAME = ml.exe
+*_VS2003_IA32_ASM_EXT = .asm
+
+##################
+# IA32 definitions
+##################
+*_VS2003_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
+*_VS2003_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
-#Default values
-*_MYTOOLS_*_*_FAMILY = MSFT
-*_MYTOOLS_*_ASL_FAMILY = INTEL
+*_VS2003_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+DEBUG_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /D EFI_DEBUG /Zi /Gm
+RELEASE_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
+DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
+RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /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
-*_MYTOOLS_*_CC_NAME = cl.exe
-*_MYTOOLS_*_SLINK_NAME = lib.exe
-*_MYTOOLS_*_DLINK_NAME = link.exe
-*_MYTOOLS_*_ASM_NAME = ml.exe
-*_MYTOOLS_*_ASMLINK_NAME = link.exe
-*_MYTOOLS_*_ASL_NAME = iasl.exe
-*_MYTOOLS_*_PP_NAME = cl.exe
+####################################################################################
+#
+# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
+#
+####################################################################################
+
+*_WINDDK3790x1830_*_*_FAMILY = MSFT
+
+*_WINDDK3790x1830_*_CC_NAME = cl.exe
+*_WINDDK3790x1830_*_SLINK_NAME = lib.exe
+*_WINDDK3790x1830_*_DLINK_NAME = link.exe
+*_WINDDK3790x1830_*_ASMLINK_NAME = link.exe
+*_WINDDK3790x1830_*_PP_NAME = cl.exe
+*_WINDDK3790x1830_*_SLINK_FLAGS = /nologo /LTCG
+
+##################
# IA32 definitions
-*_MYTOOLS_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
-*_MYTOOLS_IA32_ASM_PATH = C:\WINDDK\3790.1830\bin\x86
-*_MYTOOLS_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
-*_MYTOOLS_IA32_ASL_PATH = C:\ASL
-*_MYTOOLS_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
-*_MYTOOLS_IA32_ASM_EXT = .asm
+##################
+*_WINDDK3790x1830_IA32_ASM_NAME = ml.exe
+*_WINDDK3790x1830_IA32_ASM_EXT = .asm
+*_WINDDK3790x1830_IA32_*_PATH = C:\WINDDK\3790.1830\bin\x86
+*_WINDDK3790x1830_IA32_*_DPATH = C:\WINDDK\3790.1830\bin\x86
+*_WINDDK3790x1830_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
+
+*_WINDDK3790x1830_IA32_PP_FLAGS = /nologo /P /E /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /D EFI_DEBUG /Zi /Gm
+RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
+DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
+RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /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
+##################
# x64 definitions
-*_MYTOOLS_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
-*_MYTOOLS_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
-*_MYTOOLS_X64_ASL_PATH = C:\ASL
-*_MYTOOLS_X64_ASM_NAME = ml64.exe
-*_MYTOOLS_X64_ASM_EXT = .asm
+##################
+*_WINDDK3790x1830_X64_ASM_NAME = ml64.exe
+*_WINDDK3790x1830_X64_ASM_EXT = .asm
+*_WINDDK3790x1830_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
+*_WINDDK3790x1830_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
+
+*_WINDDK3790x1830_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /D EFI_DEBUG /Zi /Gm /EHs-c- /GF
+RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
+DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /DDEBUG /Cx /Zd /Zi
+RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /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
-*_MYTOOLS_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
-*_MYTOOLS_IPF_ASM_NAME = ias.exe
-*_MYTOOLS_IPF_ASM_EXT = .s
+##################
+*_WINDDK3790x1830_IPF_ASM_NAME = ias.exe
+*_WINDDK3790x1830_IPF_ASM_EXT = .s
+*_WINDDK3790x1830_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
+*_WINDDK3790x1830_IPF_PP_FLAGS = /nologo /P /TC
+*_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /D EFI64 /O1i /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
+*_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /OPT:REF /IGNORE:4086 /MAP /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
+
+##################
# EBC definitions
-*_MYTOOLS_EBC_*_FAMILY = INTEL
-*_MYTOOLS_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
-*_MYTOOLS_EBC_*_SPATH = C:\Progra~1\Intel\EBC\Lib\EbcLib.lib
-*_MYTOOLS_EBC_CC_NAME = iec.exe
-*_MYTOOLS_EBC_SLINK_NAME = link.exe
-*_MYTOOLS_EBC_PP_NAME = iec.exe
-
-# UNIXGCC definitions
+##################
+*_WINDDK3790x1830_EBC_*_FAMILY = INTEL
+*_WINDDK3790x1830_EBC_PP_NAME = iec.exe
+*_WINDDK3790x1830_EBC_CC_NAME = iec.exe
+*_WINDDK3790x1830_EBC_DLINK_NAME = link.exe
+*_WINDDK3790x1830_EBC_SLINK_NAME = link.exe
+*_WINDDK3790x1830_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
+*_WINDDK3790x1830_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
+
+*_WINDDK3790x1830_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_WINDDK3790x1830_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
+*_WINDDK3790x1830_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
+*_WINDDK3790x1830_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
+
+##################
+# ASL definitions
+##################
+*_WINDDK3790x1830_*_ASL_FAMILY = INTEL
+*_WINDDK3790x1830_*_ASL_NAME = iasl.exe
+*_WINDDK3790x1830_IA32_ASL_PATH = C:\ASL
+*_WINDDK3790x1830_X64_ASL_PATH = C:\ASL
+*_WINDDK3790x1830_IPF_ASL_PATH = C:\ASL
+*_WINDDK3790x1830_EBC_ASL_PATH = C:\ASL
+
+####################################################################################
+#
+# Microsoft Visual Studio 2005 Express Edition (IA-32 Only, with no Link Time Code Generation)
+#
+####################################################################################
+
+####################################################################################
+#
+# Microsoft Visual Studio 2005 Standard Edition (IA-32 Only, with no Link Time Code Generation)
+#
+####################################################################################
+
+####################################################################################
+#
+# Microsoft Visual Studio 2005 Professional Edition (IA-32 and X64 Only, with Link Time Code Generation)
+#
+####################################################################################
+
+*_VS2005PRO_*_*_FAMILY = MSFT
+
+*_VS2005PRO_*_CC_NAME = cl.exe
+*_VS2005PRO_*_SLINK_NAME = lib.exe
+*_VS2005PRO_*_DLINK_NAME = link.exe
+*_VS2005PRO_*_ASMLINK_NAME = link.exe
+*_VS2005PRO_*_PP_NAME = cl.exe
+
+*_VS2005PRO_*_SLINK_FLAGS = /NOLOGO /LTCG
+*_VS2005PRO_*_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+
+##################
+# IA32 definitions
+##################
+*_VS2005PRO_IA32_ASM_NAME = ml.exe
+*_VS2005PRO_IA32_ASM_EXT = .asm
+*_VS2005PRO_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
+*_VS2005PRO_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
+*_VS2005PRO_IA32_ASM_PATH = C:\WINDDK\3790.1830\bin\x86
+*_VS2005PRO_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
+
+DEBUG_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /D EFI_DEBUG /Zi /Gm
+RELEASE_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
+DEBUG_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
+RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /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
+
+##################
+# x64 definitions
+##################
+*_VS2005PRO_X64_ASM_NAME = ml64.exe
+*_VS2005PRO_X64_ASM_EXT = .asm
+*_VS2005PRO_X64_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
+*_VS2005PRO_X64_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\VC\bin\x86_amd64
+*_VS2005PRO_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
+
+DEBUG_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /D EFI_DEBUG /Zi /Gm
+RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
+DEBUG_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /DDEBUG /Cx /Zd /Zi
+RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /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
+
+##################
+# EBC definitions
+##################
+*_VS2005PRO_EBC_*_FAMILY = INTEL
+*_VS2005PRO_EBC_PP_NAME = iec.exe
+*_VS2005PRO_EBC_CC_NAME = iec.exe
+*_VS2005PRO_EBC_DLINK_NAME = link.exe
+*_VS2005PRO_EBC_SLINK_NAME = link.exe
+*_VS2005PRO_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
+*_VS2005PRO_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
+
+*_VS2005PRO_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_VS2005PRO_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
+*_VS2005PRO_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
+*_VS2005PRO_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
+
+##################
+# ASL definitions
+##################
+*_VS2005PRO_*_ASL_FAMILY = INTEL
+*_VS2005PRO_*_ASL_NAME = iasl.exe
+*_VS2005PRO_IA32_ASL_PATH = C:\ASL
+*_VS2005PRO_X64_ASL_PATH = C:\ASL
+*_VS2005PRO_IPF_ASL_PATH = C:\ASL
+*_VS2005PRO_EBC_ASL_PATH = C:\ASL
+
+####################################################################################
+#
+# Microsoft Visual Studio 2005 Team Suite Edition (IA-32, X64, and Itanium, with Link Time Code Generation)
+#
+####################################################################################
+
+####################################################################################
+#
+# UNIX GCC
+#
+####################################################################################
+
*_UNIXGCC_IA32_*_FAMILY = GCC
+
*_UNIXGCC_IA32_CC_NAME = gcc
*_UNIXGCC_IA32_SLINK_NAME = ar
*_UNIXGCC_IA32_DLINK_NAME = ld
*_UNIXGCC_IA32_ASM_NAME = gcc
*_UNIXGCC_IA32_PP_NAME = gcc
-# UNIXGCC, IA32
-*_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
*_UNIXGCC_IA32_ASM_EXT = .S
+*_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
+
+####################################################################################
+#
+# CygWin GCC
+#
+####################################################################################
-# CYGWINGCC definitions
*_CYGWINGCC_IA32_*_FAMILY = GCC
+
*_CYGWINGCC_IA32_CC_NAME = gcc
*_CYGWINGCC_IA32_SLINK_NAME = ar
*_CYGWINGCC_IA32_DLINK_NAME = ld
*_CYGWINGCC_IA32_ASM_NAME = gcc
*_CYGWINGCC_IA32_PP_NAME = gcc
-# CYGWINGCC, IA32
-*_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
+*_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
+*_CYGWINGCC_IA32_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
+*_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
+
*_CYGWINGCC_IA32_ASM_EXT = .S
+*_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
+
+####################################################################################
+#
+# Intel EFI Byte Code Compiler (Template)
+#
+####################################################################################
+
+*_*_EBC_*_FAMILY = INTEL
+*_*_EBC_PP_NAME = iec.exe
+*_*_EBC_CC_NAME = iec.exe
+*_*_EBC_SLINK_NAME = link.exe
+*_*_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
+*_*_EBC_*_SPATH = C:\Program Files\Intel\EBC\Lib\EbcLib.lib
+
+*_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
+*_*_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_*_EBC_DLINK_FLAGS = /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
+
+####################################################################################
+#
+# Intel ACPI Source Language Compiler (Template)
+#
+####################################################################################
+
+*_*_*_ASL_FAMILY = INTEL
+*_*_*_ASL_NAME = iasl.exe
+*_*_IA32_ASL_PATH = C:\ASL
+*_*_X64_ASL_PATH = C:\ASL
+*_*_IPF_ASL_PATH = C:\ASL
+*_*_EBC_ASL_PATH = C:\ASL
+
+####################################################################################
+#
+# Microsoft ACPI Source Language Compiler (Template)
+#
+####################################################################################
+
+
+
+
+####################################################################################
+#
+# 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
+# ASL - Intel ACPI Source Language COmpiler
+#
+####################################################################################
+
+##################
+# IA32 definitions
+##################
+*_MYTOOLS_IA32_*_FAMILY = MSFT
+
+*_MYTOOLS_IA32_CC_NAME = cl.exe
+*_MYTOOLS_IA32_SLINK_NAME = lib.exe
+*_MYTOOLS_IA32_DLINK_NAME = link.exe
+*_MYTOOLS_IA32_ASMLINK_NAME = link.exe
+*_MYTOOLS_IA32_PP_NAME = cl.exe
+*_MYTOOLS_IA32_ASM_NAME = ml.exe
+*_MYTOOLS_IA32_ASM_EXT = .asm
+
+*_MYTOOLS_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
+*_MYTOOLS_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
+*_MYTOOLS_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
+
+*_MYTOOLS_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /D EFI_DEBUG /Zi /Gm
+RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
+DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
+RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0
+*_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
+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
+
+##################
+# x64 definitions
+##################
+*_MYTOOLS_X64_*_FAMILY = MSFT
+
+*_MYTOOLS_X64_CC_NAME = cl.exe
+*_MYTOOLS_X64_SLINK_NAME = lib.exe
+*_MYTOOLS_X64_DLINK_NAME = link.exe
+*_MYTOOLS_X64_ASMLINK_NAME = link.exe
+*_MYTOOLS_X64_PP_NAME = cl.exe
+
+*_MYTOOLS_X64_SLINK_FLAGS = /nologo /LTCG
+
+*_MYTOOLS_X64_ASM_NAME = ml64.exe
+*_MYTOOLS_X64_ASM_EXT = .asm
+*_MYTOOLS_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
+*_MYTOOLS_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
+
+*_MYTOOLS_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /D EFI_DEBUG /Zi /Gm /EHs-c- /GF
+RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
+DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /DDEBUG /Cx /Zd /Zi
+RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /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_*_FAMILY = MSFT
+
+*_MYTOOLS_IPF_PP_NAME = cl.exe
+*_MYTOOLS_IPF_CC_NAME = cl.exe
+*_MYTOOLS_IPF_SLINK_NAME = lib.exe
+*_MYTOOLS_IPF_DLINK_NAME = link.exe
+
+*_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
+
+*_MYTOOLS_IPF_ASM_NAME = ias.exe
+*_MYTOOLS_IPF_ASM_EXT = .s
+*_MYTOOLS_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
+
+*_MYTOOLS_IPF_PP_FLAGS = /nologo /P /TC
+*_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /D EFI64 /O1i /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
+*_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /OPT:REF /IGNORE:4086 /MAP /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
+
+##################
+# EBC definitions
+##################
+*_MYTOOLS_EBC_*_FAMILY = INTEL
+*_MYTOOLS_EBC_PP_NAME = iec.exe
+*_MYTOOLS_EBC_CC_NAME = iec.exe
+*_MYTOOLS_EBC_DLINK_NAME = link.exe
+*_MYTOOLS_EBC_SLINK_NAME = link.exe
+*_MYTOOLS_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
+*_MYTOOLS_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
+
+*_MYTOOLS_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
+*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
+*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
+*_MYTOOLS_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
+
+##################
+# ASL definitions
+##################
+*_MYTOOLS_*_ASL_FAMILY = INTEL
+*_MYTOOLS_*_ASL_NAME = iasl.exe
+*_MYTOOLS_IA32_ASL_PATH = C:\ASL
+*_MYTOOLS_X64_ASL_PATH = C:\ASL
+*_MYTOOLS_IPF_ASL_PATH = C:\ASL
+*_MYTOOLS_EBC_ASL_PATH = C:\ASL
|