Check in the tools executables for
authorlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 17 Jul 2009 07:37:25 +0000 (07:37 +0000)
committerlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 17 Jul 2009 07:37:25 +0000 (07:37 +0000)
Microsoft Windows 32-bit Operating Systems compiled by VS2005 and Python25

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1658 7335b38e-4728-0410-8992-fb3ffe349368

45 files changed:
Bin/Win32/BootSectImage.exe [new file with mode: 0644]
Bin/Win32/Common.PyUtility.pyd [new file with mode: 0644]
Bin/Win32/EfiCompressor.pyd [new file with mode: 0644]
Bin/Win32/EfiLdrImage.exe [new file with mode: 0644]
Bin/Win32/EfiRom.exe [new file with mode: 0644]
Bin/Win32/Fpd2Dsc.exe [new file with mode: 0644]
Bin/Win32/GenBootSector.exe [new file with mode: 0644]
Bin/Win32/GenCrc32.exe [new file with mode: 0644]
Bin/Win32/GenDepex.exe [new file with mode: 0644]
Bin/Win32/GenFds.exe [new file with mode: 0644]
Bin/Win32/GenFfs.exe [new file with mode: 0644]
Bin/Win32/GenFv.exe [new file with mode: 0644]
Bin/Win32/GenFw.exe [new file with mode: 0644]
Bin/Win32/GenPage.exe [new file with mode: 0644]
Bin/Win32/GenSec.exe [new file with mode: 0644]
Bin/Win32/GenVtf.exe [new file with mode: 0644]
Bin/Win32/ImportTool.bat [new file with mode: 0644]
Bin/Win32/LzmaCompress.exe [new file with mode: 0644]
Bin/Win32/MigrationMsa2Inf.exe [new file with mode: 0644]
Bin/Win32/Spd2Dec.exe [new file with mode: 0644]
Bin/Win32/Split.exe [new file with mode: 0644]
Bin/Win32/TargetTool.exe [new file with mode: 0644]
Bin/Win32/TianoCompress.exe [new file with mode: 0644]
Bin/Win32/Trim.exe [new file with mode: 0644]
Bin/Win32/VfrCompile.exe [new file with mode: 0644]
Bin/Win32/VolInfo.exe [new file with mode: 0644]
Bin/Win32/_hashlib.pyd [new file with mode: 0644]
Bin/Win32/_socket.pyd [new file with mode: 0644]
Bin/Win32/_sqlite3.pyd [new file with mode: 0644]
Bin/Win32/_ssl.pyd [new file with mode: 0644]
Bin/Win32/build.exe [new file with mode: 0644]
Bin/Win32/pyexpat.pyd [new file with mode: 0644]
Bin/Win32/python25.dll [new file with mode: 0644]
Bin/Win32/select.pyd [new file with mode: 0644]
Bin/Win32/sqlite3.dll [new file with mode: 0644]
BuildEnv [new file with mode: 0644]
ChangeLog.txt
Conf/FrameworkDatabase.template [new file with mode: 0644]
Conf/ReadMe.txt [new file with mode: 0644]
Conf/build_rule.template [new file with mode: 0644]
Conf/target.template [new file with mode: 0644]
Conf/tools_def.template [new file with mode: 0644]
README.txt
building-gcc.txt [new file with mode: 0644]
toolsetup.bat

diff --git a/Bin/Win32/BootSectImage.exe b/Bin/Win32/BootSectImage.exe
new file mode 100644 (file)
index 0000000..c74c74f
Binary files /dev/null and b/Bin/Win32/BootSectImage.exe differ
diff --git a/Bin/Win32/Common.PyUtility.pyd b/Bin/Win32/Common.PyUtility.pyd
new file mode 100644 (file)
index 0000000..5bb57d9
Binary files /dev/null and b/Bin/Win32/Common.PyUtility.pyd differ
diff --git a/Bin/Win32/EfiCompressor.pyd b/Bin/Win32/EfiCompressor.pyd
new file mode 100644 (file)
index 0000000..e0d0ae6
Binary files /dev/null and b/Bin/Win32/EfiCompressor.pyd differ
diff --git a/Bin/Win32/EfiLdrImage.exe b/Bin/Win32/EfiLdrImage.exe
new file mode 100644 (file)
index 0000000..bbe798f
Binary files /dev/null and b/Bin/Win32/EfiLdrImage.exe differ
diff --git a/Bin/Win32/EfiRom.exe b/Bin/Win32/EfiRom.exe
new file mode 100644 (file)
index 0000000..9c1a10a
Binary files /dev/null and b/Bin/Win32/EfiRom.exe differ
diff --git a/Bin/Win32/Fpd2Dsc.exe b/Bin/Win32/Fpd2Dsc.exe
new file mode 100644 (file)
index 0000000..8511b2a
Binary files /dev/null and b/Bin/Win32/Fpd2Dsc.exe differ
diff --git a/Bin/Win32/GenBootSector.exe b/Bin/Win32/GenBootSector.exe
new file mode 100644 (file)
index 0000000..45bb33f
Binary files /dev/null and b/Bin/Win32/GenBootSector.exe differ
diff --git a/Bin/Win32/GenCrc32.exe b/Bin/Win32/GenCrc32.exe
new file mode 100644 (file)
index 0000000..57f3097
Binary files /dev/null and b/Bin/Win32/GenCrc32.exe differ
diff --git a/Bin/Win32/GenDepex.exe b/Bin/Win32/GenDepex.exe
new file mode 100644 (file)
index 0000000..a99f87a
Binary files /dev/null and b/Bin/Win32/GenDepex.exe differ
diff --git a/Bin/Win32/GenFds.exe b/Bin/Win32/GenFds.exe
new file mode 100644 (file)
index 0000000..a2c19c0
Binary files /dev/null and b/Bin/Win32/GenFds.exe differ
diff --git a/Bin/Win32/GenFfs.exe b/Bin/Win32/GenFfs.exe
new file mode 100644 (file)
index 0000000..08425d1
Binary files /dev/null and b/Bin/Win32/GenFfs.exe differ
diff --git a/Bin/Win32/GenFv.exe b/Bin/Win32/GenFv.exe
new file mode 100644 (file)
index 0000000..659131f
Binary files /dev/null and b/Bin/Win32/GenFv.exe differ
diff --git a/Bin/Win32/GenFw.exe b/Bin/Win32/GenFw.exe
new file mode 100644 (file)
index 0000000..89c282b
Binary files /dev/null and b/Bin/Win32/GenFw.exe differ
diff --git a/Bin/Win32/GenPage.exe b/Bin/Win32/GenPage.exe
new file mode 100644 (file)
index 0000000..72aa9f0
Binary files /dev/null and b/Bin/Win32/GenPage.exe differ
diff --git a/Bin/Win32/GenSec.exe b/Bin/Win32/GenSec.exe
new file mode 100644 (file)
index 0000000..43e4092
Binary files /dev/null and b/Bin/Win32/GenSec.exe differ
diff --git a/Bin/Win32/GenVtf.exe b/Bin/Win32/GenVtf.exe
new file mode 100644 (file)
index 0000000..90c532f
Binary files /dev/null and b/Bin/Win32/GenVtf.exe differ
diff --git a/Bin/Win32/ImportTool.bat b/Bin/Win32/ImportTool.bat
new file mode 100644 (file)
index 0000000..e0b9d1b
--- /dev/null
@@ -0,0 +1,53 @@
+@REM
+@REM Copyright (c) 2008, Intel Corporation
+@REM All rights reserved. This program and the accompanying materials
+@REM are licensed and made available under the terms and conditions of the BSD License
+@REM which accompanies this distribution.  The full text of the license may be found at
+@REM http://opensource.org/licenses/bsd-license.php
+@REM
+@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+@REM
+
+@echo off
+@if /I "%1"=="-h" goto Usage
+@if /I "%1"=="-help" goto Usage
+@if /I "%1"=="--help" goto Usage
+@if /I "%1"=="/h" goto Usage
+@if /I "%1"=="/help" goto Usage
+@if /I "%1"=="/?" goto Usage
+
+set IMPORT_TOOL=%~dp0Trim.exe
+if NOT exist %IMPORT_TOOL% (
+  echo.
+  echo !!! Trim.exe was not found. Please make sure that it is in the same directory as this script!
+  echo.
+  goto End
+)
+
+if '%*'=='' (
+  set FILE_LIST=*.c
+) else (
+  set FILE_LIST=%*
+)
+
+for /r %%i in (%FILE_LIST%) do (
+  echo Converting ... %%i
+  %IMPORT_TOOL% -8 -o %%i %%i
+)
+goto End
+
+:Usage
+  echo.
+  echo  Usage: "%0 [-h | -help | --help | /h | /help | /?] [files]"
+  echo.
+  echo         files          File list or file pattern with wildcard, like "*.c *.h",
+  echo                        seperated by space. If not specified, defaul to *.c.
+echo.
+
+:End
+set FILE_LIST=
+set IMPORT_TOOL=
+
+@echo on
+
diff --git a/Bin/Win32/LzmaCompress.exe b/Bin/Win32/LzmaCompress.exe
new file mode 100644 (file)
index 0000000..802e9d8
Binary files /dev/null and b/Bin/Win32/LzmaCompress.exe differ
diff --git a/Bin/Win32/MigrationMsa2Inf.exe b/Bin/Win32/MigrationMsa2Inf.exe
new file mode 100644 (file)
index 0000000..b89eb88
Binary files /dev/null and b/Bin/Win32/MigrationMsa2Inf.exe differ
diff --git a/Bin/Win32/Spd2Dec.exe b/Bin/Win32/Spd2Dec.exe
new file mode 100644 (file)
index 0000000..859bd15
Binary files /dev/null and b/Bin/Win32/Spd2Dec.exe differ
diff --git a/Bin/Win32/Split.exe b/Bin/Win32/Split.exe
new file mode 100644 (file)
index 0000000..b6d5433
Binary files /dev/null and b/Bin/Win32/Split.exe differ
diff --git a/Bin/Win32/TargetTool.exe b/Bin/Win32/TargetTool.exe
new file mode 100644 (file)
index 0000000..749a458
Binary files /dev/null and b/Bin/Win32/TargetTool.exe differ
diff --git a/Bin/Win32/TianoCompress.exe b/Bin/Win32/TianoCompress.exe
new file mode 100644 (file)
index 0000000..d90144b
Binary files /dev/null and b/Bin/Win32/TianoCompress.exe differ
diff --git a/Bin/Win32/Trim.exe b/Bin/Win32/Trim.exe
new file mode 100644 (file)
index 0000000..39699ee
Binary files /dev/null and b/Bin/Win32/Trim.exe differ
diff --git a/Bin/Win32/VfrCompile.exe b/Bin/Win32/VfrCompile.exe
new file mode 100644 (file)
index 0000000..93c0830
Binary files /dev/null and b/Bin/Win32/VfrCompile.exe differ
diff --git a/Bin/Win32/VolInfo.exe b/Bin/Win32/VolInfo.exe
new file mode 100644 (file)
index 0000000..f8ecefe
Binary files /dev/null and b/Bin/Win32/VolInfo.exe differ
diff --git a/Bin/Win32/_hashlib.pyd b/Bin/Win32/_hashlib.pyd
new file mode 100644 (file)
index 0000000..8023eac
Binary files /dev/null and b/Bin/Win32/_hashlib.pyd differ
diff --git a/Bin/Win32/_socket.pyd b/Bin/Win32/_socket.pyd
new file mode 100644 (file)
index 0000000..1255c1b
Binary files /dev/null and b/Bin/Win32/_socket.pyd differ
diff --git a/Bin/Win32/_sqlite3.pyd b/Bin/Win32/_sqlite3.pyd
new file mode 100644 (file)
index 0000000..ad05f52
Binary files /dev/null and b/Bin/Win32/_sqlite3.pyd differ
diff --git a/Bin/Win32/_ssl.pyd b/Bin/Win32/_ssl.pyd
new file mode 100644 (file)
index 0000000..4c1d3b4
Binary files /dev/null and b/Bin/Win32/_ssl.pyd differ
diff --git a/Bin/Win32/build.exe b/Bin/Win32/build.exe
new file mode 100644 (file)
index 0000000..fe9245d
Binary files /dev/null and b/Bin/Win32/build.exe differ
diff --git a/Bin/Win32/pyexpat.pyd b/Bin/Win32/pyexpat.pyd
new file mode 100644 (file)
index 0000000..7b93757
Binary files /dev/null and b/Bin/Win32/pyexpat.pyd differ
diff --git a/Bin/Win32/python25.dll b/Bin/Win32/python25.dll
new file mode 100644 (file)
index 0000000..3e971ee
Binary files /dev/null and b/Bin/Win32/python25.dll differ
diff --git a/Bin/Win32/select.pyd b/Bin/Win32/select.pyd
new file mode 100644 (file)
index 0000000..7babc50
Binary files /dev/null and b/Bin/Win32/select.pyd differ
diff --git a/Bin/Win32/sqlite3.dll b/Bin/Win32/sqlite3.dll
new file mode 100644 (file)
index 0000000..c99ef99
Binary files /dev/null and b/Bin/Win32/sqlite3.dll differ
diff --git a/BuildEnv b/BuildEnv
new file mode 100644 (file)
index 0000000..83e12d7
--- /dev/null
+++ b/BuildEnv
@@ -0,0 +1,261 @@
+#
+# 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.
+
+#
+# Setup the environment for unix-like systems running a bash-like shell.
+# This file must be "sourced" not merely executed. For example: ". edksetup.sh"
+#
+
+SetWorkspace() {
+
+  #
+  # If WORKSPACE is already set, then we can return right now
+  #
+  if [ -n "$WORKSPACE" ]
+  then
+    return 0
+  fi
+
+  if [ ! ${BASH_SOURCE[0]} -ef ./BaseTools/BuildEnv ]
+  then
+    echo Run this script from the base of your tree.  For example:
+    echo "  cd /Path/To/Edk/Root"
+    echo "  . BaseTools/BuildEnv"
+    return -1
+  fi
+
+  #
+  # Set $WORKSPACE
+  #
+  export WORKSPACE=`pwd`
+
+  return 0
+
+}
+
+RestorePreviousConfiguration() {
+  #
+  # Restore previous configuration
+  #
+  PREVIOUS_CONF_FILE=Conf/BuildEnv.sh
+  if [ -e $PREVIOUS_CONF_FILE ]
+  then
+    echo Loading previous configuration from \$WORKSPACE/$PREVIOUS_CONF_FILE
+    . $WORKSPACE/$PREVIOUS_CONF_FILE
+  fi
+}
+
+GenerateShellCodeToSetVariable() {
+  VARIABLE=$1
+  OUTPUT_FILE=$2
+  VAR_VALUE="echo \${${VARIABLE}}"
+  VAR_VALUE=`eval $VAR_VALUE`
+  echo "if [ -z \"\$${VARIABLE}\" ]"             >> $OUTPUT_FILE
+  echo "then"                                    >> $OUTPUT_FILE
+  echo "  export ${VARIABLE}=${VAR_VALUE}"       >> $OUTPUT_FILE
+  echo "fi"                                      >> $OUTPUT_FILE
+}
+
+GenerateShellCodeToUpdatePath() {
+  OUTPUT_FILE=$1
+  echo "if [ -e $EDK_TOOLS_PATH_BIN ]"                        >> $OUTPUT_FILE
+  echo "then"                                                 >> $OUTPUT_FILE
+  echo "  if [ "\${PATH/$EDK_TOOLS_PATH_BIN/}" == "\$PATH" ]" >> $OUTPUT_FILE
+  echo "  then"                                               >> $OUTPUT_FILE
+  echo "    export PATH=$EDK_TOOLS_PATH_BIN:\$PATH"           >> $OUTPUT_FILE
+  echo "  fi"                                                 >> $OUTPUT_FILE
+  echo "fi"                                                   >> $OUTPUT_FILE
+}
+
+StoreCurrentConfiguration() {
+  #
+  # Write configuration to a shell script to allow for configuration to be
+  # easily reloaded.
+  #
+  OUTPUT_FILE=Conf/BuildEnv.sh
+  #echo Storing current configuration into \$WORKSPACE/$OUTPUT_FILE
+  OUTPUT_FILE=$WORKSPACE/$OUTPUT_FILE
+  echo "# Auto-generated by ${BASH_SOURCE[0]}" > $OUTPUT_FILE
+  GenerateShellCodeToSetVariable WORKSPACE $OUTPUT_FILE
+  GenerateShellCodeToSetVariable EDK_TOOLS_PATH $OUTPUT_FILE
+  GenerateShellCodeToUpdatePath $OUTPUT_FILE
+}
+
+SetEdkToolsPath() {
+
+  #
+  # If EDK_TOOLS_PATH is already set, then we can return right now
+  #
+  if [ -n "$EDK_TOOLS_PATH" ]
+  then
+    return 0
+  fi
+
+  #
+  # Figure out a uniq directory name from the uname command
+  #
+  UNAME_DIRNAME=`uname -sm`
+  UNAME_DIRNAME=${UNAME_DIRNAME// /-}
+  UNAME_DIRNAME=${UNAME_DIRNAME//\//-}
+
+  #
+  # Try $WORKSPACE/Conf/EdkTools
+  #
+  if [ -e $WORKSPACE/Conf/EdkTools ]
+  then
+    export EDK_TOOLS_PATH=$WORKSPACE/Conf/EdkTools
+    return 0
+  fi
+
+  #
+  # Try $WORKSPACE/Conf/BaseToolsSource
+  #
+  if [ -e $WORKSPACE/Conf/BaseToolsSource ]
+  then
+    export EDK_TOOLS_PATH=$WORKSPACE/Conf/BaseToolsSource
+    return 0
+  fi
+
+  #
+  # Try $WORKSPACE/BaseTools/Bin/$UNAME_DIRNAME
+  #
+  if [ -e $WORKSPACE/BaseTools/Bin/$UNAME_DIRNAME ]
+  then
+    export EDK_TOOLS_PATH=$WORKSPACE/BaseTools
+    return 0
+  fi
+
+  echo "Unable to determine EDK_TOOLS_PATH"
+  echo
+  echo "You may need to download the 'BaseTools' from buildtools.tianocore.org."
+  echo "After downloading, either create a symbolic link to the source at"
+  echo "\$WORKSPACE/Conf/BaseToolsSource, or set the EDK_TOOLS_PATH environment"
+  echo "variable."
+
+}
+
+GetBaseToolsBinSubDir() {
+  #
+  # Figure out a uniq directory name from the uname command
+  #
+  UNAME_DIRNAME=`uname -sm`
+  UNAME_DIRNAME=${UNAME_DIRNAME// /-}
+  UNAME_DIRNAME=${UNAME_DIRNAME//\//-}
+  echo $UNAME_DIRNAME
+}
+
+GetEdkToolsPathBinDirectory() {
+  #
+  # Figure out a uniq directory name from the uname command
+  #
+  BIN_SUB_DIR=`GetBaseToolsBinSubDir`
+
+  if [ -e $EDK_TOOLS_PATH/BinWrappers/$BIN_SUB_DIR ]
+  then
+    EDK_TOOLS_PATH_BIN=$EDK_TOOLS_PATH/BinWrappers/$BIN_SUB_DIR
+  else
+    EDK_TOOLS_PATH_BIN=$EDK_TOOLS_PATH/Bin/$BIN_SUB_DIR
+  fi
+
+  echo $EDK_TOOLS_PATH_BIN
+}
+
+AddEdkToolsToPath() {
+
+  #
+  # If EDK_TOOLS_PATH is not set, then we cannot update PATH
+  #
+  if [ -z "$EDK_TOOLS_PATH" ]
+  then
+    return -1
+  fi
+
+  EDK_TOOLS_PATH_BIN=`GetEdkToolsPathBinDirectory`
+
+  if [ ! -e $EDK_TOOLS_PATH_BIN ]
+  then
+    echo "Unable to find expected bin path under \$EDK_TOOLS_PATH!"
+    echo "> $EDK_TOOLS_PATH_BIN"
+    return -1
+  fi
+
+  if [ "${PATH/$EDK_TOOLS_PATH_BIN/}" == "$PATH" ]
+  then
+    export PATH=$EDK_TOOLS_PATH_BIN:$PATH
+    return 0
+  fi
+
+}
+
+CopySingleTemplateFile() {
+
+  SRC_FILENAME=BaseTools/Conf/$1.template
+  DST_FILENAME=Conf/$1.txt
+
+  if [ -e $WORKSPACE/$DST_FILENAME ]
+  then
+    return
+  fi
+
+  echo "Copying \$WORKSPACE/$SRC_FILENAME"
+  echo "     to \$WORKSPACE/$DST_FILENAME"
+  SRC_FILENAME=$WORKSPACE/$SRC_FILENAME
+  DST_FILENAME=$WORKSPACE/$DST_FILENAME
+  cp $SRC_FILENAME $DST_FILENAME
+
+}
+
+CopyTemplateFiles() {
+
+  CopySingleTemplateFile build_rule
+  CopySingleTemplateFile FrameworkDatabase
+  CopySingleTemplateFile tools_def
+  CopySingleTemplateFile target
+
+}
+
+ScriptMain() {
+
+  SetWorkspace
+  if [ -z $WORKSPACE ]
+  then
+    echo "Failure setting WORKSPACE"
+    return -1
+  fi
+
+  RestorePreviousConfiguration
+
+  SetEdkToolsPath
+  if [ -z $EDK_TOOLS_PATH ]
+  then
+    return -1
+  fi
+
+  AddEdkToolsToPath
+  if [ $? -ne 0 ]
+  then
+    echo "Failure adding EDK Tools into PATH!"
+    return -1
+  fi
+
+  StoreCurrentConfiguration
+
+  echo WORKSPACE: $WORKSPACE
+  echo EDK_TOOLS_PATH: $EDK_TOOLS_PATH
+
+  CopyTemplateFiles
+
+}
+
+#
+# Run the main function
+#
+ScriptMain
+
index ee77b67..c1ac97e 100755 (executable)
@@ -36,9 +36,702 @@ EDK_0000: Compatible: owner
         1) BaseTools\Bin\Win32\build.exe\r
 \r
 !!!!!!!!!!!!!!!!!!                     End of Notes                     !!!!!!!!!!!!!!!!!!\r
+\r
+##########################################################################################\r
+\r
 ##########################################################################################\r
+##########       Revision number of tools source code                           ##########\r
+    BaseTools/Bin/Win32/build.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Autogen\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/build\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Common\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/CommonDataClass\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/GenFds\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Workspace\r
+\r
+    BaseTools/Bin/Win32/GenFds.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Common\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/CommonDataClass\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/GenFds\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Workspace\r
+\r
+    BaseTools/Bin/Win32/GenDepex.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/AutoGen\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Common\r
+\r
+    BaseTools/Bin/Win32/Trim.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Trim\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Common\r
+\r
+    BaseTools/Bin/Win32/MigrationMsa2Inf.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/MigrationMsa2Inf\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Common\r
+\r
+    BaseTools/Bin/Win32/TargetTool.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/TargetTool\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/Common\r
+\r
+    BaseTools/Bin/Win32/Spd2Dec.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/spd2dec\r
+\r
+    BaseTools/Bin/Win32/Fpd2Dsc.exe\r
+        r1655 https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/Source/Python/fpd2dsc\r
+\r
+==========================================================================================\r
+                       Binary Tool checkin log\r
+==========================================================================================\r
+EDK_7529: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain family\r
+        2) Force file name case check in Windows\r
+        3) Consolidate file/path operations\r
+        4) Support binary file type in build_rule.txt\r
+        5) Generate $(FILE_TYPES) macro only when it's used in build_rule.txt\r
+        6) Use build_rule.txt to solve customized build for USER_DEFINED module\r
+        7) Re-design TemplateString to make it faster\r
+        8) Improve performance of Trim tool\r
+        9) Fix undefined variables issue\r
+        10) Fix HSD202142 and HSD202144\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+        3) /trunk/edk2/BaseTools/Bin/Win32/Trim.exe\r
+        4) /trunk/edk2/BaseTools/Conf/build_rule.template\r
+\r
+        Possible Impacts:\r
+        1) To build Nt32Pkg.dsc correctly, the local version build_rule.txt must\r
+           updated with the change in new build_rule.template.\r
+        2) The case of file path must be the same as in file system, or the build\r
+           will break.\r
+\r
+EDK_7159: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Re-fine and fully test the mechanism of getting over the long command\r
+           line limitation\r
+        2) Change the -s option of build from "SpawnMode" to be "SilentMode"\r
+        3) Change the prototype of PeiCoreEntryPoint in AutoGen-ed code\r
+        4) Remove CalcDeps module since it's no longer needed.\r
+        5) Remove "-k", "-g" and "-l" switches from build\r
+        6) Remove MULTIPLE_THREAD in target.template. Use MAX_CONCURRENT_THREAD_NUMBER\r
+           to get the same functionality.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+\r
+        Possible Impacts:\r
+        1) The local version build_rule.txt must be updated with changes in build_rule.template\r
+        2) Use "build -s" to pass "-s" switch to "make" tool to do silent "make".\r
+           To suppress all message from stdout, use "build -q" instead.\r
+        3) To get over the long command line limitation, use "@$(<FILE_TYPE>S_LIST)"\r
+           in the place of ${src} for those commands encountering such kind of\r
+           problem.\r
+\r
+EDK_7009: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Search value of Guid/Protocol/PPI in inf file only in the same category in dec file.\r
+        2) Pass all files in a module's directory to StrGather for R8 modules.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+        Possible Impacts:\r
+        1) Those inf files in which the PPI/Protocol/Guid are put in incorrect\r
+           section will encounter build break.\r
+\r
+==========================================================================================\r
+EDK_6930: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Separate the AutoGen code for PCDs between module and its library instances.\r
+           Only macros for module's PCDs will be put in AutoGen.h. Others will be put\r
+           in AutoGen.c. This is intended to catch missed PCDs in inf file more easily.\r
+        2) For better compatibile between C standards or C compiler, add type cast for\r
+           PCD constants in AutoGen.h according to the PCD datum type.\r
+        3) Add incremental generation capability for FV in GenFds tool.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+\r
+        Possible Impacts:\r
+        1) If there're PCDs used in a module but not declared in the module's inf file,\r
+           and occasionally they are declared in the library instances, there must be\r
+           a build break. Adding necessary PCDs declarations in the module's inf file\r
+           will solve it.\r
+\r
+==========================================================================================\r
+EDK_6828: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Add a feature to allow override tools option via "==" in metafile.\r
+        2) Remove the AutoGen.c generation for R8 module without unicode file.\r
+\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_6772: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Add /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT) in EBC_CC_FLAGS to ensure\r
+           correct R8's module entry point for EBC arch.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Conf/tools_def.template\r
+\r
+        Possible Impacts:\r
+           The local version of tools_def.txt must be updated with the change in\r
+           tools_def.template.\r
+\r
+==========================================================================================\r
+EDK_6762: Non-Compatible: lgao4\r
+\r
+      Class_BuildTool:\r
+        1) Declare entry point, constructor into AutoGen.h\r
+        2) Create <ModuleName>StrDefs.h to contain uni code string ID.\r
+\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+        2) /trunk/edk2/BaseTools/Conf/tools_def.template\r
+\r
+        Possible Impacts:\r
+           The local version of tools_def.txt must be updated with change in\r
+           tools_def.tempalte.\r
+\r
+==========================================================================================\r
+EDK_6671: Compatible: qwang12\r
+\r
+      Class_BuildTool:\r
+        1) StrGather (Build.exe) in compatible mode add a Framework Package Header\r
+           to replace the original ¡°ArrayLength¡± generated in the output.\r
+        2) VfrCompiler in compatible mode add a Framework Package Header to replace\r
+           the original ¡°ArrayLength¡± generated in the output.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/VfrCompile.exe\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+\r
+==========================================================================================\r
+EDK_6666: Compatible: lgao4\r
+\r
+      Class_BuildTool:\r
+        1) Enhance GenFv WriteFvMap function to print basic debug information\r
+           (entrypoint, baseaddress, .text, .data section base address)  when no\r
+           map can be referred.\r
+        2) Enhance GenFv tool to create the non PI file system firmware volume.\r
+        3) Update VfrComile\r
+           - Set the first framework var store name to ¡°Setup¡±\r
+           - Support DEFAULT and MANUFACTURING for framework CheckBox flags value\r
+\r
+        Code Change :\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenFv.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/VfrCompile.exe\r
+\r
+==========================================================================================\r
+EDK_6640: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Change file line format of AutoGen files to native style.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_6613: Non-Compatible: qwang12\r
+\r
+      Class_BuildTool:\r
+        1) Generate data for ConfigAccess.ExtractConfig() impl\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/VfrCompile.exe\r
+\r
+==========================================================================================\r
+EDK_6490: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Add ImportTool.bat script\r
+        2) Add more error check for Trim.exe\r
+\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/ImportTool.bat\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/Trim.exe\r
+\r
+==========================================================================================\r
+EDK_6452: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Allow the flags of tools not defined tools_def.txt\r
+        2) Add BUILD as internal tool to pass compatible mode of unicode to build tool.\r
+        3) Add support of [Depex.common.<ModuleType>] in inf file\r
+        4) Add more optimization, especially for architecture protocols, in GeDepex tool\r
+        5) Fix the generation of _gPeimRevision and _gDxeRevision global variables in\r
+           AutoGen.c according to new MdePkg spec.\r
+        6) Change the header file of DxeSmmeEntryPoint.h to UefiDriverEntryPoint.h\r
+           in AutoGen.c since it's no longer exist.\r
+        7) Fix $(PROCESSOR) macro replacement issue in [nmake] section\r
+\r
+        Code Change :\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenDepex.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_6289: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Performance improvement on startup of build.exe\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_6269: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Bug fixes\r
+        2) Improve the screen output when in quiet build mode\r
+        3) Add "tbuild" target in makefile in order to not created directories in\r
+           makefile. Instead, they will be created in build tool. This will give\r
+           better build performance, especially in incremental build.\r
+        4) Add space check in WORKSPACE and OUTPUT_DIRECTORY (in dsc file) directory\r
+           name and give error message if found.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_5762: Compatible: jlin16\r
+\r
+      Class_BuildTool:\r
+        1) Enhance the tool to build R8 module via ECP.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_5635: Compatible: lgao4\r
+\r
+      Class_BuildTool:\r
+        1) Enhance GenFv tool to print Fv Size and Length, and Get module map by\r
+           module pdb pointer and get module guid by module FFS guid.\r
+        2) And Enhance VfrCompiler to handle framework vfr file, and print more\r
+           debug information into .lst file.\r
+\r
+        Code Change :\r
+        1) /trunk/edk2/BaseTools/Bin/Win32/GenFv.exe\r
+        2) /trunk/edk2/BaseTools/Bin/Win32/VfrCompile.exe\r
+\r
+==========================================================================================\r
+EDK_5634: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Enhance the format of build_rule.txt to allow module type and arch information.\r
+        2) Enhance Trim to convert ASL style of include to C style of include\r
+        3) Enhance Trim to convert some EDK coding convention to EDK2 ECP convention\r
+        4) Add warning message when encountering unrecognized content in DSC/DEC/INF File\r
+        5) Enhance the GenDepex to ignore everything outside DEPENDENCY_STANT and DEPENDENCY_END in dxs file\r
+\r
+        Code Change :\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenDepex.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/Trim.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+           /trunk/edk2/BaseTools/Conf/build_rule.template\r
+           /trunk/edk2/BaseTools/Conf/tools_def.template\r
+\r
+        Possible Impacts:\r
+           The local version tools_def.txt and build_rule.txt must be updated with\r
+           the changes in tools_def.template and build_rule.template respectively.\r
+\r
+==========================================================================================\r
+EDK_5193: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Add incremental support in GenFds\r
+\r
+        Code Change :\r
+          /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+          /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_5186: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Add explicit banner for pass/fail indication of build\r
+        2) Fix the issue which cause error message from FDF parser won't be printed out.\r
+        3) Fix the error message format of FDF parser\r
+        4) Change the exit code of build tool from always 1 to error code, if error occurred\r
+\r
+        Code Change :\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenFds.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_4971: Compatible: lgao4\r
+\r
+      Class_BuildTool:\r
+        1) Enhance GenFw tool to always zero .pdata section for PE32 and PE32+ image in\r
+           order to improve compression ratio for them.\r
+\r
+        Code Change :\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenFw.exe\r
+\r
+==========================================================================================\r
+EDK_4918: Compatible: lgao4\r
+\r
+      Class_BuildTool:\r
+        1) Correct Error Message format for these C tools according to the Tool Design Spec.\r
+\r
+        Code Change :\r
+           /trunk/edk2/BaseTools/Bin/Win32/EfiLdrImage.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/GenFv.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/TianoCompress.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/VfrCompile.exe\r
+           /trunk/edk2/BaseTools/Bin/Win32/VolInfo.exe\r
+\r
+==========================================================================================\r
+EDK_4859: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Changed VfrCompile.exe to be UEFI HII compatible\r
+        2) Improved R8 module build\r
+        3) Added binary file build\r
+        4) Removed "extern int __make_me_compile_correctly" in AutoGen code for\r
+           R9 modules, but kept for R8 modules\r
+        5) Enfored more error check and introduced a optimization for GenDepex\r
+        6) Added BUILD_RULE_CONF in target.txt to specify build rules file\r
+        7) Rebuilt all Python tools with Python2.5.2\r
+\r
+        Code Change :\r
+        1) build.exe\r
+        2) VfrCompile.exe\r
+        3) GenFds.exe\r
+        4) GenDepex.exe\r
+        5) target.template\r
+\r
+\r
+        Possible Impacts:\r
+        1) All EFI code needs to be UEFI HII compatible.\r
+        2) Conf/target.txt needs to be replaced by new target.template\r
+\r
+==========================================================================================\r
+EDK_4251: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still use WINDKK.\r
+        2) Re-generated build.exe and GenFds.exe to incorporate new changes of build tools\r
+        3) Enabled multi-thread build mode by default (can be disabled by using "-n 0" option or changing\r
+           MULTIPLE_THREAD in target.txt to Disabled)\r
+        4) Fixed an incorrect command (no leading tab/space) generated in top level Makefile.\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/GenFds.exe\r
+        2) BaseTools/Bin/Win32/build.exe\r
+        3) BaseTools/Conf/target.template\r
+        4) BaseTools/Conf/tools_def.template\r
+\r
+        Possible Impacts:\r
+        1) Install Visual Studio 2005 Team Suite Edition.\r
+\r
+==========================================================================================\r
+EDK_4190: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Added support of using PCD default value from DEC/INF file if one\r
+           PCD is declared in INF file but not found in DSC file.\r
+        2) Added support of breaking build if no library instance is found for\r
+           a library class.\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+        2) BaseTools/Bin/Win32/GenFds.exe\r
+\r
+        Possible Impacts:\r
+        1) All packages/platforms/modules, which have wrong library classes\r
+           declared or have no library instance for some library classes, must be\r
+           changed to make sure each library class declared in INF file has\r
+           corresponding library instance.\r
+\r
+==========================================================================================\r
+EDK_4096: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Removed the calling of vsvars32.bat in edksetup.bat, unless\r
+           "--nt32" switch is used.\r
+        2) Added MAKE command in tools_def.txt. This is used to locate where\r
+           the nmake.exe or make.exe is because it will not be in PATH any more.\r
+        3) Removed the calling of vsvars32.bat in toolsetup.bat.\r
+        4) Solved the hang issue of build.exe when error occurred or Ctrl+C is\r
+           pressed.\r
+        5) Passed "-v/-d/-q" command line option to GenFds.exe in makefile if\r
+           it's used by build.exe.\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+        2) BaseTools/Bin/Win32/GenFds.exe\r
+        3) BaseTools/Conf/tools_def.template\r
+        4) BaseTools/toolsetup.bat\r
+        5) edksetup.bat\r
+\r
+        Possible Impacts:\r
+        1) Nt32Pkg build needs to run vsvars32.bat before edksetup.bat or run\r
+           edksetup.bat with "--nt32" option, like\r
+\r
+           edksetup.bat --nt32 newbuild\r
+\r
+        2) $(WORKSPACE)/Conf/tools_def.txt must be deleted before running\r
+           edksetup.bat because of new tools_def.template. Otherwise the\r
+           build.exe cannot find the nmake.exe to call.\r
+\r
+==========================================================================================\r
+EDK_3947: Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Improved spawn mode (multi-thread) build performance (build -s)\r
+        2) Changed the error/debug/warning message format\r
+        3) Added "--log" command line option to support storing log in file\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+\r
+\r
+==========================================================================================\r
+EDK_3936: Compatible: klu2\r
+\r
+      Class_BuildTool:\r
+        1) The first parameter of PEIM's entry point in autogen.c has been changed to\r
+           EFI_PEI_FILE_HANDLE\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+\r
+==========================================================================================\r
+EDK_3926: Compatible: jlin16\r
+\r
+      Class_BuildTool:\r
+        1) Added support of Capsule generation from FDF file.\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+        2) BaseTools/Bin/Win32/GenFds.exe\r
+\r
+        Possible Impacts:\r
+        1) To generate capsule, insert [Capsule] section after [FV] sections and specifying\r
+        what FV will be put into capsule, For example:\r
+        [Capsule.Fob]\r
+        CAPSULE_GUID = 3B6686BD-0D76-4030-B70E-B5519E2FC5A0\r
+        CAPSULE_FLAG = PersistAcrossReset\r
+        FV = BiosUpdate\r
 \r
 ==========================================================================================\r
+EDK_3911: Compatible: jlin16\r
+\r
+      Class_BuildTool:\r
+        1) Added support of Apriori file generation from FDF file.\r
+        2) Added support of INF that describes binary files to put binary into FV.\r
+        3) Fixed single FV/FD generation error when specifying -i/-r option in GenFds.\r
+\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+        2) BaseTools/Bin/Win32/GenFds.exe\r
+\r
+        Possible Impacts:\r
+        1) To generate Apriori file in FV, insert APRIORI statement just before the INF or\r
+        FILE statement list of the FV, For example:\r
+        APRIORI PEI {\r
+          INF  MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
+          FILE PEIM = B7A5041A-78BA-49e3-B73B-54C757811FB6 {\r
+                  SECTION PE32 = MyBinPkg\bin\ia32\PeimAfterPcd.efi\r
+          }\r
+          INF  IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf\r
+        }\r
+        2) To add binary file described by INF file into FV, only insert the INF statement\r
+        into the INF statements list of that FV, like this:\r
+\r
+        INF RuleOverride=Test MdeModulePkg/Logo/Logo.inf\r
+\r
+        Specifying how to process the binary file by defining corresponding Rule like this:\r
+        [Rule.Common.Base.Test]\r
+         FILE FREEFORM = $(NAMED_GUID) {\r
+           COMPRESS PI_STD {\r
+             GUIDED {\r
+                RAW BIN |.bmp\r
+             }\r
+           }\r
+         }\r
+\r
+==========================================================================================\r
+EDK_3832: Non-Compatible: jwang36\r
+\r
+      Class_BuildTool:\r
+        1) Added support of MACRO in tools_def.txt\r
+        2) Merged PATH and NAME attributes in tools_def.txt\r
+        3) Changed DPATH attribute to DLL in tools_def.txt\r
+        4) Removed SPATH attribute in tools_def.txt\r
+        5) Added support for library instance without library class\r
+        6) Fixed the issue in Trim tool which zero file will be generated if the trimmed\r
+           file has not line directive\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+        2) BaseTools/Bin/Win32/GenFds.exe\r
+        3) BaseTools/Bin/Win32/Trim.exe\r
+        4) BaseTools/Conf/tools_def.template\r
+\r
+        Possible Impacts:\r
+        1) All platforms and modules build\r
+\r
+==========================================================================================\r
+EDK_3801: Compatible: jwang36\r
+\r
+      Class_BuildConfiguration: Added makefile as dependency for "Dynamic-Library-File" to\r
+        solve the incremental build issue occurred when there's library changes\r
+\r
+        Code Change :\r
+        1) BaseTools/Conf/build_rule.template\r
+\r
+==========================================================================================\r
+EDK_3800: Compatible: lgao4\r
+\r
+      Class_BuildTool: Update EfiRom tool to fix checksum and PCI3.0 data structure\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/EfiRom.exe\r
+\r
+==========================================================================================\r
+EDK_3795: Compatible: htao\r
+\r
+      Class_BuildTool: GenVtf tool open/write file with "r+b"/"w+b" attribute, but this cause\r
+                       the RO attribute of the file changed. Fix this issue by changing\r
+                       "r+b"/"w+b" to "rb"/"wb".\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/GenVtf.exe\r
+\r
+==========================================================================================\r
+EDK_3791: Compatible: jlin16\r
+\r
+      Class_BuildTool:\r
+        1) use '#' to indicate flash generation progress.\r
+        2) use -v to switch on detail output messages.\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/GenFds.exe\r
+\r
+==========================================================================================\r
+EDK_3789: Non-Compatible: lgao4\r
+\r
+      Class_BuildTool: support new Rules format and PCD format defined in FDF file\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+        2) BaseTools/Bin/Win32/GenFds.exe\r
+\r
+        Possible Impacts:\r
+        1) All platform's FDF file, if any, must be changed to new format.\r
+          a) PCD format is changed from old PcdName to new PcdTokenSpaceGuid.PcdName,\r
+             for example PcdWinNtFdBaseAddress in old FDF file will be replaced\r
+             by gEfiNt32PkgTokenSpaceGuid.PcdWinNtFdBaseAddres.\r
+          b) Rule format adds binary file type and file postfix name support,\r
+             and doesn't require the full file path. Examples for Peim and AcpiTable module:\r
+          Old Peim Rule:\r
+          [Rule.Common.PEIM]\r
+          FILE PEIM = $(NAMED_GUID) {\r
+             PEI_DEPEX Optional        $(INF_OUTPUT)/$(MODULE_NAME).Depex\r
+             PE32                      $(INF_OUTPUT)/$(MODULE_NAME).efi\r
+             UI Optional               $(MODULE_NAME)\r
+             VERSION Optional          BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+          }\r
+          New Peim Rule:\r
+          [Rule.Common.PEIM]\r
+            FILE PEIM = $(NAMED_GUID) {\r
+               PEI_DEPEX PEI_DEPEX Optional        |.Depex\r
+               PE32      PE32                      |.efi\r
+               UI       STRING="$(MODULE_NAME)" Optional\r
+               VERSION  STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
+            }\r
+\r
+          Old AcpiTable Rule:\r
+          [Rule.Common.DXE_DRIVER.ACPITABLE]\r
+            FILE FREEFORM = $(NAMED_GUID) {\r
+              RAW                    $(INF_OUTPUT)/Madt.acpi\r
+              RAW                    $(INF_OUTPUT)/Fadt.acpi\r
+              RAW                    $(INF_OUTPUT)/Facs.acpi\r
+              RAW                    $(INF_OUTPUT)/Spcr.acpi\r
+              RAW                    $(INF_OUTPUT)/Dsdt.aml\r
+            }\r
+          New AcpiTable Rule:\r
+          [Rule.Common.DXE_DRIVER.ACPITABLE]\r
+            FILE FREEFORM = $(NAMED_GUID) {\r
+              RAW ACPI |.acpi\r
+              RAW ASL  |.aml\r
+            }\r
+\r
+==========================================================================================\r
+EDK_3786: Compatible: vjeff\r
+\r
+      Class_BuildConfiguration:\r
+        1) Redirect ICC_IA32_*_PATH from C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\r
+           to C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin.\r
+        2) Add ICC X64 definition to enable ICC X64 build.\r
+\r
+        Code Change :\r
+        1) BaseTools/Conf/tools_def.template\r
+\r
+==========================================================================================\r
+EDK_3785: Non-Compatible: klu2\r
+\r
+      Class_BuildTool: Upgrade the format of EFI_PEIM_ENTRY_POINT to\r
+                       EFI_PEIM_ENTRY_POINT2 according to PI specification.\r
+\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/build.exe\r
+\r
+        Possible Impacts:\r
+        1) All modules build\r
+\r
+\r
+==========================================================================================\r
+EDK_3780: Non-Compatible: qhuang8\r
+\r
+      Class_MigrationTool: Update the syntax of PCD section.\r
+                           Update the syntax of binary INF file\r
+                           The generated Extended INF file should follow Extended INF spec 0.44\r
+\r
+        Code Change :\r
+        1) BaseTools/Bin/Win32/MigrationMsa2Inf.exe\r
+\r
+        Possible Impacts:\r
+        1) New module migrated from old R9\r
+\r
+\r
+==========================================================================================\r
+EDK_3766: Non-Compatible: lgao4\r
+\r
+      Class_BuildConfiguration: Update Acpi Asl file Build rule to remove trim step.\r
+\r
+        Code Change :\r
+        1) Conf/build_rule.template\r
+\r
+        Possible Impacts:\r
+        1) Platform with ACPI module. Acpi module needs to set /EP preprocessor compiler option\r
+        for APP_FLAGS in module inf to override the default /E option defined in tools_def.txt file.\r
+\r
+==========================================================================================\r
+                    Source tool checkin log.\r
+==========================================================================================\r
 basetools_1400: Non-Compatible: jwang36\r
 \r
       Class_BuildTool:\r
@@ -608,4 +1301,3 @@ basetools_938: Compatible: hche10x
         2) /trunk/BaseTools/Source/Python/AutoGen/UniClassObject.py\r
         3) /trunk/BaseTools/Source/Python/Ecc/Database.py\r
         4) /trunk/BaseTools/Source/Python/Ecc/Table.py\r
-\r
diff --git a/Conf/FrameworkDatabase.template b/Conf/FrameworkDatabase.template
new file mode 100644 (file)
index 0000000..eb9bdbc
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<FrameworkDatabase xmlns="http://www.TianoCore.org/2006/Edk2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+  <FdbHeader>\r
+    <DatabaseName>FrameworkDatabase</DatabaseName>\r
+    <GuidValue>DD6913E0-3E4E-4B83-8838-57EE7FB71DD1</GuidValue>\r
+    <Version>0.3</Version>\r
+    <Abstract>The Framework Module Development Packaging System Database</Abstract>\r
+    <Description>\r
+      This Database tracks all packages and archives installed in this workspace.\r
+    </Description>\r
+    <Copyright>Copyright (c) 2007 - 2009,  Intel Corporation    All rights reserved.</Copyright>\r
+    <License>\r
+      This program and the accompanying materials are licensed and made available\r
+      under the terms and conditions of the BSD License which accompanies this\r
+      distribution.  The full text of the license may be found at:\r
+        http://opensource.org/licenses/bsd-license.php\r
+      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
+      WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+    </License>\r
+    <Specification>FRAMEWORK_PACKAGING_SPECIFICATION 0x00090000</Specification>\r
+  </FdbHeader>\r
+  <PackageList>\r
+    <Filename>MdePkg/MdePkg.dec</Filename>\r
+    <Filename>MdeModulePkg/MdeModulePkg.dec</Filename>\r
+    <Filename>IntelFrameworkPkg/IntelFrameworkPkg.dec</Filename>\r
+    <Filename>IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec</Filename>\r
+  </PackageList>\r
+</FrameworkDatabase>\r
diff --git a/Conf/ReadMe.txt b/Conf/ReadMe.txt
new file mode 100644 (file)
index 0000000..0e5e39d
--- /dev/null
@@ -0,0 +1,9 @@
+This directory contains the template files for the next generation of the\r
+EDK II Build infrastructure.  These files will be copied into the WORKSPACE's\r
+Conf directory if and only if the target files do not exist.\r
+\r
+These files may be updated frequently.\r
+\r
+The XMLSchema directory contains the EDK II Packaging XML definitions.  The\r
+schema may change in the future.  It differs somewhat from the early versions\r
+of the XML Schema.
\ No newline at end of file
diff --git a/Conf/build_rule.template b/Conf/build_rule.template
new file mode 100644 (file)
index 0000000..e961674
--- /dev/null
@@ -0,0 +1,393 @@
+#\r
+#  Copyright (c) 2007-2009, 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
+# "[" <File-Type>[.<Build-Type>][.<Arch>][, <File-Type>[.<Build-Type>][.<Arch>]] "]" <EOL>\r
+#   <InputFile[.<ToolChainFamily>]> <EOL>\r
+#       (?|*).<File-Extension> [(\n|,) (?|*).<File-Extension>]\r
+#\r
+#   <OutputFile[.<ToolChainFamily>]> <EOL>\r
+#       <FileFullPath>\r
+#\r
+#   <ExtraDependency>\r
+#       <FileFullPath>\r
+#\r
+#   <Command[.<ToolChainFamily>]> <EOL>\r
+#       <Command1>\r
+#       [<Command2>]\r
+#\r
+# <Build-Type> is the MODULE_TYPE in EDK2 or COMPONENT_TYPE  in EDK.\r
+# Missing <InputFile> will cause an exception and break build.\r
+# Missing <Command> will cause that related build target won't be generated but\r
+#   won't break build.\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
+#   $(INC_LIST)         A file containing search pathes 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_TYPES>)     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_FILES macro.)\r
+#   $(<FILE_TYPES_LIST>) Macro point to a file containing list of files of a file type\r
+#                       (\r
+#                        Note: The macro and file name are derived from file type name.\r
+#                        For example, C-Code-File will have C_CODE_FILES_LIST macro pointing\r
+#                        to $(OUTPUT_DIR)/c_code_files.lst. The list file and macro name\r
+#                        will be generated only when this macro is used in command line.\r
+#                        This is intended to get over the long command line limitation.\r
+#                       )\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
+# Don'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
+[C-Code-File]\r
+    <InputFile>\r
+        ?.c\r
+        ?.C\r
+        ?.cc\r
+        ?.CC\r
+        ?.cpp\r
+        ?.Cpp\r
+        ?.CPP\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\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
+        "$(SYMRENAME)" $(SYMRENAME_FLAGS) ${dst}\r
+\r
+[C-Header-File]\r
+    <InputFile>\r
+        *.h, *.H\r
+\r
+    <OutputFile>\r
+\r
+    <Command>\r
+\r
+\r
+[Assembly-Code-File.COMMON.COMMON]\r
+    <InputFile.MSFT, InputFile.INTEL>\r
+        ?.asm, ?.Asm, ?.ASM\r
+\r
+    <InputFile.GCC>\r
+        ?.S, ?.s\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\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) /I${s_path} $(INC) ${d_path}(+)${s_base}.iii\r
+\r
+    <Command.GCC>\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) $(INC) ${d_path}(+)${s_base}.iii\r
+\r
+[Assembly-Code-File.COMMON.IPF]\r
+    <InputFile>\r
+        ?.s\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\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
+[Visual-Form-Representation-File]\r
+    <InputFile>\r
+        ?.vfr\r
+        ?.Vfr\r
+        ?.VFR\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <OutputFile>\r
+        $(DEBUG_DIR)(+)${s_dir}(+)${s_base}.c\r
+\r
+    <Command>\r
+        -$(MD) $(OUTPUT_DIR)(+)${s_dir} > NUL 2>&1\r
+        "$(VFRPP)" $(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
+        -$(MD) ${d_path} > NUL 2>&1\r
+        "$(VFR)" $(VFR_FLAGS) --output-directory ${d_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii\r
+\r
+[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} @$(OBJECT_FILES_LIST)\r
+\r
+    <Command.GCC>\r
+        "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) @"$(OBJECT_FILES_LIST)"\r
+\r
+[Static-Library-File]\r
+    <InputFile>\r
+        *.lib\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <OutputFile>\r
+        $(DEBUG_DIR)(+)$(MODULE_NAME).dll\r
+\r
+    <Command.MSFT, Command.INTEL>\r
+        "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST)\r
+\r
+    <Command.GCC>\r
+        "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) @"$(STATIC_LIBRARY_FILES_LIST)" -\) $(DLINK2_FLAGS)\r
+        "$(OBJCOPY)" $(OBJCOPY_FLAGS) ${dst}\r
+\r
+[Static-Library-File.USER_DEFINED]\r
+    <InputFile>\r
+        *.lib\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <OutputFile>\r
+        $(DEBUG_DIR)(+)$(MODULE_NAME)\r
+\r
+    <Command.MSFT, Command.INTEL>\r
+        "$(DLINK)" $(DLINK_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST)\r
+\r
+    <Command.GCC>\r
+        "$(DLINK)" $(DLINK_FLAGS) -\( $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST) -\) $(DLINK2_FLAGS)\r
+\r
+[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
+[Dependency-Expression-File]\r
+    <InputFile>\r
+        ?.dxs, ?.Dxs, ?.DXS\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)$(MODULE_NAME).depex\r
+\r
+    <Command>\r
+        "$(PP)" $(CC_FLAGS) $(APP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i\r
+        Trim --source-code -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i\r
+        GenDepex -t $(MODULE_TYPE) -o ${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii\r
+\r
+[Acpi-Source-Language-File]\r
+    <InputFile>\r
+        ?.asl, ?.Asl, ?.ASL\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.aml\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <Command.MSFT, Command.INTEL>\r
+        Trim --asl-file -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i ${src}\r
+        "$(ASLPP)" $(ASLPP_FLAGS) $(INC) /I${s_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii\r
+        "$(ASL)" $(ASL_FLAGS) $(ASL_OUTFLAGS)${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii\r
+\r
+    <Command.GCC>\r
+        Trim --asl-file -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i ${src}\r
+        "$(ASLPP)" $(ASLPP_FLAGS) $(INC) -I${s_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii\r
+        "$(ASL)" $(ASL_FLAGS) $(ASL_OUTFLAGS)${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii\r
+\r
+[C-Code-File.AcpiTable]\r
+    <InputFile>\r
+        ?.c\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <Command.MSFT, Command.INTEL>\r
+        "$(ASLCC)" /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(INC) ${src}\r
+        "$(ASLDLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj\r
+        GenFw -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll\r
+\r
+    <Command.GCC>\r
+        "$(ASLCC)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(INC) ${src}\r
+        "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj\r
+        GenFw -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll\r
+\r
+[Acpi-Table-Code-File]\r
+    <InputFile>\r
+        ?.aslc, ?.act\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <Command.MSFT, Command.INTEL>\r
+        "$(ASLCC)" /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(INC) ${src}\r
+        "$(ASLDLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj\r
+        GenFw -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll\r
+\r
+    <Command.GCC>\r
+        "$(ASLCC)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(INC) ${src}\r
+        "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj\r
+        GenFw -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll\r
+\r
+[Masm16-Code-File]\r
+    <InputFile>\r
+        ?.asm16, ?.Asm16, ?.ASM16\r
+\r
+    <ExtraDependency>\r
+        $(MAKE_FILE)\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)${s_base}.com\r
+\r
+    <Command.MSFT, Command.INTEL>\r
+        cd $(OUTPUT_DIR)(+)${s_dir}\r
+        "$(ASM)" /nologo /c /omf /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj ${src}\r
+        "$(ASMLINK)" $(ASMLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj,${dst},,,,\r
+\r
+[Microcode-File]\r
+    <InputFile>\r
+        ?.txt, ?.TXT, ?.Txt, ?.mut\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)${s_base}.mcb\r
+\r
+    <Command>\r
+        GenFw -o ${dst} -m ${src}\r
+\r
+[Microcode-Binary-File]\r
+    <InputFile>\r
+        *.mcb\r
+\r
+    <OutputFile>\r
+        $(OUTPUT_DIR)(+)$(MODULE_NAME).bin\r
+\r
+    <Command>\r
+        GenFw -o ${dst} -j $(MICROCODE_BINARY_FILES)\r
+        -$(CP) ${dst} $(BIN_DIR)\r
+\r
+[EFI-Image-File]\r
+    <InputFile>\r
+        ?.efi, ?.Efi, ?.EFI\r
+\r
+    <OutputFile>\r
+\r
+    <Command>\r
+\r
+[Unicode-Text-File]\r
+    <InputFile>\r
+        *.uni, *.Uni, *.UNI\r
+\r
+    <OutputFile>\r
+        $(DEBUG_DIR)(+)AutoGen.c\r
+        $(DEBUG_DIR)(+)$(MODULE_NAME)StrDefs.h\r
+\r
+    <Command>\r
+\r
+[Efi-Image.UEFI_OPTIONROM]\r
+    <InputFile>\r
+        ?.efi, ?.EFI, ?.Efi\r
+\r
+    <OutputFile>\r
+        $(BIN_DIR)(+)$(MODULE_NAME).rom\r
+\r
+    <Command>\r
+        $(OPTROM) -i $(PCI_DEVICE_ID) -f $(PCI_VENDOR_ID) -l $(PCI_CLASS_CODE) -r $(PCI_REVISION) -o $dst $(OPTROM_FLAGS) $src\r
+\r
diff --git a/Conf/target.template b/Conf/target.template
new file mode 100644 (file)
index 0000000..75eba36
--- /dev/null
@@ -0,0 +1,74 @@
+#\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 description file that will be used for the\r
+#                                               build. This line is required if and only if the current\r
+#                                               working directory does not contain one or more description\r
+#                                               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 platform description file \r
+#                                               will attempt to be built. The following line will build all\r
+#                                               platform 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 platform description file, \r
+#                                               restricting the build output target(s.)\r
+#                                               The Build Target ARCH is determined by a logical AND of:\r
+#                                               platform BuildOptions: <SupportedArchitectures> tag\r
+#                                               If not specified, then all valid architectures specified\r
+#                                               in the platform 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
+# MAX_CONCURRENT_THREAD_NUMBER  NUMBER  Optional  The number of concurrent threads. Recommend to set this\r
+#                                                 value to one more than the number of your compurter\r
+#                                                 cores or CPUs. Less than 2 means disable multithread build.\r
+MAX_CONCURRENT_THREAD_NUMBER = 1\r
+\r
+# MULTIPLE_THREAD        BOOLEAN  Optional    If "Enable", multi-thread is enable for bulding.\r
+#                                             If "Disable", multi-thread is disable for building.\r
+MULTIPLE_THREAD       = Disable\r
+\r
+# Build rules definition\r
+#\r
+#\r
+BUILD_RULE_CONF = Conf/build_rule.txt\r
+\r
diff --git a/Conf/tools_def.template b/Conf/tools_def.template
new file mode 100644 (file)
index 0000000..808c98c
--- /dev/null
@@ -0,0 +1,2073 @@
+#\r
+#  Copyright (c) 2006-2009, 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 VS2003_BIN       = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\r
+DEFINE VS2003_DLL       = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\r
+\r
+DEFINE VS2005_BIN       = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
+DEFINE VS2005_DLL       = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\r
+DEFINE VS2005_BINX64    = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64\r
+DEFINE VS2005_BIN64     = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64\r
+\r
+DEFINE VS2005x86_BIN    = C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\bin\r
+DEFINE VS2005x86_DLL    = C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\r
+DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64\r
+DEFINE VS2005x86_BIN64  = DEF(VS2005x86_BIN)\x86_ia64\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
+# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler \r
+#        tool chains for the linker and nmake commands.\r
+#        This configuration assumes a Windows 2003 Server DDK installation.\r
+DEFINE ICC_VERSION      = 9.1\r
+#DEFINE ICC_VERSION     = 10.1.021\r
+DEFINE ICC_BIN32        = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
+DEFINE ICC_ASM32        = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
+DEFINE ICC_BIN32x86     = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
+DEFINE ICC_ASM32x86     = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
+\r
+DEFINE ICC_BINX64       = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
+DEFINE ICC_ASMX64       = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
+DEFINE ICC_BINX64x86    = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
+DEFINE ICC_ASMX64x86    = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
+\r
+DEFINE ICC_BIN64        = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin\r
+DEFINE ICC_BIN64x86     = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin\r
+\r
+DEFINE EBC_BIN          = C:\Program Files\Intel\EBC\Bin\r
+DEFINE EBC_BINx86       = C:\Program Files (x86)\Intel\EBC\Bin\r
+\r
+DEFINE ELFGCC_BIN       = /usr/bin\r
+\r
+#\r
+# Option 1: Hard coded full path to compiler suite\r
+DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
+DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
+DEFINE UNIXGCC_IPF_PETOOLS_PREFIX  = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin\r
+#\r
+# Option 2: Use an environment variable\r
+#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)\r
+#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(X64_PETOOLS_PREFIX)\r
+#\r
+# Option 3: Install the compiler suite into your default paths\r
+#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-\r
+#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = x86_64-pc-mingw32-\r
+#\r
+# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory\r
+# Links needed: gcc, ar & ld\r
+#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32\r
+#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64\r
+#\r
+# Option 5: Install programs under user's home directory\r
+#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-\r
+#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-\r
+#\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
+DEFINE CYGWIN_BINIPF           = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-\r
+\r
+DEFINE UNIX_IASL_BIN           = ~/programs/iasl\r
+DEFINE WIN_ASL_BIN_DIR         = C:\ASL\r
+DEFINE WIN_IASL_BIN            = DEF(WIN_ASL_BIN_DIR)\iasl.exe\r
+DEFINE WIN_ASL_BIN             = DEF(WIN_ASL_BIN_DIR)\asl.exe\r
+\r
+DEFINE IASL_OUTFLAGS           = -p\r
+DEFINE MS_ASL_OUTFLAGS         = /Fo=\r
+\r
+DEFINE MSFT_ASLPP_FLAGS        = /nologo /EP /C\r
+DEFINE MSFT_ASLCC_FLAGS        = /GL- /Y- /TC /Dmain=ReferenceAcpiTable\r
+DEFINE MSFT_ASLDLINK_FLAGS     = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE\r
+\r
+DEFINE ICC_WIN_ASLPP_FLAGS     = /nologo /EP /C\r
+DEFINE ICC_WIN_ASLCC_FLAGS     = /Y- /TC /WX- /Od /Dmain=ReferenceAcpiTable\r
+DEFINE ICC_WIN_ASLDLINK_FLAGS  = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc\r
+\r
+\r
+####################################################################################\r
+#\r
+# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>\r
+# priority:\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                 - win32 - Microsoft Visual Studio .NET 2003, Intel EBC, Intel ASL\r
+#   VS2005                 - win32 - Microsoft Visual Studio 2005 Team Suite Edition, Intel EBC, Intel ASL (also compatible with VS 2005 Express, Standard, and Pro)\r
+#   DDK3790                - win32 - Microsoft Windows DDK 3790.1830, Intel EBC, Intel ASL\r
+#   UNIXGCC                - UNIX GCC, No EBC, Intel ASL\r
+#   ELFGCC                 - Linux ELF GCC, No EBC, Intel ASL\r
+#   CYGGCC                 - win32 - CygWin GCC, Intel EBC, Intel ASL\r
+#   ICC                    - win32 - Intel C Compiler V9.1, Intel EBC, Intel ASL\r
+#   MYTOOLS                - win32 - VS2005 for IA32/X64, WINDDK 3790.1830 for IPF, Intel EBC, Intel ASL\r
+#   VS2003xASL             - win32 - Microsoft Visual Studio .NET 2003, Intel EBC, Microsoft ASL\r
+#   VS2005xASL             - win32 - Microsoft Visual Studio 2005 Team Suite Edition, Intel EBC, Microsoft ASL\r
+#   DDK3790xASL            - win32 - Microsoft Windows DDK 3790.1830, Intel EBC, Microsoft ASL\r
+#   CYGGCCxASL             - win32 - CygWin GCC, Intel EBC, Microsoft ASL\r
+#   ICCxASL                - win32 - Intel C Compiler V9.1, Intel EBC, Microsoft ASL\r
+#   VS2005x86              - win64 - Microsoft Visual Studio 2005 Team Suite Edition (x86), Intel EBC, Intel ASL (also compatible with VS 2005 Express, Standard, and Pro)\r
+#   ICCx86                 - win64 - Intel C Compiler V9.1 (x86), Intel EBC, Intel ASL\r
+#   VS2005x86xASL          - win64 - Microsoft Visual Studio 2005 Team Suite Edition (x86), Intel EBC, Microsoft ASL (also compatible with VS 2005 Express, Standard, and Pro)\r
+#   ICCx86xASL             - win64 - Intel C Compiler V9.1 (x86), Intel EBC, Microsoft ASL\r
+#   CYGGCCx86              - win64 - CygWin GCC (x86), Intel EBC (x86), Intel ASL\r
+#   CYGGCCx86xASL          - win64 - CygWin GCC (x86), Intel EBC (x86), Microsoft ASL\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
+# 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:$(IMAGE_ENTRY_POINT) /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\asl.exe\r
+#\r
+####################################################################################\r
+\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)\r
+# And Intel ACPI Compiler\r
+#\r
+####################################################################################\r
+#   VS2003           - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)\r
+*_VS2003_*_*_FAMILY                 = MSFT\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_VS2003_*_ASL_PATH                 = DEF(WIN_IASL_BIN)\r
+*_VS2003_*_ASL_FLAGS                = \r
+*_VS2003_*_ASL_OUTFLAGS             = DEF(IASL_OUTFLAGS)\r
+*_VS2003_*_ASLCC_FLAGS              = DEF(MSFT_ASLCC_FLAGS)\r
+*_VS2003_*_ASLPP_FLAGS              = DEF(MSFT_ASLPP_FLAGS)\r
+*_VS2003_*_ASLDLINK_FLAGS           = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_VS2003_IA32_*_DLL                 = DEF(VS2003_DLL)\r
+\r
+*_VS2003_IA32_MAKE_PATH             = DEF(VS2003_BIN)\nmake.exe\r
+*_VS2003_IA32_CC_PATH               = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003_IA32_VFRPP_PATH            = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003_IA32_SLINK_PATH            = DEF(VS2003_BIN)\lib.exe\r
+*_VS2003_IA32_DLINK_PATH            = DEF(VS2003_BIN)\link.exe\r
+*_VS2003_IA32_ASMLINK_PATH          = DEF(WINDDK_BIN16)\link16.exe\r
+*_VS2003_IA32_APP_PATH              = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003_IA32_PP_PATH               = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003_IA32_ASM_PATH              = DEF(VS2003_BIN)\ml.exe\r
+*_VS2003_IA32_ASLCC_PATH            = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003_IA32_ASLPP_PATH            = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003_IA32_ASLDLINK_PATH         = DEF(VS2003_BIN)\link.exe\r
+\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 /FI$(MODULE_NAME)StrDefs.h\r
+  DEBUG_VS2003_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
+RELEASE_VS2003_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
+  DEBUG_VS2003_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
+RELEASE_VS2003_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd\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:$(IMAGE_ENTRY_POINT) /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:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_VS2003_IA32_ASMLINK_FLAGS   = /nologo /tiny\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_VS2003_EBC_*_FAMILY               = INTEL\r
+\r
+*_VS2003_EBC_MAKE_PATH              = DEF(VS2003_BIN)\nmake.exe\r
+*_VS2003_EBC_PP_PATH                = DEF(EBC_BIN)\iec.exe\r
+*_VS2003_EBC_VFRPP_PATH             = DEF(EBC_BIN)\iec.exe\r
+*_VS2003_EBC_CC_PATH                = DEF(EBC_BIN)\iec.exe\r
+*_VS2003_EBC_SLINK_PATH             = DEF(EBC_BIN)\link.exe\r
+*_VS2003_EBC_DLINK_PATH             = DEF(EBC_BIN)\link.exe\r
+\r
+*_VS2003_EBC_MAKE_FLAGS             = /nologo\r
+*_VS2003_EBC_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h\r
+*_VS2003_EBC_CC_FLAGS               = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_VS2003_EBC_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_VS2003_EBC_SLINK_FLAGS            = /lib /NOLOGO /MACHINE:EBC\r
+*_VS2003_EBC_DLINK_FLAGS            = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+####################################################################################\r
+#\r
+#   Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler\r
+#\r
+####################################################################################\r
+#   VS2003xASL           - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)\r
+*_VS2003xASL_*_*_FAMILY                 = MSFT\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_VS2003xASL_*_ASL_PATH                 = DEF(WIN_ASL_BIN)\r
+*_VS2003xASL_*_ASL_FLAGS                = \r
+*_VS2003xASL_*_ASL_OUTFLAGS             = DEF(MS_ASL_OUTFLAGS)\r
+*_VS2003xASL_*_ASLCC_FLAGS              = DEF(MSFT_ASLCC_FLAGS)\r
+*_VS2003xASL_*_ASLPP_FLAGS              = DEF(MSFT_ASLPP_FLAGS)\r
+*_VS2003xASL_*_ASLDLINK_FLAGS           = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_VS2003xASL_IA32_*_DLL                 = DEF(VS2003_DLL)\r
+\r
+*_VS2003xASL_IA32_MAKE_PATH             = DEF(VS2003_BIN)\nmake.exe\r
+*_VS2003xASL_IA32_CC_PATH               = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003xASL_IA32_VFRPP_PATH            = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003xASL_IA32_SLINK_PATH            = DEF(VS2003_BIN)\lib.exe\r
+*_VS2003xASL_IA32_DLINK_PATH            = DEF(VS2003_BIN)\link.exe\r
+*_VS2003xASL_IA32_ASMLINK_PATH          = DEF(WINDDK_BIN16)\link16.exe\r
+*_VS2003xASL_IA32_APP_PATH              = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003xASL_IA32_PP_PATH               = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003xASL_IA32_ASM_PATH              = DEF(VS2003_BIN)\ml.exe\r
+*_VS2003xASL_IA32_ASLCC_PATH            = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003xASL_IA32_ASLPP_PATH            = DEF(VS2003_BIN)\cl.exe\r
+*_VS2003xASL_IA32_ASLDLINK_PATH         = DEF(VS2003_BIN)\link.exe\r
+\r
+\r
+      *_VS2003xASL_IA32_MAKE_FLAGS      = /nologo\r
+      *_VS2003xASL_IA32_APP_FLAGS       = /nologo /E /TC\r
+      *_VS2003xASL_IA32_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h\r
+      *_VS2003xASL_IA32_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+  DEBUG_VS2003xASL_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
+RELEASE_VS2003xASL_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
+  DEBUG_VS2003xASL_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
+RELEASE_VS2003xASL_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd\r
+      *_VS2003xASL_IA32_SLINK_FLAGS     = /nologo /LTCG\r
+  DEBUG_VS2003xASL_IA32_DLINK_FLAGS     = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2003xASL_IA32_DLINK_FLAGS     = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_VS2003xASL_IA32_ASMLINK_FLAGS   = /nologo /tiny\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_VS2003xASL_EBC_*_FAMILY               = INTEL\r
+\r
+*_VS2003xASL_EBC_MAKE_PATH              = DEF(VS2003_BIN)\nmake.exe\r
+*_VS2003xASL_EBC_PP_PATH                = DEF(EBC_BIN)\iec.exe\r
+*_VS2003xASL_EBC_VFRPP_PATH             = DEF(EBC_BIN)\iec.exe\r
+*_VS2003xASL_EBC_CC_PATH                = DEF(EBC_BIN)\iec.exe\r
+*_VS2003xASL_EBC_SLINK_PATH             = DEF(EBC_BIN)\link.exe\r
+*_VS2003xASL_EBC_DLINK_PATH             = DEF(EBC_BIN)\link.exe\r
+\r
+*_VS2003xASL_EBC_MAKE_FLAGS             = /nologo\r
+*_VS2003xASL_EBC_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h\r
+*_VS2003xASL_EBC_CC_FLAGS               = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_VS2003xASL_EBC_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_VS2003xASL_EBC_SLINK_FLAGS            = /lib /NOLOGO /MACHINE:EBC\r
+*_VS2003xASL_EBC_DLINK_FLAGS            = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Visual Studio 2005\r
+#\r
+#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
+#   ASL     - Intel ACPI Source Language Compiler\r
+####################################################################################\r
+#   VS2005           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
+*_VS2005_*_*_FAMILY               = MSFT\r
+\r
+*_VS2005_*_MAKE_PATH              = DEF(VS2005_BIN)\nmake.exe\r
+*_VS2005_*_MAKE_FLAGS             = /nologo\r
+\r
+*_VS2005_*_SLINK_FLAGS            = /NOLOGO /LTCG\r
+*_VS2005_*_APP_FLAGS              = /nologo /E /TC\r
+*_VS2005_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_VS2005_*_ASL_PATH               = DEF(WIN_IASL_BIN)\r
+*_VS2005_*_ASL_FLAGS              = \r
+*_VS2005_*_ASL_OUTFLAGS           = DEF(IASL_OUTFLAGS)\r
+*_VS2005_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)\r
+*_VS2005_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)\r
+*_VS2005_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_VS2005_IA32_*_DLL               = DEF(VS2005_DLL)\r
+\r
+*_VS2005_IA32_MAKE_PATH           = DEF(VS2005_BIN)\nmake.exe\r
+*_VS2005_IA32_CC_PATH             = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005_IA32_VFRPP_PATH          = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005_IA32_SLINK_PATH          = DEF(VS2005_BIN)\lib.exe\r
+*_VS2005_IA32_DLINK_PATH          = DEF(VS2005_BIN)\link.exe\r
+*_VS2005_IA32_ASMLINK_PATH        = DEF(WINDDK_BIN16)\link16.exe\r
+*_VS2005_IA32_APP_PATH            = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005_IA32_PP_PATH             = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005_IA32_ASM_PATH            = DEF(VS2005_BIN)\ml.exe\r
+*_VS2005_IA32_ASLCC_PATH          = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005_IA32_ASLPP_PATH          = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005_IA32_ASLDLINK_PATH       = DEF(VS2005_BIN)\link.exe\r
+\r
+      *_VS2005_IA32_MAKE_FLAGS    = /nologo\r
+  DEBUG_VS2005_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
+RELEASE_VS2005_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
+RELEASE_VS2005_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd\r
+  DEBUG_VS2005_IA32_DLINK_FLAGS   = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005_IA32_DLINK_FLAGS   = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_VS2005_IA32_ASMLINK_FLAGS = /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_VS2005_X64_*_DLL         = DEF(VS2005_DLL)\r
+\r
+*_VS2005_X64_CC_PATH       = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005_X64_PP_PATH       = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005_X64_APP_PATH      = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005_X64_VFRPP_PATH    = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005_X64_ASM_PATH      = DEF(VS2005_BINX64)\ml64.exe\r
+*_VS2005_X64_SLINK_PATH    = DEF(VS2005_BINX64)\lib.exe\r
+*_VS2005_X64_DLINK_PATH    = DEF(VS2005_BINX64)\link.exe\r
+*_VS2005_X64_ASLCC_PATH    = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005_X64_ASLPP_PATH    = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
+\r
+\r
+  DEBUG_VS2005_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_VS2005_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_VS2005_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_VS2005_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_VS2005_IPF_*_DLL         = DEF(VS2005_DLL)\r
+\r
+*_VS2005_IPF_PP_PATH       = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005_IPF_APP_PATH      = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005_IPF_VFRPP_PATH    = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005_IPF_CC_PATH       = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005_IPF_ASM_PATH      = DEF(VS2005_BIN64)\ias.exe\r
+*_VS2005_IPF_SLINK_PATH    = DEF(VS2005_BIN64)\lib.exe\r
+*_VS2005_IPF_DLINK_PATH    = DEF(VS2005_BIN64)\link.exe\r
+*_VS2005_IPF_ASLCC_PATH    = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005_IPF_ASLPP_PATH    = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe\r
+\r
+  DEBUG_VS2005_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
+RELEASE_VS2005_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
+  DEBUG_VS2005_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
+RELEASE_VS2005_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
+  DEBUG_VS2005_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG\r
+RELEASE_VS2005_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_VS2005_EBC_*_FAMILY            = INTEL\r
+\r
+*_VS2005_EBC_MAKE_PATH           = DEF(VS2005_BIN)\nmake.exe\r
+*_VS2005_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe\r
+*_VS2005_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe\r
+*_VS2005_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe\r
+*_VS2005_EBC_SLINK_PATH          = DEF(EBC_BIN)\link.exe\r
+*_VS2005_EBC_DLINK_PATH          = DEF(EBC_BIN)\link.exe\r
+\r
+*_VS2005_EBC_MAKE_FLAGS          = /nologo\r
+*_VS2005_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_VS2005_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_VS2005_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC\r
+*_VS2005_EBC_DLINK_FLAGS         = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Visual Studio 2005\r
+#\r
+#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
+#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)\r
+####################################################################################\r
+#   VS2005xASL           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
+*_VS2005xASL_*_*_FAMILY        = MSFT\r
+\r
+*_VS2005xASL_*_MAKE_PATH       = DEF(VS2005_BIN)\nmake.exe\r
+*_VS2005xASL_*_MAKE_FLAG       = /nologo\r
+\r
+*_VS2005xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG\r
+*_VS2005xASL_*_APP_FLAGS       = /nologo /E /TC\r
+*_VS2005xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_VS2005xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)\r
+*_VS2005xASL_*_ASL_FLAGS       = \r
+*_VS2005xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)\r
+*_VS2005xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)\r
+*_VS2005xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)\r
+*_VS2005xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_VS2005xASL_IA32_*_DLL        = DEF(VS2005_DLL)\r
+\r
+*_VS2005xASL_IA32_MAKE_PATH    = DEF(VS2005_BIN)\nmake.exe\r
+*_VS2005xASL_IA32_CC_PATH      = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005xASL_IA32_VFRPP_PATH   = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005xASL_IA32_SLINK_PATH   = DEF(VS2005_BIN)\lib.exe\r
+*_VS2005xASL_IA32_DLINK_PATH   = DEF(VS2005_BIN)\link.exe\r
+*_VS2005xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
+*_VS2005xASL_IA32_APP_PATH     = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005xASL_IA32_PP_PATH      = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005xASL_IA32_ASM_PATH     = DEF(VS2005_BIN)\ml.exe\r
+*_VS2005xASL_IA32_ASLCC_PATH    = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005xASL_IA32_ASLPP_PATH    = DEF(VS2005_BIN)\cl.exe\r
+*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe\r
+\r
+      *_VS2005xASL_IA32_MAKE_FLAGS  = /nologo\r
+  DEBUG_VS2005xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
+RELEASE_VS2005xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
+RELEASE_VS2005xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd\r
+  DEBUG_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_VS2005xASL_IA32_ASMLINK_FLAGS= /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_VS2005xASL_X64_*_DLL         = DEF(VS2005_DLL)\r
+\r
+*_VS2005xASL_X64_CC_PATH       = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005xASL_X64_PP_PATH       = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005xASL_X64_APP_PATH      = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005xASL_X64_VFRPP_PATH    = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005xASL_X64_ASM_PATH      = DEF(VS2005_BINX64)\ml64.exe\r
+*_VS2005xASL_X64_SLINK_PATH    = DEF(VS2005_BINX64)\lib.exe\r
+*_VS2005xASL_X64_DLINK_PATH    = DEF(VS2005_BINX64)\link.exe\r
+*_VS2005xASL_X64_ASLCC_PATH    = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005xASL_X64_ASLPP_PATH    = DEF(VS2005_BINX64)\cl.exe\r
+*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
+\r
+\r
+  DEBUG_VS2005xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_VS2005xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_VS2005xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_VS2005xASL_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005xASL_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_VS2005xASL_IPF_*_DLL         = DEF(VS2005_DLL)\r
+\r
+*_VS2005xASL_IPF_PP_PATH       = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005xASL_IPF_APP_PATH      = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005xASL_IPF_VFRPP_PATH    = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005xASL_IPF_CC_PATH       = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005xASL_IPF_ASM_PATH      = DEF(VS2005_BIN64)\ias.exe\r
+*_VS2005xASL_IPF_SLINK_PATH    = DEF(VS2005_BIN64)\lib.exe\r
+*_VS2005xASL_IPF_DLINK_PATH    = DEF(VS2005_BIN64)\link.exe\r
+*_VS2005xASL_IPF_ASLCC_PATH    = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005xASL_IPF_ASLPP_PATH    = DEF(VS2005_BIN64)\cl.exe\r
+*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe\r
+\r
+  DEBUG_VS2005xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
+RELEASE_VS2005xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
+  DEBUG_VS2005xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
+RELEASE_VS2005xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
+  DEBUG_VS2005xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG\r
+RELEASE_VS2005xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_VS2005xASL_EBC_*_FAMILY            = INTEL\r
+\r
+*_VS2005xASL_EBC_MAKE_PATH           = DEF(VS2005_BIN)\nmake.exe\r
+*_VS2005xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe\r
+*_VS2005xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe\r
+*_VS2005xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe\r
+*_VS2005xASL_EBC_SLINK_PATH          = DEF(EBC_BIN)\link.exe\r
+*_VS2005xASL_EBC_DLINK_PATH          = DEF(EBC_BIN)\link.exe\r
+\r
+*_VS2005xASL_EBC_MAKE_FLAGS          = /nologo\r
+*_VS2005xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_VS2005xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_VS2005xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC\r
+*_VS2005xASL_EBC_DLINK_FLAGS         = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Visual Studio 2005 (x86)\r
+#\r
+#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
+#   ASL     - Intel ACPI Source Language Compiler\r
+####################################################################################\r
+#   VS2005x86           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
+*_VS2005x86_*_*_FAMILY        = MSFT\r
+\r
+*_VS2005x86_*_MAKE_PATH       = DEF(VS2005x86_BIN)\nmake.exe\r
+*_VS2005x86_*_MAKE_FLAGS      = /nologo\r
+\r
+*_VS2005x86_*_SLINK_FLAGS     = /NOLOGO /LTCG\r
+*_VS2005x86_*_APP_FLAGS       = /nologo /E /TC\r
+*_VS2005x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_VS2005x86_*_ASL_PATH        = DEF(WIN_IASL_BIN)\r
+*_VS2005x86_*_ASL_FLAGS       = \r
+*_VS2005x86_*_ASL_OUTFLAGS    = DEF(IASL_OUTFLAGS)\r
+*_VS2005x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)\r
+*_VS2005x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)\r
+*_VS2005x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_VS2005x86_IA32_*_DLL        = DEF(VS2005x86_DLL)\r
+\r
+*_VS2005x86_IA32_MAKE_PATH    = DEF(VS2005x86_BIN)\nmake.exe\r
+*_VS2005x86_IA32_CC_PATH      = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86_IA32_VFRPP_PATH   = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86_IA32_SLINK_PATH   = DEF(VS2005x86_BIN)\lib.exe\r
+*_VS2005x86_IA32_DLINK_PATH   = DEF(VS2005x86_BIN)\link.exe\r
+*_VS2005x86_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
+*_VS2005x86_IA32_APP_PATH     = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86_IA32_PP_PATH      = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86_IA32_ASM_PATH     = DEF(VS2005x86_BIN)\ml.exe\r
+*_VS2005x86_IA32_ASLCC_PATH    = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86_IA32_ASLPP_PATH    = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe\r
+\r
+      *_VS2005x86_IA32_MAKE_FLAGS  = /nologo\r
+  DEBUG_VS2005x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
+RELEASE_VS2005x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
+RELEASE_VS2005x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd\r
+  DEBUG_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_VS2005x86_IA32_ASMLINK_FLAGS= /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_VS2005x86_X64_*_DLL         = DEF(VS2005x86_DLL)\r
+\r
+*_VS2005x86_X64_CC_PATH       = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86_X64_PP_PATH       = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86_X64_APP_PATH      = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86_X64_VFRPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86_X64_ASM_PATH      = DEF(VS2005x86_BINX64)\ml64.exe\r
+*_VS2005x86_X64_SLINK_PATH    = DEF(VS2005x86_BINX64)\lib.exe\r
+*_VS2005x86_X64_DLINK_PATH    = DEF(VS2005x86_BINX64)\link.exe\r
+*_VS2005x86_X64_ASLCC_PATH    = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86_X64_ASLPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe\r
+\r
+\r
+  DEBUG_VS2005x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_VS2005x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_VS2005x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_VS2005x86_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005x86_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_VS2005x86_IPF_*_DLL         = DEF(VS2005x86_DLL)\r
+\r
+*_VS2005x86_IPF_PP_PATH       = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86_IPF_APP_PATH      = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86_IPF_VFRPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86_IPF_CC_PATH       = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86_IPF_ASM_PATH      = DEF(VS2005x86_BIN64)\ias.exe\r
+*_VS2005x86_IPF_SLINK_PATH    = DEF(VS2005x86_BIN64)\lib.exe\r
+*_VS2005x86_IPF_DLINK_PATH    = DEF(VS2005x86_BIN64)\link.exe\r
+*_VS2005x86_IPF_ASLCC_PATH    = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86_IPF_ASLPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe\r
+\r
+  DEBUG_VS2005x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
+RELEASE_VS2005x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
+  DEBUG_VS2005x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
+RELEASE_VS2005x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
+  DEBUG_VS2005x86_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG\r
+RELEASE_VS2005x86_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_VS2005x86_EBC_*_FAMILY            = INTEL\r
+\r
+*_VS2005x86_EBC_MAKE_PATH           = DEF(VS2005x86_BIN)\nmake.exe\r
+*_VS2005x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe\r
+*_VS2005x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe\r
+*_VS2005x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe\r
+*_VS2005x86_EBC_SLINK_PATH          = DEF(EBC_BINx86)\link.exe\r
+*_VS2005x86_EBC_DLINK_PATH          = DEF(EBC_BINx86)\link.exe\r
+\r
+*_VS2005x86_EBC_MAKE_FLAGS          = /nologo\r
+*_VS2005x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_VS2005x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_VS2005x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC\r
+*_VS2005x86_EBC_DLINK_FLAGS         = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Visual Studio 2005 (x86)\r
+#\r
+#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
+#   ASL     - Microsoft ACPI Source Language Compiler\r
+####################################################################################\r
+#   VS2005x86xASL           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
+*_VS2005x86xASL_*_*_FAMILY        = MSFT\r
+\r
+*_VS2005x86xASL_*_MAKE_PATH       = DEF(VS2005x86_BIN)\nmake.exe\r
+*_VS2005x86xASL_*_MAKE_FLAGS      = /nologo\r
+\r
+*_VS2005x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG\r
+*_VS2005x86xASL_*_APP_FLAGS       = /nologo /E /TC\r
+*_VS2005x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_VS2005x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)\r
+*_VS2005x86xASL_*_ASL_FLAGS       = \r
+*_VS2005x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)\r
+*_VS2005x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)\r
+*_VS2005x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)\r
+*_VS2005x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_VS2005x86xASL_IA32_*_DLL        = DEF(VS2005x86_DLL)\r
+\r
+*_VS2005x86xASL_IA32_MAKE_PATH    = DEF(VS2005x86_BIN)\nmake.exe\r
+*_VS2005x86xASL_IA32_CC_PATH      = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86xASL_IA32_VFRPP_PATH   = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86xASL_IA32_SLINK_PATH   = DEF(VS2005x86_BIN)\lib.exe\r
+*_VS2005x86xASL_IA32_DLINK_PATH   = DEF(VS2005x86_BIN)\link.exe\r
+*_VS2005x86xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
+*_VS2005x86xASL_IA32_APP_PATH     = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86xASL_IA32_PP_PATH      = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86xASL_IA32_ASM_PATH     = DEF(VS2005x86_BIN)\ml.exe\r
+*_VS2005x86xASL_IA32_ASLCC_PATH    = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86xASL_IA32_ASLPP_PATH    = DEF(VS2005x86_BIN)\cl.exe\r
+*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe\r
+\r
+      *_VS2005x86xASL_IA32_MAKE_FLAGS  = /nologo\r
+  DEBUG_VS2005x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
+RELEASE_VS2005x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
+RELEASE_VS2005x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd\r
+  DEBUG_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_VS2005x86xASL_IA32_ASMLINK_FLAGS= /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_VS2005x86xASL_X64_*_DLL         = DEF(VS2005x86_DLL)\r
+\r
+*_VS2005x86xASL_X64_CC_PATH       = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86xASL_X64_PP_PATH       = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86xASL_X64_APP_PATH      = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86xASL_X64_VFRPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86xASL_X64_ASM_PATH      = DEF(VS2005x86_BINX64)\ml64.exe\r
+*_VS2005x86xASL_X64_SLINK_PATH    = DEF(VS2005x86_BINX64)\lib.exe\r
+*_VS2005x86xASL_X64_DLINK_PATH    = DEF(VS2005x86_BINX64)\link.exe\r
+*_VS2005x86xASL_X64_ASLCC_PATH    = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86xASL_X64_ASLPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe\r
+*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe\r
+\r
+\r
+  DEBUG_VS2005x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_VS2005x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_VS2005x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_VS2005x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_VS2005x86xASL_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_VS2005x86xASL_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_VS2005x86xASL_IPF_*_DLL         = DEF(VS2005x86_DLL)\r
+\r
+*_VS2005x86xASL_IPF_PP_PATH       = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86xASL_IPF_APP_PATH      = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86xASL_IPF_VFRPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86xASL_IPF_CC_PATH       = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86xASL_IPF_ASM_PATH      = DEF(VS2005x86_BIN64)\ias.exe\r
+*_VS2005x86xASL_IPF_SLINK_PATH    = DEF(VS2005x86_BIN64)\lib.exe\r
+*_VS2005x86xASL_IPF_DLINK_PATH    = DEF(VS2005x86_BIN64)\link.exe\r
+*_VS2005x86xASL_IPF_ASLCC_PATH    = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86xASL_IPF_ASLPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe\r
+*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe\r
+\r
+  DEBUG_VS2005x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
+RELEASE_VS2005x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
+  DEBUG_VS2005x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
+RELEASE_VS2005x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
+  DEBUG_VS2005x86xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG\r
+RELEASE_VS2005x86xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_VS2005x86xASL_EBC_*_FAMILY            = INTEL\r
+\r
+*_VS2005x86xASL_EBC_MAKE_PATH           = DEF(VS2005x86_BIN)\nmake.exe\r
+*_VS2005x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe\r
+*_VS2005x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe\r
+*_VS2005x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe\r
+*_VS2005x86xASL_EBC_SLINK_PATH          = DEF(EBC_BINx86)\link.exe\r
+*_VS2005x86xASL_EBC_DLINK_PATH          = DEF(EBC_BINx86)\link.exe\r
+\r
+*_VS2005x86xASL_EBC_MAKE_FLAGS          = /nologo\r
+*_VS2005x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h\r
+*_VS2005x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_VS2005x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_VS2005x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC\r
+*_VS2005x86xASL_EBC_DLINK_FLAGS         = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)\r
+# And Intel ACPI Compiler\r
+#\r
+####################################################################################\r
+#   DDK3790  - Microsoft Windows DDK 3790.1830\r
+#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)\r
+*_DDK3790_*_*_FAMILY        = MSFT\r
+\r
+*_DDK3790_*_MAKE_PATH       = DEF(WINDDK_BIN32)\nmake.exe\r
+*_DDK3790_*_MAKE_FLAGS           = /nologo\r
+\r
+*_DDK3790_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h\r
+*_DDK3790_*_APP_FLAGS            = /nologo /E /TC\r
+*_DDK3790_*_SLINK_FLAGS          = /nologo /LTCG\r
+*_DDK3790_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_DDK3790_*_ASL_PATH        = DEF(WIN_IASL_BIN)\r
+*_DDK3790_*_ASL_FLAGS       = \r
+*_DDK3790_*_ASL_OUTFLAGS    = DEF(IASL_OUTFLAGS)\r
+*_DDK3790_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)\r
+*_DDK3790_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)\r
+*_DDK3790_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_DDK3790_IA32_CC_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790_IA32_SLINK_PATH   = DEF(WINDDK_BIN32)\lib.exe\r
+*_DDK3790_IA32_DLINK_PATH   = DEF(WINDDK_BIN32)\link.exe\r
+*_DDK3790_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
+*_DDK3790_IA32_PP_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790_IA32_VFRPP_PATH   = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790_IA32_APP_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790_IA32_ASM_PATH     = DEF(WINDDK_BIN32)\ml.exe\r
+*_DDK3790_IA32_ASLCC_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790_IA32_ASLPP_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790_IA32_ASLDLINK_PATH  = DEF(WINDDK_BIN32)\link.exe\r
+\r
+  DEBUG_DDK3790_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_DDK3790_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_DDK3790_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
+RELEASE_DDK3790_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd\r
+  DEBUG_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+    *_DDK3790_IA32_ASMLINK_FLAGS = /nologo /tiny\r
+\r
+##################\r
+# x64 definitions\r
+##################\r
+*_DDK3790_X64_CC_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790_X64_SLINK_PATH   = DEF(WINDDK_BINX64)\lib.exe\r
+*_DDK3790_X64_DLINK_PATH   = DEF(WINDDK_BINX64)\link.exe\r
+*_DDK3790_X64_PP_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790_X64_VFRPP_PATH   = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790_X64_APP_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790_X64_ASM_PATH     = DEF(WINDDK_BINX64)\ml64.exe\r
+*_DDK3790_X64_ASLCC_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790_X64_ASLPP_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790_X64_ASLDLINK_PATH  = DEF(WINDDK_BINX64)\link.exe\r
+\r
+  DEBUG_DDK3790_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_DDK3790_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_DDK3790_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_DDK3790_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_DDK3790_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_DDK3790_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_DDK3790_IPF_CC_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790_IPF_SLINK_PATH   = DEF(WINDDK_BIN64)\lib.exe\r
+*_DDK3790_IPF_DLINK_PATH   = DEF(WINDDK_BIN64)\link.exe\r
+*_DDK3790_IPF_PP_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790_IPF_VFRPP_PATH   = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790_IPF_APP_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790_IPF_ASM_PATH     = DEF(WINDDK_BIN64)\ias.exe\r
+*_DDK3790_IPF_ASLCC_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790_IPF_ASLPP_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790_IPF_ASLDLINK_PATH  = DEF(WINDDK_BIN64)\link.exe\r
+\r
+\r
+  DEBUG_DDK3790_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
+RELEASE_DDK3790_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
+  DEBUG_DDK3790_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
+RELEASE_DDK3790_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
+  DEBUG_DDK3790_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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_DDK3790_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
+*_DDK3790_EBC_*_FAMILY      = INTEL\r
+\r
+*_DDK3790_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_DDK3790_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_DDK3790_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_DDK3790_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_DDK3790_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe\r
+\r
+*_DDK3790_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_DDK3790_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC\r
+*_DDK3790_EBC_DLINK_FLAGS        = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\r
+\r
+####################################################################################\r
+#\r
+# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)\r
+# And Microsoft ACPI Compiler\r
+#\r
+####################################################################################\r
+#   DDK3790xASL  - Microsoft Windows DDK 3790.1830\r
+#   ASL          - Microsoft ACPI Source Language Compiler (asl.exe)\r
+*_DDK3790xASL_*_*_FAMILY        = MSFT\r
+\r
+*_DDK3790xASL_*_MAKE_PATH       = DEF(WINDDK_BIN32)\nmake.exe\r
+*_DDK3790xASL_*_MAKE_FLAGS           = /nologo\r
+\r
+*_DDK3790xASL_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h\r
+*_DDK3790xASL_*_APP_FLAGS            = /nologo /E /TC\r
+*_DDK3790xASL_*_SLINK_FLAGS          = /nologo /LTCG\r
+*_DDK3790xASL_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_DDK3790xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)\r
+*_DDK3790xASL_*_ASL_FLAGS       = \r
+*_DDK3790xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)\r
+*_DDK3790xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)\r
+*_DDK3790xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)\r
+*_DDK3790xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_DDK3790xASL_IA32_CC_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790xASL_IA32_SLINK_PATH   = DEF(WINDDK_BIN32)\lib.exe\r
+*_DDK3790xASL_IA32_DLINK_PATH   = DEF(WINDDK_BIN32)\link.exe\r
+*_DDK3790xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
+*_DDK3790xASL_IA32_PP_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790xASL_IA32_VFRPP_PATH   = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790xASL_IA32_APP_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790xASL_IA32_ASM_PATH     = DEF(WINDDK_BIN32)\ml.exe\r
+*_DDK3790xASL_IA32_ASLCC_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790xASL_IA32_ASLPP_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
+*_DDK3790xASL_IA32_ASLDLINK_PATH  = DEF(WINDDK_BIN32)\link.exe\r
+\r
+  DEBUG_DDK3790xASL_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_DDK3790xASL_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_DDK3790xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
+RELEASE_DDK3790xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd\r
+  DEBUG_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+    *_DDK3790xASL_IA32_ASMLINK_FLAGS = /nologo /tiny\r
+\r
+##################\r
+# x64 definitions\r
+##################\r
+*_DDK3790xASL_X64_CC_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790xASL_X64_SLINK_PATH   = DEF(WINDDK_BINX64)\lib.exe\r
+*_DDK3790xASL_X64_DLINK_PATH   = DEF(WINDDK_BINX64)\link.exe\r
+*_DDK3790xASL_X64_PP_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790xASL_X64_VFRPP_PATH   = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790xASL_X64_APP_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790xASL_X64_ASM_PATH     = DEF(WINDDK_BINX64)\ml64.exe\r
+*_DDK3790xASL_X64_ASLCC_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790xASL_X64_ASLPP_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
+*_DDK3790xASL_X64_ASLDLINK_PATH  = DEF(WINDDK_BINX64)\link.exe\r
+\r
+  DEBUG_DDK3790xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_DDK3790xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_DDK3790xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_DDK3790xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_DDK3790xASL_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_DDK3790xASL_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_DDK3790xASL_IPF_CC_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790xASL_IPF_SLINK_PATH   = DEF(WINDDK_BIN64)\lib.exe\r
+*_DDK3790xASL_IPF_DLINK_PATH   = DEF(WINDDK_BIN64)\link.exe\r
+*_DDK3790xASL_IPF_PP_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790xASL_IPF_VFRPP_PATH   = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790xASL_IPF_APP_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790xASL_IPF_ASM_PATH     = DEF(WINDDK_BIN64)\ias.exe\r
+*_DDK3790xASL_IPF_ASLCC_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790xASL_IPF_ASLPP_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
+*_DDK3790xASL_IPF_ASLDLINK_PATH  = DEF(WINDDK_BIN64)\link.exe\r
+\r
+\r
+  DEBUG_DDK3790xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
+RELEASE_DDK3790xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
+  DEBUG_DDK3790xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
+RELEASE_DDK3790xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
+  DEBUG_DDK3790xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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_DDK3790xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
+*_DDK3790xASL_EBC_*_FAMILY      = INTEL\r
+\r
+*_DDK3790xASL_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_DDK3790xASL_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_DDK3790xASL_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_DDK3790xASL_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_DDK3790xASL_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe\r
+\r
+*_DDK3790xASL_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_DDK3790xASL_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC\r
+*_DDK3790xASL_EBC_DLINK_FLAGS        = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\r
+\r
+\r
+####################################################################################\r
+# GCC Common\r
+####################################################################################\r
+\r
+*_*_*_OBJCOPY_PATH              = echo\r
+*_*_*_OBJCOPY_FLAGS             = objcopy not needed for\r
+*_*_*_SYMRENAME_PATH            = echo\r
+*_*_*_SYMRENAME_FLAGS           = Symbol renaming not needed for\r
+\r
+DEFINE GCC_ALL_CC_FLAGS            = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h\r
+DEFINE GCC_IA32_CC_FLAGS           = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2\r
+DEFINE GCC_X64_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address\r
+DEFINE GCC_IPF_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency\r
+DEFINE GCC_IA32_X64_DLINK_COMMON   = -nostdlib -s --pie --gc-sections\r
+DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)\r
+DEFINE GCC_IA32_X64_DLINK_FLAGS    = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
+DEFINE GCC_IPF_DLINK_FLAGS         = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
+DEFINE GCC_IPF_OBJCOPY_FLAGS       = -I elf64-ia64-little -O efi-bsdrv-ia64\r
+DEFINE GCC_IPF_SYMRENAME_FLAGS     = --redefine-sym memcpy=CopyMem\r
+DEFINE GCC_ASM_FLAGS               = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
+DEFINE GCC_PP_FLAGS                = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
+DEFINE GCC_VFRPP_FLAGS             = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
+\r
+####################################################################################\r
+#\r
+# Unix GCC And Intel Linux ACPI Compiler\r
+#\r
+####################################################################################\r
+#   UNIXGCC         - UNIX GCC\r
+#   ASL             - Intel Linux ACPI Source Language Compiler (iasl)\r
+*_UNIXGCC_*_*_FAMILY               = GCC\r
+*_UNIXGCC_*_MAKE_PATH              = make\r
+\r
+DEFINE UNIXGCC_DLINK_FLAGS_COMMON        = -nostdlib -s --pie\r
+*_UNIXGCC_*_PP_FLAGS                     = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_UNIXGCC_*_DLINK_FLAGS                  = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
+*_UNIXGCC_*_ASM_FLAGS                    = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_UNIXGCC_*_VFRPP_FLAGS                  = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_UNIXGCC_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)\r
+*_UNIXGCC_*_ASL_FLAGS                    = \r
+*_UNIXGCC_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)\r
+*_UNIXGCC_*_ASLPP_FLAGS                  = -x c -E -P\r
+*_UNIXGCC_*_ASLCC_FLAGS                  = -x c\r
+*_UNIXGCC_*_ASLDLINK_FLAGS               = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_UNIXGCC_IA32_PP_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IA32_CC_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IA32_SLINK_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ar\r
+*_UNIXGCC_IA32_DLINK_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ld\r
+*_UNIXGCC_IA32_ASLPP_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IA32_ASLCC_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IA32_ASLDLINK_PATH        = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ld\r
+*_UNIXGCC_IA32_ASM_PATH             = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IA32_VFRPP_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
+\r
+*_UNIXGCC_IA32_CC_FLAGS             = -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition \r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_UNIXGCC_X64_CC_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_X64_ASLCC_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_X64_SLINK_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ar\r
+*_UNIXGCC_X64_DLINK_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ld\r
+*_UNIXGCC_X64_ASLDLINK_PATH         = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ld\r
+*_UNIXGCC_X64_ASM_PATH              = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_X64_PP_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_X64_ASLPP_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_X64_VFRPP_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
+\r
+*_UNIXGCC_X64_CC_FLAGS              = -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -mno-red-zone -Wno-address\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_UNIXGCC_IPF_CC_PATH              = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IPF_ASLCC_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IPF_SLINK_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/ar\r
+*_UNIXGCC_IPF_DLINK_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/ld\r
+*_UNIXGCC_IPF_ASLDLINK_PATH        = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/ld\r
+*_UNIXGCC_IPF_ASM_PATH             = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IPF_PP_PATH              = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IPF_ASLPP_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IPF_VFRPP_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/gcc\r
+*_UNIXGCC_IPF_OBJCOPY_PATH     = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/objcopy\r
+*_UNIXGCC_IPF_SYMRENAME_PATH   = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)/objcopy\r
+\r
+*_UNIXGCC_IPF_CC_FLAGS             = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -minline-int-divide-min-latency\r
+*_UNIXGCC_IPF_DLINK_FLAGS          = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
+*_UNIXGCC_IPF_OBJCOPY_FLAGS        = -I elf64-ia64-little -O efi-bsdrv-ia64\r
+*_UNIXGCC_IPF_SYMRENAME_FLAGS      = --redefine-sym memcpy=CopyMem\r
+\r
+####################################################################################\r
+#\r
+# Cygwin GCC And Intel ACPI Compiler\r
+#\r
+####################################################################################\r
+#   CYGGCC        - CygWin GCC\r
+#   ASL           - Intel ACPI Source Language Compiler (iasl.exe)\r
+*_CYGGCC_*_*_FAMILY              = GCC\r
+\r
+*_CYGGCC_*_*_DLL                 = DEF(CYGWIN_BIN)\r
+*_CYGGCC_*_MAKE_PATH             = DEF(VS2003_BIN)\nmake.exe\r
+\r
+*_CYGGCC_*_MAKE_FLAGS                 = /nologo\r
+*_CYGGCC_*_PP_FLAGS                   = -E -x assembler-with-cpp -include AutoGen.h\r
+*_CYGGCC_*_DLINK_FLAGS                = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20\r
+*_CYGGCC_*_ASM_FLAGS                  = -c -x assembler -imacros AutoGen.h\r
+*_CYGGCC_*_APP_FLAGS                  = -E -x assembler\r
+*_CYGGCC_*_VFRPP_FLAGS                = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_CYGGCC_*_ASL_PATH                   = DEF(WIN_IASL_BIN)\r
+*_CYGGCC_*_ASL_FLAGS                  = \r
+*_CYGGCC_*_ASL_OUTFLAGS               = DEF(IASL_OUTFLAGS)\r
+*_CYGGCC_*_ASLPP_FLAGS                = -x c -E -P\r
+*_CYGGCC_*_ASLCC_FLAGS                = -x c\r
+*_CYGGCC_*_ASLDLINK_FLAGS             = -nostdlib -s --pie --gc-sections --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_CYGGCC_IA32_CC_PATH            = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_SLINK_PATH         = DEF(CYGWIN_BIN32)/ar\r
+*_CYGGCC_IA32_DLINK_PATH         = DEF(CYGWIN_BIN32)/ld\r
+*_CYGGCC_IA32_ASM_PATH           = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_PP_PATH            = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_APP_PATH           = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_VFRPP_PATH         = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_ASLCC_PATH         = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_ASLPP_PATH         = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCC_IA32_ASLDLINK_PATH      = DEF(CYGWIN_BIN32)/ld\r
+\r
+*_CYGGCC_IA32_CC_FLAGS           = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_CYGGCC_X64_CC_PATH             = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_SLINK_PATH          = DEF(CYGWIN_BINX64)/ar\r
+*_CYGGCC_X64_DLINK_PATH          = DEF(CYGWIN_BINX64)/ld\r
+*_CYGGCC_X64_ASM_PATH            = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_PP_PATH             = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_APP_PATH            = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_VFRPP_PATH          = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_ASLCC_PATH         = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_ASLPP_PATH         = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCC_X64_ASLDLINK_PATH      = DEF(CYGWIN_BINX64)/ld\r
+\r
+*_CYGGCC_X64_CC_FLAGS            = -Os -fshort-wchar -fno-strict-aliasing -mno-red-zone -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_CYGGCC_IPF_CC_PATH             = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCC_IPF_SLINK_PATH          = DEF(CYGWIN_BINIPF)ar\r
+*_CYGGCC_IPF_DLINK_PATH          = DEF(CYGWIN_BINIPF)ld\r
+*_CYGGCC_IPF_ASLDLINK_PATH       = DEF(CYGWIN_BINIPF)ld\r
+*_CYGGCC_IPF_ASM_PATH            = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCC_IPF_PP_PATH             = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCC_IPF_VFRPP_PATH          = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCC_IPF_ASLCC_PATH          = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCC_IPF_ASLPP_PATH          = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCC_IPF_OBJCOPY_PATH        = DEF(CYGWIN_BINIPF)objcopy\r
+*_CYGGCC_IPF_SYMRENAME_PATH      = DEF(CYGWIN_BINIPF)objcopy\r
+\r
+*_CYGGCC_IPF_CC_FLAGS             = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -minline-int-divide-min-latency\r
+*_CYGGCC_IPF_DLINK_FLAGS          = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
+*_CYGGCC_IPF_OBJCOPY_FLAGS        = -I elf64-ia64-little -O efi-bsdrv-ia64\r
+*_CYGGCC_IPF_SYMRENAME_FLAGS      = --redefine-sym memcpy=CopyMem\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_CYGGCC_EBC_*_FAMILY      = INTEL\r
+\r
+*_CYGGCC_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_CYGGCC_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_CYGGCC_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_CYGGCC_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_CYGGCC_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe\r
+\r
+*_CYGGCC_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_CYGGCC_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC\r
+*_CYGGCC_EBC_DLINK_FLAGS        = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\r
+\r
+####################################################################################\r
+#\r
+# Cygwin GCC And Microsoft ACPI Compiler\r
+#\r
+####################################################################################\r
+#   CYGGCCxASL        - CygWin GCC\r
+#   ASL           - Microsoft ACPI Source Language Compiler (asl.exe)\r
+*_CYGGCCxASL_*_*_FAMILY              = GCC\r
+\r
+*_CYGGCCxASL_*_*_DLL                 = DEF(CYGWIN_BIN)\r
+*_CYGGCCxASL_*_MAKE_PATH             = DEF(VS2003_BIN)\nmake.exe\r
+\r
+*_CYGGCCxASL_*_MAKE_FLAGS                 = /nologo\r
+*_CYGGCCxASL_*_PP_FLAGS                   = -E -x assembler-with-cpp -include AutoGen.h\r
+*_CYGGCCxASL_*_DLINK_FLAGS                = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20\r
+*_CYGGCCxASL_*_ASM_FLAGS                  = -c -x assembler -imacros AutoGen.h\r
+*_CYGGCCxASL_*_APP_FLAGS                  = -E -x assembler\r
+*_CYGGCCxASL_*_VFRPP_FLAGS                = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_CYGGCCxASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)\r
+*_CYGGCCxASL_*_ASL_FLAGS       = \r
+*_CYGGCCxASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)\r
+*_CYGGCCxASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)\r
+*_CYGGCCxASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)\r
+*_CYGGCCxASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_CYGGCCxASL_IA32_CC_PATH            = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_SLINK_PATH         = DEF(CYGWIN_BIN32)/ar\r
+*_CYGGCCxASL_IA32_DLINK_PATH         = DEF(CYGWIN_BIN32)/ld\r
+*_CYGGCCxASL_IA32_ASM_PATH           = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_PP_PATH            = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_APP_PATH           = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_VFRPP_PATH         = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_ASLCC_PATH         = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_ASLPP_PATH         = DEF(CYGWIN_BIN32)/gcc\r
+*_CYGGCCxASL_IA32_ASLDLINK_PATH      = DEF(CYGWIN_BIN32)/ld\r
+\r
+*_CYGGCCxASL_IA32_CC_FLAGS           = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_CYGGCCxASL_X64_CC_PATH             = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_SLINK_PATH          = DEF(CYGWIN_BINX64)/ar\r
+*_CYGGCCxASL_X64_DLINK_PATH          = DEF(CYGWIN_BINX64)/ld\r
+*_CYGGCCxASL_X64_ASM_PATH            = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_PP_PATH             = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_APP_PATH            = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_VFRPP_PATH          = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_ASLCC_PATH         = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_ASLPP_PATH         = DEF(CYGWIN_BINX64)/gcc\r
+*_CYGGCCxASL_X64_ASLDLINK_PATH      = DEF(CYGWIN_BINX64)/ld\r
+\r
+*_CYGGCCxASL_X64_CC_FLAGS            = -Os -fshort-wchar -fno-strict-aliasing -mno-red-zone -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_CYGGCCxASL_IPF_CC_PATH             = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCCxASL_IPF_SLINK_PATH          = DEF(CYGWIN_BINIPF)ar\r
+*_CYGGCCxASL_IPF_DLINK_PATH          = DEF(CYGWIN_BINIPF)ld\r
+*_CYGGCCxASL_IPF_ASLDLINK_PATH       = DEF(CYGWIN_BINIPF)ld\r
+*_CYGGCCxASL_IPF_ASM_PATH            = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCCxASL_IPF_PP_PATH             = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCCxASL_IPF_VFRPP_PATH          = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCCxASL_IPF_ASLCC_PATH          = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCCxASL_IPF_ASLPP_PATH          = DEF(CYGWIN_BINIPF)gcc\r
+*_CYGGCCxASL_IPF_OBJCOPY_PATH        = DEF(CYGWIN_BINIPF)objcopy\r
+*_CYGGCCxASL_IPF_SYMRENAME_PATH      = DEF(CYGWIN_BINIPF)objcopy\r
+\r
+*_CYGGCCxASL_IPF_CC_FLAGS             = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -minline-int-divide-min-latency\r
+*_CYGGCCxASL_IPF_DLINK_FLAGS          = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
+*_CYGGCCxASL_IPF_OBJCOPY_FLAGS        = -I elf64-ia64-little -O efi-bsdrv-ia64\r
+*_CYGGCCxASL_IPF_SYMRENAME_FLAGS      = --redefine-sym memcpy=CopyMem\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_CYGGCCxASL_EBC_*_FAMILY      = INTEL\r
+\r
+*_CYGGCCxASL_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_CYGGCCxASL_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe\r
+*_CYGGCCxASL_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_CYGGCCxASL_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe\r
+*_CYGGCCxASL_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe\r
+\r
+*_CYGGCCxASL_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_CYGGCCxASL_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC\r
+*_CYGGCCxASL_EBC_DLINK_FLAGS        = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\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
+*_ELFGCC_*_MAKE_PATH                = make\r
+\r
+*_ELFGCC_*_PP_FLAGS                     = -E -x assembler-with-cpp -include AutoGen.h\r
+*_ELFGCC_*_VFRPP_FLAGS                  = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_ELFGCC_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)\r
+*_ELFGCC_*_ASL_FLAGS                    = \r
+*_ELFGCC_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)\r
+*_ELFGCC_*_ASLPP_FLAGS                  = -x c -E -P\r
+*_ELFGCC_*_ASLCC_FLAGS                  = -x c\r
+*_ELFGCC_*_ASLDLINK_FLAGS               = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable\r
+\r
+##################\r
+# IA32 definitions\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
+*_ELFGCC32_IA32_ASLCC_PATH          = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC32_IA32_ASLPP_PATH          = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC32_IA32_ASLDLINK_PATH       = DEF(ELFGCC_BIN)/ld\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_IA32_SLINK_FLAGS           =\r
+*_ELFGCC_IA32_DLINK_FLAGS           = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
+#*_ELFGCC_IA32_DLINK_FLAGS          = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
+*_ELFGCC_IA32_ASM_FLAGS             = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_ELFGCC_IA32_PP_FLAGS              = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_ELFGCC_IA32_VFRPP_FLAGS           = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_ELFGCC_X64_CC_PATH               = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_X64_ASLCC_PATH            = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_X64_SLINK_PATH            = DEF(ELFGCC_BIN)/ar\r
+*_ELFGCC_X64_DLINK_PATH            = DEF(ELFGCC_BIN)/ld\r
+*_ELFGCC_X64_ASLDLINK_PATH         = DEF(ELFGCC_BIN)/ld\r
+*_ELFGCC_X64_ASM_PATH              = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_X64_PP_PATH               = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_X64_ASLPP_PATH            = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_X64_VFRPP_PATH            = DEF(ELFGCC_BIN)/gcc\r
+\r
+*_ELFGCC_X64_CC_FLAGS              = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -Wno-array-bounds -c -include AutoGen.h -D_EFI_P64\r
+*_ELFGCC_X64_DLINK_FLAGS           = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
+*_ELFGCC_X64_SLINK_FLAGS           =\r
+*_ELFGCC_X64_ASM_FLAGS             = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_ELFGCC_X64_PP_FLAGS              = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_ELFGCC_X64_VFRPP_FLAGS           = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_ELFGCC_IPF_CC_PATH              = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_IPF_ASLCC_PATH           = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_IPF_SLINK_PATH           = DEF(ELFGCC_BIN)/ar\r
+*_ELFGCC_IPF_DLINK_PATH           = DEF(ELFGCC_BIN)/ld\r
+*_ELFGCC_IPF_ASLDLINK_PATH        = DEF(ELFGCC_BIN)/ld\r
+*_ELFGCC_IPF_ASM_PATH             = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_IPF_PP_PATH              = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_IPF_ASLPP_PATH           = DEF(ELFGCC_BIN)/gcc\r
+*_ELFGCC_IPF_VFRPP_PATH           = DEF(ELFGCC_BIN)/gcc\r
+\r
+*_ELFGCC_IPF_CC_FLAGS             = -Os -fshort-wchar -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
+*_ELFGCC_IPF_DLINK_FLAGS          = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
+*_ELFGCC_IPF_SLINK_FLAGS          =\r
+*_ELFGCC_IPF_ASM_FLAGS            = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_ELFGCC_IPF_PP_FLAGS             = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
+*_ELFGCC_IPF_VFRPP_FLAGS          = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\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_*_MAKE_PATH                   = DEF(VS2005_BIN)\nmake.exe\r
+\r
+*_ICC_*_MAKE_FLAGS                       = /nologo\r
+*_ICC_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICC_*_APP_FLAGS                        = /nologo /E /TC\r
+*_ICC_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_ICC_*_ASL_PATH        = DEF(WIN_IASL_BIN)\r
+*_ICC_*_ASL_FLAGS       = \r
+*_ICC_*_ASL_OUTFLAGS    = DEF(IASL_OUTFLAGS)\r
+*_ICC_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)\r
+*_ICC_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)\r
+*_ICC_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\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(VS2005_BIN)\r
+*_ICC_IA32_DLINK_PATH               = DEF(ICC_BIN32)\xilink.exe\r
+*_ICC_IA32_ASMLINK_PATH             = DEF(WINDDK_BIN16)\link16.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(VS2005_BIN)\ml.exe\r
+*_ICC_IA32_ASM_DLL                  = DEF(VS2005_DLL)\r
+*_ICC_IA32_ASLCC_PATH               = DEF(ICC_BIN32)\icl.exe\r
+*_ICC_IA32_ASLPP_PATH               = DEF(ICC_BIN32)\icl.exe\r
+*_ICC_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32)\xilink.exe\r
+\r
+  DEBUG_ICC_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
+RELEASE_ICC_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
+  DEBUG_ICC_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi\r
+RELEASE_ICC_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd\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:$(IMAGE_ENTRY_POINT) /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:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICC_IA32_ASMLINK_FLAGS           = /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_ICC_X64_CC_PATH                   = DEF(ICC_BINX64)\icl.exe\r
+*_ICC_X64_SLINK_PATH                = DEF(ICC_BINX64)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICC_X64_SLINK_DLL                 = DEF(VS2005_BIN)\r
+*_ICC_X64_DLINK_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(VS2005_DLL)\r
+*_ICC_X64_ASLCC_PATH                = DEF(ICC_BINX64)\icl.exe\r
+*_ICC_X64_ASLPP_PATH                = DEF(ICC_BINX64)\icl.exe\r
+*_ICC_X64_ASLDLINK_PATH             = DEF(ICC_BINX64)\xilink.exe\r
+\r
+  DEBUG_ICC_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
+RELEASE_ICC_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
+  DEBUG_ICC_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_ICC_X64_ASM_FLAGS                = /nologo /c /WX /W3 /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:$(IMAGE_ENTRY_POINT) /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:$(IMAGE_ENTRY_POINT) /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
+# icl.exe needs cl.exe from Visual Studio\r
+*_ICC_IPF_CC_DLL                    = DEF(VS2005_BIN)\r
+*_ICC_IPF_SLINK_PATH                = DEF(ICC_BIN64)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICC_IPF_SLINK_DLL                 = DEF(VS2005_BIN);DEF(VS2005_DLL)\r
+*_ICC_IPF_DLINK_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
+*_ICC_IPF_APP_PATH                  = DEF(ICC_BIN64)\icl.exe\r
+*_ICC_IPF_ASM_PATH                  = DEF(ICC_BIN64)\ias.exe\r
+*_ICC_IPF_ASLCC_PATH                = DEF(ICC_BIN64)\icl.exe\r
+*_ICC_IPF_ASLPP_PATH                = DEF(ICC_BIN64)\icl.exe\r
+*_ICC_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64)\xilink.exe\r
+\r
+  DEBUG_ICC_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi\r
+RELEASE_ICC_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32\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:$(IMAGE_ENTRY_POINT) /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:$(IMAGE_ENTRY_POINT) /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
+# EBC definitions\r
+##################\r
+*_ICC_EBC_*_FAMILY              = INTEL\r
+\r
+*_ICC_EBC_MAKE_PATH             = DEF(VS2005_BIN)\nmake.exe\r
+*_ICC_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICC_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe\r
+*_ICC_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICC_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+*_ICC_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+\r
+*_ICC_EBC_MAKE_FLAGS                 = /nologo\r
+*_ICC_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
+*_ICC_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_ICC_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICC_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC\r
+*_ICC_EBC_DLINK_FLAGS                = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\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  - Microsoft ACPI Source Language Compiler\r
+#\r
+####################################################################################\r
+#   ICCxASL              - Intel C Compiler V9.1\r
+*_ICCxASL_*_*_FAMILY                    = INTEL\r
+\r
+*_ICCxASL_*_MAKE_PATH                   = DEF(VS2005_BIN)\nmake.exe\r
+\r
+*_ICCxASL_*_MAKE_FLAGS                       = /nologo\r
+*_ICCxASL_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICCxASL_*_APP_FLAGS                        = /nologo /E /TC\r
+*_ICCxASL_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_ICCxASL_*_ASL_PATH        = DEF(WIN_IASL_BIN)\r
+*_ICCxASL_*_ASL_FLAGS       =\r
+*_ICCxASL_*_ASL_OUTFLAGS    = DEF(IASL_OUTFLAGS)\r
+*_ICCxASL_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)\r
+*_ICCxASL_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)\r
+*_ICCxASL_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_ICCxASL_IA32_CC_PATH                  = DEF(ICC_BIN32)\icl.exe\r
+*_ICCxASL_IA32_SLINK_PATH               = DEF(ICC_BIN32)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCxASL_IA32_SLINK_DLL                = DEF(VS2005_BIN)\r
+*_ICCxASL_IA32_DLINK_PATH               = DEF(ICC_BIN32)\xilink.exe\r
+*_ICCxASL_IA32_ASMLINK_PATH             = DEF(WINDDK_BIN16)\link16.exe\r
+*_ICCxASL_IA32_PP_PATH                  = DEF(ICC_BIN32)\icl.exe\r
+*_ICCxASL_IA32_VFRPP_PATH               = DEF(ICC_BIN32)\icl.exe\r
+*_ICCxASL_IA32_APP_PATH                 = DEF(ICC_BIN32)\icl.exe\r
+*_ICCxASL_IA32_ASM_PATH                 = DEF(VS2005_BIN)\ml.exe\r
+*_ICCxASL_IA32_ASM_DLL                  = DEF(VS2005_DLL)\r
+*_ICCxASL_IA32_ASLCC_PATH               = DEF(ICC_BIN32)\icl.exe\r
+*_ICCxASL_IA32_ASLPP_PATH               = DEF(ICC_BIN32)\icl.exe\r
+*_ICCxASL_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32)\xilink.exe\r
+\r
+  DEBUG_ICCxASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
+RELEASE_ICCxASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
+  DEBUG_ICCxASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi\r
+RELEASE_ICCxASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd\r
+      *_ICCxASL_IA32_SLINK_FLAGS             = /nologo\r
+  DEBUG_ICCxASL_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_ICCxASL_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICCxASL_IA32_ASMLINK_FLAGS           = /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_ICCxASL_X64_CC_PATH                   = DEF(ICC_BINX64)\icl.exe\r
+*_ICCxASL_X64_SLINK_PATH                = DEF(ICC_BINX64)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCxASL_X64_SLINK_DLL                 = DEF(VS2005_BIN)\r
+*_ICCxASL_X64_DLINK_PATH                = DEF(ICC_BINX64)\xilink.exe\r
+*_ICCxASL_X64_PP_PATH                   = DEF(ICC_BINX64)\icl.exe\r
+*_ICCxASL_X64_VFRPP_PATH                = DEF(ICC_BINX64)\icl.exe\r
+*_ICCxASL_X64_APP_PATH                  = DEF(ICC_BINX64)\icl.exe\r
+*_ICCxASL_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe\r
+*_ICCxASL_X64_ASM_DLL                   = DEF(VS2005_DLL)\r
+*_ICCxASL_X64_ASLCC_PATH                = DEF(ICC_BINX64)\icl.exe\r
+*_ICCxASL_X64_ASLPP_PATH                = DEF(ICC_BINX64)\icl.exe\r
+*_ICCxASL_X64_ASLDLINK_PATH             = DEF(ICC_BINX64)\xilink.exe\r
+\r
+  DEBUG_ICCxASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
+RELEASE_ICCxASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
+  DEBUG_ICCxASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_ICCxASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_ICCxASL_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_ICCxASL_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICCxASL_X64_SLINK_FLAGS              = /nologo /LTCG\r
+\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_ICCxASL_IPF_CC_PATH                   = DEF(ICC_BIN64)\icl.exe\r
+# icl.exe needs cl.exe from Visual Studio\r
+*_ICCxASL_IPF_CC_DLL                    = DEF(VS2005_BIN)\r
+*_ICCxASL_IPF_SLINK_PATH                = DEF(ICC_BIN64)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCxASL_IPF_SLINK_DLL                 = DEF(VS2005_BIN);DEF(VS2005_DLL)\r
+*_ICCxASL_IPF_DLINK_PATH                = DEF(ICC_BIN64)\xilink.exe\r
+*_ICCxASL_IPF_PP_PATH                   = DEF(ICC_BIN64)\icl.exe\r
+*_ICCxASL_IPF_VFRPP_PATH                = DEF(ICC_BIN64)\icl.exe\r
+*_ICCxASL_IPF_APP_PATH                  = DEF(ICC_BIN64)\icl.exe\r
+*_ICCxASL_IPF_ASM_PATH                  = DEF(ICC_BIN64)\ias.exe\r
+*_ICCxASL_IPF_ASLCC_PATH                = DEF(ICC_BIN64)\icl.exe\r
+*_ICCxASL_IPF_ASLPP_PATH                = DEF(ICC_BIN64)\icl.exe\r
+*_ICCxASL_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64)\xilink.exe\r
+\r
+  DEBUG_ICCxASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi\r
+RELEASE_ICCxASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32\r
+  DEBUG_ICCxASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
+RELEASE_ICCxASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
+  DEBUG_ICCxASL_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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_ICCxASL_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
+      *_ICCxASL_IPF_SLINK_FLAGS              = /nologo\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_ICCxASL_EBC_*_FAMILY              = INTEL\r
+\r
+*_ICCxASL_EBC_MAKE_PATH             = DEF(VS2005_BIN)\nmake.exe\r
+*_ICCxASL_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICCxASL_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe\r
+*_ICCxASL_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICCxASL_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+*_ICCxASL_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+\r
+*_ICCxASL_EBC_MAKE_FLAGS                 = /nologo\r
+*_ICCxASL_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
+*_ICCxASL_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_ICCxASL_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICCxASL_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC\r
+*_ICCxASL_EBC_DLINK_FLAGS                = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+\r
+####################################################################################\r
+#\r
+# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)\r
+#\r
+#   ICCx86  - 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
+#   ICCx86              - Intel C Compiler V9.1\r
+*_ICCx86_*_*_FAMILY                    = INTEL\r
+\r
+*_ICCx86_*_MAKE_PATH                   = DEF(VS2005x86_BIN)\nmake.exe\r
+\r
+*_ICCx86_*_MAKE_FLAGS                       = /nologo\r
+*_ICCx86_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICCx86_*_APP_FLAGS                        = /nologo /E /TC\r
+*_ICCx86_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_ICCx86_*_ASL_PATH        = DEF(WIN_IASL_BIN)\r
+*_ICCx86_*_ASL_FLAGS       =\r
+*_ICCx86_*_ASL_OUTFLAGS    = DEF(IASL_OUTFLAGS)\r
+*_ICCx86_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)\r
+*_ICCx86_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)\r
+*_ICCx86_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_ICCx86_IA32_CC_PATH                  = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86_IA32_SLINK_PATH               = DEF(ICC_BIN32x86)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCx86_IA32_SLINK_DLL                = DEF(VS2005x86_BIN)\r
+*_ICCx86_IA32_DLINK_PATH               = DEF(ICC_BIN32x86)\xilink.exe\r
+*_ICCx86_IA32_ASMLINK_PATH             = DEF(WINDDK_BIN16)\link16.exe\r
+*_ICCx86_IA32_PP_PATH                  = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86_IA32_VFRPP_PATH               = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86_IA32_APP_PATH                 = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86_IA32_ASM_PATH                 = DEF(VS2005x86_BIN)\ml.exe\r
+*_ICCx86_IA32_ASM_DLL                  = DEF(VS2005x86_DLL)\r
+*_ICCx86_IA32_ASLCC_PATH               = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86_IA32_ASLPP_PATH               = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32x86)\xilink.exe\r
+\r
+  DEBUG_ICCx86_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
+RELEASE_ICCx86_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
+  DEBUG_ICCx86_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi\r
+RELEASE_ICCx86_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd\r
+      *_ICCx86_IA32_SLINK_FLAGS             = /nologo\r
+  DEBUG_ICCx86_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_ICCx86_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICCx86_IA32_ASMLINK_FLAGS           = /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_ICCx86_X64_CC_PATH                   = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86_X64_SLINK_PATH                = DEF(ICC_BINX64x86)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCx86_X64_SLINK_DLL                 = DEF(VS2005x86_BIN)\r
+*_ICCx86_X64_DLINK_PATH                = DEF(ICC_BINX64x86)\xilink.exe\r
+*_ICCx86_X64_PP_PATH                   = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86_X64_VFRPP_PATH                = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86_X64_APP_PATH                  = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe\r
+*_ICCx86_X64_ASM_DLL                   = DEF(VS2005x86_DLL)\r
+*_ICCx86_X64_ASLCC_PATH                = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86_X64_ASLPP_PATH                = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86_X64_ASLDLINK_PATH             = DEF(ICC_BINX64x86)\xilink.exe\r
+\r
+  DEBUG_ICCx86_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
+RELEASE_ICCx86_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
+  DEBUG_ICCx86_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_ICCx86_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_ICCx86_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_ICCx86_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICCx86_X64_SLINK_FLAGS              = /nologo /LTCG\r
+\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_ICCx86_IPF_CC_PATH                   = DEF(ICC_BIN64x86)\icl.exe\r
+# icl.exe needs cl.exe from Visual Studio\r
+*_ICCx86_IPF_CC_DLL                    = DEF(VS2005x86_BIN)\r
+*_ICCx86_IPF_SLINK_PATH                = DEF(ICC_BIN64x86)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCx86_IPF_SLINK_DLL                 = DEF(VS2005x86_BIN);DEF(VS2005x86_DLL)\r
+*_ICCx86_IPF_DLINK_PATH                = DEF(ICC_BIN64x86)\xilink.exe\r
+*_ICCx86_IPF_PP_PATH                   = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86_IPF_VFRPP_PATH                = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86_IPF_APP_PATH                  = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86_IPF_ASM_PATH                  = DEF(ICC_BIN64x86)\ias.exe\r
+*_ICCx86_IPF_ASLCC_PATH                = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86_IPF_ASLPP_PATH                = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64x86)\xilink.exe\r
+\r
+  DEBUG_ICCx86_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi\r
+RELEASE_ICCx86_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32\r
+  DEBUG_ICCx86_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
+RELEASE_ICCx86_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
+  DEBUG_ICCx86_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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_ICCx86_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
+      *_ICCx86_IPF_SLINK_FLAGS              = /nologo\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_ICCx86_EBC_*_FAMILY              = INTEL\r
+\r
+*_ICCx86_EBC_MAKE_PATH             = DEF(VS2005x86_BIN)\nmake.exe\r
+*_ICCx86_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICCx86_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe\r
+*_ICCx86_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICCx86_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+*_ICCx86_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+\r
+*_ICCx86_EBC_MAKE_FLAGS                 = /nologo\r
+*_ICCx86_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
+*_ICCx86_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_ICCx86_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICCx86_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC\r
+*_ICCx86_EBC_DLINK_FLAGS                = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+\r
+####################################################################################\r
+#\r
+# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)\r
+#\r
+#   ICCx86xASL  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032\r
+#   ASL  - Microsoft ACPI Source Language Compiler\r
+#\r
+####################################################################################\r
+#   ICCx86xASL              - Intel C Compiler V9.1\r
+*_ICCx86xASL_*_*_FAMILY                    = INTEL\r
+\r
+*_ICCx86xASL_*_MAKE_PATH                   = DEF(VS2005x86_BIN)\nmake.exe\r
+\r
+*_ICCx86xASL_*_MAKE_FLAGS                       = /nologo\r
+*_ICCx86xASL_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICCx86xASL_*_APP_FLAGS                        = /nologo /E /TC\r
+*_ICCx86xASL_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h\r
+\r
+##################\r
+# ASL definitions\r
+##################\r
+*_ICCx86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)\r
+*_ICCx86xASL_*_ASL_FLAGS       =\r
+*_ICCx86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)\r
+*_ICCx86xASL_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)\r
+*_ICCx86xASL_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)\r
+*_ICCx86xASL_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_ICCx86xASL_IA32_CC_PATH                  = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86xASL_IA32_SLINK_PATH               = DEF(ICC_BIN32x86)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCx86xASL_IA32_SLINK_DLL                = DEF(VS2005x86_BIN)\r
+*_ICCx86xASL_IA32_DLINK_PATH               = DEF(ICC_BIN32x86)\xilink.exe\r
+*_ICCx86xASL_IA32_ASMLINK_PATH             = DEF(WINDDK_BIN16)\link16.exe\r
+*_ICCx86xASL_IA32_PP_PATH                  = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86xASL_IA32_VFRPP_PATH               = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86xASL_IA32_APP_PATH                 = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86xASL_IA32_ASM_PATH                 = DEF(VS2005x86_BIN)\ml.exe\r
+*_ICCx86xASL_IA32_ASM_DLL                  = DEF(VS2005x86_DLL)\r
+*_ICCx86xASL_IA32_ASLCC_PATH               = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86xASL_IA32_ASLPP_PATH               = DEF(ICC_BIN32x86)\icl.exe\r
+*_ICCx86xASL_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32x86)\xilink.exe\r
+\r
+  DEBUG_ICCx86xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
+RELEASE_ICCx86xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
+  DEBUG_ICCx86xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi\r
+RELEASE_ICCx86xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd\r
+      *_ICCx86xASL_IA32_SLINK_FLAGS             = /nologo\r
+  DEBUG_ICCx86xASL_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_ICCx86xASL_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICCx86xASL_IA32_ASMLINK_FLAGS           = /nologo /tiny\r
+\r
+##################\r
+# X64 definitions\r
+##################\r
+*_ICCx86xASL_X64_CC_PATH                   = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86xASL_X64_SLINK_PATH                = DEF(ICC_BINX64x86)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCx86xASL_X64_SLINK_DLL                 = DEF(VS2005x86_BIN)\r
+*_ICCx86xASL_X64_DLINK_PATH                = DEF(ICC_BINX64x86)\xilink.exe\r
+*_ICCx86xASL_X64_PP_PATH                   = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86xASL_X64_VFRPP_PATH                = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86xASL_X64_APP_PATH                  = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86xASL_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe\r
+*_ICCx86xASL_X64_ASM_DLL                   = DEF(VS2005x86_DLL)\r
+*_ICCx86xASL_X64_ASLCC_PATH                = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86xASL_X64_ASLPP_PATH                = DEF(ICC_BINX64x86)\icl.exe\r
+*_ICCx86xASL_X64_ASLDLINK_PATH             = DEF(ICC_BINX64x86)\xilink.exe\r
+\r
+  DEBUG_ICCx86xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
+RELEASE_ICCx86xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
+  DEBUG_ICCx86xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_ICCx86xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd\r
+  DEBUG_ICCx86xASL_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
+RELEASE_ICCx86xASL_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
+      *_ICCx86xASL_X64_SLINK_FLAGS              = /nologo /LTCG\r
+\r
+\r
+##################\r
+# IPF definitions\r
+##################\r
+*_ICCx86xASL_IPF_CC_PATH                   = DEF(ICC_BIN64x86)\icl.exe\r
+# icl.exe needs cl.exe from Visual Studio\r
+*_ICCx86xASL_IPF_CC_DLL                    = DEF(VS2005x86_BIN)\r
+*_ICCx86xASL_IPF_SLINK_PATH                = DEF(ICC_BIN64x86)\xilib.exe\r
+# xilib.exe needs lib.exe from Visual Studio\r
+*_ICCx86xASL_IPF_SLINK_DLL                 = DEF(VS2005x86_BIN);DEF(VS2005x86_DLL)\r
+*_ICCx86xASL_IPF_DLINK_PATH                = DEF(ICC_BIN64x86)\xilink.exe\r
+*_ICCx86xASL_IPF_PP_PATH                   = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86xASL_IPF_VFRPP_PATH                = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86xASL_IPF_APP_PATH                  = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86xASL_IPF_ASM_PATH                  = DEF(ICC_BIN64x86)\ias.exe\r
+*_ICCx86xASL_IPF_ASLCC_PATH                = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86xASL_IPF_ASLPP_PATH                = DEF(ICC_BIN64x86)\icl.exe\r
+*_ICCx86xASL_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64x86)\xilink.exe\r
+\r
+  DEBUG_ICCx86xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi\r
+RELEASE_ICCx86xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32\r
+  DEBUG_ICCx86xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
+RELEASE_ICCx86xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
+  DEBUG_ICCx86xASL_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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_ICCx86xASL_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
+      *_ICCx86xASL_IPF_SLINK_FLAGS              = /nologo\r
+\r
+##################\r
+# EBC definitions\r
+##################\r
+*_ICCx86xASL_EBC_*_FAMILY              = INTEL\r
+\r
+*_ICCx86xASL_EBC_MAKE_PATH             = DEF(VS2005x86_BIN)\nmake.exe\r
+*_ICCx86xASL_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICCx86xASL_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe\r
+*_ICCx86xASL_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_ICCx86xASL_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+*_ICCx86xASL_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe\r
+\r
+*_ICCx86xASL_EBC_MAKE_FLAGS                 = /nologo\r
+*_ICCx86xASL_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
+*_ICCx86xASL_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_ICCx86xASL_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_ICCx86xASL_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC\r
+*_ICCx86xASL_EBC_DLINK_FLAGS                = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\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
+##################\r
+# ASL definitions\r
+##################\r
+*_MYTOOLS_*_ASL_PATH        = DEF(WIN_IASL_BIN)\r
+*_MYTOOLS_*_ASL_FLAGS       =\r
+*_MYTOOLS_*_ASL_OUTFLAGS    = DEF(IASL_OUTFLAGS)\r
+*_MYTOOLS_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)\r
+*_MYTOOLS_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)\r
+*_MYTOOLS_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
+\r
+\r
+*_MYTOOLS_*_MAKE_FLAGS                   = /nologo\r
+*_MYTOOLS_*_VFRPP_FLAGS                  = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
+*_MYTOOLS_*_APP_FLAGS                    = /nologo /E /TC\r
+*_MYTOOLS_*_PP_FLAGS                     = /nologo /E /TC /FIAutoGen.h\r
+*_MYTOOLS_*_SLINK_FLAGS                  = /nologo /LTCG\r
+\r
+##################\r
+# IA32 definitions\r
+##################\r
+*_MYTOOLS_IA32_*_DLL                = DEF(VS2005_DLL)\r
+\r
+*_MYTOOLS_IA32_MAKE_PATH            = DEF(VS2005_BIN)\nmake.exe\r
+*_MYTOOLS_IA32_CC_PATH              = DEF(VS2005_BIN)\cl.exe\r
+*_MYTOOLS_IA32_SLINK_PATH           = DEF(VS2005_BIN)\lib.exe\r
+*_MYTOOLS_IA32_DLINK_PATH           = DEF(VS2005_BIN)\link.exe\r
+*_MYTOOLS_IA32_ASMLINK_PATH         = DEF(WINDDK_BIN16)\link16.exe\r
+*_MYTOOLS_IA32_PP_PATH              = DEF(VS2005_BIN)\cl.exe\r
+*_MYTOOLS_IA32_VFRPP_PATH           = DEF(VS2005_BIN)\cl.exe\r
+*_MYTOOLS_IA32_APP_PATH             = DEF(VS2005_BIN)\cl.exe\r
+*_MYTOOLS_IA32_ASM_PATH             = DEF(VS2005_BIN)\ml.exe\r
+*_MYTOOLS_IA32_ASLCC_PATH           = DEF(VS2005_BIN)\cl.exe\r
+*_MYTOOLS_IA32_ASLPP_PATH           = DEF(VS2005_BIN)\cl.exe\r
+*_MYTOOLS_IA32_ASLDLINK_PATH        = DEF(VS2005_BIN)\link.exe\r
+\r
+  DEBUG_MYTOOLS_IA32_CC_FLAGS            = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_MYTOOLS_IA32_CC_FLAGS            = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_MYTOOLS_IA32_ASM_FLAGS           = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
+RELEASE_MYTOOLS_IA32_ASM_FLAGS           = /nologo /c /WX /W3 /coff /Cx /Zd\r
+  DEBUG_MYTOOLS_IA32_DLINK_FLAGS         = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEBUG_DIR)/$(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:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
+      *_MYTOOLS_IA32_ASMLINK_FLAGS       = /nologo /tiny\r
+\r
+##################\r
+# x64 definitions\r
+##################\r
+*_MYTOOLS_X64_*_DLL                 = DEF(VS2005_DLL)\r
+\r
+*_MYTOOLS_X64_MAKE_PATH             = DEF(VS2005_BIN)\nmake.exe\r
+*_MYTOOLS_X64_CC_PATH               = DEF(VS2005_BINX64)\cl.exe\r
+*_MYTOOLS_X64_SLINK_PATH            = DEF(VS2005_BINX64)\lib.exe\r
+*_MYTOOLS_X64_DLINK_PATH            = DEF(VS2005_BINX64)\link.exe\r
+*_MYTOOLS_X64_PP_PATH               = DEF(VS2005_BINX64)\cl.exe\r
+*_MYTOOLS_X64_VFRPP_PATH            = DEF(VS2005_BINX64)\cl.exe\r
+*_MYTOOLS_X64_APP_PATH              = DEF(VS2005_BINX64)\cl.exe\r
+*_MYTOOLS_X64_ASM_PATH              = DEF(VS2005_BINX64)\ml64.exe\r
+*_MYTOOLS_X64_ASLCC_PATH            = DEF(VS2005_BINX64)\cl.exe\r
+*_MYTOOLS_X64_ASLPP_PATH            = DEF(VS2005_BINX64)\cl.exe\r
+*_MYTOOLS_X64_ASLDLINK_PATH         = DEF(VS2005_BINX64)\link.exe\r
+\r
+  DEBUG_MYTOOLS_X64_CC_FLAGS             = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+RELEASE_MYTOOLS_X64_CC_FLAGS             = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
+  DEBUG_MYTOOLS_X64_ASM_FLAGS            = /nologo /c /WX /W3 /Cx /Zd /Zi\r
+RELEASE_MYTOOLS_X64_ASM_FLAGS            = /nologo /c /WX /W3 /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:$(IMAGE_ENTRY_POINT) /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:$(IMAGE_ENTRY_POINT) /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_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_ASLCC_PATH            = DEF(WINDDK_BIN64)\cl.exe\r
+*_MYTOOLS_IPF_ASLPP_PATH            = DEF(WINDDK_BIN64)\cl.exe\r
+*_MYTOOLS_IPF_ASLDLINK_PATH         = DEF(WINDDK_BIN64)\link.exe\r
+      *_MYTOOLS_IPF_ASM_OUTPUT           = "-o "\r
+\r
+  DEBUG_MYTOOLS_IPF_CC_FLAGS             = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi\r
+RELEASE_MYTOOLS_IPF_CC_FLAGS             = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32\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:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(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:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(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(VS2005_BIN)\nmake.exe\r
+*_MYTOOLS_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe\r
+*_MYTOOLS_EBC_VFRPP_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 /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
+*_MYTOOLS_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.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:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP\r
+\r
+##################\r
+# VfrCompiler definitions\r
+##################\r
+*_*_*_VFR_PATH                      = VfrCompile\r
+*_*_*_VFR_FLAGS                     = -l -n\r
+\r
+##################\r
+# OptionRom tool definitions\r
+##################\r
+*_*_*_OPTROM_PATH                   = EfiRom\r
+*_*_*_OPTROM_FLAGS                  = -e\r
+\r
+##################\r
+# Asl Compiler definitions\r
+##################\r
+*_*_*_ASLCC_FLAGS                  = /GL- /Y- /TC /Dmain=ReferenceAcpiTable\r
+*_*_*_ASLDLINK_FLAGS               = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE\r
+*_*_*_ASLPP_FLAGS                  = /nologo /EP /C\r
+*_*_*_ASL_FLAGS                    =\r
+\r
+##################\r
+# LzmaCompress tool definitions\r
+##################\r
+*_*_*_LZMA_PATH          = LzmaCompress\r
+*_*_*_LZMA_GUID          = EE4E5898-3914-4259-9D6E-DC7BD79403CF\r
+\r
+##################\r
+# TianoCompress tool definitions\r
+##################\r
+*_*_*_TIANO_PATH         = TianoCompress\r
+*_*_*_TIANO_GUID         = A31280AD-481E-41B6-95E8-127F4C984779\r
+\r
index 37d4a01..e47f465 100644 (file)
@@ -1,5 +1,9 @@
+This directory contains the next generation of EDK II build tools and template files.\r
+Templates are located in the Conf directory, while the tools executables for\r
+Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 directory, other \r
+directory contatins tools source.\r
 \r
-This file decribes how to build the BaseTools project.\r
+1. Build step to generate the binary tools.\r
 \r
 === Windows/Visual Studio Notes ===\r
 \r
@@ -39,3 +43,151 @@ Please copy it manually from <PythonHome>\DLLs.
 The Python distributed with most recent Linux will have sqlite3 module\r
 built in. If not, please install sqlit3 package separately.\r
 \r
+2. The binary tools will be updated only after passing developer testing.\r
+\r
+Current state of the tools is Proto-Type - not all tool functions have been implemented\r
+and there may be bugs in these tools.  These tools are under constant development at\r
+this time.\r
+\r
+3. Tool usage introduction.\r
+BaseTools Simple Usage:\r
+1) Change the directory to the EDK2 root directory, where the edksetup.bat is\r
+2) Run "edksetup.bat NewBuild"\r
+3) Set the ACTIVE_PLATFORM to your desired platform description file \r
+   (%WORKSPACE%\Conf\target.txt)\r
+4) To build platform, run "build" command in non-module directory\r
+5) To build module individually, run "build" command in module directory, i.e. where the \r
+   *.inf file is\r
+\r
+Notes:\r
+1) The tree structure generated by build tools is similar to Ant build system.\r
+2) Makefile can be called directly by nmake for both top level platform and module. But\r
+   after you call "nmake cleanall", you have to call "build" command to rebuild platform\r
+        or modules because the AutoGen.* files have been be removed. The "makefile" itself\r
+        cannot generate AutoGen.* files. Only "build" command can.\r
+3) All .exe binary file including C and python tools are generated from:\r
+    r1655 <buildtools_project>\BaseTools\Source\\r
+       \r
+Brief usage for Migration Tool MigrationMsa2Inf.exe:\r
+1. Command line format:\r
+  MigrationMsa2Inf [options]\r
+2. Input Files:\r
+  A syntactically valid MSA file\r
+3. Output Files:\r
+  An extended INF file with possible auto-generated EntryPoint.c, CommonHeader.h/CommonHeader.txt, depending on options and module contents.\r
+4. Prerequisite:\r
+   a. The workspace directory must be specified either by environment variable or -w option.  \r
+   b. The Framework Database file must exist to specify the available packages in current workspace. \r
+      Two possible locations are: (The first location overrides the second)\r
+            $(WORKSPACE)\Tools\Conf\FrameworkDatabase.db\r
+            $(WORKSPACE)\Conf\FrameworkDatabase.db.  \r
+      The <PackageList> field in FrameworkDatabase.db lists all available packages in current workspace. \r
+      One example:\r
+      <PackageList>\r
+        <Filename>MdePkg/MdePkg.nspd</Filename>\r
+        <Filename>MdeModulePkg/MdeModulePkg.spd</Filename>\r
+        <Filename>IntelFrameworkPkg/IntelFrameworkPkg.spd</Filename>\r
+      </PackageList>\r
+      The package list in FrameworkDatabase.db is important to the final quality of migration:\r
+      (1) It suggests the new package location: Translate package dependency Guid in MSA to Workspace relative path. \r
+         If the package dependency Guid cannot be found in current workspace a warning message is raised. \r
+      (2) It collects the Protocol/Guid/Ppi GuidCName a package contains. \r
+         The GuidCName acts as "clue" to add e.g. #include <Protocol/DiskIo.h> in CommonHeader.h\r
+     \r
+5. Example:\r
+   WORKSAPCE has already been set: $(WORKSPACE) = c:\work\EdkII. \r
\r
+   a. MigrationMsa2Inf -f c:\work\EdkII\Nt32Pkg\WinNtThunkDxe\WinNtThunk.msa -o c:\work\EdkII\Nt32Pkg\WinNtThunkDxe\WinNtThunk.inf\r
+   b. MigrationMsa2Inf -f c:\work\EdkII\Nt32Pkg\WinNtThunkDxe\WinNtThunk.msa -a\r
+   Example a & b are equivalent to migrate WinNtThunk driver from EDKII to EDKII' code base.\r
+  \r
+   c. MigrationMsa2Inf -f c:\work\EdkII\Nt32Pkg\WinNtThunkDxe\WinNtThunk.msa -a -c\r
+   The extra "-c" option performs several hardcode mapping due to the naming change in EDKII': \r
+      OldMdePkg Guid -> MdePkgGuid, \r
+      EdkModulePkg Guid -> MdeModulePkgGuid, \r
+      EdkGraphicsLib -> GraphicsLib\r
+      HiiLib -> HiiLibFramework\r
+      ...\r
+   \r
+   d. MigrationMsa2Inf -f c:\work\EdkII\Nt32Pkg\WinNtThunkDxe\WinNtThunk.msa -m\r
+   The extra "-m" option suppresses the generation of "CommonHeader.h" and leave all C files intact. \r
+   Instead, it generates "CommonHeader.txt". Developers can manually copy its content to a local common header file in a module. \r
\r
+6. Known Limitations:\r
+   a. Tool does not handle Exit Boot Services Callback & Virtual Address Changed Event. Developers need  to handle it manually.\r
+   b. The #include <Library/AbcLib.h> is based on library class naming convention: The header filename for "AbcLib" class are "AbcLib.h" by convention.\r
+   c. The #include <Guid/Xyz.h>, <Protocol/Xyz.h> and <Ppi/Xyz.h> are added based on gGuidCName listed in MSA. \r
+      If a GuidCName cannot map to a package Guid/Protocol/Ppi header file, a warning message is raised.\r
+      If a module uses the definition in a pakcage Guid/Protocol/Ppi header file without list its associative GuidCName, the build will beak. Developer needs to       manually add the include statement.\r
+   d. The [Depex] sections are generated from DXS files with Guid Macro translated to Guid CName by naming convention, etc.\r
+    If tool fails to "guess" the Guid CName from Guid Macro, it will leave the GuidMacro in [Depex] section for manual resolution.\r
+   e. When tool generates [Sources] section, the modifiers for source files are lost. (Need to add proper tool chain, etc)\r
+   f. When tool generates [LibraryClasses] section, the recommended library instances are lost. (No impact to build)\r
\r
+7. Pyton Source\r
+   r682 <buildtools_project>\BaseTools\Source\Python\MigrationMsa2Inf\r
+\r
+\r
+Brief Usage for PcdSyntax Update:\r
+Usage:\r
+  PcdSyntaxUpdate.exe <directory_name>\r
+It searches all INF, DEC and DSC file under <directory_name> and update them with the following rules:\r
+1. Update INF files to conform to INF spec 0.44: \r
+   a. Rename PCD section name: e.g. [PcdsFeatureFlag] -> [FeaturePcd]\r
+   b. Adjust PCD section item format: e.g. PcdDebugClearMemoryValue|gEfiMdePkgTokenSpaceGuid -> gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue\r
+   c. Update the syntax of binary INF file (not PCD related) \r
+2. Update DEC files to confirm to DEC spec 0.36\r
+   Adjust PCD section item format: e.g. PcdWinNtPhysicalDisk|0x00001000|gEfiNt32PkgTokenSpaceGuid|VOID*|L"E:RW;245760;512"-> gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize|0x0|UINT32|0x00001011\r
+3. Update DSC files to confirm to DSC spec \r
+   a. Adjust string/array typed PCD item format: e.g. PcdWinNtMemorySizeForSecMain|gEfiNt32PkgTokenSpaceGuid|L"64!64"|12 -> gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySizeForSecMain|L"64!64"|VOID*|12\r
+   b. Adjust non-string/array typed PCD item format: e.g. PcdWinNtBootMode|gEfiNt32PkgTokenSpaceGuid|1 -> gEfiNt32PkgTokenSpaceGuid.PcdWinNtBootMode|1\r
+   c. Update the override library class in [Components] section: e.g.\r
+   <LibraryClass> {\r
+      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+   }\r
+   To \r
+   <LibraryClasses> {\r
+      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+   }\r
+\r
+Brief usage for Migration Tool Spd2Dec.exe:\r
+1. Command line format:\r
+  Spd2Dec [options] input_filename\r
+2. Input File:\r
+  A syntactically valid SPD file\r
+3. Output Files:\r
+  A DEC file whose syntax confirms to DEC spec.\r
+     \r
+4. Example:\r
+   a. Spd2Dec -o c:\work\EdkII\Nt32Pkg\Nt32.spd c:\work\EdkII\Nt32Pkg\Nt32.dec\r
+   b. Spd2Dec -a c:\work\EdkII\Nt32Pkg\Nt32.spd\r
+   Example a & b are equivalent to migrate Nt32 package SPD file from EDKII to EDKII' snytax.\r
+  \r
+6. Pyton Source\r
+   r777 <buildtools_project>\BaseTools\Source\Python\spd2Dec\r
+\r
+Brief usage for Migration Tool Fpd2Dsc.exe:\r
+1. Command line format:\r
+  Fpd2Dsc [options] input_filename\r
+2. Input File:\r
+  A syntactically valid FPD file\r
+3. Output Files:\r
+  A DSC file which syntax confirms to DSC spec.\r
+4. Prerequisite:\r
+   a. The workspace directory must be specified either by environment variable or -w option.\r
+     \r
+5. Example:\r
+   WORKSAPCE has already been set: $(WORKSPACE) = c:\work\EdkII. \r
\r
+   a. Fpd2Dsc -o c:\work\EdkII\Nt32Pkg\Nt32.dsc c:\work\EdkII\Nt32Pkg\Nt32.fpd\r
+   b. Fpd2Dsc -a c:\work\EdkII\Nt32Pkg\Nt32.fpd\r
+   Example a & b are equivalent to migrate Nt32 platform description file from EDKII to EDKII' snytax.\r
+  \r
+6. Known Limitations:\r
+   a. Tool does not handle Libraries Section since no related info in original FPD file. Developers need  to handle it manually in the output DSC file.\r
+   b. If MSA file which is corresponds to module guid could not be found in currect workspace, tool will dump the module guid.\r
\r
+7. Pyton Source\r
+   r767 <buildtools_project>\BaseTools\Source\Python\Fpd2Dsc\r
+\r
+17-July-2009\r
diff --git a/building-gcc.txt b/building-gcc.txt
new file mode 100644 (file)
index 0000000..886e2da
--- /dev/null
@@ -0,0 +1,15 @@
+To use GCC with the BaseTools project for edk2 based development purposes,
+you will need to build a GCC based cross-compiler (in addition to binutils).
+
+Instructions for building GCC for this purpose can be found under the
+BaseTools source tree.  (In addition to the instructions, you will also
+find scripts to help automate the build process.)
+
+If you do not have a tianocore.org account, you can make use of the 'guest'
+account with an empty password.
+
+In a web browser, you can 'browse' the relavent source at this location:
+ https://buildtools.tianocore.org/source/browse/buildtools/trunk/BaseTools/gcc
+
+Or, with subversion, you can download the relavent source with this command:
+ svn co https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/gcc
index d410b23..707d261 100755 (executable)
@@ -131,7 +131,7 @@ pushd .
   )\r
   echo EDK_TOOLS_PATH      = %EDK_TOOLS_PATH%\r
   if defined BASE_TOOLS_PATH (\r
-    echo BASE_TOOLS_PATH     = %EDK_TOOLS_PATH%\r
+    echo BASE_TOOLS_PATH     = %BASE_TOOLS_PATH%\r
   )\r
   echo.\r
 \r
@@ -162,27 +162,40 @@ if NOT exist %WORKSPACE%\Conf\FrameworkDatabase.db (
   echo copying ... FrameworkDatabase.template to %WORKSPACE%\Conf\FrameworkDatabase.db\r
   copy %EDK_TOOLS_PATH%\Conf\FrameworkDatabase.template %WORKSPACE%\Conf\FrameworkDatabase.db > nul\r
 ) else (\r
+  if defined RECONFIG echo over-write ... FrameworkDatabase.template to %WORKSPACE%\Conf\FrameworkDatabase.db\r
   if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\FrameworkDatabase.template %WORKSPACE%\Conf\FrameworkDatabase.db > nul\r
 )\r
 \r
 if NOT exist %WORKSPACE%\Conf\target.txt (\r
   echo copying ... target.template to %WORKSPACE%\Conf\target.txt\r
+  if NOT exist %EDK_TOOLS_PATH%\Conf\target.template (\r
+    echo Error: target.template is missing at folder %EDK_TOOLS_PATH%\Conf\\r
+  )\r
   copy %EDK_TOOLS_PATH%\Conf\target.template %WORKSPACE%\Conf\target.txt > nul\r
 ) else (\r
+  if defined RECONFIG echo over-write ... target.template to %WORKSPACE%\Conf\target.txt\r
   if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\target.template %WORKSPACE%\Conf\target.txt > nul\r
 )\r
 \r
 if NOT exist %WORKSPACE%\Conf\tools_def.txt (\r
   echo copying ... tools_def.template to %WORKSPACE%\Conf\tools_def.txt\r
+  if NOT exist %EDK_TOOLS_PATH%\Conf\tools_def.template (\r
+    echo Error: tools_def.template is missing at folder %EDK_TOOLS_PATH%\Conf\\r
+  )\r
   copy %EDK_TOOLS_PATH%\Conf\tools_def.template %WORKSPACE%\Conf\tools_def.txt > nul\r
 ) else (\r
+  if defined RECONFIG echo over-write ... tools_def.template to %WORKSPACE%\Conf\tools_def.txt\r
   if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\tools_def.template %WORKSPACE%\Conf\tools_def.txt > nul\r
 )\r
 \r
 if NOT exist %WORKSPACE%\Conf\build_rule.txt (\r
   echo copying ... build_rule.template to %WORKSPACE%\Conf\build_rule.txt\r
+  if NOT exist %EDK_TOOLS_PATH%\Conf\build_rule.template (\r
+    echo Error: build_rule.template is missing at folder %EDK_TOOLS_PATH%\Conf\\r
+  )\r
   copy %EDK_TOOLS_PATH%\Conf\build_rule.template %WORKSPACE%\Conf\build_rule.txt > nul\r
 ) else (\r
+  if defined RECONFIG echo over-write ... build_rule.template to %WORKSPACE%\Conf\build_rule.txt\r
   if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\build_rule.template %WORKSPACE%\Conf\build_rule.txt > nul\r
 )\r
 \r
@@ -216,9 +229,6 @@ IF NOT EXIST "%EDK_TOOLS_PATH%\Bin\Win32\VfrCompile.exe" goto check_build_enviro
 IF NOT EXIST "%EDK_TOOLS_PATH%\Bin\Win32\Fpd2Dsc.exe" goto check_build_environment\r
 IF NOT EXIST "%EDK_TOOLS_PATH%\Bin\Win32\VolInfo.exe" goto check_build_environment\r
 \r
-@echo No build required, we're good to go\r
-goto end\r
-\r
 :check_build_environment\r
   if not defined BASE_TOOLS_PATH (\r
      if not exist "Source\C\Makefile" (\r