Reorganize templates to allow different templates
authorjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 16 Oct 2007 20:26:25 +0000 (20:26 +0000)
committerjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 16 Oct 2007 20:26:25 +0000 (20:26 +0000)
in different build environments.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4136 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/BaseTools/ConfTemplates/Darwin/build_rule.txt [new file with mode: 0644]
edk2/BaseTools/ConfTemplates/Darwin/target.txt [new file with mode: 0644]
edk2/BaseTools/ConfTemplates/Darwin/tools_def.txt [new file with mode: 0644]

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