blob: fe7900ef428102ed3d647282587306a0ba0a8b1f [file] [log] [blame]
jljusten07a756b2007-10-17 01:54:36 +00001#
lgao4da92f272011-05-11 10:26:49 +00002# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
lgao440d841f2010-05-18 05:04:32 +00003# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
jljusten07a756b2007-10-17 01:54:36 +00004#
lgao440d841f2010-05-18 05:04:32 +00005# This program and the accompanying materials
jljusten07a756b2007-10-17 01:54:36 +00006# are licensed and made available under the terms and conditions of the BSD License
7# which accompanies this distribution. The full text of the license may be found at
8# http://opensource.org/licenses/bsd-license.php
9#
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13
14IDENTIFIER = Default TOOL_CHAIN_CONF
15
16# common path macros
eric_tian623471a2009-04-14 03:20:33 +000017DEFINE VS2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
18DEFINE VS2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
jljusten07a756b2007-10-17 01:54:36 +000019
eric_tian623471a2009-04-14 03:20:33 +000020DEFINE VS2005_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000021DEFINE VS2005_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005_BIN)
eric_tian623471a2009-04-14 03:20:33 +000022DEFINE VS2005_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
23DEFINE VS2005_BIN64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64
jljusten07a756b2007-10-17 01:54:36 +000024
eric_tian3b6c90a2009-04-13 12:50:50 +000025DEFINE VS2005x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000026DEFINE VS2005x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005x86_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +000027DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64
28DEFINE VS2005x86_BIN64 = DEF(VS2005x86_BIN)\x86_ia64
jljusten07a756b2007-10-17 01:54:36 +000029
lgao452302d42010-02-28 23:39:39 +000030DEFINE VS2008_BIN = C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000031DEFINE VS2008_DLL = C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008_BIN)
lgao452302d42010-02-28 23:39:39 +000032DEFINE VS2008_BINX64 = DEF(VS2008_BIN)\x86_amd64
33DEFINE VS2008_BIN64 = DEF(VS2008_BIN)\x86_ia64
34
35DEFINE VS2008x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000036DEFINE VS2008x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008x86_BIN)
lgao452302d42010-02-28 23:39:39 +000037DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64
38DEFINE VS2008x86_BIN64 = DEF(VS2008x86_BIN)\x86_ia64
39
40DEFINE WINSDK_VERSION = v6.0A
41DEFINE WINSDK_BIN = c:\Program Files\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
42DEFINE WINSDKx86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
lgao4b303ea72009-11-09 11:47:35 +000043
44# These defines are needed for certain Microsoft Visual Studio tools that
45# are used by other toolchains. An example is that ICC on Windows normally
46# uses Microsoft's nmake.exe.
47
lgao4b36d1342011-09-18 12:17:25 +000048# Some MS_VS_BIN options: DEF(VS2003_BIN), DEF(VS2005_BIN), DEF(VS2005x86_BIN), DEF(VS2008_BIN), DEF(VS2008x86_BIN)
lgao464137022010-12-06 05:17:09 +000049DEFINE MS_VS_BIN = DEF(VS2005_BIN)
lgao4b36d1342011-09-18 12:17:25 +000050# Some MS_VS_DLL options: DEF(VS2003_DLL), DEF(VS2005_DLL), DEF(VS2005x86_DLL), DEF(VS2008_DLL), DEF(VS2008x86_DLL)
lgao464137022010-12-06 05:17:09 +000051DEFINE MS_VS_DLL = DEF(VS2005_DLL)
lgao4b303ea72009-11-09 11:47:35 +000052
eric_tian623471a2009-04-14 03:20:33 +000053DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16
54DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86
55DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64
56DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86
jljusten07a756b2007-10-17 01:54:36 +000057
lgao46780eef2010-11-15 02:51:34 +000058# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler
eric_tian3b6c90a2009-04-13 12:50:50 +000059# tool chains for the linker and nmake commands.
60# This configuration assumes a Windows 2003 Server DDK installation.
eric_tian623471a2009-04-14 03:20:33 +000061DEFINE ICC_VERSION = 9.1
eric_tian3b6c90a2009-04-13 12:50:50 +000062#DEFINE ICC_VERSION = 10.1.021
eric_tian623471a2009-04-14 03:20:33 +000063DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
64DEFINE ICC_ASM32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
65DEFINE ICC_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
66DEFINE ICC_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
jljusten07a756b2007-10-17 01:54:36 +000067
eric_tian623471a2009-04-14 03:20:33 +000068DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
69DEFINE ICC_ASMX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
70DEFINE ICC_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
71DEFINE ICC_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
jljusten07a756b2007-10-17 01:54:36 +000072
eric_tian623471a2009-04-14 03:20:33 +000073DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
74DEFINE ICC_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
jljusten07a756b2007-10-17 01:54:36 +000075
qhuang89053bc52010-06-28 09:33:10 +000076
77# Note: The Intel C++ Compiler 11.1 uses different installation path from previous versions
lgao46780eef2010-11-15 02:51:34 +000078# We use "ICC11" tag for ICC 11.1 while "ICC" tag is dedicated for eariler versions
qhuang89053bc52010-06-28 09:33:10 +000079#
80DEFINE ICC11_VERSION = 11.1
lgao4b36d1342011-09-18 12:17:25 +000081DEFINE ICC11_BUILD = 072
qhuang89053bc52010-06-28 09:33:10 +000082DEFINE ICC11_BIN32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
83DEFINE ICC11_ASM32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
84DEFINE ICC11_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
85DEFINE ICC11_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
86
87DEFINE ICC11_BINX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
88DEFINE ICC11_ASMX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
qhuang8e56468c2010-09-06 01:58:00 +000089DEFINE ICC11_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
90DEFINE ICC11_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
qhuang89053bc52010-06-28 09:33:10 +000091
92DEFINE ICC11_BIN64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
93DEFINE ICC11_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
94
eric_tian623471a2009-04-14 03:20:33 +000095DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin
96DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin
eric_tian3b6c90a2009-04-13 12:50:50 +000097
eric_tian623471a2009-04-14 03:20:33 +000098DEFINE ELFGCC_BIN = /usr/bin
99
jljustenc6094892009-03-29 18:42:14 +0000100#
jljusten23473302007-10-29 08:01:12 +0000101# Option 1: Hard coded full path to compiler suite
jljusten726d5a82009-08-15 05:05:00 +0000102DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
103DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
104DEFINE UNIXGCC_IPF_PETOOLS_PREFIX = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin/
lhauchfa7f89d2008-01-03 21:41:41 +0000105#
jljusten23473302007-10-29 08:01:12 +0000106# Option 2: Use an environment variable
107#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)
108#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX)
lhauchfa7f89d2008-01-03 21:41:41 +0000109#
jljusten23473302007-10-29 08:01:12 +0000110# Option 3: Install the compiler suite into your default paths
111#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-
112#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32-
lhauchfa7f89d2008-01-03 21:41:41 +0000113#
114# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory
jljusten23473302007-10-29 08:01:12 +0000115# Links needed: gcc, ar & ld
jljusten726d5a82009-08-15 05:05:00 +0000116#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/
117#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/
jljustenc6094892009-03-29 18:42:14 +0000118#
jljustena4401872009-03-30 17:56:42 +0000119# Option 5: Install programs under user's home directory
jljustenc6094892009-03-29 18:42:14 +0000120#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-
121#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-
jljustenc6094892009-03-29 18:42:14 +0000122#
jljusten07a756b2007-10-17 01:54:36 +0000123
eric_tian623471a2009-04-14 03:20:33 +0000124DEFINE CYGWIN_BIN = c:/cygwin/bin
lgao4b303ea72009-11-09 11:47:35 +0000125DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
jljusten726d5a82009-08-15 05:05:00 +0000126DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
eric_tian623471a2009-04-14 03:20:33 +0000127DEFINE CYGWIN_BINIPF = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-
jljusten07a756b2007-10-17 01:54:36 +0000128
lgao4a709adf2009-12-29 06:16:53 +0000129DEFINE GCC44_IA32_PREFIX = /usr/bin/
130#DEFINE GCC44_IA32_PREFIX = ENV(HOME)/programs/gcc/4.4/ia32/
lgao440d841f2010-05-18 05:04:32 +0000131DEFINE GCC44_X64_PREFIX = /usr/bin/
132#DEFINE GCC44_X64_PREFIX = ENV(HOME)/programs/gcc/4.4/x64/
lgao4a709adf2009-12-29 06:16:53 +0000133
lgao46780eef2010-11-15 02:51:34 +0000134DEFINE GCC45_IA32_PREFIX = /usr/bin/
135DEFINE GCC45_X64_PREFIX = /usr/bin/
136
jljustene0d22732009-08-15 05:05:02 +0000137DEFINE UNIX_IASL_BIN = /usr/bin/iasl
138#DEFINE UNIX_IASL_BIN = $(HOME)/programs/iasl
eric_tian623471a2009-04-14 03:20:33 +0000139DEFINE WIN_ASL_BIN_DIR = C:\ASL
140DEFINE WIN_IASL_BIN = DEF(WIN_ASL_BIN_DIR)\iasl.exe
141DEFINE WIN_ASL_BIN = DEF(WIN_ASL_BIN_DIR)\asl.exe
142
lgao4a709adf2009-12-29 06:16:53 +0000143DEFINE IASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000144DEFINE IASL_OUTFLAGS = -p
145DEFINE MS_ASL_OUTFLAGS = /Fo=
lgao4a709adf2009-12-29 06:16:53 +0000146DEFINE MS_ASL_FLAGS =
147
148DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_IASL_BIN)
149DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(IASL_FLAGS)
150DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
151#DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_ASL_BIN)
152#DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(MS_ASL_FLAGS)
153#DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000154
lgao408dd3112010-10-11 06:26:52 +0000155DEFINE MSFT_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000156DEFINE MSFT_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000157DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
eric_tian3b6c90a2009-04-13 12:50:50 +0000158
lgao408dd3112010-10-11 06:26:52 +0000159DEFINE ICC_WIN_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000160DEFINE ICC_WIN_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000161DEFINE ICC_WIN_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc
eric_tian3b6c90a2009-04-13 12:50:50 +0000162
vanjefffd171542009-09-11 03:14:43 +0000163DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer
qhuang89053bc52010-06-28 09:33:10 +0000164DEFINE RVCT31_TOOLS_PATH = c:/Program Files/ARM/RVCT/Programs/3.1/569/win_32-pentium
165DEFINE RVCT31CYGWIN_TOOLS_PATH = /cygdrive/c/Program Files/ARM/RVCT/Programs/3.1/569/win_32-pentium
vanjefffd171542009-09-11 03:14:43 +0000166
lgao4636f2be2010-03-12 10:54:01 +0000167DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin
jljusten07a756b2007-10-17 01:54:36 +0000168
lgao4da92f272011-05-11 10:26:49 +0000169#
170# Change to the location clang was built
171#
172DEFINE CLANG_BIN = /usr/bin/
173
jljusten07a756b2007-10-17 01:54:36 +0000174####################################################################################
175#
176# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
jwang361c2c04d2007-12-25 09:15:38 +0000177# priority:
jljusten07a756b2007-10-17 01:54:36 +0000178# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
179# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
180# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
181# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
182# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
183# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
184# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
185# ******_*********_****_COMMANDTYPE_ATTRIBUTE
186# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
187# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
188# TARGET_*********_ARCH_***********_ATTRIBUTE
189# ******_*********_ARCH_***********_ATTRIBUTE
190# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
191# ******_TOOLCHAIN_****_***********_ATTRIBUTE
192# TARGET_*********_****_***********_ATTRIBUTE
193# ******_*********_****_***********_ATTRIBUTE (Lowest)
194#
195####################################################################################
196####################################################################################
197#
198# Supported Tool Chains
199# =====================
lgao4b36d1342011-09-18 12:17:25 +0000200# VS2003 -win32- Requires:
201# Microsoft Visual Studio .NET 2003
202# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
203# Optional:
204# Required to build EBC drivers:
205# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
206# Required to build platforms or ACPI tables:
207# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
208# http://www.acpica.org/downloads/previous_releases.php
209# VS2005 -win32- Requires:
210# Microsoft Visual Studio 2005 Team Suite Edition
211# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
212# Optional:
213# Required to build EBC drivers:
214# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
215# Required to build platforms or ACPI tables:
216# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
217# http://www.acpica.org/downloads/previous_releases.php
218# VS2008 -win32- Requires:
219# Microsoft Visual Studio 2008 Team Suite Edition
220# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
221# Optional:
222# Required to build EBC drivers:
223# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
224# Required to build platforms or ACPI tables:
225# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
226# http://www.acpica.org/downloads/previous_releases.php
227# DDK3790 -win32- Requires:
228# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
229# Optional:
230# Required to build EBC drivers:
231# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
232# Required to build platforms or ACPI tables:
233# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
234# http://www.acpica.org/downloads/previous_releases.php
235# UNIXGCC -UNIX- Requires:
236# GCC 4.3.0
237# binutils 2.20.51.0.5
238# Optional:
239# Required to build platforms or ACPI tables:
240# Intel(r) ACPI Compiler v20101013 from
241# http://www.acpica.org/downloads/previous_releases.php
242# GCC44 -Linux- Requires:
243# GCC 4.4 (Native)
244# Optional:
245# Required to build platforms or ACPI tables:
246# Intel(r) ACPI Compiler v20101013 from
247# http://www.acpica.org/downloads/previous_releases.php
248# ELFGCC -Linux- Requires:
249# GCC(this tool chain uses whatever version of gcc and binutils that is installed in /usr/bin)
250# Optional:
251# Required to build platforms or ACPI tables:
252# Intel(r) ACPI Compiler v20101013 from
253# http://www.acpica.org/downloads/previous_releases.php
254# CYGGCC -win32- Requires:
255# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
256# Microsoft Visual Studio 2005 or 2008
257# Optional:
258# Required to build EBC drivers:
259# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
260# Required to build platforms or ACPI tables:
261# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
262# http://www.acpica.org/downloads/previous_releases.php
263# ICC -win32- Requires:
264# Intel C Compiler V9.1
265# Dependencies:
266# Microsoft Visual Studio 2003 or 2005
267# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
268# version 3790.1830 for X64 target architectures
269# Optional:
270# Required to build EBC drivers:
271# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
272# Required to build platforms or ACPI tables:
273# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
274# http://www.acpica.org/downloads/previous_releases.php
275# ICC11 -win32- Requires:
276# Intel C Compiler V11.1
277# Dependencies:
278# Microsoft Visual Studio 2005 or 2008
279# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
280# version 3790.1830 for X64 target architectures
281# Optional:
282# Required to build EBC drivers:
283# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
284# Required to build platforms or ACPI tables:
285# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
286# http://www.acpica.org/downloads/previous_releases.php
287# MYTOOLS -win32- Requires:
288# Microsoft Visual Studio 2008 for IA32/X64
289# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830 for IPF
290# Optional:
291# Required to build EBC drivers:
292# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
293# Required to build platforms or ACPI tables:
294# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
295# http://www.acpica.org/downloads/previous_releases.php
296# VS2003xASL -win32- Requires:
297# Microsoft Visual Studio .NET 2003
298# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
299# Optional:
300# Required to build EBC drivers:
301# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
302# Required to build platforms or ACPI tables:
303# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
304# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
305# VS2005xASL -win32- Requires:
306# Microsoft Visual Studio 2005 Team Suite Edition
307# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
308# Optional:
309# Required to build EBC drivers:
310# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
311# Required to build platforms or ACPI tables:
312# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
313# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
314# VS2008xASL -win32- Requires:
315# Microsoft Visual Studio 2008 Team Suite
316# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
317# Optional:
318# Required to build EBC drivers:
319# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
320# Required to build platforms or ACPI tables:
321# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
322# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
323# DDK3790xASL -win32- Requires:
324# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
325# Optional:
326# Required to build EBC drivers:
327# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
328# Required to build platforms or ACPI tables:
329# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
330# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
331# CYGGCCxASL -win32- Requires:
332# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
333# Microsoft Visual Studio 2005 or 2008
334# Optional:
335# Required to build EBC drivers:
336# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
337# Required to build platforms or ACPI tables:
338# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
339# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
340# ICCxASL -win32- Requires:
341# Intel C Compiler V9.1
342# Dependencies:
343# Microsoft Visual Studio 2003 or 2005
344# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
345# version 3790.1830 for X64 target architectures
346# Optional:
347# Required to build EBC drivers:
348# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
349# Required to build platforms or ACPI tables:
350# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
351# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
352# ICC11xASL -win32- Requires:
353# Intel C Compiler V11.1
354# Dependencies:
355# Microsoft Visual Studio 2005 or 2008
356# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
357# version 3790.1830 for X64 target architectures
358# Optional:
359# Required to build EBC drivers:
360# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
361# Required to build platforms or ACPI tables:
362# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
363# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
364# VS2005x86 -win64- Requires:
365# Microsoft Visual Studio 2005 Team Suite Edition (x86)
366# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
367# Optional:
368# Required to build EBC drivers:
369# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
370# Required to build platforms or ACPI tables:
371# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
372# http://www.acpica.org/downloads/previous_releases.php
373# VS2008x86 -win64- Requires:
374# Microsoft Visual Studio 2008 (x86)
375# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
376# Optional:
377# Required to build platforms or ACPI tables:
378# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
379# http://www.acpica.org/downloads/previous_releases.php
380# ICCx86 -win64- Requires:
381# Intel C Compiler V9.1(x86)
382# Dependencies:
383# Microsoft Visual Studio 2003 or 2005
384# Microsoft Windows Server 2003 Driver Development Kit
385# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
386# Optional:
387# Required to build EBC drivers:
388# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
389# Required to build platforms or ACPI tables:
390# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
391# http://www.acpica.org/downloads/previous_releases.php
392# ICC11x86 -win64- Requires:
393# Intel C Compiler V11.1(x86)
394# Dependencies:
395# Microsoft Visual Studio 2005 or 2008
396# Microsoft Windows Server 2003 Driver Development Kit
397# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
398# Optional:
399# Required to build EBC drivers:
400# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
401# Required to build platforms or ACPI tables:
402# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
403# http://www.acpica.org/downloads/previous_releases.php
404# VS2005x86xASL -win64- Requires:
405# Microsoft Visual Studio 2005 Team Suite Edition (x86)
406# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
407# Optional:
408# Required to build EBC drivers:
409# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
410# Required to build platforms or ACPI tables:
411# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
412# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
413# VS2008x86xASL -win64- Requires:
414# Microsoft Visual Studio 2008 (x86)
415# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
416# Optional:
417# Required to build platforms or ACPI tables:
418# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
419# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
420# ICCx86xASL -win64- Requires:
421# Intel C Compiler V9.1 (x86)
422# Dependencies:
423# Microsoft Visual Studio 2003 or 2005
424# Microsoft Windows Server 2003 Driver Development Kit
425# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
426# Optional:
427# Required to build EBC drivers:
428# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
429# Required to build platforms or ACPI tables:
430# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
431# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
432# ICC11x86xASL -win64- Requires:
433# Intel C Compiler V11.1 (x86)
434# Dependencies:
435# Microsoft Visual Studio 2005 or 2008
436# Microsoft Windows Server 2003 Driver Development Kit
437# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
438# Optional:
439# Required to build EBC drivers:
440# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
441# Required to build platforms or ACPI tables:
442# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
443# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
444# CYGGCCx86 -win64- Requires:
445# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
446# Microsoft Visual Studio 2005 or 2008
447# Optional:
448# Required to build EBC drivers:
449# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
450# Required to build platforms or ACPI tables:
451# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
452# http://www.acpica.org/downloads/previous_releases.php
453# CYGGCCx86xASL -win64- Requires:
454# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
455# Microsoft Visual Studio 2005 or 2008
456# Optional:
457# Required to build EBC drivers:
458# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
459# Required to build platforms or ACPI tables:
460# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
461# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
jljusten07a756b2007-10-17 01:54:36 +0000462# * Commented out - All versions of VS2005 use the same standard install directory
463#
464####################################################################################
465####################################################################################
466#
467# Supported Tool Chain Family
468# ===========================
469# MSFT - Microsoft
470# GCC - GNU GCC
471# INTEL - INTEL
jljusten07a756b2007-10-17 01:54:36 +0000472####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000473####################################################################################
474#
475# Intel EFI Byte Code Compiler (Template)
476#
477####################################################################################
478# *_*_EBC_*_FAMILY = INTEL
479#
480# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
481# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
482# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe
483#
eric_tian623471a2009-04-14 03:20:33 +0000484# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
485# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
486# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h
487# *_*_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
jljusten07a756b2007-10-17 01:54:36 +0000488#
489####################################################################################
490#
491# Intel ACPI Source Language Compiler (Template)
492#
493####################################################################################
494# *_*_*_ASL_FAMILY = INTEL
495#
496# *_*_*_ASL_PATH = C:\ASL\iasl.exe
497#
498####################################################################################
499#
500# Microsoft ACPI Source Language Compiler (Template)
501#
502####################################################################################
503# *_*_*_ASL_FAMILY = MSFT
504#
eric_tian3b6c90a2009-04-13 12:50:50 +0000505# *_*_*_ASL_PATH = C:\ASL\asl.exe
jljusten07a756b2007-10-17 01:54:36 +0000506#
eric_tian3b6c90a2009-04-13 12:50:50 +0000507####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000508
509
510####################################################################################
511#
eric_tian3b6c90a2009-04-13 12:50:50 +0000512# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
513# And Intel ACPI Compiler
514#
515####################################################################################
516# VS2003 - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)
517*_VS2003_*_*_FAMILY = MSFT
518
519##################
520# ASL definitions
521##################
lgao4a709adf2009-12-29 06:16:53 +0000522*_VS2003_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
523*_VS2003_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
524*_VS2003_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000525*_VS2003_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
526*_VS2003_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
527*_VS2003_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000528
529##################
530# IA32 definitions
531##################
eric_tian623471a2009-04-14 03:20:33 +0000532*_VS2003_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000533
eric_tian623471a2009-04-14 03:20:33 +0000534*_VS2003_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
535*_VS2003_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
536*_VS2003_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
537*_VS2003_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
538*_VS2003_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000539*_VS2003_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
540*_VS2003_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
541*_VS2003_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +0000542*_VS2003_IA32_ASM16_PATH = DEF(VS2003_BIN)\ml.exe
eric_tian623471a2009-04-14 03:20:33 +0000543*_VS2003_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
544*_VS2003_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
545*_VS2003_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000546*_VS2003_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000547
548 *_VS2003_IA32_MAKE_FLAGS = /nologo
549 *_VS2003_IA32_APP_FLAGS = /nologo /E /TC
550 *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
551 *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000552 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
553RELEASE_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-
lgao4b36d1342011-09-18 12:17:25 +0000554NOOPT_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
555
eric_tian3b6c90a2009-04-13 12:50:50 +0000556 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
557RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000558NOOPT_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
559
eric_tian3b6c90a2009-04-13 12:50:50 +0000560 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000561 DEBUG_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
562RELEASE_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4078 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
563NOOPT_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000564
565##################
566# EBC definitions
567##################
568*_VS2003_EBC_*_FAMILY = INTEL
569
eric_tian623471a2009-04-14 03:20:33 +0000570*_VS2003_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000571*_VS2003_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
572*_VS2003_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
573*_VS2003_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
574*_VS2003_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
575*_VS2003_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000576*_VS2003_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000577
578*_VS2003_EBC_MAKE_FLAGS = /nologo
579*_VS2003_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
580*_VS2003_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
581*_VS2003_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
582*_VS2003_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
583*_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
584
585####################################################################################
586#
587# Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler
588#
589####################################################################################
590# VS2003xASL - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)
591*_VS2003xASL_*_*_FAMILY = MSFT
592
593##################
594# ASL definitions
595##################
eric_tian623471a2009-04-14 03:20:33 +0000596*_VS2003xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000597*_VS2003xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000598*_VS2003xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000599*_VS2003xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
600*_VS2003xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
601*_VS2003xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000602
603##################
604# IA32 definitions
605##################
eric_tian623471a2009-04-14 03:20:33 +0000606*_VS2003xASL_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000607
eric_tian623471a2009-04-14 03:20:33 +0000608*_VS2003xASL_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
609*_VS2003xASL_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
610*_VS2003xASL_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
611*_VS2003xASL_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
612*_VS2003xASL_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000613*_VS2003xASL_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
614*_VS2003xASL_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
615*_VS2003xASL_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
616*_VS2003xASL_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
617*_VS2003xASL_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
618*_VS2003xASL_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000619*_VS2003xASL_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000620
621
622 *_VS2003xASL_IA32_MAKE_FLAGS = /nologo
623 *_VS2003xASL_IA32_APP_FLAGS = /nologo /E /TC
624 *_VS2003xASL_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
625 *_VS2003xASL_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000626 DEBUG_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
627RELEASE_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-
lgao4b36d1342011-09-18 12:17:25 +0000628NOOPT_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
629
eric_tian3b6c90a2009-04-13 12:50:50 +0000630 DEBUG_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
631RELEASE_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000632NOOPT_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
633
eric_tian3b6c90a2009-04-13 12:50:50 +0000634 *_VS2003xASL_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000635 DEBUG_VS2003xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
636RELEASE_VS2003xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4078 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
637NOOPT_VS2003xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000638
639##################
640# EBC definitions
641##################
642*_VS2003xASL_EBC_*_FAMILY = INTEL
643
eric_tian623471a2009-04-14 03:20:33 +0000644*_VS2003xASL_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000645*_VS2003xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
646*_VS2003xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
647*_VS2003xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
648*_VS2003xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
649*_VS2003xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000650*_VS2003xASL_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000651
652*_VS2003xASL_EBC_MAKE_FLAGS = /nologo
653*_VS2003xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
654*_VS2003xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
655*_VS2003xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
656*_VS2003xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
657*_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
658
659####################################################################################
660#
661# Microsoft Visual Studio 2005
662#
663# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
664# ASL - Intel ACPI Source Language Compiler
665####################################################################################
666# VS2005 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
eric_tian623471a2009-04-14 03:20:33 +0000667*_VS2005_*_*_FAMILY = MSFT
eric_tian3b6c90a2009-04-13 12:50:50 +0000668
eric_tian623471a2009-04-14 03:20:33 +0000669*_VS2005_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
670*_VS2005_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000671*_VS2005_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000672
eric_tian623471a2009-04-14 03:20:33 +0000673*_VS2005_*_SLINK_FLAGS = /NOLOGO /LTCG
674*_VS2005_*_APP_FLAGS = /nologo /E /TC
675*_VS2005_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
676*_VS2005_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
eric_tian3b6c90a2009-04-13 12:50:50 +0000677
qhuang814c48572010-07-21 02:46:15 +0000678*_VS2005_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
679
eric_tian3b6c90a2009-04-13 12:50:50 +0000680##################
681# ASL definitions
682##################
lgao4a709adf2009-12-29 06:16:53 +0000683*_VS2005_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
684*_VS2005_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
685*_VS2005_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000686*_VS2005_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
687*_VS2005_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
688*_VS2005_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000689
690##################
691# IA32 definitions
692##################
eric_tian623471a2009-04-14 03:20:33 +0000693*_VS2005_IA32_*_DLL = DEF(VS2005_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000694
eric_tian623471a2009-04-14 03:20:33 +0000695*_VS2005_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
696*_VS2005_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
697*_VS2005_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
698*_VS2005_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
699*_VS2005_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000700*_VS2005_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
701*_VS2005_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
702*_VS2005_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
703*_VS2005_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
704*_VS2005_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
705*_VS2005_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000706
eric_tian623471a2009-04-14 03:20:33 +0000707 *_VS2005_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000708 DEBUG_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
709RELEASE_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +0000710NOOPT_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
711
eric_tian623471a2009-04-14 03:20:33 +0000712 DEBUG_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
713RELEASE_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000714NOOPT_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
715
lgao46780eef2010-11-15 02:51:34 +0000716 DEBUG_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
717RELEASE_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
lgao4b36d1342011-09-18 12:17:25 +0000718NOOPT_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000719
720##################
721# X64 definitions
722##################
723*_VS2005_X64_*_DLL = DEF(VS2005_DLL)
724
725*_VS2005_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
726*_VS2005_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
727*_VS2005_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
728*_VS2005_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
729*_VS2005_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
730*_VS2005_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
731*_VS2005_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
732*_VS2005_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
733*_VS2005_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
734*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
735
736
qhuang89053bc52010-06-28 09:33:10 +0000737 DEBUG_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
738RELEASE_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +0000739NOOPT_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
740
eric_tian3b6c90a2009-04-13 12:50:50 +0000741 DEBUG_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
742RELEASE_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000743NOOPT_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
744
745 DEBUG_VS2005_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
746RELEASE_VS2005_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
747NOOPT_VS2005_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000748
749##################
750# IPF definitions
751##################
752*_VS2005_IPF_*_DLL = DEF(VS2005_DLL)
753
754*_VS2005_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
755*_VS2005_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
756*_VS2005_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
757*_VS2005_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
758*_VS2005_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
759*_VS2005_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
760*_VS2005_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
761*_VS2005_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
762*_VS2005_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
763*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
764
765 DEBUG_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
766RELEASE_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +0000767NOOPT_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
768
eric_tian3b6c90a2009-04-13 12:50:50 +0000769 DEBUG_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
770RELEASE_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000771NOOPT_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
772
lgao46780eef2010-11-15 02:51:34 +0000773 DEBUG_VS2005_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
774RELEASE_VS2005_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +0000775NOOPT_VS2005_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
eric_tian3b6c90a2009-04-13 12:50:50 +0000776
777##################
778# EBC definitions
779##################
780*_VS2005_EBC_*_FAMILY = INTEL
781
782*_VS2005_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
783*_VS2005_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
784*_VS2005_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
785*_VS2005_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
786*_VS2005_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
787*_VS2005_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
788
789*_VS2005_EBC_MAKE_FLAGS = /nologo
790*_VS2005_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
791*_VS2005_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
792*_VS2005_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
793*_VS2005_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
794*_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
795
796####################################################################################
797#
798# Microsoft Visual Studio 2005
799#
800# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
801# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
802####################################################################################
803# VS2005xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
804*_VS2005xASL_*_*_FAMILY = MSFT
805
806*_VS2005xASL_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
807*_VS2005xASL_*_MAKE_FLAG = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000808*_VS2005xASL_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000809
810*_VS2005xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
811*_VS2005xASL_*_APP_FLAGS = /nologo /E /TC
812*_VS2005xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
813*_VS2005xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
814
qhuang814c48572010-07-21 02:46:15 +0000815*_VS2005xASL_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
816
eric_tian3b6c90a2009-04-13 12:50:50 +0000817##################
818# ASL definitions
819##################
820*_VS2005xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000821*_VS2005xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000822*_VS2005xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000823*_VS2005xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
824*_VS2005xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
825*_VS2005xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
826
827##################
828# IA32 definitions
829##################
830*_VS2005xASL_IA32_*_DLL = DEF(VS2005_DLL)
831
832*_VS2005xASL_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
833*_VS2005xASL_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
834*_VS2005xASL_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
835*_VS2005xASL_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
836*_VS2005xASL_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000837*_VS2005xASL_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
838*_VS2005xASL_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
839*_VS2005xASL_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
840*_VS2005xASL_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
841*_VS2005xASL_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
842*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
843
844 *_VS2005xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000845 DEBUG_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
846RELEASE_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +0000847NOOPT_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
848
eric_tian3b6c90a2009-04-13 12:50:50 +0000849 DEBUG_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
850RELEASE_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000851NOOPT_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
852
853 DEBUG_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
854RELEASE_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
855NOOPT_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000856
857##################
858# X64 definitions
859##################
860*_VS2005xASL_X64_*_DLL = DEF(VS2005_DLL)
861
862*_VS2005xASL_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
863*_VS2005xASL_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
864*_VS2005xASL_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
865*_VS2005xASL_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
866*_VS2005xASL_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
867*_VS2005xASL_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
868*_VS2005xASL_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
869*_VS2005xASL_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
870*_VS2005xASL_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
871*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
872
873
qhuang89053bc52010-06-28 09:33:10 +0000874 DEBUG_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
875RELEASE_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +0000876NOOPT_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
877
eric_tian3b6c90a2009-04-13 12:50:50 +0000878 DEBUG_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
879RELEASE_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000880NOOPT_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
881
882 DEBUG_VS2005xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
883RELEASE_VS2005xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
884NOOPT_VS2005xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000885
886##################
887# IPF definitions
888##################
889*_VS2005xASL_IPF_*_DLL = DEF(VS2005_DLL)
890
891*_VS2005xASL_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
892*_VS2005xASL_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
893*_VS2005xASL_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
894*_VS2005xASL_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
895*_VS2005xASL_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
896*_VS2005xASL_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
897*_VS2005xASL_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
898*_VS2005xASL_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
899*_VS2005xASL_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
900*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
901
902 DEBUG_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
903RELEASE_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +0000904NOOPT_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
905
eric_tian3b6c90a2009-04-13 12:50:50 +0000906 DEBUG_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
907RELEASE_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000908NOOPT_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
909
lgao46780eef2010-11-15 02:51:34 +0000910 DEBUG_VS2005xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
911RELEASE_VS2005xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +0000912NOOPT_VS2005xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
eric_tian3b6c90a2009-04-13 12:50:50 +0000913
914##################
915# EBC definitions
916##################
917*_VS2005xASL_EBC_*_FAMILY = INTEL
918
919*_VS2005xASL_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
920*_VS2005xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
921*_VS2005xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
922*_VS2005xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
923*_VS2005xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
924*_VS2005xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
925
926*_VS2005xASL_EBC_MAKE_FLAGS = /nologo
927*_VS2005xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
928*_VS2005xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
929*_VS2005xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
930*_VS2005xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
931*_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
932
933####################################################################################
934#
935# Microsoft Visual Studio 2005 (x86)
936#
937# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
938# ASL - Intel ACPI Source Language Compiler
939####################################################################################
940# VS2005x86 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
941*_VS2005x86_*_*_FAMILY = MSFT
942
943*_VS2005x86_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
944*_VS2005x86_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000945*_VS2005x86_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000946
947*_VS2005x86_*_SLINK_FLAGS = /NOLOGO /LTCG
948*_VS2005x86_*_APP_FLAGS = /nologo /E /TC
949*_VS2005x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
950*_VS2005x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
951
qhuang814c48572010-07-21 02:46:15 +0000952*_VS2005x86_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
953
eric_tian3b6c90a2009-04-13 12:50:50 +0000954##################
955# ASL definitions
956##################
lgao4a709adf2009-12-29 06:16:53 +0000957*_VS2005x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
958*_VS2005x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
959*_VS2005x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000960*_VS2005x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
961*_VS2005x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
962*_VS2005x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
963
964##################
965# IA32 definitions
966##################
967*_VS2005x86_IA32_*_DLL = DEF(VS2005x86_DLL)
968
969*_VS2005x86_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
970*_VS2005x86_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
971*_VS2005x86_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
972*_VS2005x86_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
973*_VS2005x86_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000974*_VS2005x86_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
975*_VS2005x86_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
976*_VS2005x86_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
977*_VS2005x86_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
978*_VS2005x86_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
979*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
980
981 *_VS2005x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000982 DEBUG_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
983RELEASE_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +0000984NOOPT_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
985
eric_tian3b6c90a2009-04-13 12:50:50 +0000986 DEBUG_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
987RELEASE_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000988NOOPT_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
989
990 DEBUG_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
991RELEASE_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
992NOOPT_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000993
994##################
995# X64 definitions
996##################
997*_VS2005x86_X64_*_DLL = DEF(VS2005x86_DLL)
998
999*_VS2005x86_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1000*_VS2005x86_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1001*_VS2005x86_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1002*_VS2005x86_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1003*_VS2005x86_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1004*_VS2005x86_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1005*_VS2005x86_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1006*_VS2005x86_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1007*_VS2005x86_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1008*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1009
1010
qhuang89053bc52010-06-28 09:33:10 +00001011 DEBUG_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1012RELEASE_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001013NOOPT_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1014
eric_tian3b6c90a2009-04-13 12:50:50 +00001015 DEBUG_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1016RELEASE_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001017NOOPT_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1018
1019 DEBUG_VS2005x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1020RELEASE_VS2005x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1021NOOPT_VS2005x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001022
1023##################
1024# IPF definitions
1025##################
1026*_VS2005x86_IPF_*_DLL = DEF(VS2005x86_DLL)
1027
1028*_VS2005x86_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1029*_VS2005x86_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1030*_VS2005x86_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1031*_VS2005x86_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1032*_VS2005x86_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1033*_VS2005x86_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1034*_VS2005x86_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1035*_VS2005x86_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1036*_VS2005x86_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1037*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1038
1039 DEBUG_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1040RELEASE_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001041NOOPT_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1042
eric_tian3b6c90a2009-04-13 12:50:50 +00001043 DEBUG_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1044RELEASE_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001045NOOPT_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1046
lgao46780eef2010-11-15 02:51:34 +00001047 DEBUG_VS2005x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1048RELEASE_VS2005x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00001049NOOPT_VS2005x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1050
eric_tian3b6c90a2009-04-13 12:50:50 +00001051##################
1052# EBC definitions
1053##################
1054*_VS2005x86_EBC_*_FAMILY = INTEL
1055
1056*_VS2005x86_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1057*_VS2005x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1058*_VS2005x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1059*_VS2005x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1060*_VS2005x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1061*_VS2005x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1062
1063*_VS2005x86_EBC_MAKE_FLAGS = /nologo
1064*_VS2005x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1065*_VS2005x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1066*_VS2005x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1067*_VS2005x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1068*_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
1069
1070####################################################################################
1071#
1072# Microsoft Visual Studio 2005 (x86)
1073#
1074# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1075# ASL - Microsoft ACPI Source Language Compiler
1076####################################################################################
1077# VS2005x86xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1078*_VS2005x86xASL_*_*_FAMILY = MSFT
1079
1080*_VS2005x86xASL_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1081*_VS2005x86xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001082*_VS2005x86xASL_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001083
1084*_VS2005x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1085*_VS2005x86xASL_*_APP_FLAGS = /nologo /E /TC
1086*_VS2005x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1087*_VS2005x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1088
qhuang814c48572010-07-21 02:46:15 +00001089*_VS2005x86xASL_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
1090
eric_tian3b6c90a2009-04-13 12:50:50 +00001091##################
1092# ASL definitions
1093##################
1094*_VS2005x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001095*_VS2005x86xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00001096*_VS2005x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001097*_VS2005x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1098*_VS2005x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1099*_VS2005x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1100
1101##################
1102# IA32 definitions
1103##################
1104*_VS2005x86xASL_IA32_*_DLL = DEF(VS2005x86_DLL)
1105
1106*_VS2005x86xASL_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1107*_VS2005x86xASL_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
1108*_VS2005x86xASL_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1109*_VS2005x86xASL_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
1110*_VS2005x86xASL_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001111*_VS2005x86xASL_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
1112*_VS2005x86xASL_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
1113*_VS2005x86xASL_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
1114*_VS2005x86xASL_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
1115*_VS2005x86xASL_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1116*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1117
1118 *_VS2005x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001119 DEBUG_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1120RELEASE_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001121NOOPT_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1122
eric_tian3b6c90a2009-04-13 12:50:50 +00001123 DEBUG_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1124RELEASE_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001125NOOPT_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1126
1127 DEBUG_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1128RELEASE_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1129NOOPT_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001130
1131##################
1132# X64 definitions
1133##################
1134*_VS2005x86xASL_X64_*_DLL = DEF(VS2005x86_DLL)
1135
1136*_VS2005x86xASL_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1137*_VS2005x86xASL_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1138*_VS2005x86xASL_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1139*_VS2005x86xASL_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1140*_VS2005x86xASL_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1141*_VS2005x86xASL_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1142*_VS2005x86xASL_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1143*_VS2005x86xASL_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1144*_VS2005x86xASL_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1145*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1146
1147
qhuang89053bc52010-06-28 09:33:10 +00001148 DEBUG_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1149RELEASE_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001150NOOPT_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1151
eric_tian3b6c90a2009-04-13 12:50:50 +00001152 DEBUG_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1153RELEASE_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001154NOOPT_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1155
1156 DEBUG_VS2005x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1157RELEASE_VS2005x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1158NOOPT_VS2005x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001159
1160##################
1161# IPF definitions
1162##################
1163*_VS2005x86xASL_IPF_*_DLL = DEF(VS2005x86_DLL)
1164
1165*_VS2005x86xASL_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1166*_VS2005x86xASL_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1167*_VS2005x86xASL_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1168*_VS2005x86xASL_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1169*_VS2005x86xASL_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1170*_VS2005x86xASL_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1171*_VS2005x86xASL_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1172*_VS2005x86xASL_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1173*_VS2005x86xASL_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1174*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1175
1176 DEBUG_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1177RELEASE_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001178NOOPT_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1179
eric_tian3b6c90a2009-04-13 12:50:50 +00001180 DEBUG_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1181RELEASE_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001182NOOPT_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1183
lgao46780eef2010-11-15 02:51:34 +00001184 DEBUG_VS2005x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1185RELEASE_VS2005x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00001186NOOPT_VS2005x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
eric_tian3b6c90a2009-04-13 12:50:50 +00001187
1188##################
1189# EBC definitions
1190##################
1191*_VS2005x86xASL_EBC_*_FAMILY = INTEL
1192
1193*_VS2005x86xASL_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1194*_VS2005x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1195*_VS2005x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1196*_VS2005x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1197*_VS2005x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1198*_VS2005x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1199
1200*_VS2005x86xASL_EBC_MAKE_FLAGS = /nologo
1201*_VS2005x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1202*_VS2005x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1203*_VS2005x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1204*_VS2005x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1205*_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
1206
lgao452302d42010-02-28 23:39:39 +00001207
1208
1209####################################################################################
1210#
1211# Microsoft Visual Studio 2008
1212#
1213# VS2008 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1214# ASL - Intel ACPI Source Language Compiler
1215####################################################################################
1216# VS2008 - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1217*_VS2008_*_*_FAMILY = MSFT
1218
1219*_VS2008_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1220*_VS2008_*_MAKE_FLAGS = /nologo
1221*_VS2008_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1222
1223*_VS2008_*_SLINK_FLAGS = /NOLOGO /LTCG
1224*_VS2008_*_APP_FLAGS = /nologo /E /TC
1225*_VS2008_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1226*_VS2008_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1227
qhuang814c48572010-07-21 02:46:15 +00001228*_VS2008_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1229
lgao452302d42010-02-28 23:39:39 +00001230##################
1231# ASL definitions
1232##################
1233*_VS2008_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1234*_VS2008_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1235*_VS2008_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1236*_VS2008_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1237*_VS2008_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1238*_VS2008_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1239
1240##################
1241# IA32 definitions
1242##################
1243*_VS2008_IA32_*_DLL = DEF(VS2008_DLL)
1244
1245*_VS2008_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1246*_VS2008_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1247*_VS2008_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1248*_VS2008_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1249*_VS2008_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001250*_VS2008_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1251*_VS2008_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1252*_VS2008_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1253*_VS2008_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1254*_VS2008_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1255*_VS2008_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1256
1257 *_VS2008_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001258 DEBUG_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1259RELEASE_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001260NOOPT_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1261
lgao452302d42010-02-28 23:39:39 +00001262 DEBUG_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1263RELEASE_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001264NOOPT_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1265
1266 DEBUG_VS2008_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1267RELEASE_VS2008_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1268NOOPT_VS2008_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001269
1270##################
1271# X64 definitions
1272##################
1273*_VS2008_X64_*_DLL = DEF(VS2008_DLL)
1274
1275*_VS2008_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1276*_VS2008_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1277*_VS2008_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1278*_VS2008_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1279*_VS2008_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1280*_VS2008_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1281*_VS2008_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1282*_VS2008_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1283*_VS2008_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1284*_VS2008_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1285
1286
qhuang89053bc52010-06-28 09:33:10 +00001287 DEBUG_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1288RELEASE_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001289NOOPT_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1290
lgao452302d42010-02-28 23:39:39 +00001291 DEBUG_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1292RELEASE_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001293NOOPT_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1294
1295 DEBUG_VS2008_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1296RELEASE_VS2008_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1297NOOPT_VS2008_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001298
1299##################
1300# IPF definitions
1301##################
1302*_VS2008_IPF_*_DLL = DEF(VS2008_DLL)
1303
1304*_VS2008_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1305*_VS2008_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1306*_VS2008_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1307*_VS2008_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1308*_VS2008_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1309*_VS2008_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1310*_VS2008_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1311*_VS2008_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1312*_VS2008_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1313*_VS2008_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1314
1315 DEBUG_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1316RELEASE_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001317NOOPT_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1318
lgao452302d42010-02-28 23:39:39 +00001319 DEBUG_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1320RELEASE_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001321NOOPT_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1322
lgao46780eef2010-11-15 02:51:34 +00001323 DEBUG_VS2008_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1324RELEASE_VS2008_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00001325NOOPT_VS2008_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao452302d42010-02-28 23:39:39 +00001326
1327##################
1328# EBC definitions
1329##################
1330*_VS2008_EBC_*_FAMILY = INTEL
1331
1332*_VS2008_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1333*_VS2008_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1334*_VS2008_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1335*_VS2008_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1336*_VS2008_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1337*_VS2008_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1338
1339*_VS2008_EBC_MAKE_FLAGS = /nologo
1340*_VS2008_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1341*_VS2008_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1342*_VS2008_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1343*_VS2008_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1344*_VS2008_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
1345
1346####################################################################################
1347#
1348# Microsoft Visual Studio 2008
1349#
1350# VS2008 - Microsoft Visual Studio 2008 All Edition, including Standard, Professional, Express, TeamSuite
1351# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1352####################################################################################
1353# VS2008xASL - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1354*_VS2008xASL_*_*_FAMILY = MSFT
1355
1356*_VS2008xASL_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1357*_VS2008xASL_*_MAKE_FLAG = /nologo
1358*_VS2008xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1359
1360*_VS2008xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1361*_VS2008xASL_*_APP_FLAGS = /nologo /E /TC
1362*_VS2008xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1363*_VS2008xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1364
qhuang814c48572010-07-21 02:46:15 +00001365*_VS2008xASL_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1366
lgao452302d42010-02-28 23:39:39 +00001367##################
1368# ASL definitions
1369##################
1370*_VS2008xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001371*_VS2008xASL_*_ASL_FLAGS =
lgao452302d42010-02-28 23:39:39 +00001372*_VS2008xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1373*_VS2008xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1374*_VS2008xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1375*_VS2008xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1376
1377##################
1378# IA32 definitions
1379##################
1380*_VS2008xASL_IA32_*_DLL = DEF(VS2008_DLL)
1381
1382*_VS2008xASL_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1383*_VS2008xASL_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1384*_VS2008xASL_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1385*_VS2008xASL_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1386*_VS2008xASL_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001387*_VS2008xASL_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1388*_VS2008xASL_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1389*_VS2008xASL_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1390*_VS2008xASL_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1391*_VS2008xASL_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1392*_VS2008xASL_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1393
1394 *_VS2008xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001395 DEBUG_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1396RELEASE_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001397NOOPT_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1398
lgao452302d42010-02-28 23:39:39 +00001399 DEBUG_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1400RELEASE_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001401NOOPT_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1402
1403 DEBUG_VS2008xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1404RELEASE_VS2008xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1405NOOPT_VS2008xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001406
1407##################
1408# X64 definitions
1409##################
1410*_VS2008xASL_X64_*_DLL = DEF(VS2008_DLL)
1411
1412*_VS2008xASL_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1413*_VS2008xASL_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1414*_VS2008xASL_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1415*_VS2008xASL_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1416*_VS2008xASL_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1417*_VS2008xASL_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1418*_VS2008xASL_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1419*_VS2008xASL_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1420*_VS2008xASL_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1421*_VS2008xASL_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1422
1423
qhuang89053bc52010-06-28 09:33:10 +00001424 DEBUG_VS2008xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1425RELEASE_VS2008xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001426NOOPT_VS2008xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1427
lgao452302d42010-02-28 23:39:39 +00001428 DEBUG_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1429RELEASE_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001430NOOPT_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1431
1432 DEBUG_VS2008xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1433RELEASE_VS2008xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1434NOOPT_VS2008xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001435
1436##################
1437# IPF definitions
1438##################
1439*_VS2008xASL_IPF_*_DLL = DEF(VS2008_DLL)
1440
1441*_VS2008xASL_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1442*_VS2008xASL_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1443*_VS2008xASL_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1444*_VS2008xASL_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1445*_VS2008xASL_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1446*_VS2008xASL_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1447*_VS2008xASL_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1448*_VS2008xASL_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1449*_VS2008xASL_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1450*_VS2008xASL_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1451
1452 DEBUG_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1453RELEASE_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001454NOOPT_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1455
lgao452302d42010-02-28 23:39:39 +00001456 DEBUG_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1457RELEASE_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001458NOOPT_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1459
lgao46780eef2010-11-15 02:51:34 +00001460 DEBUG_VS2008xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1461RELEASE_VS2008xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00001462NOOPT_VS2008xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao452302d42010-02-28 23:39:39 +00001463
1464##################
1465# EBC definitions
1466##################
1467*_VS2008xASL_EBC_*_FAMILY = INTEL
1468
1469*_VS2008xASL_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1470*_VS2008xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1471*_VS2008xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1472*_VS2008xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1473*_VS2008xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1474*_VS2008xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1475
1476*_VS2008xASL_EBC_MAKE_FLAGS = /nologo
1477*_VS2008xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1478*_VS2008xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1479*_VS2008xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1480*_VS2008xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1481*_VS2008xASL_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
1482
1483
1484####################################################################################
1485# VS2008x86 - Microsoft Visual Studio 2008 (x86) with Intel ASL
1486# ASL - Intel ACPI Source Language Compiler (iasl.exe)
1487####################################################################################
1488# VS2008x86 - Microsoft Visual Studio 2008 (x86) ALL Edition with Intel ASL
1489*_VS2008x86_*_*_FAMILY = MSFT
1490
1491*_VS2008x86_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001492*_VS2008x86_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001493*_VS2008x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001494
1495*_VS2008x86_*_MAKE_FLAGS = /nologo
1496*_VS2008x86_*_SLINK_FLAGS = /NOLOGO /LTCG
1497*_VS2008x86_*_APP_FLAGS = /nologo /E /TC
1498*_VS2008x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1499*_VS2008x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1500
qhuang814c48572010-07-21 02:46:15 +00001501*_VS2008x86_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1502
lgao452302d42010-02-28 23:39:39 +00001503##################
1504# ASL definitions
1505##################
1506*_VS2008x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
1507*_VS2008x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1508*_VS2008x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1509*_VS2008x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1510*_VS2008x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1511*_VS2008x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1512
1513##################
1514# IA32 definitions
1515##################
1516*_VS2008x86_IA32_*_DLL = DEF(VS2008x86_DLL)
1517
1518*_VS2008x86_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1519*_VS2008x86_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1520*_VS2008x86_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1521*_VS2008x86_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1522*_VS2008x86_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1523*_VS2008x86_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1524*_VS2008x86_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1525*_VS2008x86_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001526*_VS2008x86_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1527*_VS2008x86_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1528*_VS2008x86_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1529
1530 *_VS2008x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001531 DEBUG_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1532RELEASE_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001533NOOPT_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1534
lgao46780eef2010-11-15 02:51:34 +00001535 DEBUG_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001536RELEASE_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001537NOOPT_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1538
1539 DEBUG_VS2008x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1540RELEASE_VS2008x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1541NOOPT_VS2008x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001542
1543##################
1544# X64 definitions
1545##################
1546*_VS2008x86_X64_*_DLL = DEF(VS2008x86_DLL)
1547
1548*_VS2008x86_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1549*_VS2008x86_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1550*_VS2008x86_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1551*_VS2008x86_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1552*_VS2008x86_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1553*_VS2008x86_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1554*_VS2008x86_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1555*_VS2008x86_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1556*_VS2008x86_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1557*_VS2008x86_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1558
lgao46780eef2010-11-15 02:51:34 +00001559 DEBUG_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
qhuang89053bc52010-06-28 09:33:10 +00001560RELEASE_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001561NOOPT_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1562
lgao452302d42010-02-28 23:39:39 +00001563 DEBUG_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1564RELEASE_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001565NOOPT_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1566
1567 DEBUG_VS2008x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1568RELEASE_VS2008x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1569NOOPT_VS2008x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001570
1571##################
1572# IPF definitions
1573##################
1574*_VS2008x86_IPF_*_DLL = DEF(VS2008x86_DLL)
1575
1576*_VS2008x86_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1577*_VS2008x86_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1578*_VS2008x86_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1579*_VS2008x86_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1580*_VS2008x86_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1581*_VS2008x86_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1582*_VS2008x86_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1583*_VS2008x86_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1584*_VS2008x86_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1585*_VS2008x86_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1586
1587 DEBUG_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1588RELEASE_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001589NOOPT_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1590
lgao452302d42010-02-28 23:39:39 +00001591 DEBUG_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1592RELEASE_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001593NOOPT_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1594
lgao46780eef2010-11-15 02:51:34 +00001595 DEBUG_VS2008x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /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
1596RELEASE_VS2008x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /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
lgao4b36d1342011-09-18 12:17:25 +00001597NOOPT_VS2008x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /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
lgao46780eef2010-11-15 02:51:34 +00001598
lgao452302d42010-02-28 23:39:39 +00001599
1600####################################################################################
1601# VS2008x86xASL - Microsoft Visual Studio 2008 with Microsoft ASL
1602# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1603####################################################################################
1604*_VS2008x86xASL_*_*_FAMILY = MSFT
1605
1606*_VS2008x86xASL_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001607*_VS2008x86xASL_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001608*_VS2008x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001609
1610*_VS2008x86xASL_*_MAKE_FLAGS = /nologo
1611*_VS2008x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1612*_VS2008x86xASL_*_APP_FLAGS = /nologo /E /TC
1613*_VS2008x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1614*_VS2008x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1615
qhuang814c48572010-07-21 02:46:15 +00001616*_VS2008x86xASL_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1617
lgao452302d42010-02-28 23:39:39 +00001618##################
1619# ASL definitions
1620##################
1621*_VS2008x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
1622*_VS2008x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
1623*_VS2008x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1624*_VS2008x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1625*_VS2008x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1626*_VS2008x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1627
1628##################
1629# IA32 definitions
1630##################
1631*_VS2008x86xASL_IA32_*_DLL = DEF(VS2008x86_DLL)
1632
1633*_VS2008x86xASL_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1634*_VS2008x86xASL_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1635*_VS2008x86xASL_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1636*_VS2008x86xASL_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1637*_VS2008x86xASL_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1638*_VS2008x86xASL_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1639*_VS2008x86xASL_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1640*_VS2008x86xASL_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001641*_VS2008x86xASL_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1642*_VS2008x86xASL_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1643*_VS2008x86xASL_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1644
1645 *_VS2008x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001646 DEBUG_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1647RELEASE_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001648NOOPT_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1649
lgao46780eef2010-11-15 02:51:34 +00001650 DEBUG_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001651RELEASE_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001652NOOPT_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1653
1654 DEBUG_VS2008x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1655RELEASE_VS2008x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1656NOOPT_VS2008x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001657
1658##################
1659# X64 definitions
1660##################
1661*_VS2008x86xASL_X64_*_DLL = DEF(VS2008x86_DLL)
1662
1663*_VS2008x86xASL_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1664*_VS2008x86xASL_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1665*_VS2008x86xASL_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1666*_VS2008x86xASL_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1667*_VS2008x86xASL_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1668*_VS2008x86xASL_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1669*_VS2008x86xASL_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1670*_VS2008x86xASL_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1671*_VS2008x86xASL_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1672*_VS2008x86xASL_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1673
lgao46780eef2010-11-15 02:51:34 +00001674 DEBUG_VS2008x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
qhuang89053bc52010-06-28 09:33:10 +00001675RELEASE_VS2008x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001676NOOPT_VS2008x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1677
lgao452302d42010-02-28 23:39:39 +00001678 DEBUG_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1679RELEASE_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001680NOOPT_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1681
1682 DEBUG_VS2008x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1683RELEASE_VS2008x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1684NOOPT_VS2008x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
lgao452302d42010-02-28 23:39:39 +00001685
1686##################
1687# IPF definitions
1688##################
1689*_VS2008x86xASL_IPF_*_DLL = DEF(VS2008x86_DLL)
1690
1691*_VS2008x86xASL_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1692*_VS2008x86xASL_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1693*_VS2008x86xASL_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1694*_VS2008x86xASL_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1695*_VS2008x86xASL_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1696*_VS2008x86xASL_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1697*_VS2008x86xASL_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1698*_VS2008x86xASL_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1699*_VS2008x86xASL_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1700*_VS2008x86xASL_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1701
1702 DEBUG_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1703RELEASE_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001704NOOPT_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1705
lgao452302d42010-02-28 23:39:39 +00001706 DEBUG_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1707RELEASE_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001708NOOPT_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1709
lgao46780eef2010-11-15 02:51:34 +00001710 DEBUG_VS2008x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /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
1711RELEASE_VS2008x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /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
lgao4b36d1342011-09-18 12:17:25 +00001712NOOPT_VS2008x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /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
lgao452302d42010-02-28 23:39:39 +00001713
1714
eric_tian3b6c90a2009-04-13 12:50:50 +00001715####################################################################################
1716#
1717# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
1718# And Intel ACPI Compiler
1719#
1720####################################################################################
1721# DDK3790 - Microsoft Windows DDK 3790.1830
1722# ASL - Intel ACPI Source Language Compiler (iasl.exe)
1723*_DDK3790_*_*_FAMILY = MSFT
1724
1725*_DDK3790_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
1726*_DDK3790_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001727*_DDK3790_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001728
1729*_DDK3790_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1730*_DDK3790_*_APP_FLAGS = /nologo /E /TC
1731*_DDK3790_*_SLINK_FLAGS = /nologo /LTCG
1732*_DDK3790_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1733
qhuang814c48572010-07-21 02:46:15 +00001734*_DDK3790_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
1735
eric_tian3b6c90a2009-04-13 12:50:50 +00001736##################
1737# ASL definitions
1738##################
lgao4a709adf2009-12-29 06:16:53 +00001739*_DDK3790_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1740*_DDK3790_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1741*_DDK3790_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001742*_DDK3790_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1743*_DDK3790_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1744*_DDK3790_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1745
1746##################
1747# IA32 definitions
1748##################
1749*_DDK3790_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
1750*_DDK3790_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
1751*_DDK3790_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001752*_DDK3790_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
1753*_DDK3790_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1754*_DDK3790_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
1755*_DDK3790_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
1756*_DDK3790_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
1757*_DDK3790_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1758*_DDK3790_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
1759
qhuang89053bc52010-06-28 09:33:10 +00001760 DEBUG_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1761RELEASE_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001762NOOPT_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1763
eric_tian3b6c90a2009-04-13 12:50:50 +00001764 DEBUG_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1765RELEASE_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001766NOOPT_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1767
1768 DEBUG_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1769RELEASE_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4078 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1770NOOPT_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001771
1772##################
1773# x64 definitions
1774##################
1775*_DDK3790_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
1776*_DDK3790_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
1777*_DDK3790_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1778*_DDK3790_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
1779*_DDK3790_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1780*_DDK3790_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
1781*_DDK3790_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
1782*_DDK3790_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
1783*_DDK3790_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1784*_DDK3790_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1785
qhuang89053bc52010-06-28 09:33:10 +00001786 DEBUG_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1787RELEASE_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001788NOOPT_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1789
eric_tian3b6c90a2009-04-13 12:50:50 +00001790 DEBUG_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1791RELEASE_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001792NOOPT_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1793
lgao46780eef2010-11-15 02:51:34 +00001794 DEBUG_DDK3790_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1795RELEASE_DDK3790_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4078 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
lgao4b36d1342011-09-18 12:17:25 +00001796NOOPT_DDK3790_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001797
1798##################
1799# IPF definitions
1800##################
1801*_DDK3790_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
1802*_DDK3790_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
1803*_DDK3790_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1804*_DDK3790_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
1805*_DDK3790_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1806*_DDK3790_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
1807*_DDK3790_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
1808*_DDK3790_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
1809*_DDK3790_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1810*_DDK3790_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1811
1812
1813 DEBUG_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1814RELEASE_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001815NOOPT_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1816
eric_tian3b6c90a2009-04-13 12:50:50 +00001817 DEBUG_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1818RELEASE_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001819NOOPT_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1820
lgao46780eef2010-11-15 02:51:34 +00001821 DEBUG_DDK3790_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1822RELEASE_DDK3790_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00001823NOOPT_DDK3790_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
eric_tian3b6c90a2009-04-13 12:50:50 +00001824
1825##################
1826# EBC definitions
1827##################
1828*_DDK3790_EBC_*_FAMILY = INTEL
1829
1830*_DDK3790_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1831*_DDK3790_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1832*_DDK3790_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1833*_DDK3790_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1834*_DDK3790_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1835
1836*_DDK3790_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1837*_DDK3790_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1838*_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
1839
1840####################################################################################
1841#
1842# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
1843# And Microsoft ACPI Compiler
1844#
1845####################################################################################
1846# DDK3790xASL - Microsoft Windows DDK 3790.1830
1847# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1848*_DDK3790xASL_*_*_FAMILY = MSFT
1849
1850*_DDK3790xASL_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
1851*_DDK3790xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001852*_DDK3790xASL_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001853
1854*_DDK3790xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1855*_DDK3790xASL_*_APP_FLAGS = /nologo /E /TC
1856*_DDK3790xASL_*_SLINK_FLAGS = /nologo /LTCG
1857*_DDK3790xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1858
qhuang814c48572010-07-21 02:46:15 +00001859*_DDK3790xASL_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
1860
eric_tian3b6c90a2009-04-13 12:50:50 +00001861##################
1862# ASL definitions
1863##################
1864*_DDK3790xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001865*_DDK3790xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00001866*_DDK3790xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001867*_DDK3790xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1868*_DDK3790xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1869*_DDK3790xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1870
1871##################
1872# IA32 definitions
1873##################
1874*_DDK3790xASL_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
1875*_DDK3790xASL_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
1876*_DDK3790xASL_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001877*_DDK3790xASL_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
1878*_DDK3790xASL_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1879*_DDK3790xASL_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
1880*_DDK3790xASL_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
1881*_DDK3790xASL_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
1882*_DDK3790xASL_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1883*_DDK3790xASL_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
1884
qhuang89053bc52010-06-28 09:33:10 +00001885 DEBUG_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1886RELEASE_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001887NOOPT_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1888
eric_tian3b6c90a2009-04-13 12:50:50 +00001889 DEBUG_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1890RELEASE_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001891NOOPT_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1892
1893 DEBUG_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1894RELEASE_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4078 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1895NOOPT_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001896
1897##################
1898# x64 definitions
1899##################
1900*_DDK3790xASL_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
1901*_DDK3790xASL_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
1902*_DDK3790xASL_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1903*_DDK3790xASL_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
1904*_DDK3790xASL_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1905*_DDK3790xASL_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
1906*_DDK3790xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
1907*_DDK3790xASL_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
1908*_DDK3790xASL_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1909*_DDK3790xASL_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1910
qhuang89053bc52010-06-28 09:33:10 +00001911 DEBUG_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1912RELEASE_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00001913NOOPT_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1914
eric_tian3b6c90a2009-04-13 12:50:50 +00001915 DEBUG_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1916RELEASE_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001917NOOPT_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1918
lgao46780eef2010-11-15 02:51:34 +00001919 DEBUG_DDK3790xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1920RELEASE_DDK3790xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4078 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
lgao4b36d1342011-09-18 12:17:25 +00001921NOOPT_DDK3790xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00001922
1923##################
1924# IPF definitions
1925##################
1926*_DDK3790xASL_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
1927*_DDK3790xASL_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
1928*_DDK3790xASL_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1929*_DDK3790xASL_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
1930*_DDK3790xASL_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1931*_DDK3790xASL_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
1932*_DDK3790xASL_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
1933*_DDK3790xASL_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
1934*_DDK3790xASL_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1935*_DDK3790xASL_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1936
1937
1938 DEBUG_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1939RELEASE_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00001940NOOPT_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1941
eric_tian3b6c90a2009-04-13 12:50:50 +00001942 DEBUG_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1943RELEASE_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001944NOOPT_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1945
lgao46780eef2010-11-15 02:51:34 +00001946 DEBUG_DDK3790xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
1947RELEASE_DDK3790xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00001948NOOPT_DDK3790xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
eric_tian3b6c90a2009-04-13 12:50:50 +00001949
1950##################
1951# EBC definitions
1952##################
1953*_DDK3790xASL_EBC_*_FAMILY = INTEL
1954
1955*_DDK3790xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1956*_DDK3790xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1957*_DDK3790xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1958*_DDK3790xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1959*_DDK3790xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1960
1961*_DDK3790xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1962*_DDK3790xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1963*_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
1964
1965
1966####################################################################################
1967# GCC Common
1968####################################################################################
1969
1970*_*_*_OBJCOPY_PATH = echo
1971*_*_*_OBJCOPY_FLAGS = objcopy not needed for
1972*_*_*_SYMRENAME_PATH = echo
1973*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
1974
lgao452302d42010-02-28 23:39:39 +00001975DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h
qhuang89053bc52010-06-28 09:33:10 +00001976DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
1977DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe
eric_tian3b6c90a2009-04-13 12:50:50 +00001978DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency
lgao452302d42010-02-28 23:39:39 +00001979DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie
lgao4a709adf2009-12-29 06:16:53 +00001980DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
eric_tian3b6c90a2009-04-13 12:50:50 +00001981DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
1982DEFINE 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
1983DEFINE 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
1984DEFINE GCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64
1985DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem
1986DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
1987DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
1988DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00001989DEFINE GCC_ASLPP_FLAGS = -x c -E -P
1990DEFINE GCC_ASLCC_FLAGS = -x c
1991DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
1992DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
1993DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
1994DEFINE GCC_IPF_RC_FLAGS = -I binary -O elf64-ia64-little -B ia64 --rename-section .data=.hii
1995
lgao452302d42010-02-28 23:39:39 +00001996DEFINE GCC44_ALL_CC_FLAGS = -g -fshort-wchar -fno-stack-protector -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -ffunction-sections -fdata-sections -c -include AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
lgao4a709adf2009-12-29 06:16:53 +00001997DEFINE GCC44_IA32_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m32 -malign-double -D EFI32
lgao46780eef2010-11-15 02:51:34 +00001998DEFINE GCC44_X64_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -DNO_BUILTIN_VA_FUNCS -mno-red-zone -Wno-address -mcmodel=large
lgao4da92f272011-05-11 10:26:49 +00001999DEFINE GCC44_IA32_X64_DLINK_COMMON = -nostdlib -n -q --gc-sections --script=$(EDK_TOOLS_PATH)/Scripts/gcc4.4-ld-script
lgao4a709adf2009-12-29 06:16:53 +00002000DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) --entry ReferenceAcpiTable -u ReferenceAcpiTable
2001DEFINE GCC44_IA32_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
lgao4da92f272011-05-11 10:26:49 +00002002DEFINE GCC44_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -melf_x86_64 --oformat=elf64-x86-64
lgao4a709adf2009-12-29 06:16:53 +00002003DEFINE GCC44_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002004
lgao46780eef2010-11-15 02:51:34 +00002005DEFINE GCC45_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS)
2006DEFINE GCC45_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
2007DEFINE GCC45_IA32_X64_DLINK_COMMON = DEF(GCC44_IA32_X64_DLINK_COMMON)
2008DEFINE GCC45_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS)
2009DEFINE GCC45_IA32_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS)
2010DEFINE GCC45_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
2011DEFINE GCC45_ASM_FLAGS = DEF(GCC44_ASM_FLAGS)
2012
eric_tian3b6c90a2009-04-13 12:50:50 +00002013####################################################################################
2014#
2015# Unix GCC And Intel Linux ACPI Compiler
2016#
2017####################################################################################
2018# UNIXGCC - UNIX GCC
2019# ASL - Intel Linux ACPI Source Language Compiler (iasl)
2020*_UNIXGCC_*_*_FAMILY = GCC
eric_tian3b6c90a2009-04-13 12:50:50 +00002021
lgao4a709adf2009-12-29 06:16:53 +00002022*_UNIXGCC_*_MAKE_PATH = make
eric_tian3b6c90a2009-04-13 12:50:50 +00002023*_UNIXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00002024
lgao4636f2be2010-03-12 10:54:01 +00002025*_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
2026*_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00002027*_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2028*_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2029*_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
2030*_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2031*_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2032*_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2033*_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002034*_UNIXGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002035*_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00002036*_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002037
2038##################
2039# IA32 definitions
2040##################
lgao4a709adf2009-12-29 06:16:53 +00002041*_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
jljusten726d5a82009-08-15 05:05:00 +00002042*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2043*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2044*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
2045*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
2046*_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2047*_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2048*_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
2049*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2050*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00002051*_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002052
lgao4a709adf2009-12-29 06:16:53 +00002053*_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2054*_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
2055*_UNIXGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002056
2057##################
2058# X64 definitions
2059##################
jljusten726d5a82009-08-15 05:05:00 +00002060*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2061*_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2062*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
2063*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
2064*_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
2065*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2066*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2067*_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2068*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00002069*_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
lgao452302d42010-02-28 23:39:39 +00002070*_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002071
lgao4a709adf2009-12-29 06:16:53 +00002072*_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2073*_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao452302d42010-02-28 23:39:39 +00002074*_UNIXGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002075
2076##################
2077# IPF definitions
2078##################
jljusten726d5a82009-08-15 05:05:00 +00002079*_UNIXGCC_IPF_CC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2080*_UNIXGCC_IPF_ASLCC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2081*_UNIXGCC_IPF_SLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ar
2082*_UNIXGCC_IPF_DLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
2083*_UNIXGCC_IPF_ASLDLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
2084*_UNIXGCC_IPF_ASM_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2085*_UNIXGCC_IPF_PP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2086*_UNIXGCC_IPF_ASLPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2087*_UNIXGCC_IPF_VFRPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2088*_UNIXGCC_IPF_OBJCOPY_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
2089*_UNIXGCC_IPF_SYMRENAME_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002090*_UNIXGCC_IPF_RC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002091
lgao4a709adf2009-12-29 06:16:53 +00002092*_UNIXGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2093*_UNIXGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2094*_UNIXGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2095*_UNIXGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2096*_UNIXGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
2097
2098
2099####################################################################################
2100#
2101# GCC 4.4 - This configuration is used to compile under Linux to produce
2102# PE/COFF binaries using GCC 4.4.
2103#
2104####################################################################################
2105*_GCC44_*_*_FAMILY = GCC
2106
2107*_GCC44_*_MAKE_PATH = make
2108*_GCC44_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2109
2110*_GCC44_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2111*_GCC44_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2112*_GCC44_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2113*_GCC44_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002114*_GCC44_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002115*_GCC44_*_ASL_FLAGS = DEF(IASL_FLAGS)
2116*_GCC44_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2117
2118##################
2119# GCC44 IA32 definitions
2120##################
lgao4da92f272011-05-11 10:26:49 +00002121*_GCC44_IA32_OBJCOPY_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00002122*_GCC44_IA32_CC_PATH = DEF(GCC44_IA32_PREFIX)gcc
2123*_GCC44_IA32_SLINK_PATH = DEF(GCC44_IA32_PREFIX)ar
2124*_GCC44_IA32_DLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
2125*_GCC44_IA32_ASLDLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
2126*_GCC44_IA32_ASM_PATH = DEF(GCC44_IA32_PREFIX)gcc
2127*_GCC44_IA32_PP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2128*_GCC44_IA32_VFRPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2129*_GCC44_IA32_ASLCC_PATH = DEF(GCC44_IA32_PREFIX)gcc
2130*_GCC44_IA32_ASLPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2131*_GCC44_IA32_RC_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00002132
2133*_GCC44_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2134*_GCC44_IA32_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2135*_GCC44_IA32_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m32 --32 -march=i386
lgao452302d42010-02-28 23:39:39 +00002136*_GCC44_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS) -Os
lgao4a709adf2009-12-29 06:16:53 +00002137*_GCC44_IA32_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2138*_GCC44_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002139*_GCC44_IA32_OBJCOPY_FLAGS =
lgao452302d42010-02-28 23:39:39 +00002140
lgao440d841f2010-05-18 05:04:32 +00002141##################
2142# GCC44 X64 definitions
2143##################
lgao4da92f272011-05-11 10:26:49 +00002144*_GCC44_X64_OBJCOPY_PATH = DEF(GCC44_X64_PREFIX)objcopy
lgao440d841f2010-05-18 05:04:32 +00002145*_GCC44_X64_CC_PATH = DEF(GCC44_X64_PREFIX)gcc
2146*_GCC44_X64_SLINK_PATH = DEF(GCC44_X64_PREFIX)ar
2147*_GCC44_X64_DLINK_PATH = DEF(GCC44_X64_PREFIX)ld
2148*_GCC44_X64_ASLDLINK_PATH = DEF(GCC44_X64_PREFIX)ld
2149*_GCC44_X64_ASM_PATH = DEF(GCC44_X64_PREFIX)gcc
2150*_GCC44_X64_PP_PATH = DEF(GCC44_X64_PREFIX)gcc
2151*_GCC44_X64_VFRPP_PATH = DEF(GCC44_X64_PREFIX)gcc
2152*_GCC44_X64_ASLCC_PATH = DEF(GCC44_X64_PREFIX)gcc
2153*_GCC44_X64_ASLPP_PATH = DEF(GCC44_X64_PREFIX)gcc
2154*_GCC44_X64_RC_PATH = DEF(GCC44_X64_PREFIX)objcopy
2155
2156*_GCC44_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2157*_GCC44_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2158*_GCC44_X64_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m64 --64 -melf_x86_64
lgao46780eef2010-11-15 02:51:34 +00002159*_GCC44_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
lgao440d841f2010-05-18 05:04:32 +00002160*_GCC44_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
2161*_GCC44_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002162*_GCC44_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002163
2164####################################################################################
2165#
lgao46780eef2010-11-15 02:51:34 +00002166# GCC 4.5 - This configuration is used to compile under Linux to produce
2167# PE/COFF binaries using GCC 4.5.
2168#
2169####################################################################################
2170*_GCC45_*_*_FAMILY = GCC
2171
2172*_GCC45_*_MAKE_PATH = make
2173*_GCC45_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2174
2175*_GCC45_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2176*_GCC45_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2177*_GCC45_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2178*_GCC45_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
2179*_GCC45_*_APP_FLAGS =
2180*_GCC45_*_ASL_FLAGS = DEF(IASL_FLAGS)
2181*_GCC45_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2182
2183##################
2184# GCC45 IA32 definitions
2185##################
lgao4da92f272011-05-11 10:26:49 +00002186*_GCC45_IA32_OBJCOPY_PATH = DEF(GCC45_IA32_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00002187*_GCC45_IA32_CC_PATH = DEF(GCC45_IA32_PREFIX)gcc
2188*_GCC45_IA32_SLINK_PATH = DEF(GCC45_IA32_PREFIX)ar
2189*_GCC45_IA32_DLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
2190*_GCC45_IA32_ASLDLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
2191*_GCC45_IA32_ASM_PATH = DEF(GCC45_IA32_PREFIX)gcc
2192*_GCC45_IA32_PP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2193*_GCC45_IA32_VFRPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2194*_GCC45_IA32_ASLCC_PATH = DEF(GCC45_IA32_PREFIX)gcc
2195*_GCC45_IA32_ASLPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2196*_GCC45_IA32_RC_PATH = DEF(GCC45_IA32_PREFIX)objcopy
2197
2198*_GCC45_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2199*_GCC45_IA32_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2200*_GCC45_IA32_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m32 --32 -march=i386
2201*_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Os
2202*_GCC45_IA32_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2203*_GCC45_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002204*_GCC45_IA32_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00002205
2206##################
2207# GCC45 X64 definitions
2208##################
lgao4da92f272011-05-11 10:26:49 +00002209*_GCC45_X64_OBJCOPY_PATH = DEF(GCC45_X64_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00002210*_GCC45_X64_CC_PATH = DEF(GCC45_X64_PREFIX)gcc
2211*_GCC45_X64_SLINK_PATH = DEF(GCC45_X64_PREFIX)ar
2212*_GCC45_X64_DLINK_PATH = DEF(GCC45_X64_PREFIX)ld
2213*_GCC45_X64_ASLDLINK_PATH = DEF(GCC45_X64_PREFIX)ld
2214*_GCC45_X64_ASM_PATH = DEF(GCC45_X64_PREFIX)gcc
2215*_GCC45_X64_PP_PATH = DEF(GCC45_X64_PREFIX)gcc
2216*_GCC45_X64_VFRPP_PATH = DEF(GCC45_X64_PREFIX)gcc
2217*_GCC45_X64_ASLCC_PATH = DEF(GCC45_X64_PREFIX)gcc
2218*_GCC45_X64_ASLPP_PATH = DEF(GCC45_X64_PREFIX)gcc
2219*_GCC45_X64_RC_PATH = DEF(GCC45_X64_PREFIX)objcopy
2220
2221*_GCC45_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2222*_GCC45_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2223*_GCC45_X64_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m64 --64 -melf_x86_64
2224*_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS)
2225*_GCC45_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS)
2226*_GCC45_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002227*_GCC45_X64_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00002228
2229####################################################################################
2230#
eric_tian3b6c90a2009-04-13 12:50:50 +00002231# Cygwin GCC And Intel ACPI Compiler
2232#
2233####################################################################################
2234# CYGGCC - CygWin GCC
2235# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2236*_CYGGCC_*_*_FAMILY = GCC
2237
2238*_CYGGCC_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00002239*_CYGGCC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao4a709adf2009-12-29 06:16:53 +00002240*_CYGGCC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002241
lgao4636f2be2010-03-12 10:54:01 +00002242*_CYGGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
2243*_CYGGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00002244*_CYGGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2245*_CYGGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2246*_CYGGCC_*_MAKE_FLAGS = /nologo
lgao46780eef2010-11-15 02:51:34 +00002247*_CYGGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
lgao4a709adf2009-12-29 06:16:53 +00002248*_CYGGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2249*_CYGGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2250*_CYGGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2251*_CYGGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002252*_CYGGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002253*_CYGGCC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2254*_CYGGCC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002255
2256##################
2257# IA32 definitions
2258##################
lgao4b303ea72009-11-09 11:47:35 +00002259*_CYGGCC_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
2260*_CYGGCC_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
2261*_CYGGCC_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
2262*_CYGGCC_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
2263*_CYGGCC_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
2264*_CYGGCC_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
2265*_CYGGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
2266*_CYGGCC_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
2267*_CYGGCC_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
2268*_CYGGCC_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00002269*_CYGGCC_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
lgao4636f2be2010-03-12 10:54:01 +00002270*_CYGGCC_IA32_OBJCOPY_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002271
lgao4a709adf2009-12-29 06:16:53 +00002272*_CYGGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2273*_CYGGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00002274*_CYGGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002275
2276##################
2277# X64 definitions
2278##################
jljusten726d5a82009-08-15 05:05:00 +00002279*_CYGGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
2280*_CYGGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
2281*_CYGGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
2282*_CYGGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
2283*_CYGGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
2284*_CYGGCC_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
2285*_CYGGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
2286*_CYGGCC_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
2287*_CYGGCC_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
2288*_CYGGCC_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00002289*_CYGGCC_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
lgao4636f2be2010-03-12 10:54:01 +00002290*_CYGGCC_X64_OBJCOPY_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002291
lgao4a709adf2009-12-29 06:16:53 +00002292*_CYGGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2293*_CYGGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00002294*_CYGGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002295
2296##################
2297# IPF definitions
2298##################
2299*_CYGGCC_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
2300*_CYGGCC_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
2301*_CYGGCC_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
2302*_CYGGCC_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
2303*_CYGGCC_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
2304*_CYGGCC_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
2305*_CYGGCC_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
2306*_CYGGCC_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
2307*_CYGGCC_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
2308*_CYGGCC_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
2309*_CYGGCC_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002310*_CYGGCC_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002311
lgao4a709adf2009-12-29 06:16:53 +00002312*_CYGGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2313*_CYGGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2314*_CYGGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2315*_CYGGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2316*_CYGGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002317
2318##################
2319# EBC definitions
2320##################
2321*_CYGGCC_EBC_*_FAMILY = INTEL
2322
2323*_CYGGCC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2324*_CYGGCC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2325*_CYGGCC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2326*_CYGGCC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2327*_CYGGCC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00002328*_CYGGCC_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002329
2330*_CYGGCC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2331*_CYGGCC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2332*_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
2333
2334####################################################################################
2335#
2336# Cygwin GCC And Microsoft ACPI Compiler
2337#
2338####################################################################################
2339# CYGGCCxASL - CygWin GCC
2340# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2341*_CYGGCCxASL_*_*_FAMILY = GCC
2342
2343*_CYGGCCxASL_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00002344*_CYGGCCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002345
2346*_CYGGCCxASL_*_MAKE_FLAGS = /nologo
2347*_CYGGCCxASL_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
2348*_CYGGCCxASL_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20
2349*_CYGGCCxASL_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
2350*_CYGGCCxASL_*_APP_FLAGS = -E -x assembler
2351*_CYGGCCxASL_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
2352
2353##################
2354# ASL definitions
2355##################
2356*_CYGGCCxASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00002357*_CYGGCCxASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00002358*_CYGGCCxASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002359*_CYGGCCxASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2360*_CYGGCCxASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2361*_CYGGCCxASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2362
2363##################
2364# IA32 definitions
2365##################
lgao4b303ea72009-11-09 11:47:35 +00002366*_CYGGCCxASL_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
2367*_CYGGCCxASL_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
2368*_CYGGCCxASL_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
2369*_CYGGCCxASL_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
2370*_CYGGCCxASL_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
2371*_CYGGCCxASL_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
2372*_CYGGCCxASL_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
2373*_CYGGCCxASL_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
2374*_CYGGCCxASL_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
2375*_CYGGCCxASL_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00002376*_CYGGCCxASL_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002377
lgao4a709adf2009-12-29 06:16:53 +00002378*_CYGGCCxASL_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2379*_CYGGCCxASL_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002380
2381##################
2382# X64 definitions
2383##################
jljusten726d5a82009-08-15 05:05:00 +00002384*_CYGGCCxASL_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
2385*_CYGGCCxASL_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
2386*_CYGGCCxASL_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
2387*_CYGGCCxASL_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
2388*_CYGGCCxASL_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
2389*_CYGGCCxASL_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
2390*_CYGGCCxASL_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
2391*_CYGGCCxASL_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
2392*_CYGGCCxASL_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
2393*_CYGGCCxASL_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00002394*_CYGGCCxASL_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002395
lgao4a709adf2009-12-29 06:16:53 +00002396*_CYGGCCxASL_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2397*_CYGGCCxASL_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002398
2399##################
2400# IPF definitions
2401##################
2402*_CYGGCCxASL_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
2403*_CYGGCCxASL_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
2404*_CYGGCCxASL_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
2405*_CYGGCCxASL_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
2406*_CYGGCCxASL_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
2407*_CYGGCCxASL_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
2408*_CYGGCCxASL_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
2409*_CYGGCCxASL_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
2410*_CYGGCCxASL_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
2411*_CYGGCCxASL_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
2412*_CYGGCCxASL_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002413*_CYGGCCxASL_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002414
lgao4a709adf2009-12-29 06:16:53 +00002415*_CYGGCCxASL_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2416*_CYGGCCxASL_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2417*_CYGGCCxASL_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2418*_CYGGCCxASL_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2419*_CYGGCCxASL_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002420
2421##################
2422# EBC definitions
2423##################
2424*_CYGGCCxASL_EBC_*_FAMILY = INTEL
2425
2426*_CYGGCCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2427*_CYGGCCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2428*_CYGGCCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2429*_CYGGCCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2430*_CYGGCCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00002431*_CYGGCCxASL_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002432
2433*_CYGGCCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2434*_CYGGCCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2435*_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
2436
2437####################################################################################
2438#
2439# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
2440# binaries.
2441#
2442####################################################################################
2443# ELFGCC - Linux ELF GCC
2444*_ELFGCC_*_*_FAMILY = GCC
2445*_ELFGCC_*_MAKE_PATH = make
2446
2447*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
2448*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
2449
2450##################
2451# ASL definitions
2452##################
2453*_ELFGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00002454*_ELFGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00002455*_ELFGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002456*_ELFGCC_*_ASLPP_FLAGS = -x c -E -P
2457*_ELFGCC_*_ASLCC_FLAGS = -x c
lgao4a709adf2009-12-29 06:16:53 +00002458*_ELFGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
eric_tian3b6c90a2009-04-13 12:50:50 +00002459
2460##################
2461# IA32 definitions
2462##################
lgao4a709adf2009-12-29 06:16:53 +00002463*_ELFGCC_IA32_OBJCOPY_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002464*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc
2465*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar
2466*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld
2467*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc
2468*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc
2469*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
2470*_ELFGCC32_IA32_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
2471*_ELFGCC32_IA32_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
2472*_ELFGCC32_IA32_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
lgao4b303ea72009-11-09 11:47:35 +00002473*_ELFGCC_IA32_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002474
2475*_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
2476*_ELFGCC_IA32_SLINK_FLAGS =
2477*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
2478#*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
lgao4a709adf2009-12-29 06:16:53 +00002479*_ELFGCC_IA32_ASM_FLAGS = -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
eric_tian3b6c90a2009-04-13 12:50:50 +00002480*_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2481*_ELFGCC_IA32_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002482*_ELFGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
2483*_ELFGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002484
2485##################
2486# X64 definitions
2487##################
2488*_ELFGCC_X64_CC_PATH = DEF(ELFGCC_BIN)/gcc
2489*_ELFGCC_X64_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
2490*_ELFGCC_X64_SLINK_PATH = DEF(ELFGCC_BIN)/ar
2491*_ELFGCC_X64_DLINK_PATH = DEF(ELFGCC_BIN)/ld
2492*_ELFGCC_X64_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
2493*_ELFGCC_X64_ASM_PATH = DEF(ELFGCC_BIN)/gcc
2494*_ELFGCC_X64_PP_PATH = DEF(ELFGCC_BIN)/gcc
2495*_ELFGCC_X64_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
2496*_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00002497*_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002498
2499*_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
2500*_ELFGCC_X64_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
2501*_ELFGCC_X64_SLINK_FLAGS =
2502*_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
2503*_ELFGCC_X64_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2504*_ELFGCC_X64_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002505*_ELFGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002506
2507##################
2508# IPF definitions
2509##################
2510*_ELFGCC_IPF_CC_PATH = DEF(ELFGCC_BIN)/gcc
2511*_ELFGCC_IPF_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
2512*_ELFGCC_IPF_SLINK_PATH = DEF(ELFGCC_BIN)/ar
2513*_ELFGCC_IPF_DLINK_PATH = DEF(ELFGCC_BIN)/ld
2514*_ELFGCC_IPF_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
2515*_ELFGCC_IPF_ASM_PATH = DEF(ELFGCC_BIN)/gcc
2516*_ELFGCC_IPF_PP_PATH = DEF(ELFGCC_BIN)/gcc
2517*_ELFGCC_IPF_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
2518*_ELFGCC_IPF_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00002519*_ELFGCC_IPF_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002520
2521*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -Werror -c -include AutoGen.h -D_EFI_P64
2522*_ELFGCC_IPF_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
2523*_ELFGCC_IPF_SLINK_FLAGS =
2524*_ELFGCC_IPF_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
2525*_ELFGCC_IPF_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2526*_ELFGCC_IPF_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002527*_ELFGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002528
2529####################################################################################
2530#
jljusten07a756b2007-10-17 01:54:36 +00002531# Intel(R) C++ Compiler Version 9.1
2532#
2533# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
jwang361c2c04d2007-12-25 09:15:38 +00002534# ASL - Intel ACPI Source Language Compiler
jljusten07a756b2007-10-17 01:54:36 +00002535#
2536####################################################################################
2537# ICC - Intel C Compiler V9.1
2538*_ICC_*_*_FAMILY = INTEL
2539
lgao4b303ea72009-11-09 11:47:35 +00002540*_ICC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2541*_ICC_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00002542
2543*_ICC_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00002544*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00002545*_ICC_*_APP_FLAGS = /nologo /E /TC
2546*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2547
qhuang814c48572010-07-21 02:46:15 +00002548*_ICC_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
2549
eric_tian3b6c90a2009-04-13 12:50:50 +00002550##################
2551# ASL definitions
2552##################
lgao4a709adf2009-12-29 06:16:53 +00002553*_ICC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2554*_ICC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2555*_ICC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002556*_ICC_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2557*_ICC_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2558*_ICC_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
lgao4a1c949f2008-08-21 13:11:01 +00002559
jljusten07a756b2007-10-17 01:54:36 +00002560##################
2561# IA32 definitions
2562##################
jljusten07a756b2007-10-17 01:54:36 +00002563*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
2564*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
2565# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002566*_ICC_IA32_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00002567*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002568*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
2569*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
2570*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00002571*_ICC_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
2572*_ICC_IA32_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00002573*_ICC_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
2574*_ICC_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
2575*_ICC_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002576
qhuang89053bc52010-06-28 09:33:10 +00002577 DEBUG_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
2578RELEASE_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00002579NOOPT_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
2580
lhauch7e6ae4d2007-11-28 01:20:03 +00002581 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2582RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00002583NOOPT_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2584
jljusten07a756b2007-10-17 01:54:36 +00002585 *_ICC_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00002586 DEBUG_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2587RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2588NOOPT_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
jljusten07a756b2007-10-17 01:54:36 +00002589
2590##################
2591# X64 definitions
2592##################
jljusten07a756b2007-10-17 01:54:36 +00002593*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
2594*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
2595# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002596*_ICC_X64_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00002597*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002598*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
2599*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
2600*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
2601*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00002602*_ICC_X64_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00002603*_ICC_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
2604*_ICC_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
2605*_ICC_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002606
qhuang89053bc52010-06-28 09:33:10 +00002607 DEBUG_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
2608RELEASE_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00002609NOOPT_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
2610
lhauch7e6ae4d2007-11-28 01:20:03 +00002611 DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2612RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002613NOOPT_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2614
2615 DEBUG_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2616RELEASE_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2617NOOPT_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2618
jljusten07a756b2007-10-17 01:54:36 +00002619 *_ICC_X64_SLINK_FLAGS = /nologo /LTCG
2620
2621
2622##################
2623# IPF definitions
2624##################
2625*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
2626# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002627*_ICC_IPF_CC_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00002628*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
2629# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002630*_ICC_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
jljusten07a756b2007-10-17 01:54:36 +00002631*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002632*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
2633*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
jljusten07a756b2007-10-17 01:54:36 +00002634*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
2635*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00002636*_ICC_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
2637*_ICC_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
2638*_ICC_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002639
qhuang88e2978b2009-09-01 15:03:44 +00002640 DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2641RELEASE_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
lgao4b36d1342011-09-18 12:17:25 +00002642NOOPT_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2643
jljusten07a756b2007-10-17 01:54:36 +00002644 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2645RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00002646NOOPT_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2647
lgao46780eef2010-11-15 02:51:34 +00002648 DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
2649RELEASE_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00002650NOOPT_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
2651
jljusten07a756b2007-10-17 01:54:36 +00002652 *_ICC_IPF_SLINK_FLAGS = /nologo
2653
eric_tian3b6c90a2009-04-13 12:50:50 +00002654##################
2655# EBC definitions
2656##################
2657*_ICC_EBC_*_FAMILY = INTEL
2658
lgao4b303ea72009-11-09 11:47:35 +00002659*_ICC_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002660*_ICC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2661*_ICC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2662*_ICC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2663*_ICC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2664*_ICC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2665
2666*_ICC_EBC_MAKE_FLAGS = /nologo
2667*_ICC_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2668*_ICC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2669*_ICC_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2670*_ICC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2671*_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
2672
2673####################################################################################
2674#
2675# Intel(R) C++ Compiler Version 9.1
2676#
2677# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
2678# ASL - Microsoft ACPI Source Language Compiler
2679#
2680####################################################################################
2681# ICCxASL - Intel C Compiler V9.1
2682*_ICCxASL_*_*_FAMILY = INTEL
2683
lgao4b303ea72009-11-09 11:47:35 +00002684*_ICCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2685*_ICCxASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002686
2687*_ICCxASL_*_MAKE_FLAGS = /nologo
2688*_ICCxASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2689*_ICCxASL_*_APP_FLAGS = /nologo /E /TC
2690*_ICCxASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2691
qhuang814c48572010-07-21 02:46:15 +00002692*_ICCxASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
2693
eric_tian3b6c90a2009-04-13 12:50:50 +00002694##################
2695# ASL definitions
2696##################
lgao4a709adf2009-12-29 06:16:53 +00002697*_ICCxASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2698*_ICCxASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2699*_ICCxASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002700*_ICCxASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2701*_ICCxASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2702*_ICCxASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
2703
2704##################
2705# IA32 definitions
2706##################
2707*_ICCxASL_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
2708*_ICCxASL_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
2709# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002710*_ICCxASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002711*_ICCxASL_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002712*_ICCxASL_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
2713*_ICCxASL_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
2714*_ICCxASL_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00002715*_ICCxASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
2716*_ICCxASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002717*_ICCxASL_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
2718*_ICCxASL_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
2719*_ICCxASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
2720
qhuang89053bc52010-06-28 09:33:10 +00002721 DEBUG_ICCxASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
2722RELEASE_ICCxASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00002723NOOPT_ICCxASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
2724
eric_tian3b6c90a2009-04-13 12:50:50 +00002725 DEBUG_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2726RELEASE_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00002727NOOPT_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2728
eric_tian3b6c90a2009-04-13 12:50:50 +00002729 *_ICCxASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00002730 DEBUG_ICCxASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2731RELEASE_ICCxASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2732NOOPT_ICCxASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00002733
2734##################
2735# X64 definitions
2736##################
2737*_ICCxASL_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
2738*_ICCxASL_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
2739# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002740*_ICCxASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002741*_ICCxASL_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
2742*_ICCxASL_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
2743*_ICCxASL_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
2744*_ICCxASL_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
2745*_ICCxASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00002746*_ICCxASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002747*_ICCxASL_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
2748*_ICCxASL_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
2749*_ICCxASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
2750
qhuang89053bc52010-06-28 09:33:10 +00002751 DEBUG_ICCxASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
2752RELEASE_ICCxASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00002753NOOPT_ICCxASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
2754
eric_tian3b6c90a2009-04-13 12:50:50 +00002755 DEBUG_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2756RELEASE_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002757NOOPT_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2758
2759 DEBUG_ICCxASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2760RELEASE_ICCxASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2761NOOPT_ICCxASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2762
eric_tian3b6c90a2009-04-13 12:50:50 +00002763 *_ICCxASL_X64_SLINK_FLAGS = /nologo /LTCG
2764
2765
2766##################
2767# IPF definitions
2768##################
2769*_ICCxASL_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
2770# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002771*_ICCxASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002772*_ICCxASL_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
2773# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002774*_ICCxASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002775*_ICCxASL_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
2776*_ICCxASL_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
2777*_ICCxASL_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
2778*_ICCxASL_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
2779*_ICCxASL_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
2780*_ICCxASL_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
2781*_ICCxASL_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
2782*_ICCxASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
2783
qhuang88e2978b2009-09-01 15:03:44 +00002784 DEBUG_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2785RELEASE_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
lgao4b36d1342011-09-18 12:17:25 +00002786NOOPT_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2787
eric_tian3b6c90a2009-04-13 12:50:50 +00002788 DEBUG_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2789RELEASE_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00002790NOOPT_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2791
lgao46780eef2010-11-15 02:51:34 +00002792 DEBUG_ICCxASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
2793RELEASE_ICCxASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00002794NOOPT_ICCxASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
2795
eric_tian3b6c90a2009-04-13 12:50:50 +00002796 *_ICCxASL_IPF_SLINK_FLAGS = /nologo
2797
2798##################
2799# EBC definitions
2800##################
2801*_ICCxASL_EBC_*_FAMILY = INTEL
2802
lgao4b303ea72009-11-09 11:47:35 +00002803*_ICCxASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002804*_ICCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2805*_ICCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2806*_ICCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2807*_ICCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2808*_ICCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2809
2810*_ICCxASL_EBC_MAKE_FLAGS = /nologo
2811*_ICCxASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2812*_ICCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2813*_ICCxASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2814*_ICCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2815*_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
2816
2817
2818####################################################################################
2819#
2820# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
2821#
2822# ICCx86 - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
2823# ASL - Intel ACPI Source Language Compiler
2824#
2825####################################################################################
2826# ICCx86 - Intel C Compiler V9.1
2827*_ICCx86_*_*_FAMILY = INTEL
2828
lgao4b36d1342011-09-18 12:17:25 +00002829*_ICCx86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2830*_ICCx86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002831
2832*_ICCx86_*_MAKE_FLAGS = /nologo
2833*_ICCx86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2834*_ICCx86_*_APP_FLAGS = /nologo /E /TC
2835*_ICCx86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2836
lgao4b36d1342011-09-18 12:17:25 +00002837*_ICCx86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00002838
eric_tian3b6c90a2009-04-13 12:50:50 +00002839##################
2840# ASL definitions
2841##################
lgao4a709adf2009-12-29 06:16:53 +00002842*_ICCx86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2843*_ICCx86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2844*_ICCx86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002845*_ICCx86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2846*_ICCx86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2847*_ICCx86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
2848
2849##################
2850# IA32 definitions
2851##################
2852*_ICCx86_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
2853*_ICCx86_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
2854# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002855*_ICCx86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002856*_ICCx86_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002857*_ICCx86_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
2858*_ICCx86_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
2859*_ICCx86_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00002860*_ICCx86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
2861*_ICCx86_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002862*_ICCx86_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
2863*_ICCx86_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
2864*_ICCx86_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
2865
qhuang89053bc52010-06-28 09:33:10 +00002866 DEBUG_ICCx86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
2867RELEASE_ICCx86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00002868NOOPT_ICCx86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
2869
eric_tian3b6c90a2009-04-13 12:50:50 +00002870 DEBUG_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2871RELEASE_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00002872NOOPT_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2873
eric_tian3b6c90a2009-04-13 12:50:50 +00002874 *_ICCx86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00002875 DEBUG_ICCx86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2876RELEASE_ICCx86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2877NOOPT_ICCx86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00002878
2879##################
2880# X64 definitions
2881##################
2882*_ICCx86_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
2883*_ICCx86_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
2884# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002885*_ICCx86_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002886*_ICCx86_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
2887*_ICCx86_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
2888*_ICCx86_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
2889*_ICCx86_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
2890*_ICCx86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00002891*_ICCx86_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002892*_ICCx86_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
2893*_ICCx86_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
2894*_ICCx86_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
2895
qhuang89053bc52010-06-28 09:33:10 +00002896 DEBUG_ICCx86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
2897RELEASE_ICCx86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00002898NOOPT_ICCx86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
2899
eric_tian3b6c90a2009-04-13 12:50:50 +00002900 DEBUG_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2901RELEASE_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002902NOOPT_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2903
2904 DEBUG_ICCx86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2905RELEASE_ICCx86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2906NOOPT_ICCx86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2907
eric_tian3b6c90a2009-04-13 12:50:50 +00002908 *_ICCx86_X64_SLINK_FLAGS = /nologo /LTCG
2909
2910
2911##################
2912# IPF definitions
2913##################
2914*_ICCx86_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
2915# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002916*_ICCx86_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002917*_ICCx86_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
2918# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002919*_ICCx86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002920*_ICCx86_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
2921*_ICCx86_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
2922*_ICCx86_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
2923*_ICCx86_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
2924*_ICCx86_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
2925*_ICCx86_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
2926*_ICCx86_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
2927*_ICCx86_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
2928
qhuang88e2978b2009-09-01 15:03:44 +00002929 DEBUG_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2930RELEASE_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
lgao4b36d1342011-09-18 12:17:25 +00002931NOOPT_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2932
eric_tian3b6c90a2009-04-13 12:50:50 +00002933 DEBUG_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2934RELEASE_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00002935NOOPT_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2936
lgao46780eef2010-11-15 02:51:34 +00002937 DEBUG_ICCx86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
2938RELEASE_ICCx86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00002939NOOPT_ICCx86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
2940
eric_tian3b6c90a2009-04-13 12:50:50 +00002941 *_ICCx86_IPF_SLINK_FLAGS = /nologo
2942
2943##################
2944# EBC definitions
2945##################
2946*_ICCx86_EBC_*_FAMILY = INTEL
2947
lgao4b36d1342011-09-18 12:17:25 +00002948*_ICCx86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00002949*_ICCx86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
2950*_ICCx86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
2951*_ICCx86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
2952*_ICCx86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
2953*_ICCx86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002954
2955*_ICCx86_EBC_MAKE_FLAGS = /nologo
2956*_ICCx86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2957*_ICCx86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2958*_ICCx86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2959*_ICCx86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2960*_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
2961
2962
2963####################################################################################
2964#
2965# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
2966#
2967# ICCx86xASL - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
2968# ASL - Microsoft ACPI Source Language Compiler
2969#
2970####################################################################################
2971# ICCx86xASL - Intel C Compiler V9.1
2972*_ICCx86xASL_*_*_FAMILY = INTEL
2973
lgao4b36d1342011-09-18 12:17:25 +00002974*_ICCx86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2975*_ICCx86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002976
2977*_ICCx86xASL_*_MAKE_FLAGS = /nologo
2978*_ICCx86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2979*_ICCx86xASL_*_APP_FLAGS = /nologo /E /TC
2980*_ICCx86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2981
lgao4b36d1342011-09-18 12:17:25 +00002982*_ICCx86ASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00002983
eric_tian3b6c90a2009-04-13 12:50:50 +00002984##################
2985# ASL definitions
2986##################
2987*_ICCx86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao438d49982009-06-17 09:34:46 +00002988*_ICCx86xASL_*_ASL_FLAGS =
2989*_ICCx86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002990*_ICCx86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2991*_ICCx86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2992*_ICCx86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
2993
2994##################
2995# IA32 definitions
2996##################
2997*_ICCx86xASL_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
2998*_ICCx86xASL_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
2999# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003000*_ICCx86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003001*_ICCx86xASL_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003002*_ICCx86xASL_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
3003*_ICCx86xASL_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3004*_ICCx86xASL_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003005*_ICCx86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3006*_ICCx86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003007*_ICCx86xASL_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
3008*_ICCx86xASL_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3009*_ICCx86xASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
3010
qhuang89053bc52010-06-28 09:33:10 +00003011 DEBUG_ICCx86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
3012RELEASE_ICCx86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003013NOOPT_ICCx86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
3014
eric_tian3b6c90a2009-04-13 12:50:50 +00003015 DEBUG_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3016RELEASE_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003017NOOPT_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3018
eric_tian3b6c90a2009-04-13 12:50:50 +00003019 *_ICCx86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003020 DEBUG_ICCx86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3021RELEASE_ICCx86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3022NOOPT_ICCx86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +00003023
3024##################
3025# X64 definitions
3026##################
3027*_ICCx86xASL_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
3028*_ICCx86xASL_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
3029# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003030*_ICCx86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003031*_ICCx86xASL_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3032*_ICCx86xASL_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
3033*_ICCx86xASL_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3034*_ICCx86xASL_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
3035*_ICCx86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003036*_ICCx86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003037*_ICCx86xASL_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
3038*_ICCx86xASL_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3039*_ICCx86xASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3040
qhuang89053bc52010-06-28 09:33:10 +00003041 DEBUG_ICCx86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
3042RELEASE_ICCx86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003043NOOPT_ICCx86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
3044
eric_tian3b6c90a2009-04-13 12:50:50 +00003045 DEBUG_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3046RELEASE_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003047NOOPT_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3048
3049 DEBUG_ICCx86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3050RELEASE_ICCx86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3051NOOPT_ICCx86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3052
eric_tian3b6c90a2009-04-13 12:50:50 +00003053 *_ICCx86xASL_X64_SLINK_FLAGS = /nologo /LTCG
3054
3055
3056##################
3057# IPF definitions
3058##################
3059*_ICCx86xASL_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
3060# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003061*_ICCx86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003062*_ICCx86xASL_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
3063# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003064*_ICCx86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003065*_ICCx86xASL_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3066*_ICCx86xASL_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
3067*_ICCx86xASL_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3068*_ICCx86xASL_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
3069*_ICCx86xASL_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
3070*_ICCx86xASL_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
3071*_ICCx86xASL_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3072*_ICCx86xASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3073
qhuang88e2978b2009-09-01 15:03:44 +00003074 DEBUG_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3075RELEASE_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
lgao4b36d1342011-09-18 12:17:25 +00003076NOOPT_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3077
eric_tian3b6c90a2009-04-13 12:50:50 +00003078 DEBUG_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3079RELEASE_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003080NOOPT_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3081
lgao46780eef2010-11-15 02:51:34 +00003082 DEBUG_ICCx86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3083RELEASE_ICCx86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00003084NOOPT_ICCx86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3085
eric_tian3b6c90a2009-04-13 12:50:50 +00003086 *_ICCx86xASL_IPF_SLINK_FLAGS = /nologo
3087
3088##################
3089# EBC definitions
3090##################
3091*_ICCx86xASL_EBC_*_FAMILY = INTEL
3092
lgao4b36d1342011-09-18 12:17:25 +00003093*_ICCx86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003094*_ICCx86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3095*_ICCx86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3096*_ICCx86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3097*_ICCx86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3098*_ICCx86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003099
3100*_ICCx86xASL_EBC_MAKE_FLAGS = /nologo
3101*_ICCx86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3102*_ICCx86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3103*_ICCx86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3104*_ICCx86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
3105*_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
3106
3107
jljusten07a756b2007-10-17 01:54:36 +00003108####################################################################################
3109#
qhuang89053bc52010-06-28 09:33:10 +00003110# Intel(R) C++ Compiler Version 11.1
lgao4b36d1342011-09-18 12:17:25 +00003111# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3112# X64 - Intel(R) C++ Compiler for applications running on Intel(R) 64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_intel64)
3113# IPF - Intel(R) C++ Compiler for applications running on IA-64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia64)
qhuang89053bc52010-06-28 09:33:10 +00003114# ASL - Intel ACPI Source Language Compiler
3115#
3116####################################################################################
3117# ICC11 - Intel C Compiler V11.1
3118*_ICC11_*_*_FAMILY = INTEL
3119
3120*_ICC11_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3121*_ICC11_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
3122
3123*_ICC11_*_MAKE_FLAGS = /nologo
3124*_ICC11_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3125*_ICC11_*_APP_FLAGS = /nologo /E /TC
3126*_ICC11_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3127
qhuang814c48572010-07-21 02:46:15 +00003128*_ICC11_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3129
qhuang89053bc52010-06-28 09:33:10 +00003130##################
3131# ASL definitions
3132##################
3133*_ICC11_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3134*_ICC11_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3135*_ICC11_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3136*_ICC11_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3137*_ICC11_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3138*_ICC11_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3139
3140##################
3141# IA32 definitions
3142##################
3143*_ICC11_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
3144*_ICC11_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
3145# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003146*_ICC11_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003147*_ICC11_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003148*_ICC11_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
3149*_ICC11_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
3150*_ICC11_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
3151*_ICC11_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3152*_ICC11_IA32_ASM_DLL = DEF(MS_VS_DLL)
3153*_ICC11_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
3154*_ICC11_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
3155*_ICC11_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
3156
3157 DEBUG_ICC11_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
3158RELEASE_ICC11_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003159NOOPT_ICC11_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
3160
qhuang89053bc52010-06-28 09:33:10 +00003161 DEBUG_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3162RELEASE_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003163NOOPT_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003164 *_ICC11_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003165 DEBUG_ICC11_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3166RELEASE_ICC11_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3167NOOPT_ICC11_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
qhuang89053bc52010-06-28 09:33:10 +00003168
3169##################
3170# X64 definitions
3171##################
3172*_ICC11_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
3173*_ICC11_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
3174# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003175*_ICC11_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003176*_ICC11_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3177*_ICC11_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
3178*_ICC11_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
3179*_ICC11_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
3180*_ICC11_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3181*_ICC11_X64_ASM_DLL = DEF(MS_VS_DLL)
3182*_ICC11_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
3183*_ICC11_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
3184*_ICC11_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3185
3186 DEBUG_ICC11_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
3187RELEASE_ICC11_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003188NOOPT_ICC11_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
3189
qhuang89053bc52010-06-28 09:33:10 +00003190 DEBUG_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3191RELEASE_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003192NOOPT_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3193 DEBUG_ICC11_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3194RELEASE_ICC11_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3195NOOPT_ICC11_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3196
qhuang89053bc52010-06-28 09:33:10 +00003197 *_ICC11_X64_SLINK_FLAGS = /nologo /LTCG
3198
3199
3200##################
3201# IPF definitions
3202##################
3203*_ICC11_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
3204# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003205*_ICC11_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003206*_ICC11_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
3207# xilib.exe needs lib.exe from Visual Studio
3208*_ICC11_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
3209*_ICC11_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3210*_ICC11_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
3211*_ICC11_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
3212*_ICC11_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
3213*_ICC11_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
3214*_ICC11_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
3215*_ICC11_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
3216*_ICC11_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3217
3218 DEBUG_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3219RELEASE_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
lgao4b36d1342011-09-18 12:17:25 +00003220NOOPT_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3221
qhuang89053bc52010-06-28 09:33:10 +00003222 DEBUG_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3223RELEASE_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003224NOOPT_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003225 DEBUG_ICC11_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3226RELEASE_ICC11_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00003227NOOPT_ICC11_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3228
qhuang89053bc52010-06-28 09:33:10 +00003229 *_ICC11_IPF_SLINK_FLAGS = /nologo
3230
3231##################
3232# EBC definitions
3233##################
3234*_ICC11_EBC_*_FAMILY = INTEL
3235
3236*_ICC11_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3237*_ICC11_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3238*_ICC11_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3239*_ICC11_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3240*_ICC11_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3241*_ICC11_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3242
3243*_ICC11_EBC_MAKE_FLAGS = /nologo
3244*_ICC11_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3245*_ICC11_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3246*_ICC11_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3247*_ICC11_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
3248*_ICC11_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
3249
3250####################################################################################
3251#
3252# Intel(R) C++ Compiler Version 11.1
3253#
lgao4b36d1342011-09-18 12:17:25 +00003254# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3255# X64 - Intel(R) C++ Compiler for applications running on Intel(R) 64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_intel64)
3256# IPF - Intel(R) C++ Compiler for applications running on IA-64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia64)
qhuang89053bc52010-06-28 09:33:10 +00003257# ASL - Microsoft ACPI Source Language Compiler
3258#
3259####################################################################################
3260# ICC11xASL - Intel C Compiler V11.1
3261*_ICC11xASL_*_*_FAMILY = INTEL
3262
3263*_ICC11xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3264*_ICC11xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
3265
3266*_ICC11xASL_*_MAKE_FLAGS = /nologo
3267*_ICC11xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3268*_ICC11xASL_*_APP_FLAGS = /nologo /E /TC
3269*_ICC11xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3270
qhuang814c48572010-07-21 02:46:15 +00003271*_ICC11xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3272
qhuang89053bc52010-06-28 09:33:10 +00003273##################
3274# ASL definitions
3275##################
3276*_ICC11xASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3277*_ICC11xASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3278*_ICC11xASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3279*_ICC11xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3280*_ICC11xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3281*_ICC11xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3282
3283##################
3284# IA32 definitions
3285##################
3286*_ICC11xASL_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
3287*_ICC11xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
3288# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003289*_ICC11xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003290*_ICC11xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003291*_ICC11xASL_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
3292*_ICC11xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
3293*_ICC11xASL_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
3294*_ICC11xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3295*_ICC11xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
3296*_ICC11xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
3297*_ICC11xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
3298*_ICC11xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
3299
3300 DEBUG_ICC11xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
3301RELEASE_ICC11xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003302NOOPT_ICC11xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
3303
qhuang89053bc52010-06-28 09:33:10 +00003304 DEBUG_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3305RELEASE_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003306NOOPT_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003307 *_ICC11xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003308 DEBUG_ICC11xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3309RELEASE_ICC11xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3310NOOPT_ICC11xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
qhuang89053bc52010-06-28 09:33:10 +00003311
3312##################
3313# X64 definitions
3314##################
3315*_ICC11xASL_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
3316*_ICC11xASL_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
3317# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003318*_ICC11xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003319*_ICC11xASL_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3320*_ICC11xASL_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
3321*_ICC11xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
3322*_ICC11xASL_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
3323*_ICC11xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3324*_ICC11xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
3325*_ICC11xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
3326*_ICC11xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
3327*_ICC11xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3328
3329 DEBUG_ICC11xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
3330RELEASE_ICC11xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003331NOOPT_ICC11xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
3332
qhuang89053bc52010-06-28 09:33:10 +00003333 DEBUG_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3334RELEASE_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003335NOOPT_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3336 DEBUG_ICC11xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3337RELEASE_ICC11xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3338NOOPT_ICC11xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3339
qhuang89053bc52010-06-28 09:33:10 +00003340 *_ICC11xASL_X64_SLINK_FLAGS = /nologo /LTCG
3341
3342
3343##################
3344# IPF definitions
3345##################
3346*_ICC11xASL_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
3347# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003348*_ICC11xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003349*_ICC11xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
3350# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003351*_ICC11xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003352*_ICC11xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3353*_ICC11xASL_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
3354*_ICC11xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
3355*_ICC11xASL_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
3356*_ICC11xASL_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
3357*_ICC11xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
3358*_ICC11xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
3359*_ICC11xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3360
3361 DEBUG_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3362RELEASE_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
lgao4b36d1342011-09-18 12:17:25 +00003363NOOPT_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3364
qhuang89053bc52010-06-28 09:33:10 +00003365 DEBUG_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3366RELEASE_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003367NOOPT_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3368
lgao46780eef2010-11-15 02:51:34 +00003369 DEBUG_ICC11xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3370RELEASE_ICC11xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00003371NOOPT_ICC11xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3372
qhuang89053bc52010-06-28 09:33:10 +00003373 *_ICC11xASL_IPF_SLINK_FLAGS = /nologo
3374
3375##################
3376# EBC definitions
3377##################
3378*_ICC11xASL_EBC_*_FAMILY = INTEL
3379
3380*_ICC11xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3381*_ICC11xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3382*_ICC11xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3383*_ICC11xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3384*_ICC11xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3385*_ICC11xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3386
3387*_ICC11xASL_EBC_MAKE_FLAGS = /nologo
3388*_ICC11xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3389*_ICC11xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3390*_ICC11xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3391*_ICC11xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
3392*_ICC11xASL_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
3393
3394
3395####################################################################################
3396#
3397# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
3398#
lgao4b36d1342011-09-18 12:17:25 +00003399# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3400# X64 - Intel(R) C++ Compiler for applications running on Intel(R) 64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_intel64)
3401# IPF - Intel(R) C++ Compiler for applications running on IA-64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia64)
qhuang89053bc52010-06-28 09:33:10 +00003402# ASL - Intel ACPI Source Language Compiler
3403#
3404####################################################################################
3405# ICC11x86 - Intel C Compiler V11.1
3406*_ICC11x86_*_*_FAMILY = INTEL
3407
lgao4b36d1342011-09-18 12:17:25 +00003408*_ICC11x86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3409*_ICC11x86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00003410
3411*_ICC11x86_*_MAKE_FLAGS = /nologo
3412*_ICC11x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3413*_ICC11x86_*_APP_FLAGS = /nologo /E /TC
3414*_ICC11x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3415
lgao4b36d1342011-09-18 12:17:25 +00003416*_ICC11x86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00003417
qhuang89053bc52010-06-28 09:33:10 +00003418##################
3419# ASL definitions
3420##################
3421*_ICC11x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3422*_ICC11x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3423*_ICC11x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3424*_ICC11x86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3425*_ICC11x86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3426*_ICC11x86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3427
3428##################
3429# IA32 definitions
3430##################
3431*_ICC11x86_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3432*_ICC11x86_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
3433# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003434*_ICC11x86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003435*_ICC11x86_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003436*_ICC11x86_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3437*_ICC11x86_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3438*_ICC11x86_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003439*_ICC11x86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3440*_ICC11x86_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003441*_ICC11x86_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3442*_ICC11x86_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3443*_ICC11x86_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
3444
3445 DEBUG_ICC11x86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
3446RELEASE_ICC11x86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003447NOOPT_ICC11x86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
qhuang89053bc52010-06-28 09:33:10 +00003448 DEBUG_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3449RELEASE_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003450NOOPT_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003451 *_ICC11x86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003452 DEBUG_ICC11x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3453RELEASE_ICC11x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3454NOOPT_ICC11x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
qhuang89053bc52010-06-28 09:33:10 +00003455
3456##################
3457# X64 definitions
3458##################
3459*_ICC11x86_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3460*_ICC11x86_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
3461# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003462*_ICC11x86_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003463*_ICC11x86_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3464*_ICC11x86_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3465*_ICC11x86_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3466*_ICC11x86_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3467*_ICC11x86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003468*_ICC11x86_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003469*_ICC11x86_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3470*_ICC11x86_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3471*_ICC11x86_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3472
3473 DEBUG_ICC11x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
3474RELEASE_ICC11x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003475NOOPT_ICC11x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
qhuang89053bc52010-06-28 09:33:10 +00003476 DEBUG_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3477RELEASE_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003478NOOPT_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3479 DEBUG_ICC11x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3480RELEASE_ICC11x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3481NOOPT_ICC11x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3482
qhuang89053bc52010-06-28 09:33:10 +00003483 *_ICC11x86_X64_SLINK_FLAGS = /nologo /LTCG
3484
3485
3486##################
3487# IPF definitions
3488##################
3489*_ICC11x86_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3490# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003491*_ICC11x86_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003492*_ICC11x86_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
3493# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003494*_ICC11x86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003495*_ICC11x86_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3496*_ICC11x86_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3497*_ICC11x86_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3498*_ICC11x86_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3499*_ICC11x86_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
3500*_ICC11x86_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3501*_ICC11x86_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3502*_ICC11x86_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3503
3504 DEBUG_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3505RELEASE_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
lgao4b36d1342011-09-18 12:17:25 +00003506NOOPT_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3507
qhuang89053bc52010-06-28 09:33:10 +00003508 DEBUG_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3509RELEASE_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003510NOOPT_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003511 DEBUG_ICC11x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3512RELEASE_ICC11x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00003513NOOPT_ICC11x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3514
qhuang89053bc52010-06-28 09:33:10 +00003515 *_ICC11x86_IPF_SLINK_FLAGS = /nologo
3516
3517##################
3518# EBC definitions
3519##################
3520*_ICC11x86_EBC_*_FAMILY = INTEL
3521
lgao4b36d1342011-09-18 12:17:25 +00003522*_ICC11x86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003523*_ICC11x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3524*_ICC11x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3525*_ICC11x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3526*_ICC11x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3527*_ICC11x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00003528
3529*_ICC11x86_EBC_MAKE_FLAGS = /nologo
3530*_ICC11x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3531*_ICC11x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3532*_ICC11x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3533*_ICC11x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
3534*_ICC11x86_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
3535
3536
3537####################################################################################
3538#
3539# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
3540#
lgao4b36d1342011-09-18 12:17:25 +00003541# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3542# X64 - Intel(R) C++ Compiler for applications running on Intel(R) 64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_intel64)
3543# IPF - Intel(R) C++ Compiler for applications running on IA-64 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia64)
qhuang89053bc52010-06-28 09:33:10 +00003544# ASL - Microsoft ACPI Source Language Compiler
3545#
3546####################################################################################
3547# ICC11x86xASL - Intel C Compiler V11.1
3548*_ICC11x86xASL_*_*_FAMILY = INTEL
3549
lgao4b36d1342011-09-18 12:17:25 +00003550*_ICC11x86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3551*_ICC11x86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00003552
3553*_ICC11x86xASL_*_MAKE_FLAGS = /nologo
3554*_ICC11x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3555*_ICC11x86xASL_*_APP_FLAGS = /nologo /E /TC
3556*_ICC11x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3557
lgao4b36d1342011-09-18 12:17:25 +00003558*_ICC11x86xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00003559
qhuang89053bc52010-06-28 09:33:10 +00003560##################
3561# ASL definitions
3562##################
3563*_ICC11x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
3564*_ICC11x86xASL_*_ASL_FLAGS =
3565*_ICC11x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
3566*_ICC11x86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3567*_ICC11x86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3568*_ICC11x86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3569
3570##################
3571# IA32 definitions
3572##################
3573*_ICC11x86xASL_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3574*_ICC11x86xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
3575# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003576*_ICC11x86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003577*_ICC11x86xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003578*_ICC11x86xASL_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3579*_ICC11x86xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3580*_ICC11x86xASL_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003581*_ICC11x86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3582*_ICC11x86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003583*_ICC11x86xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3584*_ICC11x86xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3585*_ICC11x86xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
3586
3587 DEBUG_ICC11x86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
3588RELEASE_ICC11x86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003589NOOPT_ICC11x86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm /Od
3590
qhuang89053bc52010-06-28 09:33:10 +00003591 DEBUG_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3592RELEASE_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003593NOOPT_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003594 *_ICC11x86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003595 DEBUG_ICC11x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3596RELEASE_ICC11x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3597NOOPT_ICC11x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
qhuang89053bc52010-06-28 09:33:10 +00003598
3599##################
3600# X64 definitions
3601##################
3602*_ICC11x86xASL_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3603*_ICC11x86xASL_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
3604# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003605*_ICC11x86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003606*_ICC11x86xASL_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3607*_ICC11x86xASL_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3608*_ICC11x86xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3609*_ICC11x86xASL_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3610*_ICC11x86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003611*_ICC11x86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003612*_ICC11x86xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3613*_ICC11x86xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3614*_ICC11x86xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3615
3616 DEBUG_ICC11x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
3617RELEASE_ICC11x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
lgao4b36d1342011-09-18 12:17:25 +00003618NOOPT_ICC11x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
3619
qhuang89053bc52010-06-28 09:33:10 +00003620 DEBUG_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3621RELEASE_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003622NOOPT_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3623 DEBUG_ICC11x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3624RELEASE_ICC11x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3625NOOPT_ICC11x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3626
qhuang89053bc52010-06-28 09:33:10 +00003627 *_ICC11x86xASL_X64_SLINK_FLAGS = /nologo /LTCG
3628
3629
3630##################
3631# IPF definitions
3632##################
3633*_ICC11x86xASL_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3634# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003635*_ICC11x86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003636*_ICC11x86xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
3637# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003638*_ICC11x86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003639*_ICC11x86xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3640*_ICC11x86xASL_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3641*_ICC11x86xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3642*_ICC11x86xASL_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3643*_ICC11x86xASL_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
3644*_ICC11x86xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3645*_ICC11x86xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3646*_ICC11x86xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3647
3648 DEBUG_ICC11x86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3649RELEASE_ICC11x86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
lgao4b36d1342011-09-18 12:17:25 +00003650NOOPT_ICC11x86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
qhuang89053bc52010-06-28 09:33:10 +00003651 DEBUG_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3652RELEASE_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003653NOOPT_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003654 DEBUG_ICC11x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
3655RELEASE_ICC11x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00003656NOOPT_ICC11x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:64 /SECTION:.xdata,D /SECTION:.pdata,D /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
qhuang89053bc52010-06-28 09:33:10 +00003657 *_ICC11x86xASL_IPF_SLINK_FLAGS = /nologo
3658
3659##################
3660# EBC definitions
3661##################
3662*_ICC11x86xASL_EBC_*_FAMILY = INTEL
3663
lgao4b36d1342011-09-18 12:17:25 +00003664*_ICC11x86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003665*_ICC11x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3666*_ICC11x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3667*_ICC11x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3668*_ICC11x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3669*_ICC11x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00003670
3671*_ICC11x86xASL_EBC_MAKE_FLAGS = /nologo
3672*_ICC11x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3673*_ICC11x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3674*_ICC11x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3675*_ICC11x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
3676*_ICC11x86xASL_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
3677
3678
3679####################################################################################
3680#
jljusten07a756b2007-10-17 01:54:36 +00003681# MYTOOLS
qhuang814c48572010-07-21 02:46:15 +00003682# IA32 - Microsoft Visual Studio 2008 Team Suite
3683# X64 - Microsoft Visual Studio 2008 Team Suite
jljusten07a756b2007-10-17 01:54:36 +00003684# IPF - Microsoft Windows DDK 3790.1830
3685# EBC - Intel EFI Byte Code Compiler
3686#
3687####################################################################################
3688# MYTOOLS - Settings compatible with previous versions of tools_def.template
3689*_MYTOOLS_*_*_FAMILY = MSFT
3690
eric_tian3b6c90a2009-04-13 12:50:50 +00003691##################
3692# ASL definitions
3693##################
lgao4a709adf2009-12-29 06:16:53 +00003694*_MYTOOLS_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3695*_MYTOOLS_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3696*_MYTOOLS_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
qhuang89053bc52010-06-28 09:33:10 +00003697*_MYTOOLS_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
3698*_MYTOOLS_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
3699*_MYTOOLS_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003700
jljusten07a756b2007-10-17 01:54:36 +00003701
jwang3604e031d2007-10-31 09:07:31 +00003702*_MYTOOLS_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00003703*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jwang3604e031d2007-10-31 09:07:31 +00003704*_MYTOOLS_*_APP_FLAGS = /nologo /E /TC
3705*_MYTOOLS_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3706*_MYTOOLS_*_SLINK_FLAGS = /nologo /LTCG
jljusten07a756b2007-10-17 01:54:36 +00003707
qhuang814c48572010-07-21 02:46:15 +00003708*_MYTOOLS_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
3709
jljusten07a756b2007-10-17 01:54:36 +00003710##################
3711# IA32 definitions
3712##################
qhuang814c48572010-07-21 02:46:15 +00003713*_MYTOOLS_IA32_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00003714
qhuang814c48572010-07-21 02:46:15 +00003715*_MYTOOLS_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
3716*_MYTOOLS_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
3717*_MYTOOLS_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
3718*_MYTOOLS_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
3719*_MYTOOLS_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
3720*_MYTOOLS_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
3721*_MYTOOLS_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
3722*_MYTOOLS_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
3723*_MYTOOLS_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
3724*_MYTOOLS_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
3725*_MYTOOLS_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00003726*_MYTOOLS_IA32_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003727
qhuang89053bc52010-06-28 09:33:10 +00003728 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3729RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00003730NOOPT_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
eric_tian5edaeed2008-12-05 07:35:41 +00003731 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
3732RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003733NOOPT_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
3734 DEBUG_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
3735RELEASE_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
3736NOOPT_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
jljusten07a756b2007-10-17 01:54:36 +00003737
3738##################
3739# x64 definitions
3740##################
qhuang814c48572010-07-21 02:46:15 +00003741*_MYTOOLS_X64_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00003742
qhuang814c48572010-07-21 02:46:15 +00003743*_MYTOOLS_X64_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
3744*_MYTOOLS_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
3745*_MYTOOLS_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
3746*_MYTOOLS_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
3747*_MYTOOLS_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
3748*_MYTOOLS_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
3749*_MYTOOLS_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
3750*_MYTOOLS_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
3751*_MYTOOLS_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
3752*_MYTOOLS_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
3753*_MYTOOLS_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00003754*_MYTOOLS_X64_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jwang3604e031d2007-10-31 09:07:31 +00003755
qhuang89053bc52010-06-28 09:33:10 +00003756 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3757RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lgao4b36d1342011-09-18 12:17:25 +00003758NOOPT_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
eric_tian5edaeed2008-12-05 07:35:41 +00003759 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3760RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003761NOOPT_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3762 DEBUG_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
3763RELEASE_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
3764NOOPT_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
jljusten07a756b2007-10-17 01:54:36 +00003765
3766##################
3767# IPF definitions
3768##################
3769*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
3770*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
3771*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
3772*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
jljusten07a756b2007-10-17 01:54:36 +00003773*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
3774*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
3775*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
3776*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00003777*_MYTOOLS_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
3778*_MYTOOLS_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
3779*_MYTOOLS_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
lgao4b303ea72009-11-09 11:47:35 +00003780*_MYTOOLS_IPF_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003781
lgao4b303ea72009-11-09 11:47:35 +00003782 *_MYTOOLS_IPF_ASM_OUTPUT = "-o "
lgao44ee82542008-03-14 03:12:29 +00003783 DEBUG_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi
jwang36f285eb12008-08-12 07:54:36 +00003784RELEASE_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32
lgao4b36d1342011-09-18 12:17:25 +00003785NOOPT_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi /Od
jljusten07a756b2007-10-17 01:54:36 +00003786 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
3787RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00003788NOOPT_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
lgao46780eef2010-11-15 02:51:34 +00003789 DEBUG_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
3790RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
lgao4b36d1342011-09-18 12:17:25 +00003791NOOPT_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /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
jljusten07a756b2007-10-17 01:54:36 +00003792 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
3793
3794##################
3795# EBC definitions
3796##################
3797*_MYTOOLS_EBC_*_FAMILY = INTEL
3798
lgao464137022010-12-06 05:17:09 +00003799*_MYTOOLS_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
jljusten07a756b2007-10-17 01:54:36 +00003800*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
jwang36c0577802008-05-15 03:00:04 +00003801*_MYTOOLS_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
jljusten07a756b2007-10-17 01:54:36 +00003802*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3803*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3804*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao464137022010-12-06 05:17:09 +00003805*_MYTOOLS_EBC_RC_PATH = DEF(VS2005_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003806
3807*_MYTOOLS_EBC_MAKE_FLAGS = /nologo
3808*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
jwang361a974382008-11-28 06:11:32 +00003809*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
lgao4abf1c3e2008-11-27 09:15:52 +00003810*_MYTOOLS_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00003811*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
klu2f560de72008-11-26 08:21:25 +00003812*_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
jljusten07a756b2007-10-17 01:54:36 +00003813
vanjefffd171542009-09-11 03:14:43 +00003814
3815####################################################################################
3816#
3817# Xcode Support for building on Mac OS X (Snow Leopard)
3818#
3819####################################################################################
3820# XCODE32 - Xcode 3.2 Tools (Snow Leopard)
3821*_XCODE32_*_*_FAMILY = GCC
3822*_XCODE32_*_*_BUILDRULEFAMILY = XCODE
3823
3824
3825*_XCODE32_*_ASL_PATH = /usr/bin/iasl
3826
3827*_XCODE32_*_MAKE_PATH = make
3828
vanjefffd171542009-09-11 03:14:43 +00003829*_XCODE32_*_DSYMUTIL_PATH = /usr/bin/dsymutil
3830
lgao4a709adf2009-12-29 06:16:53 +00003831# This tool needs to be installed seperatly from Xcode 3.2
3832*_XCODE32_*_MTOC_PATH = /usr/local/bin/mtoc
3833
vanjefffd171542009-09-11 03:14:43 +00003834 DEBUG_XCODE32_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
lgao46780eef2010-11-15 02:51:34 +00003835RELEASE_XCODE32_*_MTOC_FLAGS = -align 0x20
vanjefffd171542009-09-11 03:14:43 +00003836
3837##################
3838# IA32 definitions
3839##################
3840*_XCODE32_IA32_CC_PATH = gcc
3841*_XCODE32_IA32_SLINK_PATH = libtool
3842*_XCODE32_IA32_DLINK_PATH = ld
3843*_XCODE32_IA32_ASM_PATH = as
3844*_XCODE32_IA32_PP_PATH = gcc
3845*_XCODE32_IA32_VFRPP_PATH = gcc
3846*_XCODE32_IA32_ASL_PATH = iasl
3847*_XCODE32_IA32_ASLCC_PATH = gcc
3848*_XCODE32_IA32_ASLPP_PATH = gcc
3849*_XCODE32_IA32_ASLDLINK_PATH = ld
3850
lgao4a709adf2009-12-29 06:16:53 +00003851 DEBUG_XCODE32_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3852RELEASE_XCODE32_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00003853*_XCODE32_IA32_SLINK_FLAGS = -static -o
3854 DEBUG_XCODE32_IA32_ASM_FLAGS = -arch i386 -g
lgao46780eef2010-11-15 02:51:34 +00003855RELEASE_XCODE32_IA32_ASM_FLAGS = -arch i386
vanjefffd171542009-09-11 03:14:43 +00003856*_XCODE32_IA32_PP_FLAGS = -arch i386 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3857*_XCODE32_IA32_VFRPP_FLAGS = -arch i386 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3858 DEBUG_XCODE32_IA32_CC_FLAGS = -arch i386 -save-temps -g -O0 -combine -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h -mdynamic-no-pic -fno-stack-protector
3859RELEASE_XCODE32_IA32_CC_FLAGS = -arch i386 -Oz -combine -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h -mdynamic-no-pic -fno-stack-protector
3860
3861*_XCODE32_IA32_ASLCC_FLAGS = -arch i386 -x c -save-temps -g -O0 -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h -mdynamic-no-pic
lgao4a709adf2009-12-29 06:16:53 +00003862*_XCODE32_IA32_ASLDLINK_FLAGS = -arch i386 -e _main -preload -segalign 0x20 -pie -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
lgao46780eef2010-11-15 02:51:34 +00003863*_XCODE32_IA32_ASLPP_FLAGS = -arch i386 -x c -E
vanjefffd171542009-09-11 03:14:43 +00003864*_XCODE32_IA32_ASL_FLAGS =
3865
3866##################
lgao46780eef2010-11-15 02:51:34 +00003867# X64 definitions - still a work in progress. This tool chain does not produce
vanjefffd171542009-09-11 03:14:43 +00003868# the correct ABI, it is just used to compile the code....
3869##################
3870*_XCODE32_X64_CC_PATH = gcc-4.2
3871*_XCODE32_X64_SLINK_PATH = libtool
3872*_XCODE32_X64_DLINK_PATH = ld
3873*_XCODE32_X64_ASM_PATH = as
3874*_XCODE32_X64_PP_PATH = gcc-4.2
3875*_XCODE32_X64_VFRPP_PATH = gcc-4.2
3876*_XCODE32_X64_ASL_PATH = iasl
3877*_XCODE32_X64_ASLCC_PATH = gcc
3878*_XCODE32_X64_ASLPP_PATH = gcc
3879*_XCODE32_X64_ASLDLINK_PATH = ld
3880
lgao4a709adf2009-12-29 06:16:53 +00003881*_XCODE32_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00003882*_XCODE32_X64_SLINK_FLAGS = -static -o
3883
3884 DEBUG_XCODE32_X64_ASM_FLAGS = -arch x86_64 -g
lgao46780eef2010-11-15 02:51:34 +00003885RELEASE_XCODE32_X64_ASM_FLAGS = -arch x86_64
vanjefffd171542009-09-11 03:14:43 +00003886*_XCODE32_X64_PP_FLAGS = -arch x86_64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3887*_XCODE32_X64_VFRPP_FLAGS = -arch x86_64 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3888
3889 DEBUG_XCODE32_X64_CC_FLAGS = -arch x86_64 -save-temps -g -O0 -combine -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -fomit-frame-pointer -static -c -include AutoGen.h -fno-stack-protector
3890RELEASE_XCODE32_X64_CC_FLAGS = -arch x86_64 -Oz -combine -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -fomit-frame-pointer -static -c -include AutoGen.h -fno-stack-protector
3891
3892##################
lgao452302d42010-02-28 23:39:39 +00003893# ARM definitions - (Assumes iPhone SDK installed on Snow Leopard)
vanjefffd171542009-09-11 03:14:43 +00003894##################
3895
lgao452302d42010-02-28 23:39:39 +00003896*_XCODE32_ARM_ARCHCC_FLAGS = -arch armv7 -march=armv7 -mthumb
lgao46780eef2010-11-15 02:51:34 +00003897*_XCODE32_ARM_ARCHASM_FLAGS = -arch armv7
3898*_XCODE32_ARM_ARCHDLINK_FLAGS = -arch armv7
vanjefffd171542009-09-11 03:14:43 +00003899*_XCODE32_ARM_PLATFORM_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00003900
3901*_XCODE32_ARM_CC_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
3902*_XCODE32_ARM_SLINK_PATH = DEF(IPHONE_TOOLS)/usr/bin/libtool
lgao452302d42010-02-28 23:39:39 +00003903*_XCODE32_ARM_DLINK_PATH = ld
vanjefffd171542009-09-11 03:14:43 +00003904*_XCODE32_ARM_ASM_PATH = DEF(IPHONE_TOOLS)/usr/bin/as
3905*_XCODE32_ARM_PP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
3906*_XCODE32_ARM_VFRPP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
3907
lgao46780eef2010-11-15 02:51:34 +00003908 DEBUG_XCODE32_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3909RELEASE_XCODE32_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00003910
3911*_XCODE32_ARM_SLINK_FLAGS = -static -o
3912
3913 DEBUG_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -g
lgao46780eef2010-11-15 02:51:34 +00003914RELEASE_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS)
vanjefffd171542009-09-11 03:14:43 +00003915*_XCODE32_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3916*_XCODE32_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3917
qhuang8e56468c2010-09-06 01:58:00 +00003918 DEBUG_XCODE32_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mthumb-interwork -g -Oz -mabi=aapcs -mapcs -fno-short-enums -save-temps -combine -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h -fno-stack-protector
3919RELEASE_XCODE32_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mthumb-interwork -Oz -mabi=aapcs -mapcs -fno-short-enums -save-temps -combine -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h -fno-stack-protector
vanjefffd171542009-09-11 03:14:43 +00003920
3921
3922####################################################################################
3923#
lgao4da92f272011-05-11 10:26:49 +00003924# Clang Support for building on Mac OS X
3925#
3926####################################################################################
3927# CLANG - clang that produce Mach-O with EFI x86_64 ABI
3928*_XCLANG_*_*_FAMILY = GCC
3929*_XCLANG_*_*_BUILDRULEFAMILY = XCODE
3930
3931*_XCLANG_*_ASL_PATH = /usr/bin/iasl
3932
3933*_XCLANG_*_MAKE_PATH = make
3934*_XCLANG_*_DSYMUTIL_PATH = /usr/bin/dsymutil
3935
3936 *_*_*_MTOC_PATH = /usr/local/bin/mtoc
3937
3938 DEBUG_XCLANG_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
3939RELEASE_XCLANG_*_MTOC_FLAGS = -align 0x20
3940
3941
3942*_XCLANG_*_CC_PATH = DEF(CLANG_BIN)clang
3943*_XCLANG_*_SLINK_PATH = libtool
3944*_XCLANG_*_DLINK_PATH = ld
3945*_XCLANG_*_ASM_PATH = as
3946*_XCLANG_*_PP_PATH = DEF(CLANG_BIN)clang
3947*_XCLANG_*_VFRPP_PATH = DEF(CLANG_BIN)clang
3948*_XCLANG_*_ASL_PATH = iasl
3949*_XCLANG_*_ASLCC_PATH = DEF(CLANG_BIN)clang
3950*_XCLANG_*_ASLPP_PATH = DEF(CLANG_BIN)clang
3951*_XCLANG_*_ASLDLINK_PATH = ld
3952
3953####################
3954# IA-32 definitions
3955####################
3956 DEBUG_XCLANG_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3957RELEASE_XCLANG_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3958*_XCLANG_IA32_SLINK_FLAGS = -static -o
3959 DEBUG_XCLANG_IA32_ASM_FLAGS = -arch i386 -g
3960RELEASE_XCLANG_IA32_ASM_FLAGS = -arch i386
3961
3962
lgao442342832011-08-26 07:46:26 +00003963 DEBUG_XCLANG_IA32_CC_FLAGS = -arch i386 -c -g -O0 -Wall -Werror -include AutoGen.h -fno-stack-protector -fno-builtin -fshort-wchar -mdynamic-no-pic -mno-sse -mno-mmx -Wno-empty-body -Wno-pointer-sign -Wno-unused-function -Wno-unused-value -Wno-missing-braces -Wno-tautological-compare -Wreturn-type -Wno-unused-variable -fasm-blocks -mms-bitfields -msoft-float -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang
3964RELEASE_XCLANG_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -Werror -include AutoGen.h -fno-stack-protector -fno-builtin -fshort-wchar -mdynamic-no-pic -mno-sse -mno-mmx -Wno-empty-body -Wno-pointer-sign -Wno-unused-function -Wno-unused-value -Wno-missing-braces -Wno-tautological-compare -Wreturn-type -Wno-unused-variable -fasm-blocks -mms-bitfields -msoft-float -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang
lgao4da92f272011-05-11 10:26:49 +00003965
3966
3967##################
3968# X64 definitions
3969##################
3970 DEBUG_XCLANG_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3971RELEASE_XCLANG_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x220 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3972*_XCLANG_X64_SLINK_FLAGS = -static -o
3973 DEBUG_XCLANG_X64_ASM_FLAGS = -arch x86_64 -g
3974RELEASE_XCLANG_X64_ASM_FLAGS = -arch x86_64
3975*_XCLANG_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3976*_XCLANG_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3977
3978
lgao442342832011-08-26 07:46:26 +00003979 DEBUG_XCLANG_X64_CC_FLAGS = -ccc-host-triple x86_64-pc-win32-macho -c -g -O0 -Wall -Werror -include AutoGen.h -fno-stack-protector -fno-builtin -fshort-wchar -mdynamic-no-pic -Wno-empty-body -Wno-pointer-sign -Wno-unused-function -Wno-unused-value -Wno-missing-braces -Wno-tautological-compare -Wreturn-type -Wno-unused-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang
3980RELEASE_XCLANG_X64_CC_FLAGS = -ccc-host-triple x86_64-pc-win32-macho -c -Os -Wall -Werror -include AutoGen.h -fno-stack-protector -fno-builtin -fshort-wchar -mdynamic-no-pic -Wno-empty-body -Wno-pointer-sign -Wno-unused-function -Wno-unused-value -Wno-missing-braces -Wno-tautological-compare -Wreturn-type -Wno-unused-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang
lgao4da92f272011-05-11 10:26:49 +00003981*_XCLANG_*_ASLCC_FLAGS = -x c -save-temps -g -O0 -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h -mdynamic-no-pic
3982*_XCLANG_*_ASLDLINK_FLAGS = -e _main -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3983*_XCLANG_*_ASLPP_FLAGS = -x c -E
3984*_XCLANG_*_ASL_FLAGS =
3985
3986
3987####################################################################################
3988#
vanjefffd171542009-09-11 03:14:43 +00003989# ARM Tools
3990#
3991####################################################################################
3992# RVCT31 - Tools from ARM
3993
3994*_RVCT31_*_*_FAMILY = RVCT
3995
3996#
3997# Use default values, or override in DSC file
3998#
qhuang89053bc52010-06-28 09:33:10 +00003999*_RVCT31_ARM_ARCHCC_FLAGS = --thumb --cpu 7-A
4000*_RVCT31_ARM_ARCHASM_FLAGS = --cpu 7-A
lgao46780eef2010-11-15 02:51:34 +00004001*_RVCT31_ARM_ARCHDLINK_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00004002*_RVCT31_ARM_PLATFORM_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00004003
qhuang814c48572010-07-21 02:46:15 +00004004 DEBUG_RVCT31_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map --diag_style=ide
4005RELEASE_RVCT31_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map --diag_style=ide
vanjefffd171542009-09-11 03:14:43 +00004006
4007
qhuang814c48572010-07-21 02:46:15 +00004008*_RVCT31_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) --apcs /interwork --diag_style=ide
4009*_RVCT31_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E --diag_style=ide
vanjefffd171542009-09-11 03:14:43 +00004010*_RVCT31_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4011*_RVCT31_ARM_MAKE_PATH = nmake
lgao46780eef2010-11-15 02:51:34 +00004012*_RVCT31_ARM_SLINK_FLAGS = --partial --diag_style=ide -o
qhuang814c48572010-07-21 02:46:15 +00004013 DEBUG_RVCT31_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -g -Ospace -c --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --enum_is_int --preinclude AutoGen.h --diag_warning 167 --diag_style=ide
4014RELEASE_RVCT31_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -Ospace -c --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --enum_is_int --preinclude AutoGen.h --diag_warning 167 --diag_style=ide
vanjefffd171542009-09-11 03:14:43 +00004015
4016##################
4017# ARM definitions
4018##################
4019*_RVCT31_ARM_CC_PATH = DEF(RVCT31_TOOLS_PATH)/armcc
4020*_RVCT31_ARM_SLINK_PATH = DEF(RVCT31_TOOLS_PATH)/armlink
4021*_RVCT31_ARM_DLINK_PATH = DEF(RVCT31_TOOLS_PATH)/armlink
4022*_RVCT31_ARM_ASM_PATH = DEF(RVCT31_TOOLS_PATH)/armasm
4023*_RVCT31_ARM_PP_PATH = DEF(RVCT31_TOOLS_PATH)/armcc
4024*_RVCT31_ARM_VFRPP_PATH = DEF(RVCT31_TOOLS_PATH)/armcc
4025*_RVCT31_ARM_FROMELF_PATH = DEF(RVCT31_TOOLS_PATH)/fromelf
4026
4027####################################################################################
4028#
4029# ARM Tools & Cygwin
4030#
4031####################################################################################
4032# ARMCYGWIN - Tools from ARM in a Cygwin environment
4033
4034*_RVCT31CYGWIN_*_*_FAMILY = RVCT
4035*_RVCT31CYGWIN_*_*_BUILDRULEFAMILY = RVCTCYGWIN
4036
4037*_RVCT31CYGWIN_ARM_CCPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armcc
4038*_RVCT31CYGWIN_ARM_SLINKPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armlink
4039*_RVCT31CYGWIN_ARM_DLINKPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armlink
4040*_RVCT31CYGWIN_ARM_ASMPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armasm
4041*_RVCT31CYGWIN_ARM_PPPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armcc
4042*_RVCT31CYGWIN_ARM_VFRPPPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armcc
4043*_RVCT31CYGWIN_ARM_FROMELFPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/fromelf
4044
4045
4046#
4047# Use default values, or override in DSC file
4048#
qhuang89053bc52010-06-28 09:33:10 +00004049*_RVCT31CYGWIN_ARM_ARCHCC_FLAGS = --thumb --cpu 7-A
4050*_RVCT31CYGWIN_ARM_ARCHASM_FLAGS = --cpu 7-A
lgao46780eef2010-11-15 02:51:34 +00004051*_RVCT31CYGWIN_ARM_ARCHDLINK_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00004052*_RVCT31CYGWIN_ARM_PLATFORM_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00004053
qhuang814c48572010-07-21 02:46:15 +00004054 DEBUG_RVCT31CYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map` --diag_style=ide
4055RELEASE_RVCT31CYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map` --diag_style=ide
vanjefffd171542009-09-11 03:14:43 +00004056
qhuang814c48572010-07-21 02:46:15 +00004057*_RVCT31CYGWIN_ARM_ASM_FLAGS = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) --apcs /interwork --diag_style=ide
4058*_RVCT31CYGWIN_ARM_PP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E --diag_style=ide
vanjefffd171542009-09-11 03:14:43 +00004059*_RVCT31CYGWIN_ARM_VFRPP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude `cygpath -m $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h`
4060*_RVCT31CYGWIN_ARM_MAKE_PATH = make
lgao46780eef2010-11-15 02:51:34 +00004061*_RVCT31CYGWIN_ARM_SLINK_FLAGS = "$(SLINKPATH_FLAG)" --partial --diag_style=ide -o
qhuang814c48572010-07-21 02:46:15 +00004062 DEBUG_RVCT31CYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -c -g -Ospace --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --preinclude AutoGen.h --diag_warning 167 --diag_style=ide
4063RELEASE_RVCT31CYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -c -Ospace --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --preinclude AutoGen.h --diag_warning 167 --diag_style=ide
vanjefffd171542009-09-11 03:14:43 +00004064
4065##################
4066# ARM definitions
4067##################
4068*_RVCT31CYGWIN_ARM_CC_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4069*_RVCT31CYGWIN_ARM_SLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4070*_RVCT31CYGWIN_ARM_DLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4071*_RVCT31CYGWIN_ARM_ASM_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4072*_RVCT31CYGWIN_ARM_PP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4073*_RVCT31CYGWIN_ARM_VFRPP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4074*_RVCT31CYGWIN_ARM_FROMELF_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4075
4076####################################################################################
4077#
lgao4636f2be2010-03-12 10:54:01 +00004078# ARM GCC (www.codesourcery.com)
vanjefffd171542009-09-11 03:14:43 +00004079#
4080####################################################################################
4081# ARMGCC - ARM version of the GCC cross compiler
4082
4083*_ARMGCC_*_*_FAMILY = GCC
lgao4636f2be2010-03-12 10:54:01 +00004084*_ARMGCC_*_*_BUILDRULEFAMILY = ARMGCC
4085
lgao442342832011-08-26 07:46:26 +00004086*_ARMGCC_*_MAKE_PATH = make
lgao4636f2be2010-03-12 10:54:01 +00004087*_ARMGCC_*_MAKE_FLAGS = --no-print-directory
vanjefffd171542009-09-11 03:14:43 +00004088
4089##################
4090# ASL definitions
4091##################
4092*_ARMGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00004093*_ARMGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
vanjefffd171542009-09-11 03:14:43 +00004094*_ARMGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
4095*_ARMGCC_*_ASLPP_FLAGS = -x c -E -P
4096*_ARMGCC_*_ASLCC_FLAGS = -x c
lgao4a709adf2009-12-29 06:16:53 +00004097*_ARMGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
vanjefffd171542009-09-11 03:14:43 +00004098
4099##################
4100# ARM definitions
4101##################
4102
lgao442342832011-08-26 07:46:26 +00004103*_ARMGCC_ARM_ASLCC_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4104*_ARMGCC_ARM_ASLDLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ld
4105*_ARMGCC_ARM_ASLPP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
vanjefffd171542009-09-11 03:14:43 +00004106
lgao442342832011-08-26 07:46:26 +00004107*_ARMGCC_ARM_CC_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4108*_ARMGCC_ARM_SLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ar
4109*_ARMGCC_ARM_DLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ld
4110*_ARMGCC_ARM_ASM_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-as
4111*_ARMGCC_ARM_PP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4112*_ARMGCC_ARM_VFRPP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
vanjefffd171542009-09-11 03:14:43 +00004113
4114#
4115# Use default values, or override in DSC file
4116#
lgao46780eef2010-11-15 02:51:34 +00004117*_ARMGCC_ARM_ARCHCC_FLAGS = -march=armv7-a -mthumb
lgao4636f2be2010-03-12 10:54:01 +00004118*_ARMGCC_ARM_ARCHASM_FLAGS = -march=armv7-a
lgao46780eef2010-11-15 02:51:34 +00004119*_ARMGCC_ARM_ARCHDLINK_FLAGS =
lgao4636f2be2010-03-12 10:54:01 +00004120*_ARMGCC_ARM_PLATFORM_FLAGS = -march=armv7-a
vanjefffd171542009-09-11 03:14:43 +00004121
4122 DEBUG_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -mlittle-endian -g
4123RELEASE_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -mlittle-endian
4124
4125*_ARMGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4126*_ARMGCC_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4127
lgao4636f2be2010-03-12 10:54:01 +00004128*_ARMGCC_ARM_SLINK_FLAGS = -rc
lgao4da92f272011-05-11 10:26:49 +00004129*_ARMGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --oformat=elf32-littlearm --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00004130
lgao4da92f272011-05-11 10:26:49 +00004131 DEBUG_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -g -O0 -mabi=aapcs -mapcs -fno-short-enums -save-temps -combine -fsigned-char -fshort-wchar -fno-strict-aliasing -ffunction-sections -fdata-sections -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h
4132RELEASE_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -Os -mabi=aapcs -mapcs -fno-short-enums -save-temps -combine -fsigned-char -fshort-wchar -fno-strict-aliasing -ffunction-sections -fdata-sections -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h
vanjefffd171542009-09-11 03:14:43 +00004133
qhuang814c48572010-07-21 02:46:15 +00004134#################
4135# ASM 16 linker defintions
4136#################
4137*_*_*_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe
4138*_*_*_ASMLINK_FLAGS = /nologo /tiny
vanjefffd171542009-09-11 03:14:43 +00004139
lgao430962c72008-08-07 03:29:10 +00004140##################
4141# VfrCompiler definitions
4142##################
lgao4bdf37b32008-08-10 03:56:03 +00004143*_*_*_VFR_PATH = VfrCompile
lgao430962c72008-08-07 03:29:10 +00004144*_*_*_VFR_FLAGS = -l -n
lgao4a1c949f2008-08-21 13:11:01 +00004145
4146##################
jwang3615543342009-05-03 06:40:59 +00004147# OptionRom tool definitions
4148##################
4149*_*_*_OPTROM_PATH = EfiRom
4150*_*_*_OPTROM_FLAGS = -e
4151
4152##################
qhuang8e56468c2010-09-06 01:58:00 +00004153# GenFw tool definitions
4154##################
4155*_*_*_GENFW_PATH = GenFw
lgao46780eef2010-11-15 02:51:34 +00004156*_*_*_GENFW_FLAGS =
qhuang8e56468c2010-09-06 01:58:00 +00004157
4158##################
lgao4a1c949f2008-08-21 13:11:01 +00004159# Asl Compiler definitions
4160##################
lgao46780eef2010-11-15 02:51:34 +00004161*_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +00004162*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
lgao4a1c949f2008-08-21 13:11:01 +00004163*_*_*_ASLPP_FLAGS = /nologo /EP /C
4164*_*_*_ASL_FLAGS =
lgao4abf1c3e2008-11-27 09:15:52 +00004165
lgao42895c502009-01-08 08:46:46 +00004166##################
lgao442342832011-08-26 07:46:26 +00004167# GenCrc32 tool definitions
4168##################
4169*_*_*_CRC32_PATH = GenCrc32
4170*_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
4171
4172##################
jljustenc470d832009-05-01 06:45:01 +00004173# LzmaCompress tool definitions
lgao42895c502009-01-08 08:46:46 +00004174##################
jljustenc470d832009-05-01 06:45:01 +00004175*_*_*_LZMA_PATH = LzmaCompress
4176*_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
4177
4178##################
4179# TianoCompress tool definitions
4180##################
4181*_*_*_TIANO_PATH = TianoCompress
4182*_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
eric_tian3b6c90a2009-04-13 12:50:50 +00004183
qhuang8e56468c2010-09-06 01:58:00 +00004184##################
4185# BPDG tool definitions
4186##################
4187*_*_*_VPDTOOL_PATH = BPDG
4188*_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08