blob: a82404a14430d9c4663db0c8320c35250a23ab10 [file] [log] [blame]
jljusten07a756b2007-10-17 01:54:36 +00001#
lgao464b26092012-04-10 07:18:20 +00002# Copyright (c) 2006 - 2012, 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
lgao464b26092012-04-10 07:18:20 +000040DEFINE VS2010_BIN = C:\Program Files\Microsoft Visual Studio 10.0\Vc\bin
41DEFINE VS2010_DLL = C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;DEF(VS2010_BIN)
42DEFINE VS2010_BINX64 = DEF(VS2010_BIN)\x86_amd64
43DEFINE VS2010_BIN64 = DEF(VS2010_BIN)\x86_ia64
44
45DEFINE VS2010x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Vc\bin
46DEFINE VS2010x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;DEF(VS2010x86_BIN)
47DEFINE VS2010x86_BINX64 = DEF(VS2010x86_BIN)\x86_amd64
48DEFINE VS2010x86_BIN64 = DEF(VS2010x86_BIN)\x86_ia64
49
lgao452302d42010-02-28 23:39:39 +000050DEFINE WINSDK_VERSION = v6.0A
51DEFINE WINSDK_BIN = c:\Program Files\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
52DEFINE WINSDKx86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
lgao4b303ea72009-11-09 11:47:35 +000053
54# These defines are needed for certain Microsoft Visual Studio tools that
55# are used by other toolchains. An example is that ICC on Windows normally
56# uses Microsoft's nmake.exe.
57
lgao4b36d1342011-09-18 12:17:25 +000058# 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 +000059DEFINE MS_VS_BIN = DEF(VS2005_BIN)
lgao4b36d1342011-09-18 12:17:25 +000060# 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 +000061DEFINE MS_VS_DLL = DEF(VS2005_DLL)
lgao4b303ea72009-11-09 11:47:35 +000062
eric_tian623471a2009-04-14 03:20:33 +000063DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16
64DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86
65DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64
66DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86
jljusten07a756b2007-10-17 01:54:36 +000067
lgao46780eef2010-11-15 02:51:34 +000068# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler
eric_tian3b6c90a2009-04-13 12:50:50 +000069# tool chains for the linker and nmake commands.
70# This configuration assumes a Windows 2003 Server DDK installation.
eric_tian623471a2009-04-14 03:20:33 +000071DEFINE ICC_VERSION = 9.1
eric_tian3b6c90a2009-04-13 12:50:50 +000072#DEFINE ICC_VERSION = 10.1.021
eric_tian623471a2009-04-14 03:20:33 +000073DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
74DEFINE ICC_ASM32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
75DEFINE ICC_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
76DEFINE ICC_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
jljusten07a756b2007-10-17 01:54:36 +000077
eric_tian623471a2009-04-14 03:20:33 +000078DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
79DEFINE ICC_ASMX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
80DEFINE ICC_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
81DEFINE ICC_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
jljusten07a756b2007-10-17 01:54:36 +000082
eric_tian623471a2009-04-14 03:20:33 +000083DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
84DEFINE ICC_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
jljusten07a756b2007-10-17 01:54:36 +000085
qhuang89053bc52010-06-28 09:33:10 +000086
87# Note: The Intel C++ Compiler 11.1 uses different installation path from previous versions
lgao46780eef2010-11-15 02:51:34 +000088# We use "ICC11" tag for ICC 11.1 while "ICC" tag is dedicated for eariler versions
qhuang89053bc52010-06-28 09:33:10 +000089#
90DEFINE ICC11_VERSION = 11.1
lgao4b36d1342011-09-18 12:17:25 +000091DEFINE ICC11_BUILD = 072
qhuang89053bc52010-06-28 09:33:10 +000092DEFINE ICC11_BIN32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
93DEFINE ICC11_ASM32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
94DEFINE ICC11_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
95DEFINE ICC11_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
96
97DEFINE ICC11_BINX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
98DEFINE ICC11_ASMX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
qhuang8e56468c2010-09-06 01:58:00 +000099DEFINE ICC11_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
100DEFINE ICC11_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
qhuang89053bc52010-06-28 09:33:10 +0000101
102DEFINE ICC11_BIN64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
103DEFINE ICC11_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
104
eric_tian623471a2009-04-14 03:20:33 +0000105DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin
106DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin
eric_tian3b6c90a2009-04-13 12:50:50 +0000107
eric_tian623471a2009-04-14 03:20:33 +0000108DEFINE ELFGCC_BIN = /usr/bin
109
jljustenc6094892009-03-29 18:42:14 +0000110#
jljusten23473302007-10-29 08:01:12 +0000111# Option 1: Hard coded full path to compiler suite
jljusten726d5a82009-08-15 05:05:00 +0000112DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
113DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
114DEFINE UNIXGCC_IPF_PETOOLS_PREFIX = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin/
lhauchfa7f89d2008-01-03 21:41:41 +0000115#
jljusten23473302007-10-29 08:01:12 +0000116# Option 2: Use an environment variable
117#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)
118#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX)
lhauchfa7f89d2008-01-03 21:41:41 +0000119#
jljusten23473302007-10-29 08:01:12 +0000120# Option 3: Install the compiler suite into your default paths
121#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-
122#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32-
lhauchfa7f89d2008-01-03 21:41:41 +0000123#
124# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory
jljusten23473302007-10-29 08:01:12 +0000125# Links needed: gcc, ar & ld
jljusten726d5a82009-08-15 05:05:00 +0000126#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/
127#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/
jljustenc6094892009-03-29 18:42:14 +0000128#
jljustena4401872009-03-30 17:56:42 +0000129# Option 5: Install programs under user's home directory
jljustenc6094892009-03-29 18:42:14 +0000130#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-
131#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-
jljustenc6094892009-03-29 18:42:14 +0000132#
jljusten07a756b2007-10-17 01:54:36 +0000133
eric_tian623471a2009-04-14 03:20:33 +0000134DEFINE CYGWIN_BIN = c:/cygwin/bin
lgao4b303ea72009-11-09 11:47:35 +0000135DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
jljusten726d5a82009-08-15 05:05:00 +0000136DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
eric_tian623471a2009-04-14 03:20:33 +0000137DEFINE CYGWIN_BINIPF = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-
jljusten07a756b2007-10-17 01:54:36 +0000138
lgao4a709adf2009-12-29 06:16:53 +0000139DEFINE GCC44_IA32_PREFIX = /usr/bin/
140#DEFINE GCC44_IA32_PREFIX = ENV(HOME)/programs/gcc/4.4/ia32/
lgao440d841f2010-05-18 05:04:32 +0000141DEFINE GCC44_X64_PREFIX = /usr/bin/
142#DEFINE GCC44_X64_PREFIX = ENV(HOME)/programs/gcc/4.4/x64/
lgao4a709adf2009-12-29 06:16:53 +0000143
lgao46780eef2010-11-15 02:51:34 +0000144DEFINE GCC45_IA32_PREFIX = /usr/bin/
145DEFINE GCC45_X64_PREFIX = /usr/bin/
146
lgao42bcc7132011-11-25 06:21:03 +0000147DEFINE GCC46_IA32_PREFIX = /usr/bin/
148DEFINE GCC46_X64_PREFIX = /usr/bin/
149
jljustene0d22732009-08-15 05:05:02 +0000150DEFINE UNIX_IASL_BIN = /usr/bin/iasl
151#DEFINE UNIX_IASL_BIN = $(HOME)/programs/iasl
eric_tian623471a2009-04-14 03:20:33 +0000152DEFINE WIN_ASL_BIN_DIR = C:\ASL
153DEFINE WIN_IASL_BIN = DEF(WIN_ASL_BIN_DIR)\iasl.exe
154DEFINE WIN_ASL_BIN = DEF(WIN_ASL_BIN_DIR)\asl.exe
155
lgao4a709adf2009-12-29 06:16:53 +0000156DEFINE IASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000157DEFINE IASL_OUTFLAGS = -p
158DEFINE MS_ASL_OUTFLAGS = /Fo=
lgao4a709adf2009-12-29 06:16:53 +0000159DEFINE MS_ASL_FLAGS =
160
161DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_IASL_BIN)
162DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(IASL_FLAGS)
163DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
164#DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_ASL_BIN)
165#DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(MS_ASL_FLAGS)
166#DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000167
lgao408dd3112010-10-11 06:26:52 +0000168DEFINE MSFT_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000169DEFINE MSFT_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000170DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
eric_tian3b6c90a2009-04-13 12:50:50 +0000171
lgao408dd3112010-10-11 06:26:52 +0000172DEFINE ICC_WIN_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000173DEFINE ICC_WIN_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000174DEFINE ICC_WIN_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc
eric_tian3b6c90a2009-04-13 12:50:50 +0000175
vanjefffd171542009-09-11 03:14:43 +0000176DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer
vanjefffd171542009-09-11 03:14:43 +0000177
lgao4636f2be2010-03-12 10:54:01 +0000178DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin
jljusten07a756b2007-10-17 01:54:36 +0000179
lgao4da92f272011-05-11 10:26:49 +0000180#
181# Change to the location clang was built
182#
183DEFINE CLANG_BIN = /usr/bin/
184
jljusten07a756b2007-10-17 01:54:36 +0000185####################################################################################
186#
187# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
jwang361c2c04d2007-12-25 09:15:38 +0000188# priority:
jljusten07a756b2007-10-17 01:54:36 +0000189# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
190# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
191# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
192# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
193# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
194# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
195# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
196# ******_*********_****_COMMANDTYPE_ATTRIBUTE
197# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
198# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
199# TARGET_*********_ARCH_***********_ATTRIBUTE
200# ******_*********_ARCH_***********_ATTRIBUTE
201# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
202# ******_TOOLCHAIN_****_***********_ATTRIBUTE
203# TARGET_*********_****_***********_ATTRIBUTE
204# ******_*********_****_***********_ATTRIBUTE (Lowest)
205#
206####################################################################################
207####################################################################################
208#
209# Supported Tool Chains
210# =====================
lgao4b36d1342011-09-18 12:17:25 +0000211# VS2003 -win32- Requires:
212# Microsoft Visual Studio .NET 2003
213# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
214# Optional:
215# Required to build EBC drivers:
216# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
217# Required to build platforms or ACPI tables:
218# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
219# http://www.acpica.org/downloads/previous_releases.php
220# VS2005 -win32- Requires:
221# Microsoft Visual Studio 2005 Team Suite Edition
222# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
223# Optional:
224# Required to build EBC drivers:
225# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
226# Required to build platforms or ACPI tables:
227# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
228# http://www.acpica.org/downloads/previous_releases.php
229# VS2008 -win32- Requires:
230# Microsoft Visual Studio 2008 Team Suite Edition
231# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
232# Optional:
233# Required to build EBC drivers:
234# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
235# Required to build platforms or ACPI tables:
236# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
237# http://www.acpica.org/downloads/previous_releases.php
lgao464b26092012-04-10 07:18:20 +0000238# VS2010 -win32- Requires:
239# Microsoft Visual Studio 2010 Premium Edition
240# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
241# Optional:
242# Required to build EBC drivers:
243# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
244# Required to build platforms or ACPI tables:
245# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
246# http://www.acpica.org/downloads/previous_releases.php
lgao4b36d1342011-09-18 12:17:25 +0000247# DDK3790 -win32- Requires:
248# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
249# Optional:
250# Required to build EBC drivers:
251# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
252# Required to build platforms or ACPI tables:
253# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
254# http://www.acpica.org/downloads/previous_releases.php
255# UNIXGCC -UNIX- Requires:
256# GCC 4.3.0
257# binutils 2.20.51.0.5
258# Optional:
259# Required to build platforms or ACPI tables:
260# Intel(r) ACPI Compiler v20101013 from
261# http://www.acpica.org/downloads/previous_releases.php
262# GCC44 -Linux- Requires:
263# GCC 4.4 (Native)
264# Optional:
265# Required to build platforms or ACPI tables:
266# Intel(r) ACPI Compiler v20101013 from
267# http://www.acpica.org/downloads/previous_releases.php
lgao42bcc7132011-11-25 06:21:03 +0000268# GCC45 -Linux- Requires:
269# GCC 4.5 (Native)
270# Optional:
271# Required to build platforms or ACPI tables:
272# Intel(r) ACPI Compiler v20101013 from
273# http://www.acpica.org/downloads/previous_releases.php
274# GCC46 -Linux- Requires:
275# GCC 4.6 (Native)
276# Optional:
277# Required to build platforms or ACPI tables:
278# Intel(r) ACPI Compiler v20101013 from
279# http://www.acpica.org/downloads/previous_releases.php
lgao4b36d1342011-09-18 12:17:25 +0000280# ELFGCC -Linux- Requires:
281# GCC(this tool chain uses whatever version of gcc and binutils that is installed in /usr/bin)
282# Optional:
283# Required to build platforms or ACPI tables:
284# Intel(r) ACPI Compiler v20101013 from
285# http://www.acpica.org/downloads/previous_releases.php
286# CYGGCC -win32- Requires:
287# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
288# Microsoft Visual Studio 2005 or 2008
289# Optional:
290# Required to build EBC drivers:
291# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
292# Required to build platforms or ACPI tables:
293# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
294# http://www.acpica.org/downloads/previous_releases.php
295# ICC -win32- Requires:
296# Intel C Compiler V9.1
297# Dependencies:
298# Microsoft Visual Studio 2003 or 2005
299# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
300# version 3790.1830 for X64 target architectures
301# Optional:
302# Required to build EBC drivers:
303# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
304# Required to build platforms or ACPI tables:
305# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
306# http://www.acpica.org/downloads/previous_releases.php
307# ICC11 -win32- Requires:
308# Intel C Compiler V11.1
309# Dependencies:
310# Microsoft Visual Studio 2005 or 2008
311# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
312# version 3790.1830 for X64 target architectures
313# Optional:
314# Required to build EBC drivers:
315# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
316# Required to build platforms or ACPI tables:
317# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
318# http://www.acpica.org/downloads/previous_releases.php
319# MYTOOLS -win32- Requires:
320# Microsoft Visual Studio 2008 for IA32/X64
321# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830 for IPF
322# Optional:
323# Required to build EBC drivers:
324# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
325# Required to build platforms or ACPI tables:
326# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
327# http://www.acpica.org/downloads/previous_releases.php
328# VS2003xASL -win32- Requires:
329# Microsoft Visual Studio .NET 2003
330# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
331# Optional:
332# Required to build EBC drivers:
333# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
334# Required to build platforms or ACPI tables:
335# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
336# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
337# VS2005xASL -win32- Requires:
338# Microsoft Visual Studio 2005 Team Suite Edition
339# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
340# Optional:
341# Required to build EBC drivers:
342# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
343# Required to build platforms or ACPI tables:
344# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
345# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
346# VS2008xASL -win32- Requires:
347# Microsoft Visual Studio 2008 Team Suite
348# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
349# Optional:
350# Required to build EBC drivers:
351# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
352# Required to build platforms or ACPI tables:
353# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
354# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao464b26092012-04-10 07:18:20 +0000355# VS2010xASL -win32- Requires:
356# Microsoft Visual Studio 2010 Premium Edition
357# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
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
lgao4b36d1342011-09-18 12:17:25 +0000364# DDK3790xASL -win32- Requires:
365# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
366# Optional:
367# Required to build EBC drivers:
368# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
369# Required to build platforms or ACPI tables:
370# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
371# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
372# CYGGCCxASL -win32- Requires:
373# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
374# Microsoft Visual Studio 2005 or 2008
375# Optional:
376# Required to build EBC drivers:
377# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
378# Required to build platforms or ACPI tables:
379# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
380# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
381# ICCxASL -win32- Requires:
382# Intel C Compiler V9.1
383# Dependencies:
384# Microsoft Visual Studio 2003 or 2005
385# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
386# version 3790.1830 for X64 target architectures
387# Optional:
388# Required to build EBC drivers:
389# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
390# Required to build platforms or ACPI tables:
391# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
392# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
393# ICC11xASL -win32- Requires:
394# Intel C Compiler V11.1
395# Dependencies:
396# Microsoft Visual Studio 2005 or 2008
397# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
398# version 3790.1830 for X64 target architectures
399# Optional:
400# Required to build EBC drivers:
401# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
402# Required to build platforms or ACPI tables:
403# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
404# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
405# VS2005x86 -win64- Requires:
406# Microsoft Visual Studio 2005 Team Suite Edition (x86)
407# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
408# Optional:
409# Required to build EBC drivers:
410# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
411# Required to build platforms or ACPI tables:
412# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
413# http://www.acpica.org/downloads/previous_releases.php
414# VS2008x86 -win64- Requires:
415# Microsoft Visual Studio 2008 (x86)
416# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
417# Optional:
418# Required to build platforms or ACPI tables:
419# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
420# http://www.acpica.org/downloads/previous_releases.php
lgao464b26092012-04-10 07:18:20 +0000421# VS2010x86 -win64- Requires:
422# Microsoft Visual Studio 2010 (x86) Premium Edition
423# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
424# Optional:
425# Required to build platforms or ACPI tables:
426# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
427# http://www.acpica.org/downloads/previous_releases.php
lgao4b36d1342011-09-18 12:17:25 +0000428# ICCx86 -win64- Requires:
429# Intel C Compiler V9.1(x86)
430# Dependencies:
431# Microsoft Visual Studio 2003 or 2005
432# Microsoft Windows Server 2003 Driver Development Kit
433# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
434# Optional:
435# Required to build EBC drivers:
436# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
437# Required to build platforms or ACPI tables:
438# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
439# http://www.acpica.org/downloads/previous_releases.php
440# ICC11x86 -win64- Requires:
441# Intel C Compiler V11.1(x86)
442# Dependencies:
443# Microsoft Visual Studio 2005 or 2008
444# Microsoft Windows Server 2003 Driver Development Kit
445# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
446# Optional:
447# Required to build EBC drivers:
448# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
449# Required to build platforms or ACPI tables:
450# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
451# http://www.acpica.org/downloads/previous_releases.php
452# VS2005x86xASL -win64- Requires:
453# Microsoft Visual Studio 2005 Team Suite Edition (x86)
454# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
455# Optional:
456# Required to build EBC drivers:
457# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
458# Required to build platforms or ACPI tables:
459# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
460# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
461# VS2008x86xASL -win64- Requires:
462# Microsoft Visual Studio 2008 (x86)
463# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
464# Optional:
465# Required to build platforms or ACPI tables:
466# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
467# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao464b26092012-04-10 07:18:20 +0000468# VS2010x86xASL -win64- Requires:
469# Microsoft Visual Studio 2010 (x86) Premium Edition
470# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
471# Optional:
472# Required to build platforms or ACPI tables:
473# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
474# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao4b36d1342011-09-18 12:17:25 +0000475# ICCx86xASL -win64- Requires:
476# Intel C Compiler V9.1 (x86)
477# Dependencies:
478# Microsoft Visual Studio 2003 or 2005
479# Microsoft Windows Server 2003 Driver Development Kit
480# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
481# Optional:
482# Required to build EBC drivers:
483# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
484# Required to build platforms or ACPI tables:
485# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
486# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
487# ICC11x86xASL -win64- Requires:
488# Intel C Compiler V11.1 (x86)
489# Dependencies:
490# Microsoft Visual Studio 2005 or 2008
491# Microsoft Windows Server 2003 Driver Development Kit
492# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
493# Optional:
494# Required to build EBC drivers:
495# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
496# Required to build platforms or ACPI tables:
497# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
498# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
499# CYGGCCx86 -win64- Requires:
500# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
501# Microsoft Visual Studio 2005 or 2008
502# Optional:
503# Required to build EBC drivers:
504# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
505# Required to build platforms or ACPI tables:
506# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
507# http://www.acpica.org/downloads/previous_releases.php
508# CYGGCCx86xASL -win64- Requires:
509# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
510# Microsoft Visual Studio 2005 or 2008
511# Optional:
512# Required to build EBC drivers:
513# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
514# Required to build platforms or ACPI tables:
515# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
516# 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 +0000517# * Commented out - All versions of VS2005 use the same standard install directory
518#
519####################################################################################
520####################################################################################
521#
522# Supported Tool Chain Family
523# ===========================
524# MSFT - Microsoft
525# GCC - GNU GCC
526# INTEL - INTEL
lgao42bcc7132011-11-25 06:21:03 +0000527# RVCT - ARM RealView Toolchain
jljusten07a756b2007-10-17 01:54:36 +0000528####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000529####################################################################################
530#
531# Intel EFI Byte Code Compiler (Template)
532#
533####################################################################################
534# *_*_EBC_*_FAMILY = INTEL
535#
536# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
537# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
538# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe
539#
eric_tian623471a2009-04-14 03:20:33 +0000540# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
541# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
542# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h
lgao4d40b2ee2011-11-09 04:32:08 +0000543# *_*_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 /ALIGN:32 /DRIVER
jljusten07a756b2007-10-17 01:54:36 +0000544#
545####################################################################################
546#
547# Intel ACPI Source Language Compiler (Template)
548#
549####################################################################################
550# *_*_*_ASL_FAMILY = INTEL
551#
552# *_*_*_ASL_PATH = C:\ASL\iasl.exe
553#
554####################################################################################
555#
556# Microsoft ACPI Source Language Compiler (Template)
557#
558####################################################################################
559# *_*_*_ASL_FAMILY = MSFT
560#
eric_tian3b6c90a2009-04-13 12:50:50 +0000561# *_*_*_ASL_PATH = C:\ASL\asl.exe
jljusten07a756b2007-10-17 01:54:36 +0000562#
eric_tian3b6c90a2009-04-13 12:50:50 +0000563####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000564
565
566####################################################################################
567#
eric_tian3b6c90a2009-04-13 12:50:50 +0000568# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
569# And Intel ACPI Compiler
570#
571####################################################################################
572# VS2003 - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)
573*_VS2003_*_*_FAMILY = MSFT
574
575##################
576# ASL definitions
577##################
lgao4a709adf2009-12-29 06:16:53 +0000578*_VS2003_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
579*_VS2003_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
580*_VS2003_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000581*_VS2003_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
582*_VS2003_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
583*_VS2003_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000584
585##################
586# IA32 definitions
587##################
eric_tian623471a2009-04-14 03:20:33 +0000588*_VS2003_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000589
eric_tian623471a2009-04-14 03:20:33 +0000590*_VS2003_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
591*_VS2003_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
592*_VS2003_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
593*_VS2003_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
594*_VS2003_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000595*_VS2003_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
596*_VS2003_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
597*_VS2003_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +0000598*_VS2003_IA32_ASM16_PATH = DEF(VS2003_BIN)\ml.exe
eric_tian623471a2009-04-14 03:20:33 +0000599*_VS2003_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
600*_VS2003_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
601*_VS2003_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000602*_VS2003_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000603
604 *_VS2003_IA32_MAKE_FLAGS = /nologo
605 *_VS2003_IA32_APP_FLAGS = /nologo /E /TC
606 *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
607 *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000608 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
609RELEASE_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 +0000610NOOPT_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
611
eric_tian3b6c90a2009-04-13 12:50:50 +0000612 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
613RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000614NOOPT_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
615
eric_tian3b6c90a2009-04-13 12:50:50 +0000616 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000617 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
618RELEASE_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
619NOOPT_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 +0000620
621##################
622# EBC definitions
623##################
624*_VS2003_EBC_*_FAMILY = INTEL
625
eric_tian623471a2009-04-14 03:20:33 +0000626*_VS2003_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000627*_VS2003_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
628*_VS2003_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
629*_VS2003_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
630*_VS2003_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
631*_VS2003_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000632*_VS2003_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000633
634*_VS2003_EBC_MAKE_FLAGS = /nologo
635*_VS2003_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
636*_VS2003_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
637*_VS2003_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
638*_VS2003_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000639*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +0000640
641####################################################################################
642#
643# Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler
644#
645####################################################################################
646# VS2003xASL - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)
647*_VS2003xASL_*_*_FAMILY = MSFT
648
649##################
650# ASL definitions
651##################
eric_tian623471a2009-04-14 03:20:33 +0000652*_VS2003xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000653*_VS2003xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000654*_VS2003xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000655*_VS2003xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
656*_VS2003xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
657*_VS2003xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000658
659##################
660# IA32 definitions
661##################
eric_tian623471a2009-04-14 03:20:33 +0000662*_VS2003xASL_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000663
eric_tian623471a2009-04-14 03:20:33 +0000664*_VS2003xASL_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
665*_VS2003xASL_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
666*_VS2003xASL_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
667*_VS2003xASL_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
668*_VS2003xASL_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000669*_VS2003xASL_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
670*_VS2003xASL_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
671*_VS2003xASL_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
672*_VS2003xASL_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
673*_VS2003xASL_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
674*_VS2003xASL_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000675*_VS2003xASL_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000676
677
678 *_VS2003xASL_IA32_MAKE_FLAGS = /nologo
679 *_VS2003xASL_IA32_APP_FLAGS = /nologo /E /TC
680 *_VS2003xASL_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
681 *_VS2003xASL_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000682 DEBUG_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
683RELEASE_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 +0000684NOOPT_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
685
eric_tian3b6c90a2009-04-13 12:50:50 +0000686 DEBUG_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
687RELEASE_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000688NOOPT_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
689
eric_tian3b6c90a2009-04-13 12:50:50 +0000690 *_VS2003xASL_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000691 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
692RELEASE_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
693NOOPT_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 +0000694
695##################
696# EBC definitions
697##################
698*_VS2003xASL_EBC_*_FAMILY = INTEL
699
eric_tian623471a2009-04-14 03:20:33 +0000700*_VS2003xASL_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000701*_VS2003xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
702*_VS2003xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
703*_VS2003xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
704*_VS2003xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
705*_VS2003xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000706*_VS2003xASL_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000707
708*_VS2003xASL_EBC_MAKE_FLAGS = /nologo
709*_VS2003xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
710*_VS2003xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
711*_VS2003xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
712*_VS2003xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000713*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +0000714
715####################################################################################
716#
717# Microsoft Visual Studio 2005
718#
719# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
720# ASL - Intel ACPI Source Language Compiler
721####################################################################################
722# VS2005 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
eric_tian623471a2009-04-14 03:20:33 +0000723*_VS2005_*_*_FAMILY = MSFT
eric_tian3b6c90a2009-04-13 12:50:50 +0000724
eric_tian623471a2009-04-14 03:20:33 +0000725*_VS2005_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
726*_VS2005_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000727*_VS2005_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000728
eric_tian623471a2009-04-14 03:20:33 +0000729*_VS2005_*_SLINK_FLAGS = /NOLOGO /LTCG
730*_VS2005_*_APP_FLAGS = /nologo /E /TC
731*_VS2005_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
732*_VS2005_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
eric_tian3b6c90a2009-04-13 12:50:50 +0000733
qhuang814c48572010-07-21 02:46:15 +0000734*_VS2005_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
735
eric_tian3b6c90a2009-04-13 12:50:50 +0000736##################
737# ASL definitions
738##################
lgao4a709adf2009-12-29 06:16:53 +0000739*_VS2005_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
740*_VS2005_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
741*_VS2005_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000742*_VS2005_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
743*_VS2005_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
744*_VS2005_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000745
746##################
747# IA32 definitions
748##################
eric_tian623471a2009-04-14 03:20:33 +0000749*_VS2005_IA32_*_DLL = DEF(VS2005_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000750
eric_tian623471a2009-04-14 03:20:33 +0000751*_VS2005_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
752*_VS2005_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
753*_VS2005_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
754*_VS2005_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
755*_VS2005_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000756*_VS2005_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
757*_VS2005_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
758*_VS2005_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
759*_VS2005_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
760*_VS2005_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
761*_VS2005_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000762
eric_tian623471a2009-04-14 03:20:33 +0000763 *_VS2005_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000764 DEBUG_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
765RELEASE_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 +0000766NOOPT_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
767
eric_tian623471a2009-04-14 03:20:33 +0000768 DEBUG_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
769RELEASE_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000770NOOPT_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
771
lgao464b26092012-04-10 07:18:20 +0000772 DEBUG_VS2005_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
773RELEASE_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:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
774NOOPT_VS2005_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 +0000775
776##################
777# X64 definitions
778##################
779*_VS2005_X64_*_DLL = DEF(VS2005_DLL)
780
781*_VS2005_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
782*_VS2005_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
783*_VS2005_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
784*_VS2005_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
785*_VS2005_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
786*_VS2005_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
787*_VS2005_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
788*_VS2005_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
789*_VS2005_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
790*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
791
792
qhuang89053bc52010-06-28 09:33:10 +0000793 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
794RELEASE_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 +0000795NOOPT_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
796
eric_tian3b6c90a2009-04-13 12:50:50 +0000797 DEBUG_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
798RELEASE_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000799NOOPT_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
800
801 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
802RELEASE_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
803NOOPT_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 +0000804
805##################
806# IPF definitions
807##################
808*_VS2005_IPF_*_DLL = DEF(VS2005_DLL)
809
810*_VS2005_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
811*_VS2005_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
812*_VS2005_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
813*_VS2005_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
814*_VS2005_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
815*_VS2005_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
816*_VS2005_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
817*_VS2005_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
818*_VS2005_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
819*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
820
821 DEBUG_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
822RELEASE_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 +0000823NOOPT_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
824
eric_tian3b6c90a2009-04-13 12:50:50 +0000825 DEBUG_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
826RELEASE_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000827NOOPT_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
828
lgao46780eef2010-11-15 02:51:34 +0000829 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
830RELEASE_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 +0000831NOOPT_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 +0000832
833##################
834# EBC definitions
835##################
836*_VS2005_EBC_*_FAMILY = INTEL
837
838*_VS2005_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
839*_VS2005_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
840*_VS2005_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
841*_VS2005_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
842*_VS2005_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
843*_VS2005_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
844
845*_VS2005_EBC_MAKE_FLAGS = /nologo
846*_VS2005_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
847*_VS2005_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
848*_VS2005_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
849*_VS2005_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000850*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +0000851
852####################################################################################
853#
854# Microsoft Visual Studio 2005
855#
856# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
857# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
858####################################################################################
859# VS2005xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
860*_VS2005xASL_*_*_FAMILY = MSFT
861
862*_VS2005xASL_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
863*_VS2005xASL_*_MAKE_FLAG = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000864*_VS2005xASL_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000865
866*_VS2005xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
867*_VS2005xASL_*_APP_FLAGS = /nologo /E /TC
868*_VS2005xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
869*_VS2005xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
870
qhuang814c48572010-07-21 02:46:15 +0000871*_VS2005xASL_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
872
eric_tian3b6c90a2009-04-13 12:50:50 +0000873##################
874# ASL definitions
875##################
876*_VS2005xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000877*_VS2005xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000878*_VS2005xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000879*_VS2005xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
880*_VS2005xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
881*_VS2005xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
882
883##################
884# IA32 definitions
885##################
886*_VS2005xASL_IA32_*_DLL = DEF(VS2005_DLL)
887
888*_VS2005xASL_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
889*_VS2005xASL_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
890*_VS2005xASL_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
891*_VS2005xASL_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
892*_VS2005xASL_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000893*_VS2005xASL_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
894*_VS2005xASL_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
895*_VS2005xASL_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
896*_VS2005xASL_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
897*_VS2005xASL_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
898*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
899
900 *_VS2005xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000901 DEBUG_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
902RELEASE_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 +0000903NOOPT_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
904
eric_tian3b6c90a2009-04-13 12:50:50 +0000905 DEBUG_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
906RELEASE_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000907NOOPT_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
908
909 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
910RELEASE_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
911NOOPT_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 +0000912
913##################
914# X64 definitions
915##################
916*_VS2005xASL_X64_*_DLL = DEF(VS2005_DLL)
917
918*_VS2005xASL_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
919*_VS2005xASL_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
920*_VS2005xASL_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
921*_VS2005xASL_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
922*_VS2005xASL_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
923*_VS2005xASL_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
924*_VS2005xASL_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
925*_VS2005xASL_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
926*_VS2005xASL_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
927*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
928
929
qhuang89053bc52010-06-28 09:33:10 +0000930 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
931RELEASE_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 +0000932NOOPT_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
933
eric_tian3b6c90a2009-04-13 12:50:50 +0000934 DEBUG_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
935RELEASE_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000936NOOPT_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
937
938 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
939RELEASE_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
940NOOPT_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 +0000941
942##################
943# IPF definitions
944##################
945*_VS2005xASL_IPF_*_DLL = DEF(VS2005_DLL)
946
947*_VS2005xASL_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
948*_VS2005xASL_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
949*_VS2005xASL_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
950*_VS2005xASL_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
951*_VS2005xASL_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
952*_VS2005xASL_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
953*_VS2005xASL_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
954*_VS2005xASL_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
955*_VS2005xASL_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
956*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
957
958 DEBUG_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
959RELEASE_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 +0000960NOOPT_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
961
eric_tian3b6c90a2009-04-13 12:50:50 +0000962 DEBUG_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
963RELEASE_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000964NOOPT_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
965
lgao46780eef2010-11-15 02:51:34 +0000966 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
967RELEASE_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 +0000968NOOPT_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 +0000969
970##################
971# EBC definitions
972##################
973*_VS2005xASL_EBC_*_FAMILY = INTEL
974
975*_VS2005xASL_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
976*_VS2005xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
977*_VS2005xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
978*_VS2005xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
979*_VS2005xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
980*_VS2005xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
981
982*_VS2005xASL_EBC_MAKE_FLAGS = /nologo
983*_VS2005xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
984*_VS2005xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
985*_VS2005xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
986*_VS2005xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000987*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +0000988
989####################################################################################
990#
991# Microsoft Visual Studio 2005 (x86)
992#
993# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
994# ASL - Intel ACPI Source Language Compiler
995####################################################################################
996# VS2005x86 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
997*_VS2005x86_*_*_FAMILY = MSFT
998
999*_VS2005x86_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1000*_VS2005x86_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001001*_VS2005x86_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001002
1003*_VS2005x86_*_SLINK_FLAGS = /NOLOGO /LTCG
1004*_VS2005x86_*_APP_FLAGS = /nologo /E /TC
1005*_VS2005x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1006*_VS2005x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1007
qhuang814c48572010-07-21 02:46:15 +00001008*_VS2005x86_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
1009
eric_tian3b6c90a2009-04-13 12:50:50 +00001010##################
1011# ASL definitions
1012##################
lgao4a709adf2009-12-29 06:16:53 +00001013*_VS2005x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1014*_VS2005x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1015*_VS2005x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001016*_VS2005x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1017*_VS2005x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1018*_VS2005x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1019
1020##################
1021# IA32 definitions
1022##################
1023*_VS2005x86_IA32_*_DLL = DEF(VS2005x86_DLL)
1024
1025*_VS2005x86_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1026*_VS2005x86_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
1027*_VS2005x86_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1028*_VS2005x86_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
1029*_VS2005x86_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001030*_VS2005x86_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
1031*_VS2005x86_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
1032*_VS2005x86_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
1033*_VS2005x86_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
1034*_VS2005x86_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1035*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1036
1037 *_VS2005x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001038 DEBUG_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1039RELEASE_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 +00001040NOOPT_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1041
eric_tian3b6c90a2009-04-13 12:50:50 +00001042 DEBUG_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1043RELEASE_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001044NOOPT_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1045
1046 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
1047RELEASE_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
lgao429e22e22011-09-23 06:03:45 +00001048NOOPT_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
eric_tian3b6c90a2009-04-13 12:50:50 +00001049
1050##################
1051# X64 definitions
1052##################
1053*_VS2005x86_X64_*_DLL = DEF(VS2005x86_DLL)
1054
1055*_VS2005x86_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1056*_VS2005x86_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1057*_VS2005x86_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1058*_VS2005x86_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1059*_VS2005x86_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1060*_VS2005x86_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1061*_VS2005x86_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1062*_VS2005x86_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1063*_VS2005x86_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1064*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1065
1066
qhuang89053bc52010-06-28 09:33:10 +00001067 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
1068RELEASE_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 +00001069NOOPT_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1070
eric_tian3b6c90a2009-04-13 12:50:50 +00001071 DEBUG_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1072RELEASE_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001073NOOPT_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1074
1075 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
1076RELEASE_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
1077NOOPT_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 +00001078
1079##################
1080# IPF definitions
1081##################
1082*_VS2005x86_IPF_*_DLL = DEF(VS2005x86_DLL)
1083
1084*_VS2005x86_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1085*_VS2005x86_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1086*_VS2005x86_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1087*_VS2005x86_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1088*_VS2005x86_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1089*_VS2005x86_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1090*_VS2005x86_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1091*_VS2005x86_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1092*_VS2005x86_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1093*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1094
1095 DEBUG_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1096RELEASE_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 +00001097NOOPT_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1098
eric_tian3b6c90a2009-04-13 12:50:50 +00001099 DEBUG_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1100RELEASE_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001101NOOPT_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1102
lgao46780eef2010-11-15 02:51:34 +00001103 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
1104RELEASE_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 +00001105NOOPT_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
1106
eric_tian3b6c90a2009-04-13 12:50:50 +00001107##################
1108# EBC definitions
1109##################
1110*_VS2005x86_EBC_*_FAMILY = INTEL
1111
1112*_VS2005x86_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1113*_VS2005x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1114*_VS2005x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1115*_VS2005x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1116*_VS2005x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1117*_VS2005x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1118
1119*_VS2005x86_EBC_MAKE_FLAGS = /nologo
1120*_VS2005x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1121*_VS2005x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1122*_VS2005x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1123*_VS2005x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001124*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00001125
1126####################################################################################
1127#
1128# Microsoft Visual Studio 2005 (x86)
1129#
1130# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1131# ASL - Microsoft ACPI Source Language Compiler
1132####################################################################################
1133# VS2005x86xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1134*_VS2005x86xASL_*_*_FAMILY = MSFT
1135
1136*_VS2005x86xASL_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1137*_VS2005x86xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001138*_VS2005x86xASL_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001139
1140*_VS2005x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1141*_VS2005x86xASL_*_APP_FLAGS = /nologo /E /TC
1142*_VS2005x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1143*_VS2005x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1144
qhuang814c48572010-07-21 02:46:15 +00001145*_VS2005x86xASL_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
1146
eric_tian3b6c90a2009-04-13 12:50:50 +00001147##################
1148# ASL definitions
1149##################
1150*_VS2005x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001151*_VS2005x86xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00001152*_VS2005x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001153*_VS2005x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1154*_VS2005x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1155*_VS2005x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1156
1157##################
1158# IA32 definitions
1159##################
1160*_VS2005x86xASL_IA32_*_DLL = DEF(VS2005x86_DLL)
1161
1162*_VS2005x86xASL_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1163*_VS2005x86xASL_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
1164*_VS2005x86xASL_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1165*_VS2005x86xASL_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
1166*_VS2005x86xASL_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001167*_VS2005x86xASL_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
1168*_VS2005x86xASL_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
1169*_VS2005x86xASL_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
1170*_VS2005x86xASL_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
1171*_VS2005x86xASL_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1172*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1173
1174 *_VS2005x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001175 DEBUG_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1176RELEASE_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 +00001177NOOPT_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1178
eric_tian3b6c90a2009-04-13 12:50:50 +00001179 DEBUG_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1180RELEASE_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001181NOOPT_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1182
1183 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
1184RELEASE_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
1185NOOPT_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 +00001186
1187##################
1188# X64 definitions
1189##################
1190*_VS2005x86xASL_X64_*_DLL = DEF(VS2005x86_DLL)
1191
1192*_VS2005x86xASL_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1193*_VS2005x86xASL_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1194*_VS2005x86xASL_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1195*_VS2005x86xASL_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1196*_VS2005x86xASL_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1197*_VS2005x86xASL_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1198*_VS2005x86xASL_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1199*_VS2005x86xASL_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1200*_VS2005x86xASL_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1201*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1202
1203
qhuang89053bc52010-06-28 09:33:10 +00001204 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
1205RELEASE_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 +00001206NOOPT_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1207
eric_tian3b6c90a2009-04-13 12:50:50 +00001208 DEBUG_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1209RELEASE_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001210NOOPT_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1211
1212 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
1213RELEASE_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
1214NOOPT_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 +00001215
1216##################
1217# IPF definitions
1218##################
1219*_VS2005x86xASL_IPF_*_DLL = DEF(VS2005x86_DLL)
1220
1221*_VS2005x86xASL_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1222*_VS2005x86xASL_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1223*_VS2005x86xASL_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1224*_VS2005x86xASL_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1225*_VS2005x86xASL_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1226*_VS2005x86xASL_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1227*_VS2005x86xASL_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1228*_VS2005x86xASL_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1229*_VS2005x86xASL_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1230*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1231
1232 DEBUG_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1233RELEASE_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 +00001234NOOPT_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1235
eric_tian3b6c90a2009-04-13 12:50:50 +00001236 DEBUG_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1237RELEASE_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001238NOOPT_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1239
lgao46780eef2010-11-15 02:51:34 +00001240 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
1241RELEASE_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 +00001242NOOPT_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 +00001243
1244##################
1245# EBC definitions
1246##################
1247*_VS2005x86xASL_EBC_*_FAMILY = INTEL
1248
1249*_VS2005x86xASL_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1250*_VS2005x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1251*_VS2005x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1252*_VS2005x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1253*_VS2005x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1254*_VS2005x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1255
1256*_VS2005x86xASL_EBC_MAKE_FLAGS = /nologo
1257*_VS2005x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1258*_VS2005x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1259*_VS2005x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1260*_VS2005x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001261*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00001262
lgao452302d42010-02-28 23:39:39 +00001263
1264
1265####################################################################################
1266#
1267# Microsoft Visual Studio 2008
1268#
1269# VS2008 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1270# ASL - Intel ACPI Source Language Compiler
1271####################################################################################
1272# VS2008 - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1273*_VS2008_*_*_FAMILY = MSFT
1274
1275*_VS2008_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1276*_VS2008_*_MAKE_FLAGS = /nologo
1277*_VS2008_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1278
1279*_VS2008_*_SLINK_FLAGS = /NOLOGO /LTCG
1280*_VS2008_*_APP_FLAGS = /nologo /E /TC
1281*_VS2008_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1282*_VS2008_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1283
qhuang814c48572010-07-21 02:46:15 +00001284*_VS2008_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1285
lgao452302d42010-02-28 23:39:39 +00001286##################
1287# ASL definitions
1288##################
1289*_VS2008_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1290*_VS2008_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1291*_VS2008_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1292*_VS2008_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1293*_VS2008_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1294*_VS2008_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1295
1296##################
1297# IA32 definitions
1298##################
1299*_VS2008_IA32_*_DLL = DEF(VS2008_DLL)
1300
1301*_VS2008_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1302*_VS2008_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1303*_VS2008_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1304*_VS2008_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1305*_VS2008_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001306*_VS2008_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1307*_VS2008_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1308*_VS2008_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1309*_VS2008_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1310*_VS2008_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1311*_VS2008_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1312
1313 *_VS2008_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001314 DEBUG_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1315RELEASE_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 +00001316NOOPT_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1317
lgao452302d42010-02-28 23:39:39 +00001318 DEBUG_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1319RELEASE_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001320NOOPT_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1321
1322 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
1323RELEASE_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
1324NOOPT_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 +00001325
1326##################
1327# X64 definitions
1328##################
1329*_VS2008_X64_*_DLL = DEF(VS2008_DLL)
1330
1331*_VS2008_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1332*_VS2008_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1333*_VS2008_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1334*_VS2008_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1335*_VS2008_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1336*_VS2008_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1337*_VS2008_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1338*_VS2008_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1339*_VS2008_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1340*_VS2008_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1341
1342
qhuang89053bc52010-06-28 09:33:10 +00001343 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
1344RELEASE_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 +00001345NOOPT_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1346
lgao452302d42010-02-28 23:39:39 +00001347 DEBUG_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1348RELEASE_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001349NOOPT_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1350
1351 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
1352RELEASE_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
1353NOOPT_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 +00001354
1355##################
1356# IPF definitions
1357##################
1358*_VS2008_IPF_*_DLL = DEF(VS2008_DLL)
1359
1360*_VS2008_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1361*_VS2008_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1362*_VS2008_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1363*_VS2008_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1364*_VS2008_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1365*_VS2008_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1366*_VS2008_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1367*_VS2008_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1368*_VS2008_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1369*_VS2008_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1370
1371 DEBUG_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1372RELEASE_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 +00001373NOOPT_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1374
lgao452302d42010-02-28 23:39:39 +00001375 DEBUG_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1376RELEASE_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001377NOOPT_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1378
lgao46780eef2010-11-15 02:51:34 +00001379 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
1380RELEASE_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 +00001381NOOPT_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 +00001382
1383##################
1384# EBC definitions
1385##################
1386*_VS2008_EBC_*_FAMILY = INTEL
1387
1388*_VS2008_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1389*_VS2008_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1390*_VS2008_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1391*_VS2008_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1392*_VS2008_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1393*_VS2008_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1394
1395*_VS2008_EBC_MAKE_FLAGS = /nologo
1396*_VS2008_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1397*_VS2008_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1398*_VS2008_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1399*_VS2008_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001400*_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 /ALIGN:32 /DRIVER
lgao452302d42010-02-28 23:39:39 +00001401
1402####################################################################################
1403#
1404# Microsoft Visual Studio 2008
1405#
1406# VS2008 - Microsoft Visual Studio 2008 All Edition, including Standard, Professional, Express, TeamSuite
1407# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1408####################################################################################
1409# VS2008xASL - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1410*_VS2008xASL_*_*_FAMILY = MSFT
1411
1412*_VS2008xASL_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1413*_VS2008xASL_*_MAKE_FLAG = /nologo
1414*_VS2008xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1415
1416*_VS2008xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1417*_VS2008xASL_*_APP_FLAGS = /nologo /E /TC
1418*_VS2008xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1419*_VS2008xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1420
qhuang814c48572010-07-21 02:46:15 +00001421*_VS2008xASL_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1422
lgao452302d42010-02-28 23:39:39 +00001423##################
1424# ASL definitions
1425##################
1426*_VS2008xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001427*_VS2008xASL_*_ASL_FLAGS =
lgao452302d42010-02-28 23:39:39 +00001428*_VS2008xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1429*_VS2008xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1430*_VS2008xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1431*_VS2008xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1432
1433##################
1434# IA32 definitions
1435##################
1436*_VS2008xASL_IA32_*_DLL = DEF(VS2008_DLL)
1437
1438*_VS2008xASL_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1439*_VS2008xASL_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1440*_VS2008xASL_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1441*_VS2008xASL_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1442*_VS2008xASL_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001443*_VS2008xASL_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1444*_VS2008xASL_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1445*_VS2008xASL_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1446*_VS2008xASL_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1447*_VS2008xASL_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1448*_VS2008xASL_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1449
1450 *_VS2008xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001451 DEBUG_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1452RELEASE_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 +00001453NOOPT_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1454
lgao452302d42010-02-28 23:39:39 +00001455 DEBUG_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1456RELEASE_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001457NOOPT_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1458
1459 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
1460RELEASE_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
1461NOOPT_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 +00001462
1463##################
1464# X64 definitions
1465##################
1466*_VS2008xASL_X64_*_DLL = DEF(VS2008_DLL)
1467
1468*_VS2008xASL_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1469*_VS2008xASL_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1470*_VS2008xASL_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1471*_VS2008xASL_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1472*_VS2008xASL_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1473*_VS2008xASL_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1474*_VS2008xASL_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1475*_VS2008xASL_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1476*_VS2008xASL_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1477*_VS2008xASL_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1478
1479
qhuang89053bc52010-06-28 09:33:10 +00001480 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
1481RELEASE_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 +00001482NOOPT_VS2008xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1483
lgao452302d42010-02-28 23:39:39 +00001484 DEBUG_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1485RELEASE_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001486NOOPT_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1487
1488 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
1489RELEASE_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
1490NOOPT_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 +00001491
1492##################
1493# IPF definitions
1494##################
1495*_VS2008xASL_IPF_*_DLL = DEF(VS2008_DLL)
1496
1497*_VS2008xASL_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1498*_VS2008xASL_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1499*_VS2008xASL_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1500*_VS2008xASL_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1501*_VS2008xASL_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1502*_VS2008xASL_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1503*_VS2008xASL_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1504*_VS2008xASL_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1505*_VS2008xASL_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1506*_VS2008xASL_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1507
1508 DEBUG_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1509RELEASE_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 +00001510NOOPT_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1511
lgao452302d42010-02-28 23:39:39 +00001512 DEBUG_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1513RELEASE_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001514NOOPT_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1515
lgao46780eef2010-11-15 02:51:34 +00001516 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
1517RELEASE_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 +00001518NOOPT_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 +00001519
1520##################
1521# EBC definitions
1522##################
1523*_VS2008xASL_EBC_*_FAMILY = INTEL
1524
1525*_VS2008xASL_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1526*_VS2008xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1527*_VS2008xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1528*_VS2008xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1529*_VS2008xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1530*_VS2008xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1531
1532*_VS2008xASL_EBC_MAKE_FLAGS = /nologo
1533*_VS2008xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1534*_VS2008xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1535*_VS2008xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1536*_VS2008xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001537*_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 /ALIGN:32 /DRIVER
lgao452302d42010-02-28 23:39:39 +00001538
1539
1540####################################################################################
1541# VS2008x86 - Microsoft Visual Studio 2008 (x86) with Intel ASL
1542# ASL - Intel ACPI Source Language Compiler (iasl.exe)
1543####################################################################################
1544# VS2008x86 - Microsoft Visual Studio 2008 (x86) ALL Edition with Intel ASL
1545*_VS2008x86_*_*_FAMILY = MSFT
1546
1547*_VS2008x86_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001548*_VS2008x86_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001549*_VS2008x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001550
1551*_VS2008x86_*_MAKE_FLAGS = /nologo
1552*_VS2008x86_*_SLINK_FLAGS = /NOLOGO /LTCG
1553*_VS2008x86_*_APP_FLAGS = /nologo /E /TC
1554*_VS2008x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1555*_VS2008x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1556
qhuang814c48572010-07-21 02:46:15 +00001557*_VS2008x86_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1558
lgao452302d42010-02-28 23:39:39 +00001559##################
1560# ASL definitions
1561##################
1562*_VS2008x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
1563*_VS2008x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1564*_VS2008x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1565*_VS2008x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1566*_VS2008x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1567*_VS2008x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1568
1569##################
1570# IA32 definitions
1571##################
1572*_VS2008x86_IA32_*_DLL = DEF(VS2008x86_DLL)
1573
1574*_VS2008x86_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1575*_VS2008x86_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1576*_VS2008x86_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1577*_VS2008x86_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1578*_VS2008x86_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1579*_VS2008x86_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1580*_VS2008x86_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1581*_VS2008x86_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001582*_VS2008x86_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1583*_VS2008x86_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1584*_VS2008x86_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1585
1586 *_VS2008x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001587 DEBUG_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1588RELEASE_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 +00001589NOOPT_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1590
lgao46780eef2010-11-15 02:51:34 +00001591 DEBUG_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001592RELEASE_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001593NOOPT_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1594
lgao429e22e22011-09-23 06:03:45 +00001595 DEBUG_VS2008x86_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
1596RELEASE_VS2008x86_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
1597NOOPT_VS2008x86_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 +00001598
1599##################
1600# X64 definitions
1601##################
1602*_VS2008x86_X64_*_DLL = DEF(VS2008x86_DLL)
1603
1604*_VS2008x86_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1605*_VS2008x86_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1606*_VS2008x86_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1607*_VS2008x86_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1608*_VS2008x86_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1609*_VS2008x86_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1610*_VS2008x86_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1611*_VS2008x86_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1612*_VS2008x86_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1613*_VS2008x86_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1614
lgao46780eef2010-11-15 02:51:34 +00001615 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 +00001616RELEASE_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 +00001617NOOPT_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1618
lgao452302d42010-02-28 23:39:39 +00001619 DEBUG_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1620RELEASE_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001621NOOPT_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1622
lgao429e22e22011-09-23 06:03:45 +00001623 DEBUG_VS2008x86_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
1624RELEASE_VS2008x86_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
1625NOOPT_VS2008x86_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 +00001626
1627##################
1628# IPF definitions
1629##################
1630*_VS2008x86_IPF_*_DLL = DEF(VS2008x86_DLL)
1631
1632*_VS2008x86_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1633*_VS2008x86_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1634*_VS2008x86_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1635*_VS2008x86_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1636*_VS2008x86_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1637*_VS2008x86_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1638*_VS2008x86_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1639*_VS2008x86_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1640*_VS2008x86_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1641*_VS2008x86_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1642
1643 DEBUG_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1644RELEASE_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 +00001645NOOPT_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1646
lgao452302d42010-02-28 23:39:39 +00001647 DEBUG_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1648RELEASE_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001649NOOPT_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1650
lgao429e22e22011-09-23 06:03:45 +00001651 DEBUG_VS2008x86_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
1652RELEASE_VS2008x86_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
1653NOOPT_VS2008x86_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
lgao46780eef2010-11-15 02:51:34 +00001654
lgao452302d42010-02-28 23:39:39 +00001655
1656####################################################################################
1657# VS2008x86xASL - Microsoft Visual Studio 2008 with Microsoft ASL
1658# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1659####################################################################################
1660*_VS2008x86xASL_*_*_FAMILY = MSFT
1661
1662*_VS2008x86xASL_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001663*_VS2008x86xASL_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001664*_VS2008x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001665
1666*_VS2008x86xASL_*_MAKE_FLAGS = /nologo
1667*_VS2008x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1668*_VS2008x86xASL_*_APP_FLAGS = /nologo /E /TC
1669*_VS2008x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1670*_VS2008x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1671
qhuang814c48572010-07-21 02:46:15 +00001672*_VS2008x86xASL_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1673
lgao452302d42010-02-28 23:39:39 +00001674##################
1675# ASL definitions
1676##################
1677*_VS2008x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
1678*_VS2008x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
1679*_VS2008x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1680*_VS2008x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1681*_VS2008x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1682*_VS2008x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1683
1684##################
1685# IA32 definitions
1686##################
1687*_VS2008x86xASL_IA32_*_DLL = DEF(VS2008x86_DLL)
1688
1689*_VS2008x86xASL_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1690*_VS2008x86xASL_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1691*_VS2008x86xASL_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1692*_VS2008x86xASL_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1693*_VS2008x86xASL_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1694*_VS2008x86xASL_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1695*_VS2008x86xASL_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1696*_VS2008x86xASL_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001697*_VS2008x86xASL_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1698*_VS2008x86xASL_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1699*_VS2008x86xASL_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1700
1701 *_VS2008x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001702 DEBUG_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1703RELEASE_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 +00001704NOOPT_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1705
lgao46780eef2010-11-15 02:51:34 +00001706 DEBUG_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001707RELEASE_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001708NOOPT_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1709
lgao429e22e22011-09-23 06:03:45 +00001710 DEBUG_VS2008x86xASL_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
1711RELEASE_VS2008x86xASL_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
1712NOOPT_VS2008x86xASL_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 +00001713
1714##################
1715# X64 definitions
1716##################
1717*_VS2008x86xASL_X64_*_DLL = DEF(VS2008x86_DLL)
1718
1719*_VS2008x86xASL_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1720*_VS2008x86xASL_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1721*_VS2008x86xASL_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1722*_VS2008x86xASL_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1723*_VS2008x86xASL_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1724*_VS2008x86xASL_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1725*_VS2008x86xASL_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1726*_VS2008x86xASL_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1727*_VS2008x86xASL_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1728*_VS2008x86xASL_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1729
lgao46780eef2010-11-15 02:51:34 +00001730 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 +00001731RELEASE_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 +00001732NOOPT_VS2008x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1733
lgao452302d42010-02-28 23:39:39 +00001734 DEBUG_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1735RELEASE_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001736NOOPT_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1737
lgao429e22e22011-09-23 06:03:45 +00001738 DEBUG_VS2008x86xASL_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
1739RELEASE_VS2008x86xASL_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
1740NOOPT_VS2008x86xASL_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 +00001741
1742##################
1743# IPF definitions
1744##################
1745*_VS2008x86xASL_IPF_*_DLL = DEF(VS2008x86_DLL)
1746
1747*_VS2008x86xASL_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1748*_VS2008x86xASL_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1749*_VS2008x86xASL_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1750*_VS2008x86xASL_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1751*_VS2008x86xASL_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1752*_VS2008x86xASL_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1753*_VS2008x86xASL_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1754*_VS2008x86xASL_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1755*_VS2008x86xASL_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1756*_VS2008x86xASL_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1757
1758 DEBUG_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1759RELEASE_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 +00001760NOOPT_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1761
lgao452302d42010-02-28 23:39:39 +00001762 DEBUG_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1763RELEASE_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001764NOOPT_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1765
lgao429e22e22011-09-23 06:03:45 +00001766 DEBUG_VS2008x86xASL_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
1767RELEASE_VS2008x86xASL_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
1768NOOPT_VS2008x86xASL_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 +00001769
1770
eric_tian3b6c90a2009-04-13 12:50:50 +00001771####################################################################################
1772#
lgao464b26092012-04-10 07:18:20 +00001773# Microsoft Visual Studio 2010
1774#
1775# VS2010 - Microsoft Visual Studio 2010 Premium Edition
1776# ASL - Intel ACPI Source Language Compiler
1777####################################################################################
1778# VS2010 - Microsoft Visual Studio 2010 Premium Edition
1779*_VS2010_*_*_FAMILY = MSFT
1780
1781*_VS2010_*_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1782*_VS2010_*_MAKE_FLAGS = /nologo
1783*_VS2010_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1784
1785*_VS2010_*_SLINK_FLAGS = /NOLOGO /LTCG
1786*_VS2010_*_APP_FLAGS = /nologo /E /TC
1787*_VS2010_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1788*_VS2010_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1789
1790*_VS2010_*_ASM16_PATH = DEF(VS2010_BIN)\ml.exe
1791
1792##################
1793# ASL definitions
1794##################
1795*_VS2010_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1796*_VS2010_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1797*_VS2010_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1798*_VS2010_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1799*_VS2010_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1800*_VS2010_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1801
1802##################
1803# IA32 definitions
1804##################
1805*_VS2010_IA32_*_DLL = DEF(VS2010_DLL)
1806
1807*_VS2010_IA32_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1808*_VS2010_IA32_CC_PATH = DEF(VS2010_BIN)\cl.exe
1809*_VS2010_IA32_VFRPP_PATH = DEF(VS2010_BIN)\cl.exe
1810*_VS2010_IA32_SLINK_PATH = DEF(VS2010_BIN)\lib.exe
1811*_VS2010_IA32_DLINK_PATH = DEF(VS2010_BIN)\link.exe
1812*_VS2010_IA32_APP_PATH = DEF(VS2010_BIN)\cl.exe
1813*_VS2010_IA32_PP_PATH = DEF(VS2010_BIN)\cl.exe
1814*_VS2010_IA32_ASM_PATH = DEF(VS2010_BIN)\ml.exe
1815*_VS2010_IA32_ASLCC_PATH = DEF(VS2010_BIN)\cl.exe
1816*_VS2010_IA32_ASLPP_PATH = DEF(VS2010_BIN)\cl.exe
1817*_VS2010_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)\link.exe
1818
1819 *_VS2010_IA32_MAKE_FLAGS = /nologo
1820 DEBUG_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1821RELEASE_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1822NOOPT_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1823
1824 DEBUG_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1825RELEASE_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
1826NOOPT_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1827
1828 DEBUG_VS2010_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
1829RELEASE_VS2010_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
1830NOOPT_VS2010_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
1831
1832##################
1833# X64 definitions
1834##################
1835*_VS2010_X64_*_DLL = DEF(VS2010_DLL)
1836
1837*_VS2010_X64_CC_PATH = DEF(VS2010_BINX64)\cl.exe
1838*_VS2010_X64_PP_PATH = DEF(VS2010_BINX64)\cl.exe
1839*_VS2010_X64_APP_PATH = DEF(VS2010_BINX64)\cl.exe
1840*_VS2010_X64_VFRPP_PATH = DEF(VS2010_BINX64)\cl.exe
1841*_VS2010_X64_ASM_PATH = DEF(VS2010_BINX64)\ml64.exe
1842*_VS2010_X64_SLINK_PATH = DEF(VS2010_BINX64)\lib.exe
1843*_VS2010_X64_DLINK_PATH = DEF(VS2010_BINX64)\link.exe
1844*_VS2010_X64_ASLCC_PATH = DEF(VS2010_BINX64)\cl.exe
1845*_VS2010_X64_ASLPP_PATH = DEF(VS2010_BINX64)\cl.exe
1846*_VS2010_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
1847
1848
1849 DEBUG_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1850RELEASE_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1851NOOPT_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1852
1853 DEBUG_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1854RELEASE_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
1855NOOPT_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1856
1857 DEBUG_VS2010_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
1858RELEASE_VS2010_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
1859NOOPT_VS2010_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
1860
1861##################
1862# IPF definitions
1863##################
1864*_VS2010_IPF_*_DLL = DEF(VS2010_DLL)
1865
1866*_VS2010_IPF_PP_PATH = DEF(VS2010_BIN64)\cl.exe
1867*_VS2010_IPF_APP_PATH = DEF(VS2010_BIN64)\cl.exe
1868*_VS2010_IPF_VFRPP_PATH = DEF(VS2010_BIN64)\cl.exe
1869*_VS2010_IPF_CC_PATH = DEF(VS2010_BIN64)\cl.exe
1870*_VS2010_IPF_ASM_PATH = DEF(VS2010_BIN64)\ias.exe
1871*_VS2010_IPF_SLINK_PATH = DEF(VS2010_BIN64)\lib.exe
1872*_VS2010_IPF_DLINK_PATH = DEF(VS2010_BIN64)\link.exe
1873*_VS2010_IPF_ASLCC_PATH = DEF(VS2010_BIN64)\cl.exe
1874*_VS2010_IPF_ASLPP_PATH = DEF(VS2010_BIN64)\cl.exe
1875*_VS2010_IPF_ASLDLINK_PATH = DEF(VS2010_BIN64)\link.exe
1876
1877 DEBUG_VS2010_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1878RELEASE_VS2010_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1879NOOPT_VS2010_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1880
1881 DEBUG_VS2010_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1882RELEASE_VS2010_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
1883NOOPT_VS2010_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1884
1885 DEBUG_VS2010_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
1886RELEASE_VS2010_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
1887NOOPT_VS2010_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
1888
1889##################
1890# EBC definitions
1891##################
1892*_VS2010_EBC_*_FAMILY = INTEL
1893
1894*_VS2010_EBC_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1895*_VS2010_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1896*_VS2010_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1897*_VS2010_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1898*_VS2010_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1899*_VS2010_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1900
1901*_VS2010_EBC_MAKE_FLAGS = /nologo
1902*_VS2010_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1903*_VS2010_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1904*_VS2010_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1905*_VS2010_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1906*_VS2010_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 /ALIGN:32 /DRIVER
1907
1908####################################################################################
1909#
1910# Microsoft Visual Studio 2010
1911#
1912# VS2010 - Microsoft Visual Studio 2010 Premium Edition
1913# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1914####################################################################################
1915# VS2010xASL - Microsoft Visual Studio 2010 Premium Edition
1916*_VS2010xASL_*_*_FAMILY = MSFT
1917
1918*_VS2010xASL_*_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1919*_VS2010xASL_*_MAKE_FLAG = /nologo
1920*_VS2010xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1921
1922*_VS2010xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1923*_VS2010xASL_*_APP_FLAGS = /nologo /E /TC
1924*_VS2010xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1925*_VS2010xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1926
1927*_VS2010xASL_*_ASM16_PATH = DEF(VS2010_BIN)\ml.exe
1928
1929##################
1930# ASL definitions
1931##################
1932*_VS2010xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
1933*_VS2010xASL_*_ASL_FLAGS =
1934*_VS2010xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1935*_VS2010xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1936*_VS2010xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1937*_VS2010xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1938
1939##################
1940# IA32 definitions
1941##################
1942*_VS2010xASL_IA32_*_DLL = DEF(VS2010_DLL)
1943
1944*_VS2010xASL_IA32_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1945*_VS2010xASL_IA32_CC_PATH = DEF(VS2010_BIN)\cl.exe
1946*_VS2010xASL_IA32_VFRPP_PATH = DEF(VS2010_BIN)\cl.exe
1947*_VS2010xASL_IA32_SLINK_PATH = DEF(VS2010_BIN)\lib.exe
1948*_VS2010xASL_IA32_DLINK_PATH = DEF(VS2010_BIN)\link.exe
1949*_VS2010xASL_IA32_APP_PATH = DEF(VS2010_BIN)\cl.exe
1950*_VS2010xASL_IA32_PP_PATH = DEF(VS2010_BIN)\cl.exe
1951*_VS2010xASL_IA32_ASM_PATH = DEF(VS2010_BIN)\ml.exe
1952*_VS2010xASL_IA32_ASLCC_PATH = DEF(VS2010_BIN)\cl.exe
1953*_VS2010xASL_IA32_ASLPP_PATH = DEF(VS2010_BIN)\cl.exe
1954*_VS2010xASL_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)\link.exe
1955
1956 *_VS2010xASL_IA32_MAKE_FLAGS = /nologo
1957 DEBUG_VS2010xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1958RELEASE_VS2010xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1959NOOPT_VS2010xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1960
1961 DEBUG_VS2010xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1962RELEASE_VS2010xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
1963NOOPT_VS2010xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1964
1965 DEBUG_VS2010xASL_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
1966RELEASE_VS2010xASL_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
1967NOOPT_VS2010xASL_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
1968
1969##################
1970# X64 definitions
1971##################
1972*_VS2010xASL_X64_*_DLL = DEF(VS2010_DLL)
1973
1974*_VS2010xASL_X64_CC_PATH = DEF(VS2010_BINX64)\cl.exe
1975*_VS2010xASL_X64_PP_PATH = DEF(VS2010_BINX64)\cl.exe
1976*_VS2010xASL_X64_APP_PATH = DEF(VS2010_BINX64)\cl.exe
1977*_VS2010xASL_X64_VFRPP_PATH = DEF(VS2010_BINX64)\cl.exe
1978*_VS2010xASL_X64_ASM_PATH = DEF(VS2010_BINX64)\ml64.exe
1979*_VS2010xASL_X64_SLINK_PATH = DEF(VS2010_BINX64)\lib.exe
1980*_VS2010xASL_X64_DLINK_PATH = DEF(VS2010_BINX64)\link.exe
1981*_VS2010xASL_X64_ASLCC_PATH = DEF(VS2010_BINX64)\cl.exe
1982*_VS2010xASL_X64_ASLPP_PATH = DEF(VS2010_BINX64)\cl.exe
1983*_VS2010xASL_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
1984
1985
1986 DEBUG_VS2010xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1987RELEASE_VS2010xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1988NOOPT_VS2010xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1989
1990 DEBUG_VS2010xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1991RELEASE_VS2010xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
1992NOOPT_VS2010xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1993
1994 DEBUG_VS2010xASL_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
1995RELEASE_VS2010xASL_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
1996NOOPT_VS2010xASL_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
1997
1998##################
1999# IPF definitions
2000##################
2001*_VS2010xASL_IPF_*_DLL = DEF(VS2010_DLL)
2002
2003*_VS2010xASL_IPF_PP_PATH = DEF(VS2010_BIN64)\cl.exe
2004*_VS2010xASL_IPF_APP_PATH = DEF(VS2010_BIN64)\cl.exe
2005*_VS2010xASL_IPF_VFRPP_PATH = DEF(VS2010_BIN64)\cl.exe
2006*_VS2010xASL_IPF_CC_PATH = DEF(VS2010_BIN64)\cl.exe
2007*_VS2010xASL_IPF_ASM_PATH = DEF(VS2010_BIN64)\ias.exe
2008*_VS2010xASL_IPF_SLINK_PATH = DEF(VS2010_BIN64)\lib.exe
2009*_VS2010xASL_IPF_DLINK_PATH = DEF(VS2010_BIN64)\link.exe
2010*_VS2010xASL_IPF_ASLCC_PATH = DEF(VS2010_BIN64)\cl.exe
2011*_VS2010xASL_IPF_ASLPP_PATH = DEF(VS2010_BIN64)\cl.exe
2012*_VS2010xASL_IPF_ASLDLINK_PATH = DEF(VS2010_BIN64)\link.exe
2013
2014 DEBUG_VS2010xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2015RELEASE_VS2010xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2016NOOPT_VS2010xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2017
2018 DEBUG_VS2010xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2019RELEASE_VS2010xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2020NOOPT_VS2010xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2021
2022 DEBUG_VS2010xASL_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
2023RELEASE_VS2010xASL_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
2024NOOPT_VS2010xASL_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
2025
2026##################
2027# EBC definitions
2028##################
2029*_VS2010xASL_EBC_*_FAMILY = INTEL
2030
2031*_VS2010xASL_EBC_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
2032*_VS2010xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2033*_VS2010xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2034*_VS2010xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2035*_VS2010xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2036*_VS2010xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2037
2038*_VS2010xASL_EBC_MAKE_FLAGS = /nologo
2039*_VS2010xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2040*_VS2010xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2041*_VS2010xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2042*_VS2010xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2043*_VS2010xASL_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 /ALIGN:32 /DRIVER
2044
2045
2046####################################################################################
2047# VS2010x86 - Microsoft Visual Studio 2010 (x86) with Intel ASL
2048# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2049####################################################################################
2050# VS2010x86 - Microsoft Visual Studio 2010 (x86) ALL Edition with Intel ASL
2051*_VS2010x86_*_*_FAMILY = MSFT
2052
2053*_VS2010x86_*_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2054*_VS2010x86_*_MAKE_FLAG = /nologo
2055*_VS2010x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2056
2057*_VS2010x86_*_MAKE_FLAGS = /nologo
2058*_VS2010x86_*_SLINK_FLAGS = /NOLOGO /LTCG
2059*_VS2010x86_*_APP_FLAGS = /nologo /E /TC
2060*_VS2010x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2061*_VS2010x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2062
2063*_VS2010x86_*_ASM16_PATH = DEF(VS2010x86_BIN)\ml.exe
2064
2065##################
2066# ASL definitions
2067##################
2068*_VS2010x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
2069*_VS2010x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2070*_VS2010x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2071*_VS2010x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2072*_VS2010x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2073*_VS2010x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2074
2075##################
2076# IA32 definitions
2077##################
2078*_VS2010x86_IA32_*_DLL = DEF(VS2010x86_DLL)
2079
2080*_VS2010x86_IA32_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2081*_VS2010x86_IA32_CC_PATH = DEF(VS2010x86_BIN)\cl.exe
2082*_VS2010x86_IA32_VFRPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2083*_VS2010x86_IA32_ASLCC_PATH = DEF(VS2010x86_BIN)\cl.exe
2084*_VS2010x86_IA32_ASLPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2085*_VS2010x86_IA32_SLINK_PATH = DEF(VS2010x86_BIN)\lib.exe
2086*_VS2010x86_IA32_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2087*_VS2010x86_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
2088*_VS2010x86_IA32_APP_PATH = DEF(VS2010x86_BIN)\cl.exe
2089*_VS2010x86_IA32_PP_PATH = DEF(VS2010x86_BIN)\cl.exe
2090*_VS2010x86_IA32_ASM_PATH = DEF(VS2010x86_BIN)\ml.exe
2091
2092 *_VS2010x86_IA32_MAKE_FLAGS = /nologo
2093 DEBUG_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2094RELEASE_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2095NOOPT_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2096
2097 DEBUG_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2098RELEASE_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2099NOOPT_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2100
2101 DEBUG_VS2010x86_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
2102RELEASE_VS2010x86_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
2103NOOPT_VS2010x86_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
2104
2105##################
2106# X64 definitions
2107##################
2108*_VS2010x86_X64_*_DLL = DEF(VS2010x86_DLL)
2109
2110*_VS2010x86_X64_CC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2111*_VS2010x86_X64_PP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2112*_VS2010x86_X64_APP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2113*_VS2010x86_X64_VFRPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2114*_VS2010x86_X64_ASLCC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2115*_VS2010x86_X64_ASLPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2116*_VS2010x86_X64_ASM_PATH = DEF(VS2010x86_BINX64)\ml64.exe
2117*_VS2010x86_X64_SLINK_PATH = DEF(VS2010x86_BINX64)\lib.exe
2118*_VS2010x86_X64_DLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2119*_VS2010x86_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2120
2121 DEBUG_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2122RELEASE_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2123NOOPT_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2124
2125 DEBUG_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2126RELEASE_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2127NOOPT_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2128
2129 DEBUG_VS2010x86_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
2130RELEASE_VS2010x86_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
2131NOOPT_VS2010x86_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
2132
2133
2134##################
2135# IPF definitions
2136##################
2137*_VS2010x86_IPF_*_DLL = DEF(VS2010x86_DLL)
2138
2139*_VS2010x86_IPF_PP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2140*_VS2010x86_IPF_APP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2141*_VS2010x86_IPF_VFRPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2142*_VS2010x86_IPF_ASLCC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2143*_VS2010x86_IPF_ASLPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2144*_VS2010x86_IPF_CC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2145*_VS2010x86_IPF_ASM_PATH = DEF(VS2010x86_BIN64)\ias.exe
2146*_VS2010x86_IPF_SLINK_PATH = DEF(VS2010x86_BIN64)\lib.exe
2147*_VS2010x86_IPF_DLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2148*_VS2010x86_IPF_ASLDLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2149
2150 DEBUG_VS2010x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2151RELEASE_VS2010x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2152NOOPT_VS2010x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2153
2154 DEBUG_VS2010x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2155RELEASE_VS2010x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2156NOOPT_VS2010x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2157
2158 DEBUG_VS2010x86_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
2159RELEASE_VS2010x86_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
2160NOOPT_VS2010x86_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
2161
2162
2163####################################################################################
2164# VS2010x86xASL - Microsoft Visual Studio 2010 with Microsoft ASL
2165# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2166####################################################################################
2167*_VS2010x86xASL_*_*_FAMILY = MSFT
2168
2169*_VS2010x86xASL_*_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2170*_VS2010x86xASL_*_MAKE_FLAG = /nologo
2171*_VS2010x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2172
2173*_VS2010x86xASL_*_MAKE_FLAGS = /nologo
2174*_VS2010x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
2175*_VS2010x86xASL_*_APP_FLAGS = /nologo /E /TC
2176*_VS2010x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2177*_VS2010x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2178
2179*_VS2010x86xASL_*_ASM16_PATH = DEF(VS2010x86_BIN)\ml.exe
2180
2181##################
2182# ASL definitions
2183##################
2184*_VS2010x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
2185*_VS2010x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
2186*_VS2010x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
2187*_VS2010x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2188*_VS2010x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2189*_VS2010x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2190
2191##################
2192# IA32 definitions
2193##################
2194*_VS2010x86xASL_IA32_*_DLL = DEF(VS2010x86_DLL)
2195
2196*_VS2010x86xASL_IA32_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2197*_VS2010x86xASL_IA32_CC_PATH = DEF(VS2010x86_BIN)\cl.exe
2198*_VS2010x86xASL_IA32_VFRPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2199*_VS2010x86xASL_IA32_ASLCC_PATH = DEF(VS2010x86_BIN)\cl.exe
2200*_VS2010x86xASL_IA32_ASLPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2201*_VS2010x86xASL_IA32_SLINK_PATH = DEF(VS2010x86_BIN)\lib.exe
2202*_VS2010x86xASL_IA32_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2203*_VS2010x86xASL_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
2204*_VS2010x86xASL_IA32_APP_PATH = DEF(VS2010x86_BIN)\cl.exe
2205*_VS2010x86xASL_IA32_PP_PATH = DEF(VS2010x86_BIN)\cl.exe
2206*_VS2010x86xASL_IA32_ASM_PATH = DEF(VS2010x86_BIN)\ml.exe
2207
2208 *_VS2010x86xASL_IA32_MAKE_FLAGS = /nologo
2209 DEBUG_VS2010x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2210RELEASE_VS2010x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2211NOOPT_VS2010x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2212
2213 DEBUG_VS2010x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2214RELEASE_VS2010x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2215NOOPT_VS2010x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2216
2217 DEBUG_VS2010x86xASL_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
2218RELEASE_VS2010x86xASL_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
2219NOOPT_VS2010x86xASL_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
2220
2221##################
2222# X64 definitions
2223##################
2224*_VS2010x86xASL_X64_*_DLL = DEF(VS2010x86_DLL)
2225
2226*_VS2010x86xASL_X64_CC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2227*_VS2010x86xASL_X64_PP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2228*_VS2010x86xASL_X64_APP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2229*_VS2010x86xASL_X64_VFRPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2230*_VS2010x86xASL_X64_ASLCC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2231*_VS2010x86xASL_X64_ASLPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2232*_VS2010x86xASL_X64_ASM_PATH = DEF(VS2010x86_BINX64)\ml64.exe
2233*_VS2010x86xASL_X64_SLINK_PATH = DEF(VS2010x86_BINX64)\lib.exe
2234*_VS2010x86xASL_X64_DLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2235*_VS2010x86xASL_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2236
2237 DEBUG_VS2010x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2238RELEASE_VS2010x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2239NOOPT_VS2010x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2240
2241 DEBUG_VS2010x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2242RELEASE_VS2010x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2243NOOPT_VS2010x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2244
2245 DEBUG_VS2010x86xASL_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
2246RELEASE_VS2010x86xASL_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
2247NOOPT_VS2010x86xASL_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
2248
2249##################
2250# IPF definitions
2251##################
2252*_VS2010x86xASL_IPF_*_DLL = DEF(VS2010x86_DLL)
2253
2254*_VS2010x86xASL_IPF_PP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2255*_VS2010x86xASL_IPF_APP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2256*_VS2010x86xASL_IPF_VFRPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2257*_VS2010x86xASL_IPF_ASLCC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2258*_VS2010x86xASL_IPF_ASLPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2259*_VS2010x86xASL_IPF_CC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2260*_VS2010x86xASL_IPF_ASM_PATH = DEF(VS2010x86_BIN64)\ias.exe
2261*_VS2010x86xASL_IPF_SLINK_PATH = DEF(VS2010x86_BIN64)\lib.exe
2262*_VS2010x86xASL_IPF_DLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2263*_VS2010x86xASL_IPF_ASLDLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2264
2265 DEBUG_VS2010x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2266RELEASE_VS2010x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2267NOOPT_VS2010x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2268
2269 DEBUG_VS2010x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2270RELEASE_VS2010x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2271NOOPT_VS2010x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2272
2273 DEBUG_VS2010x86xASL_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
2274RELEASE_VS2010x86xASL_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
2275NOOPT_VS2010x86xASL_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
2276
2277
2278####################################################################################
2279#
eric_tian3b6c90a2009-04-13 12:50:50 +00002280# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
2281# And Intel ACPI Compiler
2282#
2283####################################################################################
2284# DDK3790 - Microsoft Windows DDK 3790.1830
2285# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2286*_DDK3790_*_*_FAMILY = MSFT
2287
2288*_DDK3790_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
2289*_DDK3790_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00002290*_DDK3790_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002291
2292*_DDK3790_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2293*_DDK3790_*_APP_FLAGS = /nologo /E /TC
2294*_DDK3790_*_SLINK_FLAGS = /nologo /LTCG
2295*_DDK3790_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2296
qhuang814c48572010-07-21 02:46:15 +00002297*_DDK3790_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
2298
eric_tian3b6c90a2009-04-13 12:50:50 +00002299##################
2300# ASL definitions
2301##################
lgao4a709adf2009-12-29 06:16:53 +00002302*_DDK3790_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2303*_DDK3790_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2304*_DDK3790_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002305*_DDK3790_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2306*_DDK3790_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2307*_DDK3790_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2308
2309##################
2310# IA32 definitions
2311##################
2312*_DDK3790_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
2313*_DDK3790_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
2314*_DDK3790_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002315*_DDK3790_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
2316*_DDK3790_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
2317*_DDK3790_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
2318*_DDK3790_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
2319*_DDK3790_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
2320*_DDK3790_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
2321*_DDK3790_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
2322
qhuang89053bc52010-06-28 09:33:10 +00002323 DEBUG_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2324RELEASE_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 +00002325NOOPT_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2326
eric_tian3b6c90a2009-04-13 12:50:50 +00002327 DEBUG_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
2328RELEASE_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002329NOOPT_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
2330
2331 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
2332RELEASE_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
2333NOOPT_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 +00002334
2335##################
2336# x64 definitions
2337##################
2338*_DDK3790_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
2339*_DDK3790_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
2340*_DDK3790_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
2341*_DDK3790_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
2342*_DDK3790_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
2343*_DDK3790_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
2344*_DDK3790_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
2345*_DDK3790_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
2346*_DDK3790_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
2347*_DDK3790_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
2348
qhuang89053bc52010-06-28 09:33:10 +00002349 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
2350RELEASE_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 +00002351NOOPT_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2352
eric_tian3b6c90a2009-04-13 12:50:50 +00002353 DEBUG_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2354RELEASE_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002355NOOPT_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2356
lgao46780eef2010-11-15 02:51:34 +00002357 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
2358RELEASE_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 +00002359NOOPT_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 +00002360
2361##################
2362# IPF definitions
2363##################
2364*_DDK3790_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
2365*_DDK3790_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
2366*_DDK3790_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
2367*_DDK3790_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
2368*_DDK3790_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
2369*_DDK3790_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
2370*_DDK3790_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
2371*_DDK3790_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
2372*_DDK3790_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
2373*_DDK3790_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
2374
2375
2376 DEBUG_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2377RELEASE_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 +00002378NOOPT_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2379
eric_tian3b6c90a2009-04-13 12:50:50 +00002380 DEBUG_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2381RELEASE_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00002382NOOPT_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2383
lgao46780eef2010-11-15 02:51:34 +00002384 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
2385RELEASE_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 +00002386NOOPT_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 +00002387
2388##################
2389# EBC definitions
2390##################
2391*_DDK3790_EBC_*_FAMILY = INTEL
2392
2393*_DDK3790_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2394*_DDK3790_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2395*_DDK3790_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2396*_DDK3790_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2397*_DDK3790_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2398
2399*_DDK3790_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2400*_DDK3790_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002401*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00002402
2403####################################################################################
2404#
2405# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
2406# And Microsoft ACPI Compiler
2407#
2408####################################################################################
2409# DDK3790xASL - Microsoft Windows DDK 3790.1830
2410# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2411*_DDK3790xASL_*_*_FAMILY = MSFT
2412
2413*_DDK3790xASL_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
2414*_DDK3790xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00002415*_DDK3790xASL_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002416
2417*_DDK3790xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2418*_DDK3790xASL_*_APP_FLAGS = /nologo /E /TC
2419*_DDK3790xASL_*_SLINK_FLAGS = /nologo /LTCG
2420*_DDK3790xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2421
qhuang814c48572010-07-21 02:46:15 +00002422*_DDK3790xASL_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
2423
eric_tian3b6c90a2009-04-13 12:50:50 +00002424##################
2425# ASL definitions
2426##################
2427*_DDK3790xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00002428*_DDK3790xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00002429*_DDK3790xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002430*_DDK3790xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2431*_DDK3790xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2432*_DDK3790xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2433
2434##################
2435# IA32 definitions
2436##################
2437*_DDK3790xASL_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
2438*_DDK3790xASL_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
2439*_DDK3790xASL_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002440*_DDK3790xASL_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
2441*_DDK3790xASL_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
2442*_DDK3790xASL_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
2443*_DDK3790xASL_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
2444*_DDK3790xASL_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
2445*_DDK3790xASL_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
2446*_DDK3790xASL_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
2447
qhuang89053bc52010-06-28 09:33:10 +00002448 DEBUG_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2449RELEASE_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 +00002450NOOPT_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2451
eric_tian3b6c90a2009-04-13 12:50:50 +00002452 DEBUG_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
2453RELEASE_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002454NOOPT_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
2455
2456 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
2457RELEASE_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
2458NOOPT_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 +00002459
2460##################
2461# x64 definitions
2462##################
2463*_DDK3790xASL_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
2464*_DDK3790xASL_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
2465*_DDK3790xASL_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
2466*_DDK3790xASL_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
2467*_DDK3790xASL_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
2468*_DDK3790xASL_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
2469*_DDK3790xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
2470*_DDK3790xASL_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
2471*_DDK3790xASL_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
2472*_DDK3790xASL_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
2473
qhuang89053bc52010-06-28 09:33:10 +00002474 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
2475RELEASE_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 +00002476NOOPT_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2477
eric_tian3b6c90a2009-04-13 12:50:50 +00002478 DEBUG_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2479RELEASE_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002480NOOPT_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2481
lgao46780eef2010-11-15 02:51:34 +00002482 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
2483RELEASE_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 +00002484NOOPT_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 +00002485
2486##################
2487# IPF definitions
2488##################
2489*_DDK3790xASL_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
2490*_DDK3790xASL_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
2491*_DDK3790xASL_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
2492*_DDK3790xASL_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
2493*_DDK3790xASL_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
2494*_DDK3790xASL_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
2495*_DDK3790xASL_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
2496*_DDK3790xASL_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
2497*_DDK3790xASL_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
2498*_DDK3790xASL_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
2499
2500
2501 DEBUG_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2502RELEASE_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 +00002503NOOPT_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2504
eric_tian3b6c90a2009-04-13 12:50:50 +00002505 DEBUG_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2506RELEASE_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00002507NOOPT_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2508
lgao46780eef2010-11-15 02:51:34 +00002509 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
2510RELEASE_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 +00002511NOOPT_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 +00002512
2513##################
2514# EBC definitions
2515##################
2516*_DDK3790xASL_EBC_*_FAMILY = INTEL
2517
2518*_DDK3790xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2519*_DDK3790xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2520*_DDK3790xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2521*_DDK3790xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2522*_DDK3790xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2523
2524*_DDK3790xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2525*_DDK3790xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002526*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00002527
2528
2529####################################################################################
2530# GCC Common
2531####################################################################################
2532
2533*_*_*_OBJCOPY_PATH = echo
2534*_*_*_OBJCOPY_FLAGS = objcopy not needed for
2535*_*_*_SYMRENAME_PATH = echo
2536*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
lgao40d2711a2011-10-29 06:59:30 +00002537DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
2538RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
eric_tian3b6c90a2009-04-13 12:50:50 +00002539
lgao452302d42010-02-28 23:39:39 +00002540DEFINE 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 +00002541DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
2542DEFINE 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 +00002543DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency
lgao479b74a02011-10-11 02:49:48 +00002544DEFINE GCC_ARMGCC_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mword-relocations -mlittle-endian -mabi=aapcs -mapcs -fno-short-enums -save-temps -fsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer
lgao452302d42010-02-28 23:39:39 +00002545DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie
lgao4a709adf2009-12-29 06:16:53 +00002546DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
eric_tian3b6c90a2009-04-13 12:50:50 +00002547DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
2548DEFINE 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
2549DEFINE 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
2550DEFINE GCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64
2551DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem
2552DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
2553DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2554DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002555DEFINE GCC_ASLPP_FLAGS = -x c -E -P
2556DEFINE GCC_ASLCC_FLAGS = -x c
2557DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
2558DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
2559DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
2560DEFINE GCC_IPF_RC_FLAGS = -I binary -O elf64-ia64-little -B ia64 --rename-section .data=.hii
2561
lgao452302d42010-02-28 23:39:39 +00002562DEFINE 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 +00002563DEFINE GCC44_IA32_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m32 -malign-double -D EFI32
lgao46780eef2010-11-15 02:51:34 +00002564DEFINE 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 +00002565DEFINE 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 +00002566DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) --entry ReferenceAcpiTable -u ReferenceAcpiTable
2567DEFINE 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 +00002568DEFINE GCC44_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -melf_x86_64 --oformat=elf64-x86-64
lgao4a709adf2009-12-29 06:16:53 +00002569DEFINE GCC44_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002570
lgao46780eef2010-11-15 02:51:34 +00002571DEFINE GCC45_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS)
2572DEFINE GCC45_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
2573DEFINE GCC45_IA32_X64_DLINK_COMMON = DEF(GCC44_IA32_X64_DLINK_COMMON)
2574DEFINE GCC45_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS)
2575DEFINE GCC45_IA32_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS)
2576DEFINE GCC45_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
2577DEFINE GCC45_ASM_FLAGS = DEF(GCC44_ASM_FLAGS)
2578
lgao42bcc7132011-11-25 06:21:03 +00002579DEFINE GCC46_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
2580DEFINE GCC46_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
2581DEFINE GCC46_IA32_X64_DLINK_COMMON = DEF(GCC45_IA32_X64_DLINK_COMMON)
2582DEFINE GCC46_IA32_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS)
2583DEFINE GCC46_IA32_X64_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS)
2584DEFINE GCC46_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS)
2585DEFINE GCC46_ASM_FLAGS = DEF(GCC45_ASM_FLAGS)
2586
eric_tian3b6c90a2009-04-13 12:50:50 +00002587####################################################################################
2588#
2589# Unix GCC And Intel Linux ACPI Compiler
2590#
2591####################################################################################
2592# UNIXGCC - UNIX GCC
2593# ASL - Intel Linux ACPI Source Language Compiler (iasl)
2594*_UNIXGCC_*_*_FAMILY = GCC
eric_tian3b6c90a2009-04-13 12:50:50 +00002595
lgao4a709adf2009-12-29 06:16:53 +00002596*_UNIXGCC_*_MAKE_PATH = make
eric_tian3b6c90a2009-04-13 12:50:50 +00002597*_UNIXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00002598
lgao4636f2be2010-03-12 10:54:01 +00002599*_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
2600*_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00002601*_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2602*_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2603*_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
2604*_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2605*_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2606*_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2607*_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002608*_UNIXGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002609*_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00002610*_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002611
2612##################
2613# IA32 definitions
2614##################
lgao4a709adf2009-12-29 06:16:53 +00002615*_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
jljusten726d5a82009-08-15 05:05:00 +00002616*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2617*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2618*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
2619*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
2620*_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2621*_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2622*_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
2623*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2624*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00002625*_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002626
lgao4a709adf2009-12-29 06:16:53 +00002627*_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2628*_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
2629*_UNIXGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002630
2631##################
2632# X64 definitions
2633##################
jljusten726d5a82009-08-15 05:05:00 +00002634*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2635*_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2636*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
2637*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
2638*_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
2639*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2640*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2641*_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2642*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00002643*_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
lgao452302d42010-02-28 23:39:39 +00002644*_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002645
lgao4a709adf2009-12-29 06:16:53 +00002646*_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2647*_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao452302d42010-02-28 23:39:39 +00002648*_UNIXGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002649
2650##################
2651# IPF definitions
2652##################
jljusten726d5a82009-08-15 05:05:00 +00002653*_UNIXGCC_IPF_CC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2654*_UNIXGCC_IPF_ASLCC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2655*_UNIXGCC_IPF_SLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ar
2656*_UNIXGCC_IPF_DLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
2657*_UNIXGCC_IPF_ASLDLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
2658*_UNIXGCC_IPF_ASM_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2659*_UNIXGCC_IPF_PP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2660*_UNIXGCC_IPF_ASLPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2661*_UNIXGCC_IPF_VFRPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2662*_UNIXGCC_IPF_OBJCOPY_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
2663*_UNIXGCC_IPF_SYMRENAME_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002664*_UNIXGCC_IPF_RC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002665
lgao4a709adf2009-12-29 06:16:53 +00002666*_UNIXGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2667*_UNIXGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2668*_UNIXGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2669*_UNIXGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2670*_UNIXGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
2671
2672
2673####################################################################################
2674#
2675# GCC 4.4 - This configuration is used to compile under Linux to produce
2676# PE/COFF binaries using GCC 4.4.
2677#
2678####################################################################################
2679*_GCC44_*_*_FAMILY = GCC
2680
2681*_GCC44_*_MAKE_PATH = make
2682*_GCC44_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2683
2684*_GCC44_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2685*_GCC44_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2686*_GCC44_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2687*_GCC44_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002688*_GCC44_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002689*_GCC44_*_ASL_FLAGS = DEF(IASL_FLAGS)
2690*_GCC44_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2691
2692##################
2693# GCC44 IA32 definitions
2694##################
lgao4da92f272011-05-11 10:26:49 +00002695*_GCC44_IA32_OBJCOPY_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00002696*_GCC44_IA32_CC_PATH = DEF(GCC44_IA32_PREFIX)gcc
2697*_GCC44_IA32_SLINK_PATH = DEF(GCC44_IA32_PREFIX)ar
2698*_GCC44_IA32_DLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
2699*_GCC44_IA32_ASLDLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
2700*_GCC44_IA32_ASM_PATH = DEF(GCC44_IA32_PREFIX)gcc
2701*_GCC44_IA32_PP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2702*_GCC44_IA32_VFRPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2703*_GCC44_IA32_ASLCC_PATH = DEF(GCC44_IA32_PREFIX)gcc
2704*_GCC44_IA32_ASLPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2705*_GCC44_IA32_RC_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00002706
2707*_GCC44_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2708*_GCC44_IA32_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2709*_GCC44_IA32_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m32 --32 -march=i386
lgao452302d42010-02-28 23:39:39 +00002710*_GCC44_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS) -Os
lgao4a709adf2009-12-29 06:16:53 +00002711*_GCC44_IA32_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2712*_GCC44_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002713*_GCC44_IA32_OBJCOPY_FLAGS =
lgao452302d42010-02-28 23:39:39 +00002714
lgao440d841f2010-05-18 05:04:32 +00002715##################
2716# GCC44 X64 definitions
2717##################
lgao4da92f272011-05-11 10:26:49 +00002718*_GCC44_X64_OBJCOPY_PATH = DEF(GCC44_X64_PREFIX)objcopy
lgao440d841f2010-05-18 05:04:32 +00002719*_GCC44_X64_CC_PATH = DEF(GCC44_X64_PREFIX)gcc
2720*_GCC44_X64_SLINK_PATH = DEF(GCC44_X64_PREFIX)ar
2721*_GCC44_X64_DLINK_PATH = DEF(GCC44_X64_PREFIX)ld
2722*_GCC44_X64_ASLDLINK_PATH = DEF(GCC44_X64_PREFIX)ld
2723*_GCC44_X64_ASM_PATH = DEF(GCC44_X64_PREFIX)gcc
2724*_GCC44_X64_PP_PATH = DEF(GCC44_X64_PREFIX)gcc
2725*_GCC44_X64_VFRPP_PATH = DEF(GCC44_X64_PREFIX)gcc
2726*_GCC44_X64_ASLCC_PATH = DEF(GCC44_X64_PREFIX)gcc
2727*_GCC44_X64_ASLPP_PATH = DEF(GCC44_X64_PREFIX)gcc
2728*_GCC44_X64_RC_PATH = DEF(GCC44_X64_PREFIX)objcopy
2729
2730*_GCC44_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2731*_GCC44_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2732*_GCC44_X64_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m64 --64 -melf_x86_64
lgao46780eef2010-11-15 02:51:34 +00002733*_GCC44_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
lgao440d841f2010-05-18 05:04:32 +00002734*_GCC44_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
2735*_GCC44_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002736*_GCC44_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002737
2738####################################################################################
2739#
lgao46780eef2010-11-15 02:51:34 +00002740# GCC 4.5 - This configuration is used to compile under Linux to produce
2741# PE/COFF binaries using GCC 4.5.
2742#
2743####################################################################################
2744*_GCC45_*_*_FAMILY = GCC
2745
2746*_GCC45_*_MAKE_PATH = make
2747*_GCC45_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2748
2749*_GCC45_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2750*_GCC45_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2751*_GCC45_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2752*_GCC45_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
2753*_GCC45_*_APP_FLAGS =
2754*_GCC45_*_ASL_FLAGS = DEF(IASL_FLAGS)
2755*_GCC45_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2756
2757##################
2758# GCC45 IA32 definitions
2759##################
lgao4da92f272011-05-11 10:26:49 +00002760*_GCC45_IA32_OBJCOPY_PATH = DEF(GCC45_IA32_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00002761*_GCC45_IA32_CC_PATH = DEF(GCC45_IA32_PREFIX)gcc
2762*_GCC45_IA32_SLINK_PATH = DEF(GCC45_IA32_PREFIX)ar
2763*_GCC45_IA32_DLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
2764*_GCC45_IA32_ASLDLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
2765*_GCC45_IA32_ASM_PATH = DEF(GCC45_IA32_PREFIX)gcc
2766*_GCC45_IA32_PP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2767*_GCC45_IA32_VFRPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2768*_GCC45_IA32_ASLCC_PATH = DEF(GCC45_IA32_PREFIX)gcc
2769*_GCC45_IA32_ASLPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2770*_GCC45_IA32_RC_PATH = DEF(GCC45_IA32_PREFIX)objcopy
2771
2772*_GCC45_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2773*_GCC45_IA32_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2774*_GCC45_IA32_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m32 --32 -march=i386
2775*_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Os
2776*_GCC45_IA32_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2777*_GCC45_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002778*_GCC45_IA32_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00002779
2780##################
2781# GCC45 X64 definitions
2782##################
lgao4da92f272011-05-11 10:26:49 +00002783*_GCC45_X64_OBJCOPY_PATH = DEF(GCC45_X64_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00002784*_GCC45_X64_CC_PATH = DEF(GCC45_X64_PREFIX)gcc
2785*_GCC45_X64_SLINK_PATH = DEF(GCC45_X64_PREFIX)ar
2786*_GCC45_X64_DLINK_PATH = DEF(GCC45_X64_PREFIX)ld
2787*_GCC45_X64_ASLDLINK_PATH = DEF(GCC45_X64_PREFIX)ld
2788*_GCC45_X64_ASM_PATH = DEF(GCC45_X64_PREFIX)gcc
2789*_GCC45_X64_PP_PATH = DEF(GCC45_X64_PREFIX)gcc
2790*_GCC45_X64_VFRPP_PATH = DEF(GCC45_X64_PREFIX)gcc
2791*_GCC45_X64_ASLCC_PATH = DEF(GCC45_X64_PREFIX)gcc
2792*_GCC45_X64_ASLPP_PATH = DEF(GCC45_X64_PREFIX)gcc
2793*_GCC45_X64_RC_PATH = DEF(GCC45_X64_PREFIX)objcopy
2794
2795*_GCC45_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2796*_GCC45_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2797*_GCC45_X64_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m64 --64 -melf_x86_64
2798*_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS)
2799*_GCC45_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS)
2800*_GCC45_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002801*_GCC45_X64_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00002802
2803####################################################################################
2804#
lgao42bcc7132011-11-25 06:21:03 +00002805# GCC 4.6 - This configuration is used to compile under Linux to produce
2806# PE/COFF binaries using GCC 4.6.
2807#
2808####################################################################################
2809*_GCC46_*_*_FAMILY = GCC
2810
2811*_GCC46_*_MAKE_PATH = make
2812*_GCC46_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2813
2814*_GCC46_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2815*_GCC46_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2816*_GCC46_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2817*_GCC46_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
2818*_GCC46_*_APP_FLAGS =
2819*_GCC46_*_ASL_FLAGS = DEF(IASL_FLAGS)
2820*_GCC46_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2821
2822##################
2823# GCC46 IA32 definitions
2824##################
2825*_GCC46_IA32_OBJCOPY_PATH = DEF(GCC46_IA32_PREFIX)objcopy
2826*_GCC46_IA32_CC_PATH = DEF(GCC46_IA32_PREFIX)gcc
2827*_GCC46_IA32_SLINK_PATH = DEF(GCC46_IA32_PREFIX)ar
2828*_GCC46_IA32_DLINK_PATH = DEF(GCC46_IA32_PREFIX)ld
2829*_GCC46_IA32_ASLDLINK_PATH = DEF(GCC46_IA32_PREFIX)ld
2830*_GCC46_IA32_ASM_PATH = DEF(GCC46_IA32_PREFIX)gcc
2831*_GCC46_IA32_PP_PATH = DEF(GCC46_IA32_PREFIX)gcc
2832*_GCC46_IA32_VFRPP_PATH = DEF(GCC46_IA32_PREFIX)gcc
2833*_GCC46_IA32_ASLCC_PATH = DEF(GCC46_IA32_PREFIX)gcc
2834*_GCC46_IA32_ASLPP_PATH = DEF(GCC46_IA32_PREFIX)gcc
2835*_GCC46_IA32_RC_PATH = DEF(GCC46_IA32_PREFIX)objcopy
2836
2837*_GCC46_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2838*_GCC46_IA32_ASLDLINK_FLAGS = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2839*_GCC46_IA32_ASM_FLAGS = DEF(GCC46_ASM_FLAGS) -m32 -march=i386
2840*_GCC46_IA32_CC_FLAGS = DEF(GCC46_IA32_CC_FLAGS) -Os
2841*_GCC46_IA32_DLINK_FLAGS = DEF(GCC46_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2842*_GCC46_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
2843*_GCC46_IA32_OBJCOPY_FLAGS =
2844
2845##################
2846# GCC46 X64 definitions
2847##################
2848*_GCC46_X64_OBJCOPY_PATH = DEF(GCC46_X64_PREFIX)objcopy
2849*_GCC46_X64_CC_PATH = DEF(GCC46_X64_PREFIX)gcc
2850*_GCC46_X64_SLINK_PATH = DEF(GCC46_X64_PREFIX)ar
2851*_GCC46_X64_DLINK_PATH = DEF(GCC46_X64_PREFIX)ld
2852*_GCC46_X64_ASLDLINK_PATH = DEF(GCC46_X64_PREFIX)ld
2853*_GCC46_X64_ASM_PATH = DEF(GCC46_X64_PREFIX)gcc
2854*_GCC46_X64_PP_PATH = DEF(GCC46_X64_PREFIX)gcc
2855*_GCC46_X64_VFRPP_PATH = DEF(GCC46_X64_PREFIX)gcc
2856*_GCC46_X64_ASLCC_PATH = DEF(GCC46_X64_PREFIX)gcc
2857*_GCC46_X64_ASLPP_PATH = DEF(GCC46_X64_PREFIX)gcc
2858*_GCC46_X64_RC_PATH = DEF(GCC46_X64_PREFIX)objcopy
2859
2860*_GCC46_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2861*_GCC46_X64_ASLDLINK_FLAGS = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2862*_GCC46_X64_ASM_FLAGS = DEF(GCC46_ASM_FLAGS) -m64 -melf_x86_64
2863*_GCC46_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS)
2864*_GCC46_X64_DLINK_FLAGS = DEF(GCC46_X64_DLINK_FLAGS)
2865*_GCC46_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
2866*_GCC46_X64_OBJCOPY_FLAGS =
2867
2868####################################################################################
2869#
eric_tian3b6c90a2009-04-13 12:50:50 +00002870# Cygwin GCC And Intel ACPI Compiler
2871#
2872####################################################################################
2873# CYGGCC - CygWin GCC
2874# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2875*_CYGGCC_*_*_FAMILY = GCC
2876
2877*_CYGGCC_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00002878*_CYGGCC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao4a709adf2009-12-29 06:16:53 +00002879*_CYGGCC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002880
lgao4636f2be2010-03-12 10:54:01 +00002881*_CYGGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
2882*_CYGGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00002883*_CYGGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2884*_CYGGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2885*_CYGGCC_*_MAKE_FLAGS = /nologo
lgao46780eef2010-11-15 02:51:34 +00002886*_CYGGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
lgao4a709adf2009-12-29 06:16:53 +00002887*_CYGGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2888*_CYGGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2889*_CYGGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2890*_CYGGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002891*_CYGGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002892*_CYGGCC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2893*_CYGGCC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002894
2895##################
2896# IA32 definitions
2897##################
lgao4b303ea72009-11-09 11:47:35 +00002898*_CYGGCC_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
2899*_CYGGCC_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
2900*_CYGGCC_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
2901*_CYGGCC_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
2902*_CYGGCC_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
2903*_CYGGCC_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
2904*_CYGGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
2905*_CYGGCC_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
2906*_CYGGCC_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
2907*_CYGGCC_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00002908*_CYGGCC_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
lgao4636f2be2010-03-12 10:54:01 +00002909*_CYGGCC_IA32_OBJCOPY_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002910
lgao4a709adf2009-12-29 06:16:53 +00002911*_CYGGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2912*_CYGGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00002913*_CYGGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002914
2915##################
2916# X64 definitions
2917##################
jljusten726d5a82009-08-15 05:05:00 +00002918*_CYGGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
2919*_CYGGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
2920*_CYGGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
2921*_CYGGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
2922*_CYGGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
2923*_CYGGCC_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
2924*_CYGGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
2925*_CYGGCC_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
2926*_CYGGCC_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
2927*_CYGGCC_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00002928*_CYGGCC_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
lgao4636f2be2010-03-12 10:54:01 +00002929*_CYGGCC_X64_OBJCOPY_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002930
lgao4a709adf2009-12-29 06:16:53 +00002931*_CYGGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2932*_CYGGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00002933*_CYGGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002934
2935##################
2936# IPF definitions
2937##################
2938*_CYGGCC_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
2939*_CYGGCC_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
2940*_CYGGCC_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
2941*_CYGGCC_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
2942*_CYGGCC_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
2943*_CYGGCC_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
2944*_CYGGCC_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
2945*_CYGGCC_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
2946*_CYGGCC_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
2947*_CYGGCC_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
2948*_CYGGCC_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002949*_CYGGCC_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002950
lgao4a709adf2009-12-29 06:16:53 +00002951*_CYGGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2952*_CYGGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2953*_CYGGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2954*_CYGGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2955*_CYGGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002956
2957##################
2958# EBC definitions
2959##################
2960*_CYGGCC_EBC_*_FAMILY = INTEL
2961
2962*_CYGGCC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2963*_CYGGCC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2964*_CYGGCC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2965*_CYGGCC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2966*_CYGGCC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00002967*_CYGGCC_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002968
2969*_CYGGCC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2970*_CYGGCC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002971*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00002972
2973####################################################################################
2974#
2975# Cygwin GCC And Microsoft ACPI Compiler
2976#
2977####################################################################################
2978# CYGGCCxASL - CygWin GCC
2979# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2980*_CYGGCCxASL_*_*_FAMILY = GCC
2981
2982*_CYGGCCxASL_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00002983*_CYGGCCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002984
2985*_CYGGCCxASL_*_MAKE_FLAGS = /nologo
2986*_CYGGCCxASL_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
2987*_CYGGCCxASL_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20
2988*_CYGGCCxASL_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
2989*_CYGGCCxASL_*_APP_FLAGS = -E -x assembler
2990*_CYGGCCxASL_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
2991
2992##################
2993# ASL definitions
2994##################
2995*_CYGGCCxASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00002996*_CYGGCCxASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00002997*_CYGGCCxASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002998*_CYGGCCxASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2999*_CYGGCCxASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
3000*_CYGGCCxASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
3001
3002##################
3003# IA32 definitions
3004##################
lgao4b303ea72009-11-09 11:47:35 +00003005*_CYGGCCxASL_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
3006*_CYGGCCxASL_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
3007*_CYGGCCxASL_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
3008*_CYGGCCxASL_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
3009*_CYGGCCxASL_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
3010*_CYGGCCxASL_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
3011*_CYGGCCxASL_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
3012*_CYGGCCxASL_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
3013*_CYGGCCxASL_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
3014*_CYGGCCxASL_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00003015*_CYGGCCxASL_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003016
lgao4a709adf2009-12-29 06:16:53 +00003017*_CYGGCCxASL_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
3018*_CYGGCCxASL_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003019
3020##################
3021# X64 definitions
3022##################
jljusten726d5a82009-08-15 05:05:00 +00003023*_CYGGCCxASL_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
3024*_CYGGCCxASL_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
3025*_CYGGCCxASL_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
3026*_CYGGCCxASL_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
3027*_CYGGCCxASL_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
3028*_CYGGCCxASL_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
3029*_CYGGCCxASL_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
3030*_CYGGCCxASL_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
3031*_CYGGCCxASL_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
3032*_CYGGCCxASL_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00003033*_CYGGCCxASL_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003034
lgao4a709adf2009-12-29 06:16:53 +00003035*_CYGGCCxASL_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
3036*_CYGGCCxASL_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003037
3038##################
3039# IPF definitions
3040##################
3041*_CYGGCCxASL_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
3042*_CYGGCCxASL_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
3043*_CYGGCCxASL_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
3044*_CYGGCCxASL_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
3045*_CYGGCCxASL_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
3046*_CYGGCCxASL_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
3047*_CYGGCCxASL_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
3048*_CYGGCCxASL_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
3049*_CYGGCCxASL_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
3050*_CYGGCCxASL_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
3051*_CYGGCCxASL_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00003052*_CYGGCCxASL_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003053
lgao4a709adf2009-12-29 06:16:53 +00003054*_CYGGCCxASL_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
3055*_CYGGCCxASL_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
3056*_CYGGCCxASL_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
3057*_CYGGCCxASL_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
3058*_CYGGCCxASL_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003059
3060##################
3061# EBC definitions
3062##################
3063*_CYGGCCxASL_EBC_*_FAMILY = INTEL
3064
3065*_CYGGCCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3066*_CYGGCCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3067*_CYGGCCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3068*_CYGGCCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3069*_CYGGCCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00003070*_CYGGCCxASL_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003071
3072*_CYGGCCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3073*_CYGGCCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003074*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00003075
3076####################################################################################
3077#
3078# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
3079# binaries.
3080#
3081####################################################################################
3082# ELFGCC - Linux ELF GCC
3083*_ELFGCC_*_*_FAMILY = GCC
3084*_ELFGCC_*_MAKE_PATH = make
3085
3086*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
3087*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
3088
3089##################
3090# ASL definitions
3091##################
3092*_ELFGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00003093*_ELFGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00003094*_ELFGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003095*_ELFGCC_*_ASLPP_FLAGS = -x c -E -P
3096*_ELFGCC_*_ASLCC_FLAGS = -x c
lgao4a709adf2009-12-29 06:16:53 +00003097*_ELFGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
eric_tian3b6c90a2009-04-13 12:50:50 +00003098
3099##################
3100# IA32 definitions
3101##################
lgao4a709adf2009-12-29 06:16:53 +00003102*_ELFGCC_IA32_OBJCOPY_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003103*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc
3104*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar
3105*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld
3106*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc
3107*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc
3108*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
3109*_ELFGCC32_IA32_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
3110*_ELFGCC32_IA32_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
3111*_ELFGCC32_IA32_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
lgao4b303ea72009-11-09 11:47:35 +00003112*_ELFGCC_IA32_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003113
3114*_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
3115*_ELFGCC_IA32_SLINK_FLAGS =
lgao40d2711a2011-10-29 06:59:30 +00003116*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
eric_tian3b6c90a2009-04-13 12:50:50 +00003117#*_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 +00003118*_ELFGCC_IA32_ASM_FLAGS = -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
eric_tian3b6c90a2009-04-13 12:50:50 +00003119*_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3120*_ELFGCC_IA32_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00003121*_ELFGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
3122*_ELFGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00003123
3124##################
3125# X64 definitions
3126##################
3127*_ELFGCC_X64_CC_PATH = DEF(ELFGCC_BIN)/gcc
3128*_ELFGCC_X64_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
3129*_ELFGCC_X64_SLINK_PATH = DEF(ELFGCC_BIN)/ar
3130*_ELFGCC_X64_DLINK_PATH = DEF(ELFGCC_BIN)/ld
3131*_ELFGCC_X64_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
3132*_ELFGCC_X64_ASM_PATH = DEF(ELFGCC_BIN)/gcc
3133*_ELFGCC_X64_PP_PATH = DEF(ELFGCC_BIN)/gcc
3134*_ELFGCC_X64_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
3135*_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00003136*_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003137
3138*_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
lgao40d2711a2011-10-29 06:59:30 +00003139*_ELFGCC_X64_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
eric_tian3b6c90a2009-04-13 12:50:50 +00003140*_ELFGCC_X64_SLINK_FLAGS =
3141*_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
3142*_ELFGCC_X64_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3143*_ELFGCC_X64_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00003144*_ELFGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003145
3146##################
3147# IPF definitions
3148##################
3149*_ELFGCC_IPF_CC_PATH = DEF(ELFGCC_BIN)/gcc
3150*_ELFGCC_IPF_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
3151*_ELFGCC_IPF_SLINK_PATH = DEF(ELFGCC_BIN)/ar
3152*_ELFGCC_IPF_DLINK_PATH = DEF(ELFGCC_BIN)/ld
3153*_ELFGCC_IPF_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
3154*_ELFGCC_IPF_ASM_PATH = DEF(ELFGCC_BIN)/gcc
3155*_ELFGCC_IPF_PP_PATH = DEF(ELFGCC_BIN)/gcc
3156*_ELFGCC_IPF_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
3157*_ELFGCC_IPF_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00003158*_ELFGCC_IPF_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003159
3160*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -Werror -c -include AutoGen.h -D_EFI_P64
lgao40d2711a2011-10-29 06:59:30 +00003161*_ELFGCC_IPF_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
eric_tian3b6c90a2009-04-13 12:50:50 +00003162*_ELFGCC_IPF_SLINK_FLAGS =
3163*_ELFGCC_IPF_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
3164*_ELFGCC_IPF_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3165*_ELFGCC_IPF_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00003166*_ELFGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003167
3168####################################################################################
3169#
jljusten07a756b2007-10-17 01:54:36 +00003170# Intel(R) C++ Compiler Version 9.1
3171#
3172# 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 +00003173# ASL - Intel ACPI Source Language Compiler
jljusten07a756b2007-10-17 01:54:36 +00003174#
3175####################################################################################
3176# ICC - Intel C Compiler V9.1
3177*_ICC_*_*_FAMILY = INTEL
3178
lgao4b303ea72009-11-09 11:47:35 +00003179*_ICC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3180*_ICC_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003181
3182*_ICC_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00003183*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00003184*_ICC_*_APP_FLAGS = /nologo /E /TC
3185*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3186
qhuang814c48572010-07-21 02:46:15 +00003187*_ICC_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3188
eric_tian3b6c90a2009-04-13 12:50:50 +00003189##################
3190# ASL definitions
3191##################
lgao4a709adf2009-12-29 06:16:53 +00003192*_ICC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3193*_ICC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3194*_ICC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003195*_ICC_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3196*_ICC_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3197*_ICC_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
lgao4a1c949f2008-08-21 13:11:01 +00003198
jljusten07a756b2007-10-17 01:54:36 +00003199##################
3200# IA32 definitions
3201##################
jljusten07a756b2007-10-17 01:54:36 +00003202*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
3203*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
3204# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003205*_ICC_IA32_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00003206*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00003207*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
3208*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
3209*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00003210*_ICC_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3211*_ICC_IA32_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00003212*_ICC_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
3213*_ICC_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
3214*_ICC_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00003215
qhuang89053bc52010-06-28 09:33:10 +00003216 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
3217RELEASE_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 +00003218NOOPT_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
3219
lhauch7e6ae4d2007-11-28 01:20:03 +00003220 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3221RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003222NOOPT_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3223
jljusten07a756b2007-10-17 01:54:36 +00003224 *_ICC_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003225 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
3226RELEASE_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
3227NOOPT_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 +00003228
3229##################
3230# X64 definitions
3231##################
jljusten07a756b2007-10-17 01:54:36 +00003232*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
3233*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
3234# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003235*_ICC_X64_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00003236*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00003237*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
3238*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
3239*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
3240*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00003241*_ICC_X64_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00003242*_ICC_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
3243*_ICC_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
3244*_ICC_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00003245
qhuang89053bc52010-06-28 09:33:10 +00003246 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
3247RELEASE_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 +00003248NOOPT_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
3249
lhauch7e6ae4d2007-11-28 01:20:03 +00003250 DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3251RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003252NOOPT_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3253
3254 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
3255RELEASE_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
3256NOOPT_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
3257
jljusten07a756b2007-10-17 01:54:36 +00003258 *_ICC_X64_SLINK_FLAGS = /nologo /LTCG
3259
3260
3261##################
3262# IPF definitions
3263##################
3264*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
3265# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003266*_ICC_IPF_CC_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00003267*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
3268# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003269*_ICC_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
jljusten07a756b2007-10-17 01:54:36 +00003270*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00003271*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
3272*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
jljusten07a756b2007-10-17 01:54:36 +00003273*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
3274*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00003275*_ICC_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
3276*_ICC_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
3277*_ICC_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00003278
qhuang88e2978b2009-09-01 15:03:44 +00003279 DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3280RELEASE_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 +00003281NOOPT_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3282
jljusten07a756b2007-10-17 01:54:36 +00003283 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3284RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003285NOOPT_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3286
lgao46780eef2010-11-15 02:51:34 +00003287 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
3288RELEASE_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 +00003289NOOPT_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
3290
jljusten07a756b2007-10-17 01:54:36 +00003291 *_ICC_IPF_SLINK_FLAGS = /nologo
3292
eric_tian3b6c90a2009-04-13 12:50:50 +00003293##################
3294# EBC definitions
3295##################
3296*_ICC_EBC_*_FAMILY = INTEL
3297
lgao4b303ea72009-11-09 11:47:35 +00003298*_ICC_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003299*_ICC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3300*_ICC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3301*_ICC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3302*_ICC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3303*_ICC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3304
3305*_ICC_EBC_MAKE_FLAGS = /nologo
3306*_ICC_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3307*_ICC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3308*_ICC_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3309*_ICC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003310*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00003311
3312####################################################################################
3313#
3314# Intel(R) C++ Compiler Version 9.1
3315#
3316# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
3317# ASL - Microsoft ACPI Source Language Compiler
3318#
3319####################################################################################
3320# ICCxASL - Intel C Compiler V9.1
3321*_ICCxASL_*_*_FAMILY = INTEL
3322
lgao4b303ea72009-11-09 11:47:35 +00003323*_ICCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3324*_ICCxASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003325
3326*_ICCxASL_*_MAKE_FLAGS = /nologo
3327*_ICCxASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3328*_ICCxASL_*_APP_FLAGS = /nologo /E /TC
3329*_ICCxASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3330
qhuang814c48572010-07-21 02:46:15 +00003331*_ICCxASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3332
eric_tian3b6c90a2009-04-13 12:50:50 +00003333##################
3334# ASL definitions
3335##################
lgao4a709adf2009-12-29 06:16:53 +00003336*_ICCxASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3337*_ICCxASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3338*_ICCxASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003339*_ICCxASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3340*_ICCxASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3341*_ICCxASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3342
3343##################
3344# IA32 definitions
3345##################
3346*_ICCxASL_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
3347*_ICCxASL_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
3348# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003349*_ICCxASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003350*_ICCxASL_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003351*_ICCxASL_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
3352*_ICCxASL_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
3353*_ICCxASL_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00003354*_ICCxASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3355*_ICCxASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003356*_ICCxASL_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
3357*_ICCxASL_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
3358*_ICCxASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
3359
qhuang89053bc52010-06-28 09:33:10 +00003360 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
3361RELEASE_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 +00003362NOOPT_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
3363
eric_tian3b6c90a2009-04-13 12:50:50 +00003364 DEBUG_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3365RELEASE_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003366NOOPT_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3367
eric_tian3b6c90a2009-04-13 12:50:50 +00003368 *_ICCxASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003369 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
3370RELEASE_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
3371NOOPT_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 +00003372
3373##################
3374# X64 definitions
3375##################
3376*_ICCxASL_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
3377*_ICCxASL_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
3378# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003379*_ICCxASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003380*_ICCxASL_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
3381*_ICCxASL_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
3382*_ICCxASL_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
3383*_ICCxASL_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
3384*_ICCxASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00003385*_ICCxASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003386*_ICCxASL_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
3387*_ICCxASL_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
3388*_ICCxASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
3389
qhuang89053bc52010-06-28 09:33:10 +00003390 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
3391RELEASE_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 +00003392NOOPT_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
3393
eric_tian3b6c90a2009-04-13 12:50:50 +00003394 DEBUG_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3395RELEASE_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003396NOOPT_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3397
3398 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
3399RELEASE_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
3400NOOPT_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
3401
eric_tian3b6c90a2009-04-13 12:50:50 +00003402 *_ICCxASL_X64_SLINK_FLAGS = /nologo /LTCG
3403
3404
3405##################
3406# IPF definitions
3407##################
3408*_ICCxASL_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
3409# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003410*_ICCxASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003411*_ICCxASL_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
3412# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003413*_ICCxASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003414*_ICCxASL_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
3415*_ICCxASL_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
3416*_ICCxASL_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
3417*_ICCxASL_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
3418*_ICCxASL_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
3419*_ICCxASL_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
3420*_ICCxASL_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
3421*_ICCxASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
3422
qhuang88e2978b2009-09-01 15:03:44 +00003423 DEBUG_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3424RELEASE_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 +00003425NOOPT_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3426
eric_tian3b6c90a2009-04-13 12:50:50 +00003427 DEBUG_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3428RELEASE_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003429NOOPT_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3430
lgao46780eef2010-11-15 02:51:34 +00003431 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
3432RELEASE_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 +00003433NOOPT_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
3434
eric_tian3b6c90a2009-04-13 12:50:50 +00003435 *_ICCxASL_IPF_SLINK_FLAGS = /nologo
3436
3437##################
3438# EBC definitions
3439##################
3440*_ICCxASL_EBC_*_FAMILY = INTEL
3441
lgao4b303ea72009-11-09 11:47:35 +00003442*_ICCxASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003443*_ICCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3444*_ICCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3445*_ICCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3446*_ICCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3447*_ICCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3448
3449*_ICCxASL_EBC_MAKE_FLAGS = /nologo
3450*_ICCxASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3451*_ICCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3452*_ICCxASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3453*_ICCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003454*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00003455
3456
3457####################################################################################
3458#
3459# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
3460#
3461# ICCx86 - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
3462# ASL - Intel ACPI Source Language Compiler
3463#
3464####################################################################################
3465# ICCx86 - Intel C Compiler V9.1
3466*_ICCx86_*_*_FAMILY = INTEL
3467
lgao4b36d1342011-09-18 12:17:25 +00003468*_ICCx86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3469*_ICCx86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003470
3471*_ICCx86_*_MAKE_FLAGS = /nologo
3472*_ICCx86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3473*_ICCx86_*_APP_FLAGS = /nologo /E /TC
3474*_ICCx86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3475
lgao4b36d1342011-09-18 12:17:25 +00003476*_ICCx86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00003477
eric_tian3b6c90a2009-04-13 12:50:50 +00003478##################
3479# ASL definitions
3480##################
lgao4a709adf2009-12-29 06:16:53 +00003481*_ICCx86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3482*_ICCx86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3483*_ICCx86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003484*_ICCx86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3485*_ICCx86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3486*_ICCx86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3487
3488##################
3489# IA32 definitions
3490##################
3491*_ICCx86_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
3492*_ICCx86_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
3493# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003494*_ICCx86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003495*_ICCx86_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003496*_ICCx86_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
3497*_ICCx86_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3498*_ICCx86_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003499*_ICCx86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3500*_ICCx86_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003501*_ICCx86_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
3502*_ICCx86_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3503*_ICCx86_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
3504
qhuang89053bc52010-06-28 09:33:10 +00003505 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
3506RELEASE_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 +00003507NOOPT_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
3508
eric_tian3b6c90a2009-04-13 12:50:50 +00003509 DEBUG_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3510RELEASE_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003511NOOPT_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3512
eric_tian3b6c90a2009-04-13 12:50:50 +00003513 *_ICCx86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003514 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
3515RELEASE_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
3516NOOPT_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 +00003517
3518##################
3519# X64 definitions
3520##################
3521*_ICCx86_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
3522*_ICCx86_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
3523# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003524*_ICCx86_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003525*_ICCx86_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3526*_ICCx86_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
3527*_ICCx86_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3528*_ICCx86_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
3529*_ICCx86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003530*_ICCx86_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003531*_ICCx86_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
3532*_ICCx86_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3533*_ICCx86_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3534
qhuang89053bc52010-06-28 09:33:10 +00003535 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
3536RELEASE_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 +00003537NOOPT_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
3538
eric_tian3b6c90a2009-04-13 12:50:50 +00003539 DEBUG_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3540RELEASE_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003541NOOPT_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3542
3543 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
3544RELEASE_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
3545NOOPT_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
3546
eric_tian3b6c90a2009-04-13 12:50:50 +00003547 *_ICCx86_X64_SLINK_FLAGS = /nologo /LTCG
3548
3549
3550##################
3551# IPF definitions
3552##################
3553*_ICCx86_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
3554# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003555*_ICCx86_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003556*_ICCx86_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
3557# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003558*_ICCx86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003559*_ICCx86_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3560*_ICCx86_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
3561*_ICCx86_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3562*_ICCx86_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
3563*_ICCx86_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
3564*_ICCx86_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
3565*_ICCx86_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3566*_ICCx86_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3567
qhuang88e2978b2009-09-01 15:03:44 +00003568 DEBUG_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3569RELEASE_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 +00003570NOOPT_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3571
eric_tian3b6c90a2009-04-13 12:50:50 +00003572 DEBUG_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3573RELEASE_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003574NOOPT_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3575
lgao46780eef2010-11-15 02:51:34 +00003576 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
3577RELEASE_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 +00003578NOOPT_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
3579
eric_tian3b6c90a2009-04-13 12:50:50 +00003580 *_ICCx86_IPF_SLINK_FLAGS = /nologo
3581
3582##################
3583# EBC definitions
3584##################
3585*_ICCx86_EBC_*_FAMILY = INTEL
3586
lgao4b36d1342011-09-18 12:17:25 +00003587*_ICCx86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003588*_ICCx86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3589*_ICCx86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3590*_ICCx86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3591*_ICCx86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3592*_ICCx86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003593
3594*_ICCx86_EBC_MAKE_FLAGS = /nologo
3595*_ICCx86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3596*_ICCx86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3597*_ICCx86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3598*_ICCx86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003599*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00003600
3601
3602####################################################################################
3603#
3604# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
3605#
3606# ICCx86xASL - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
3607# ASL - Microsoft ACPI Source Language Compiler
3608#
3609####################################################################################
3610# ICCx86xASL - Intel C Compiler V9.1
3611*_ICCx86xASL_*_*_FAMILY = INTEL
3612
lgao4b36d1342011-09-18 12:17:25 +00003613*_ICCx86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3614*_ICCx86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003615
3616*_ICCx86xASL_*_MAKE_FLAGS = /nologo
3617*_ICCx86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3618*_ICCx86xASL_*_APP_FLAGS = /nologo /E /TC
3619*_ICCx86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3620
lgao4b36d1342011-09-18 12:17:25 +00003621*_ICCx86ASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00003622
eric_tian3b6c90a2009-04-13 12:50:50 +00003623##################
3624# ASL definitions
3625##################
3626*_ICCx86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao438d49982009-06-17 09:34:46 +00003627*_ICCx86xASL_*_ASL_FLAGS =
3628*_ICCx86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003629*_ICCx86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3630*_ICCx86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3631*_ICCx86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3632
3633##################
3634# IA32 definitions
3635##################
3636*_ICCx86xASL_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
3637*_ICCx86xASL_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
3638# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003639*_ICCx86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003640*_ICCx86xASL_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003641*_ICCx86xASL_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
3642*_ICCx86xASL_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3643*_ICCx86xASL_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003644*_ICCx86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3645*_ICCx86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003646*_ICCx86xASL_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
3647*_ICCx86xASL_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3648*_ICCx86xASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
3649
qhuang89053bc52010-06-28 09:33:10 +00003650 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
3651RELEASE_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 +00003652NOOPT_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
3653
eric_tian3b6c90a2009-04-13 12:50:50 +00003654 DEBUG_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3655RELEASE_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003656NOOPT_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3657
eric_tian3b6c90a2009-04-13 12:50:50 +00003658 *_ICCx86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003659 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
3660RELEASE_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
3661NOOPT_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 +00003662
3663##################
3664# X64 definitions
3665##################
3666*_ICCx86xASL_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
3667*_ICCx86xASL_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
3668# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003669*_ICCx86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003670*_ICCx86xASL_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3671*_ICCx86xASL_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
3672*_ICCx86xASL_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3673*_ICCx86xASL_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
3674*_ICCx86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003675*_ICCx86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003676*_ICCx86xASL_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
3677*_ICCx86xASL_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3678*_ICCx86xASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3679
qhuang89053bc52010-06-28 09:33:10 +00003680 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
3681RELEASE_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 +00003682NOOPT_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
3683
eric_tian3b6c90a2009-04-13 12:50:50 +00003684 DEBUG_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3685RELEASE_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003686NOOPT_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3687
3688 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
3689RELEASE_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
3690NOOPT_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
3691
eric_tian3b6c90a2009-04-13 12:50:50 +00003692 *_ICCx86xASL_X64_SLINK_FLAGS = /nologo /LTCG
3693
3694
3695##################
3696# IPF definitions
3697##################
3698*_ICCx86xASL_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
3699# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003700*_ICCx86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003701*_ICCx86xASL_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
3702# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003703*_ICCx86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003704*_ICCx86xASL_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3705*_ICCx86xASL_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
3706*_ICCx86xASL_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3707*_ICCx86xASL_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
3708*_ICCx86xASL_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
3709*_ICCx86xASL_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
3710*_ICCx86xASL_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3711*_ICCx86xASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3712
qhuang88e2978b2009-09-01 15:03:44 +00003713 DEBUG_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3714RELEASE_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 +00003715NOOPT_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3716
eric_tian3b6c90a2009-04-13 12:50:50 +00003717 DEBUG_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3718RELEASE_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003719NOOPT_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3720
lgao46780eef2010-11-15 02:51:34 +00003721 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
3722RELEASE_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 +00003723NOOPT_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
3724
eric_tian3b6c90a2009-04-13 12:50:50 +00003725 *_ICCx86xASL_IPF_SLINK_FLAGS = /nologo
3726
3727##################
3728# EBC definitions
3729##################
3730*_ICCx86xASL_EBC_*_FAMILY = INTEL
3731
lgao4b36d1342011-09-18 12:17:25 +00003732*_ICCx86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003733*_ICCx86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3734*_ICCx86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3735*_ICCx86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3736*_ICCx86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3737*_ICCx86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003738
3739*_ICCx86xASL_EBC_MAKE_FLAGS = /nologo
3740*_ICCx86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3741*_ICCx86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3742*_ICCx86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3743*_ICCx86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003744*_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 /ALIGN:32 /DRIVER
eric_tian3b6c90a2009-04-13 12:50:50 +00003745
3746
jljusten07a756b2007-10-17 01:54:36 +00003747####################################################################################
3748#
qhuang89053bc52010-06-28 09:33:10 +00003749# Intel(R) C++ Compiler Version 11.1
lgao4b36d1342011-09-18 12:17:25 +00003750# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3751# 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)
3752# 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 +00003753# ASL - Intel ACPI Source Language Compiler
3754#
3755####################################################################################
3756# ICC11 - Intel C Compiler V11.1
3757*_ICC11_*_*_FAMILY = INTEL
3758
3759*_ICC11_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3760*_ICC11_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
3761
3762*_ICC11_*_MAKE_FLAGS = /nologo
3763*_ICC11_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3764*_ICC11_*_APP_FLAGS = /nologo /E /TC
3765*_ICC11_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3766
qhuang814c48572010-07-21 02:46:15 +00003767*_ICC11_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3768
qhuang89053bc52010-06-28 09:33:10 +00003769##################
3770# ASL definitions
3771##################
3772*_ICC11_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3773*_ICC11_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3774*_ICC11_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3775*_ICC11_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3776*_ICC11_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3777*_ICC11_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3778
3779##################
3780# IA32 definitions
3781##################
3782*_ICC11_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
3783*_ICC11_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
3784# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003785*_ICC11_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003786*_ICC11_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003787*_ICC11_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
3788*_ICC11_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
3789*_ICC11_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
3790*_ICC11_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3791*_ICC11_IA32_ASM_DLL = DEF(MS_VS_DLL)
3792*_ICC11_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
3793*_ICC11_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
3794*_ICC11_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
3795
3796 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
3797RELEASE_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 +00003798NOOPT_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
3799
qhuang89053bc52010-06-28 09:33:10 +00003800 DEBUG_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3801RELEASE_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003802NOOPT_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003803 *_ICC11_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003804 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
3805RELEASE_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
3806NOOPT_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 +00003807
3808##################
3809# X64 definitions
3810##################
3811*_ICC11_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
3812*_ICC11_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
3813# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003814*_ICC11_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003815*_ICC11_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3816*_ICC11_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
3817*_ICC11_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
3818*_ICC11_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
3819*_ICC11_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3820*_ICC11_X64_ASM_DLL = DEF(MS_VS_DLL)
3821*_ICC11_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
3822*_ICC11_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
3823*_ICC11_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3824
3825 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
3826RELEASE_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 +00003827NOOPT_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
3828
qhuang89053bc52010-06-28 09:33:10 +00003829 DEBUG_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3830RELEASE_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003831NOOPT_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3832 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
3833RELEASE_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
3834NOOPT_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
3835
qhuang89053bc52010-06-28 09:33:10 +00003836 *_ICC11_X64_SLINK_FLAGS = /nologo /LTCG
3837
3838
3839##################
3840# IPF definitions
3841##################
3842*_ICC11_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
3843# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003844*_ICC11_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003845*_ICC11_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
3846# xilib.exe needs lib.exe from Visual Studio
3847*_ICC11_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
3848*_ICC11_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3849*_ICC11_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
3850*_ICC11_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
3851*_ICC11_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
3852*_ICC11_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
3853*_ICC11_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
3854*_ICC11_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
3855*_ICC11_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3856
3857 DEBUG_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3858RELEASE_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 +00003859NOOPT_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3860
qhuang89053bc52010-06-28 09:33:10 +00003861 DEBUG_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3862RELEASE_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003863NOOPT_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003864 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
3865RELEASE_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 +00003866NOOPT_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
3867
qhuang89053bc52010-06-28 09:33:10 +00003868 *_ICC11_IPF_SLINK_FLAGS = /nologo
3869
3870##################
3871# EBC definitions
3872##################
3873*_ICC11_EBC_*_FAMILY = INTEL
3874
3875*_ICC11_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3876*_ICC11_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3877*_ICC11_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3878*_ICC11_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3879*_ICC11_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3880*_ICC11_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3881
3882*_ICC11_EBC_MAKE_FLAGS = /nologo
3883*_ICC11_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3884*_ICC11_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3885*_ICC11_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3886*_ICC11_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003887*_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 /ALIGN:32 /DRIVER
qhuang89053bc52010-06-28 09:33:10 +00003888
3889####################################################################################
3890#
3891# Intel(R) C++ Compiler Version 11.1
3892#
lgao4b36d1342011-09-18 12:17:25 +00003893# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3894# 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)
3895# 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 +00003896# ASL - Microsoft ACPI Source Language Compiler
3897#
3898####################################################################################
3899# ICC11xASL - Intel C Compiler V11.1
3900*_ICC11xASL_*_*_FAMILY = INTEL
3901
3902*_ICC11xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3903*_ICC11xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
3904
3905*_ICC11xASL_*_MAKE_FLAGS = /nologo
3906*_ICC11xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3907*_ICC11xASL_*_APP_FLAGS = /nologo /E /TC
3908*_ICC11xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3909
qhuang814c48572010-07-21 02:46:15 +00003910*_ICC11xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3911
qhuang89053bc52010-06-28 09:33:10 +00003912##################
3913# ASL definitions
3914##################
3915*_ICC11xASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3916*_ICC11xASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3917*_ICC11xASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3918*_ICC11xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3919*_ICC11xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3920*_ICC11xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3921
3922##################
3923# IA32 definitions
3924##################
3925*_ICC11xASL_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
3926*_ICC11xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
3927# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003928*_ICC11xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003929*_ICC11xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003930*_ICC11xASL_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
3931*_ICC11xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
3932*_ICC11xASL_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
3933*_ICC11xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3934*_ICC11xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
3935*_ICC11xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
3936*_ICC11xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
3937*_ICC11xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
3938
3939 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
3940RELEASE_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 +00003941NOOPT_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
3942
qhuang89053bc52010-06-28 09:33:10 +00003943 DEBUG_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3944RELEASE_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003945NOOPT_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003946 *_ICC11xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003947 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
3948RELEASE_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
3949NOOPT_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 +00003950
3951##################
3952# X64 definitions
3953##################
3954*_ICC11xASL_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
3955*_ICC11xASL_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
3956# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003957*_ICC11xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003958*_ICC11xASL_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3959*_ICC11xASL_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
3960*_ICC11xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
3961*_ICC11xASL_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
3962*_ICC11xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3963*_ICC11xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
3964*_ICC11xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
3965*_ICC11xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
3966*_ICC11xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3967
3968 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
3969RELEASE_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 +00003970NOOPT_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
3971
qhuang89053bc52010-06-28 09:33:10 +00003972 DEBUG_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3973RELEASE_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003974NOOPT_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3975 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
3976RELEASE_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
3977NOOPT_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
3978
qhuang89053bc52010-06-28 09:33:10 +00003979 *_ICC11xASL_X64_SLINK_FLAGS = /nologo /LTCG
3980
3981
3982##################
3983# IPF definitions
3984##################
3985*_ICC11xASL_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
3986# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003987*_ICC11xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003988*_ICC11xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
3989# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003990*_ICC11xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003991*_ICC11xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3992*_ICC11xASL_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
3993*_ICC11xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
3994*_ICC11xASL_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
3995*_ICC11xASL_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
3996*_ICC11xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
3997*_ICC11xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
3998*_ICC11xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3999
4000 DEBUG_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4001RELEASE_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 +00004002NOOPT_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4003
qhuang89053bc52010-06-28 09:33:10 +00004004 DEBUG_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4005RELEASE_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004006NOOPT_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4007
lgao46780eef2010-11-15 02:51:34 +00004008 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
4009RELEASE_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 +00004010NOOPT_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
4011
qhuang89053bc52010-06-28 09:33:10 +00004012 *_ICC11xASL_IPF_SLINK_FLAGS = /nologo
4013
4014##################
4015# EBC definitions
4016##################
4017*_ICC11xASL_EBC_*_FAMILY = INTEL
4018
4019*_ICC11xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4020*_ICC11xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
4021*_ICC11xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
4022*_ICC11xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
4023*_ICC11xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
4024*_ICC11xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
4025
4026*_ICC11xASL_EBC_MAKE_FLAGS = /nologo
4027*_ICC11xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4028*_ICC11xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4029*_ICC11xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4030*_ICC11xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004031*_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 /ALIGN:32 /DRIVER
qhuang89053bc52010-06-28 09:33:10 +00004032
4033
4034####################################################################################
4035#
4036# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
4037#
lgao4b36d1342011-09-18 12:17:25 +00004038# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
4039# 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)
4040# 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 +00004041# ASL - Intel ACPI Source Language Compiler
4042#
4043####################################################################################
4044# ICC11x86 - Intel C Compiler V11.1
4045*_ICC11x86_*_*_FAMILY = INTEL
4046
lgao4b36d1342011-09-18 12:17:25 +00004047*_ICC11x86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4048*_ICC11x86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00004049
4050*_ICC11x86_*_MAKE_FLAGS = /nologo
4051*_ICC11x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4052*_ICC11x86_*_APP_FLAGS = /nologo /E /TC
4053*_ICC11x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4054
lgao4b36d1342011-09-18 12:17:25 +00004055*_ICC11x86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00004056
qhuang89053bc52010-06-28 09:33:10 +00004057##################
4058# ASL definitions
4059##################
4060*_ICC11x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4061*_ICC11x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4062*_ICC11x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
4063*_ICC11x86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4064*_ICC11x86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4065*_ICC11x86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4066
4067##################
4068# IA32 definitions
4069##################
4070*_ICC11x86_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
4071*_ICC11x86_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
4072# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004073*_ICC11x86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004074*_ICC11x86_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00004075*_ICC11x86_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4076*_ICC11x86_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4077*_ICC11x86_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00004078*_ICC11x86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4079*_ICC11x86_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004080*_ICC11x86_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
4081*_ICC11x86_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4082*_ICC11x86_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
4083
4084 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
4085RELEASE_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 +00004086NOOPT_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 +00004087 DEBUG_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4088RELEASE_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004089NOOPT_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00004090 *_ICC11x86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004091 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
4092RELEASE_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
4093NOOPT_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 +00004094
4095##################
4096# X64 definitions
4097##################
4098*_ICC11x86_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
4099*_ICC11x86_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
4100# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004101*_ICC11x86_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004102*_ICC11x86_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
4103*_ICC11x86_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4104*_ICC11x86_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4105*_ICC11x86_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4106*_ICC11x86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00004107*_ICC11x86_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004108*_ICC11x86_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
4109*_ICC11x86_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4110*_ICC11x86_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
4111
4112 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
4113RELEASE_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 +00004114NOOPT_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 +00004115 DEBUG_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4116RELEASE_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004117NOOPT_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4118 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
4119RELEASE_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
4120NOOPT_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
4121
qhuang89053bc52010-06-28 09:33:10 +00004122 *_ICC11x86_X64_SLINK_FLAGS = /nologo /LTCG
4123
4124
4125##################
4126# IPF definitions
4127##################
4128*_ICC11x86_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
4129# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004130*_ICC11x86_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004131*_ICC11x86_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
4132# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004133*_ICC11x86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004134*_ICC11x86_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
4135*_ICC11x86_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4136*_ICC11x86_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4137*_ICC11x86_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4138*_ICC11x86_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
4139*_ICC11x86_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
4140*_ICC11x86_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4141*_ICC11x86_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
4142
4143 DEBUG_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4144RELEASE_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 +00004145NOOPT_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4146
qhuang89053bc52010-06-28 09:33:10 +00004147 DEBUG_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4148RELEASE_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004149NOOPT_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00004150 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
4151RELEASE_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 +00004152NOOPT_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
4153
qhuang89053bc52010-06-28 09:33:10 +00004154 *_ICC11x86_IPF_SLINK_FLAGS = /nologo
4155
4156##################
4157# EBC definitions
4158##################
4159*_ICC11x86_EBC_*_FAMILY = INTEL
4160
lgao4b36d1342011-09-18 12:17:25 +00004161*_ICC11x86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00004162*_ICC11x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
4163*_ICC11x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
4164*_ICC11x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
4165*_ICC11x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
4166*_ICC11x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00004167
4168*_ICC11x86_EBC_MAKE_FLAGS = /nologo
4169*_ICC11x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4170*_ICC11x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4171*_ICC11x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4172*_ICC11x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004173*_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 /ALIGN:32 /DRIVER
qhuang89053bc52010-06-28 09:33:10 +00004174
4175
4176####################################################################################
4177#
4178# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
4179#
lgao4b36d1342011-09-18 12:17:25 +00004180# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
4181# 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)
4182# 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 +00004183# ASL - Microsoft ACPI Source Language Compiler
4184#
4185####################################################################################
4186# ICC11x86xASL - Intel C Compiler V11.1
4187*_ICC11x86xASL_*_*_FAMILY = INTEL
4188
lgao4b36d1342011-09-18 12:17:25 +00004189*_ICC11x86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4190*_ICC11x86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00004191
4192*_ICC11x86xASL_*_MAKE_FLAGS = /nologo
4193*_ICC11x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4194*_ICC11x86xASL_*_APP_FLAGS = /nologo /E /TC
4195*_ICC11x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4196
lgao4b36d1342011-09-18 12:17:25 +00004197*_ICC11x86xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00004198
qhuang89053bc52010-06-28 09:33:10 +00004199##################
4200# ASL definitions
4201##################
4202*_ICC11x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
4203*_ICC11x86xASL_*_ASL_FLAGS =
4204*_ICC11x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
4205*_ICC11x86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4206*_ICC11x86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4207*_ICC11x86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4208
4209##################
4210# IA32 definitions
4211##################
4212*_ICC11x86xASL_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
4213*_ICC11x86xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
4214# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004215*_ICC11x86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004216*_ICC11x86xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00004217*_ICC11x86xASL_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4218*_ICC11x86xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4219*_ICC11x86xASL_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00004220*_ICC11x86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4221*_ICC11x86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004222*_ICC11x86xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
4223*_ICC11x86xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4224*_ICC11x86xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
4225
4226 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
4227RELEASE_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 +00004228NOOPT_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
4229
qhuang89053bc52010-06-28 09:33:10 +00004230 DEBUG_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4231RELEASE_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004232NOOPT_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00004233 *_ICC11x86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004234 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
4235RELEASE_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
4236NOOPT_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 +00004237
4238##################
4239# X64 definitions
4240##################
4241*_ICC11x86xASL_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
4242*_ICC11x86xASL_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
4243# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004244*_ICC11x86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004245*_ICC11x86xASL_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
4246*_ICC11x86xASL_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4247*_ICC11x86xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4248*_ICC11x86xASL_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4249*_ICC11x86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00004250*_ICC11x86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004251*_ICC11x86xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
4252*_ICC11x86xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
4253*_ICC11x86xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
4254
4255 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
4256RELEASE_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 +00004257NOOPT_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
4258
qhuang89053bc52010-06-28 09:33:10 +00004259 DEBUG_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4260RELEASE_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004261NOOPT_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4262 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
4263RELEASE_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
4264NOOPT_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
4265
qhuang89053bc52010-06-28 09:33:10 +00004266 *_ICC11x86xASL_X64_SLINK_FLAGS = /nologo /LTCG
4267
4268
4269##################
4270# IPF definitions
4271##################
4272*_ICC11x86xASL_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
4273# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004274*_ICC11x86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004275*_ICC11x86xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
4276# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004277*_ICC11x86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004278*_ICC11x86xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
4279*_ICC11x86xASL_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4280*_ICC11x86xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4281*_ICC11x86xASL_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4282*_ICC11x86xASL_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
4283*_ICC11x86xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
4284*_ICC11x86xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
4285*_ICC11x86xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
4286
4287 DEBUG_ICC11x86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4288RELEASE_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 +00004289NOOPT_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 +00004290 DEBUG_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4291RELEASE_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004292NOOPT_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00004293 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
4294RELEASE_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 +00004295NOOPT_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 +00004296 *_ICC11x86xASL_IPF_SLINK_FLAGS = /nologo
4297
4298##################
4299# EBC definitions
4300##################
4301*_ICC11x86xASL_EBC_*_FAMILY = INTEL
4302
lgao4b36d1342011-09-18 12:17:25 +00004303*_ICC11x86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00004304*_ICC11x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
4305*_ICC11x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
4306*_ICC11x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
4307*_ICC11x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
4308*_ICC11x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00004309
4310*_ICC11x86xASL_EBC_MAKE_FLAGS = /nologo
4311*_ICC11x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4312*_ICC11x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4313*_ICC11x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4314*_ICC11x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004315*_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 /ALIGN:32 /DRIVER
qhuang89053bc52010-06-28 09:33:10 +00004316
4317
4318####################################################################################
4319#
jljusten07a756b2007-10-17 01:54:36 +00004320# MYTOOLS
qhuang814c48572010-07-21 02:46:15 +00004321# IA32 - Microsoft Visual Studio 2008 Team Suite
4322# X64 - Microsoft Visual Studio 2008 Team Suite
jljusten07a756b2007-10-17 01:54:36 +00004323# IPF - Microsoft Windows DDK 3790.1830
4324# EBC - Intel EFI Byte Code Compiler
4325#
4326####################################################################################
4327# MYTOOLS - Settings compatible with previous versions of tools_def.template
4328*_MYTOOLS_*_*_FAMILY = MSFT
4329
eric_tian3b6c90a2009-04-13 12:50:50 +00004330##################
4331# ASL definitions
4332##################
lgao4a709adf2009-12-29 06:16:53 +00004333*_MYTOOLS_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4334*_MYTOOLS_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4335*_MYTOOLS_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
qhuang89053bc52010-06-28 09:33:10 +00004336*_MYTOOLS_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
4337*_MYTOOLS_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
4338*_MYTOOLS_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004339
jljusten07a756b2007-10-17 01:54:36 +00004340
jwang3604e031d2007-10-31 09:07:31 +00004341*_MYTOOLS_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00004342*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jwang3604e031d2007-10-31 09:07:31 +00004343*_MYTOOLS_*_APP_FLAGS = /nologo /E /TC
4344*_MYTOOLS_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4345*_MYTOOLS_*_SLINK_FLAGS = /nologo /LTCG
jljusten07a756b2007-10-17 01:54:36 +00004346
qhuang814c48572010-07-21 02:46:15 +00004347*_MYTOOLS_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
4348
jljusten07a756b2007-10-17 01:54:36 +00004349##################
4350# IA32 definitions
4351##################
qhuang814c48572010-07-21 02:46:15 +00004352*_MYTOOLS_IA32_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00004353
qhuang814c48572010-07-21 02:46:15 +00004354*_MYTOOLS_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
4355*_MYTOOLS_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
4356*_MYTOOLS_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
4357*_MYTOOLS_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
4358*_MYTOOLS_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
4359*_MYTOOLS_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
4360*_MYTOOLS_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
4361*_MYTOOLS_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
4362*_MYTOOLS_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
4363*_MYTOOLS_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
4364*_MYTOOLS_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00004365*_MYTOOLS_IA32_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00004366
qhuang89053bc52010-06-28 09:33:10 +00004367 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4368RELEASE_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 +00004369NOOPT_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 +00004370 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
4371RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004372NOOPT_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
4373 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
4374RELEASE_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
4375NOOPT_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 +00004376
4377##################
4378# x64 definitions
4379##################
qhuang814c48572010-07-21 02:46:15 +00004380*_MYTOOLS_X64_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00004381
qhuang814c48572010-07-21 02:46:15 +00004382*_MYTOOLS_X64_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
4383*_MYTOOLS_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
4384*_MYTOOLS_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
4385*_MYTOOLS_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
4386*_MYTOOLS_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
4387*_MYTOOLS_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
4388*_MYTOOLS_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
4389*_MYTOOLS_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
4390*_MYTOOLS_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
4391*_MYTOOLS_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
4392*_MYTOOLS_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00004393*_MYTOOLS_X64_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jwang3604e031d2007-10-31 09:07:31 +00004394
qhuang89053bc52010-06-28 09:33:10 +00004395 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4396RELEASE_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 +00004397NOOPT_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 +00004398 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4399RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004400NOOPT_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4401 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
4402RELEASE_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
4403NOOPT_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 +00004404
4405##################
4406# IPF definitions
4407##################
4408*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
4409*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
4410*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
4411*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
jljusten07a756b2007-10-17 01:54:36 +00004412*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
4413*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
4414*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
4415*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00004416*_MYTOOLS_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
4417*_MYTOOLS_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
4418*_MYTOOLS_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
lgao4b303ea72009-11-09 11:47:35 +00004419*_MYTOOLS_IPF_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00004420
lgao4b303ea72009-11-09 11:47:35 +00004421 *_MYTOOLS_IPF_ASM_OUTPUT = "-o "
lgao44ee82542008-03-14 03:12:29 +00004422 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 +00004423RELEASE_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 +00004424NOOPT_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 +00004425 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
4426RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00004427NOOPT_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
lgao46780eef2010-11-15 02:51:34 +00004428 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
4429RELEASE_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 +00004430NOOPT_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 +00004431 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
4432
4433##################
4434# EBC definitions
4435##################
4436*_MYTOOLS_EBC_*_FAMILY = INTEL
4437
lgao464137022010-12-06 05:17:09 +00004438*_MYTOOLS_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
jljusten07a756b2007-10-17 01:54:36 +00004439*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
jwang36c0577802008-05-15 03:00:04 +00004440*_MYTOOLS_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
jljusten07a756b2007-10-17 01:54:36 +00004441*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
4442*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
4443*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao464137022010-12-06 05:17:09 +00004444*_MYTOOLS_EBC_RC_PATH = DEF(VS2005_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00004445
4446*_MYTOOLS_EBC_MAKE_FLAGS = /nologo
4447*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
jwang361a974382008-11-28 06:11:32 +00004448*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
lgao4abf1c3e2008-11-27 09:15:52 +00004449*_MYTOOLS_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00004450*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004451*_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 /ALIGN:32 /DRIVER
jljusten07a756b2007-10-17 01:54:36 +00004452
vanjefffd171542009-09-11 03:14:43 +00004453
4454####################################################################################
4455#
4456# Xcode Support for building on Mac OS X (Snow Leopard)
4457#
4458####################################################################################
4459# XCODE32 - Xcode 3.2 Tools (Snow Leopard)
4460*_XCODE32_*_*_FAMILY = GCC
4461*_XCODE32_*_*_BUILDRULEFAMILY = XCODE
4462
4463
4464*_XCODE32_*_ASL_PATH = /usr/bin/iasl
4465
4466*_XCODE32_*_MAKE_PATH = make
4467
vanjefffd171542009-09-11 03:14:43 +00004468*_XCODE32_*_DSYMUTIL_PATH = /usr/bin/dsymutil
4469
lgao4a709adf2009-12-29 06:16:53 +00004470# This tool needs to be installed seperatly from Xcode 3.2
4471*_XCODE32_*_MTOC_PATH = /usr/local/bin/mtoc
4472
vanjefffd171542009-09-11 03:14:43 +00004473 DEBUG_XCODE32_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
lgao46780eef2010-11-15 02:51:34 +00004474RELEASE_XCODE32_*_MTOC_FLAGS = -align 0x20
vanjefffd171542009-09-11 03:14:43 +00004475
4476##################
4477# IA32 definitions
4478##################
4479*_XCODE32_IA32_CC_PATH = gcc
4480*_XCODE32_IA32_SLINK_PATH = libtool
4481*_XCODE32_IA32_DLINK_PATH = ld
4482*_XCODE32_IA32_ASM_PATH = as
4483*_XCODE32_IA32_PP_PATH = gcc
4484*_XCODE32_IA32_VFRPP_PATH = gcc
4485*_XCODE32_IA32_ASL_PATH = iasl
4486*_XCODE32_IA32_ASLCC_PATH = gcc
4487*_XCODE32_IA32_ASLPP_PATH = gcc
4488*_XCODE32_IA32_ASLDLINK_PATH = ld
4489
lgao4a709adf2009-12-29 06:16:53 +00004490 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
4491RELEASE_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 +00004492*_XCODE32_IA32_SLINK_FLAGS = -static -o
4493 DEBUG_XCODE32_IA32_ASM_FLAGS = -arch i386 -g
lgao46780eef2010-11-15 02:51:34 +00004494RELEASE_XCODE32_IA32_ASM_FLAGS = -arch i386
vanjefffd171542009-09-11 03:14:43 +00004495*_XCODE32_IA32_PP_FLAGS = -arch i386 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4496*_XCODE32_IA32_VFRPP_FLAGS = -arch i386 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4497 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
4498RELEASE_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
4499
4500*_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 +00004501*_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 +00004502*_XCODE32_IA32_ASLPP_FLAGS = -arch i386 -x c -E
vanjefffd171542009-09-11 03:14:43 +00004503*_XCODE32_IA32_ASL_FLAGS =
4504
4505##################
lgao46780eef2010-11-15 02:51:34 +00004506# X64 definitions - still a work in progress. This tool chain does not produce
vanjefffd171542009-09-11 03:14:43 +00004507# the correct ABI, it is just used to compile the code....
4508##################
lgao425918452012-05-23 08:27:14 +00004509*_XCODE32_X64_CC_PATH = gcc
vanjefffd171542009-09-11 03:14:43 +00004510*_XCODE32_X64_SLINK_PATH = libtool
4511*_XCODE32_X64_DLINK_PATH = ld
4512*_XCODE32_X64_ASM_PATH = as
lgao425918452012-05-23 08:27:14 +00004513*_XCODE32_X64_PP_PATH = gcc
4514*_XCODE32_X64_VFRPP_PATH = gcc
vanjefffd171542009-09-11 03:14:43 +00004515*_XCODE32_X64_ASL_PATH = iasl
4516*_XCODE32_X64_ASLCC_PATH = gcc
4517*_XCODE32_X64_ASLPP_PATH = gcc
4518*_XCODE32_X64_ASLDLINK_PATH = ld
4519
lgao4a709adf2009-12-29 06:16:53 +00004520*_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 +00004521*_XCODE32_X64_SLINK_FLAGS = -static -o
4522
4523 DEBUG_XCODE32_X64_ASM_FLAGS = -arch x86_64 -g
lgao46780eef2010-11-15 02:51:34 +00004524RELEASE_XCODE32_X64_ASM_FLAGS = -arch x86_64
vanjefffd171542009-09-11 03:14:43 +00004525*_XCODE32_X64_PP_FLAGS = -arch x86_64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4526*_XCODE32_X64_VFRPP_FLAGS = -arch x86_64 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4527
4528 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
4529RELEASE_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
4530
4531##################
lgao452302d42010-02-28 23:39:39 +00004532# ARM definitions - (Assumes iPhone SDK installed on Snow Leopard)
vanjefffd171542009-09-11 03:14:43 +00004533##################
4534
lgao452302d42010-02-28 23:39:39 +00004535*_XCODE32_ARM_ARCHCC_FLAGS = -arch armv7 -march=armv7 -mthumb
lgao46780eef2010-11-15 02:51:34 +00004536*_XCODE32_ARM_ARCHASM_FLAGS = -arch armv7
4537*_XCODE32_ARM_ARCHDLINK_FLAGS = -arch armv7
vanjefffd171542009-09-11 03:14:43 +00004538*_XCODE32_ARM_PLATFORM_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00004539
4540*_XCODE32_ARM_CC_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
4541*_XCODE32_ARM_SLINK_PATH = DEF(IPHONE_TOOLS)/usr/bin/libtool
lgao452302d42010-02-28 23:39:39 +00004542*_XCODE32_ARM_DLINK_PATH = ld
vanjefffd171542009-09-11 03:14:43 +00004543*_XCODE32_ARM_ASM_PATH = DEF(IPHONE_TOOLS)/usr/bin/as
4544*_XCODE32_ARM_PP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
4545*_XCODE32_ARM_VFRPP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
4546
lgao46780eef2010-11-15 02:51:34 +00004547 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
4548RELEASE_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 +00004549
4550*_XCODE32_ARM_SLINK_FLAGS = -static -o
4551
4552 DEBUG_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -g
lgao46780eef2010-11-15 02:51:34 +00004553RELEASE_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS)
vanjefffd171542009-09-11 03:14:43 +00004554*_XCODE32_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4555*_XCODE32_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4556
qhuang8e56468c2010-09-06 01:58:00 +00004557 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
4558RELEASE_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 +00004559
4560
4561####################################################################################
4562#
lgao4da92f272011-05-11 10:26:49 +00004563# Clang Support for building on Mac OS X
4564#
4565####################################################################################
4566# CLANG - clang that produce Mach-O with EFI x86_64 ABI
4567*_XCLANG_*_*_FAMILY = GCC
4568*_XCLANG_*_*_BUILDRULEFAMILY = XCODE
4569
4570*_XCLANG_*_ASL_PATH = /usr/bin/iasl
4571
4572*_XCLANG_*_MAKE_PATH = make
4573*_XCLANG_*_DSYMUTIL_PATH = /usr/bin/dsymutil
4574
4575 *_*_*_MTOC_PATH = /usr/local/bin/mtoc
4576
4577 DEBUG_XCLANG_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
4578RELEASE_XCLANG_*_MTOC_FLAGS = -align 0x20
4579
4580
4581*_XCLANG_*_CC_PATH = DEF(CLANG_BIN)clang
4582*_XCLANG_*_SLINK_PATH = libtool
4583*_XCLANG_*_DLINK_PATH = ld
4584*_XCLANG_*_ASM_PATH = as
4585*_XCLANG_*_PP_PATH = DEF(CLANG_BIN)clang
4586*_XCLANG_*_VFRPP_PATH = DEF(CLANG_BIN)clang
4587*_XCLANG_*_ASL_PATH = iasl
4588*_XCLANG_*_ASLCC_PATH = DEF(CLANG_BIN)clang
4589*_XCLANG_*_ASLPP_PATH = DEF(CLANG_BIN)clang
4590*_XCLANG_*_ASLDLINK_PATH = ld
4591
4592####################
4593# IA-32 definitions
4594####################
4595 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
4596RELEASE_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
4597*_XCLANG_IA32_SLINK_FLAGS = -static -o
4598 DEBUG_XCLANG_IA32_ASM_FLAGS = -arch i386 -g
4599RELEASE_XCLANG_IA32_ASM_FLAGS = -arch i386
4600
4601
lgao442342832011-08-26 07:46:26 +00004602 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
4603RELEASE_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 +00004604
4605
4606##################
4607# X64 definitions
4608##################
4609 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
4610RELEASE_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
4611*_XCLANG_X64_SLINK_FLAGS = -static -o
4612 DEBUG_XCLANG_X64_ASM_FLAGS = -arch x86_64 -g
4613RELEASE_XCLANG_X64_ASM_FLAGS = -arch x86_64
4614*_XCLANG_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4615*_XCLANG_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4616
4617
lgao442342832011-08-26 07:46:26 +00004618 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
4619RELEASE_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 +00004620*_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
4621*_XCLANG_*_ASLDLINK_FLAGS = -e _main -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4622*_XCLANG_*_ASLPP_FLAGS = -x c -E
4623*_XCLANG_*_ASL_FLAGS =
4624
lgao479b74a02011-10-11 02:49:48 +00004625####################################################################################
4626#
4627# RVCT Common
4628#
4629####################################################################################
4630
4631DEFINE RVCT_ALL_CC_FLAGS = --c90 -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
4632DEFINE RVCT_ALL_DLINK_FLAGS = --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --diag_style=ide
lgao4da92f272011-05-11 10:26:49 +00004633
4634####################################################################################
4635#
lgao479b74a02011-10-11 02:49:48 +00004636# ARM RealView Tools - Windows
vanjefffd171542009-09-11 03:14:43 +00004637#
4638####################################################################################
lgao479b74a02011-10-11 02:49:48 +00004639# RVCT - Tools from ARM
vanjefffd171542009-09-11 03:14:43 +00004640
lgao479b74a02011-10-11 02:49:48 +00004641*_RVCT_*_*_FAMILY = RVCT
vanjefffd171542009-09-11 03:14:43 +00004642
4643#
4644# Use default values, or override in DSC file
4645#
lgao479b74a02011-10-11 02:49:48 +00004646*_RVCT_ARM_ARCHCC_FLAGS = --thumb
4647*_RVCT_ARM_ARCHASM_FLAGS =
4648*_RVCT_ARM_ARCHDLINK_FLAGS =
4649*_RVCT_ARM_PLATFORM_FLAGS = --cpu 7-A
vanjefffd171542009-09-11 03:14:43 +00004650
lgao479b74a02011-10-11 02:49:48 +00004651 DEBUG_RVCT_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4652RELEASE_RVCT_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00004653
4654
lgao479b74a02011-10-11 02:49:48 +00004655*_RVCT_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) --apcs /interwork
4656*_RVCT_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
4657*_RVCT_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4658*_RVCT_ARM_MAKE_PATH = nmake /NOLOGO
4659*_RVCT_ARM_SLINK_FLAGS = --partial -o
4660 DEBUG_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
4661RELEASE_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O2
vanjefffd171542009-09-11 03:14:43 +00004662
4663##################
4664# ARM definitions
4665##################
lgao479b74a02011-10-11 02:49:48 +00004666*_RVCT_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
4667*_RVCT_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4668*_RVCT_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4669*_RVCT_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
4670*_RVCT_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4671*_RVCT_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4672*_RVCT_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
vanjefffd171542009-09-11 03:14:43 +00004673
4674####################################################################################
4675#
lgao479b74a02011-10-11 02:49:48 +00004676# ARM RealView Tools - Linux
4677#
4678####################################################################################
4679# RVCTLINUX - Tools from ARM in a Cygwin environment
4680*_RVCTLINUX_*_*_FAMILY = RVCT
4681*_RVCTLINUX_*_*_BUILDRULEFAMILY = RVCTLINUX
4682
4683#
4684# Use default values, or override in DSC file
4685#
4686*_RVCTLINUX_ARM_ARCHCC_FLAGS = --thumb
4687*_RVCTLINUX_ARM_ARCHASM_FLAGS =
4688*_RVCTLINUX_ARM_ARCHDLINK_FLAGS =
4689*_RVCTLINUX_ARM_PLATFORM_FLAGS = --cpu 7-A
4690
4691DEBUG_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4692RELEASE_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4693
4694*_RVCTLINUX_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) --apcs /interwork
4695*_RVCTLINUX_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
4696*_RVCTLINUX_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4697*_RVCTLINUX_ARM_MAKE_PATH = make
4698*_RVCTLINUX_ARM_SLINK_FLAGS = --partial -o
4699 DEBUG_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
4700RELEASE_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O2
4701
4702##################
4703# ARM definitions
4704##################
4705*_RVCTLINUX_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
4706*_RVCTLINUX_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4707*_RVCTLINUX_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4708*_RVCTLINUX_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
4709*_RVCTLINUX_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4710*_RVCTLINUX_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4711*_RVCTLINUX_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
4712
4713####################################################################################
4714#
4715# ARM RealView Tools - Cygwin
vanjefffd171542009-09-11 03:14:43 +00004716#
4717####################################################################################
4718# ARMCYGWIN - Tools from ARM in a Cygwin environment
4719
lgao479b74a02011-10-11 02:49:48 +00004720*_RVCTCYGWIN_*_*_FAMILY = RVCT
4721*_RVCTCYGWIN_*_*_BUILDRULEFAMILY = RVCTCYGWIN
vanjefffd171542009-09-11 03:14:43 +00004722
lgao479b74a02011-10-11 02:49:48 +00004723*_RVCTCYGWIN_ARM_CCPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
4724*_RVCTCYGWIN_ARM_SLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
4725*_RVCTCYGWIN_ARM_DLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
4726*_RVCTCYGWIN_ARM_ASMPATH_FLAG = ENV(RVCT_TOOLS_PATH)armasm
4727*_RVCTCYGWIN_ARM_PPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
4728*_RVCTCYGWIN_ARM_VFRPPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
4729*_RVCTCYGWIN_ARM_FROMELFPATH_FLAG = ENV(RVCT_TOOLS_PATH)fromelf
vanjefffd171542009-09-11 03:14:43 +00004730
4731#
4732# Use default values, or override in DSC file
4733#
lgao479b74a02011-10-11 02:49:48 +00004734*_RVCTCYGWIN_ARM_ARCHCC_FLAGS = --thumb
4735*_RVCTCYGWIN_ARM_ARCHASM_FLAGS =
4736*_RVCTCYGWIN_ARM_ARCHDLINK_FLAGS =
4737*_RVCTCYGWIN_ARM_PLATFORM_FLAGS = --cpu 7-A
vanjefffd171542009-09-11 03:14:43 +00004738
lgao479b74a02011-10-11 02:49:48 +00004739 DEBUG_RVCTCYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map`
4740RELEASE_RVCTCYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map`
4741
4742*_RVCTCYGWIN_ARM_ASM_FLAGS = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) --apcs /interwork
4743*_RVCTCYGWIN_ARM_PP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
4744*_RVCTCYGWIN_ARM_VFRPP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude `cygpath -m $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h`
4745*_RVCTCYGWIN_ARM_MAKE_PATH = make
4746*_RVCTCYGWIN_ARM_SLINK_FLAGS = "$(SLINKPATH_FLAG)" --partial -o
4747 DEBUG_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
4748RELEASE_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O2
vanjefffd171542009-09-11 03:14:43 +00004749
4750##################
4751# ARM definitions
4752##################
lgao479b74a02011-10-11 02:49:48 +00004753*_RVCTCYGWIN_ARM_CC_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4754*_RVCTCYGWIN_ARM_SLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4755*_RVCTCYGWIN_ARM_DLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4756*_RVCTCYGWIN_ARM_ASM_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4757*_RVCTCYGWIN_ARM_PP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4758*_RVCTCYGWIN_ARM_VFRPP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4759*_RVCTCYGWIN_ARM_FROMELF_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
vanjefffd171542009-09-11 03:14:43 +00004760
4761####################################################################################
4762#
lgao479b74a02011-10-11 02:49:48 +00004763# ARM EABI GCC (www.codesourcery.com)
vanjefffd171542009-09-11 03:14:43 +00004764#
4765####################################################################################
4766# ARMGCC - ARM version of the GCC cross compiler
4767
4768*_ARMGCC_*_*_FAMILY = GCC
lgao4636f2be2010-03-12 10:54:01 +00004769*_ARMGCC_*_*_BUILDRULEFAMILY = ARMGCC
4770
lgao442342832011-08-26 07:46:26 +00004771*_ARMGCC_*_MAKE_PATH = make
lgao4636f2be2010-03-12 10:54:01 +00004772*_ARMGCC_*_MAKE_FLAGS = --no-print-directory
vanjefffd171542009-09-11 03:14:43 +00004773
4774##################
4775# ASL definitions
4776##################
lgao479b74a02011-10-11 02:49:48 +00004777*_ARMGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
4778*_ARMGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
4779*_ARMGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
4780*_ARMGCC_*_ASLPP_FLAGS = -x c -E -P
4781*_ARMGCC_*_ASLCC_FLAGS = -x c
4782*_ARMGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
vanjefffd171542009-09-11 03:14:43 +00004783
4784##################
4785# ARM definitions
4786##################
4787
lgao442342832011-08-26 07:46:26 +00004788*_ARMGCC_ARM_ASLCC_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4789*_ARMGCC_ARM_ASLDLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ld
4790*_ARMGCC_ARM_ASLPP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
vanjefffd171542009-09-11 03:14:43 +00004791
lgao442342832011-08-26 07:46:26 +00004792*_ARMGCC_ARM_CC_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4793*_ARMGCC_ARM_SLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ar
4794*_ARMGCC_ARM_DLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ld
4795*_ARMGCC_ARM_ASM_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-as
4796*_ARMGCC_ARM_PP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4797*_ARMGCC_ARM_VFRPP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
vanjefffd171542009-09-11 03:14:43 +00004798
4799#
4800# Use default values, or override in DSC file
4801#
lgao479b74a02011-10-11 02:49:48 +00004802*_ARMGCC_ARM_ARCHCC_FLAGS = -mthumb
4803*_ARMGCC_ARM_ARCHASM_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00004804*_ARMGCC_ARM_ARCHDLINK_FLAGS =
lgao4636f2be2010-03-12 10:54:01 +00004805*_ARMGCC_ARM_PLATFORM_FLAGS = -march=armv7-a
vanjefffd171542009-09-11 03:14:43 +00004806
lgao479b74a02011-10-11 02:49:48 +00004807 DEBUG_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -g
4808RELEASE_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian
vanjefffd171542009-09-11 03:14:43 +00004809
lgao479b74a02011-10-11 02:49:48 +00004810*_ARMGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4811*_ARMGCC_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
vanjefffd171542009-09-11 03:14:43 +00004812
lgao4636f2be2010-03-12 10:54:01 +00004813*_ARMGCC_ARM_SLINK_FLAGS = -rc
lgao42bcc7132011-11-25 06:21:03 +00004814*_ARMGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -Ttext=0x0 --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 +00004815
lgao479b74a02011-10-11 02:49:48 +00004816 DEBUG_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARMGCC_CC_FLAGS) -combine -O0
4817RELEASE_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARMGCC_CC_FLAGS) -combine -Wno-unused
vanjefffd171542009-09-11 03:14:43 +00004818
lgao42bcc7132011-11-25 06:21:03 +00004819####################################################################################
4820#
4821# ARM GNU/Linux GCC
4822#
4823####################################################################################
4824# ARMLINUXGCC - ARM version of the GCC cross compiler
4825
4826*_ARMLINUXGCC_*_*_FAMILY = GCC
4827*_ARMLINUXGCC_*_*_BUILDRULEFAMILY = ARMLINUXGCC
4828
4829*_ARMLINUXGCC_*_MAKE_PATH = make
4830*_ARMLINUXGCC_*_MAKE_FLAGS = --no-print-directory
4831
4832##################
4833# ASL definitions
4834##################
4835*_ARMLINUXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
4836*_ARMLINUXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
4837*_ARMLINUXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
4838*_ARMLINUXGCC_*_ASLPP_FLAGS = -x c -E -P
4839*_ARMLINUXGCC_*_ASLCC_FLAGS = -x c
4840*_ARMLINUXGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
4841
4842##################
4843# ARM definitions
4844##################
4845
4846*_ARMLINUXGCC_ARM_ASLCC_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
4847*_ARMLINUXGCC_ARM_ASLDLINK_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-ld
4848*_ARMLINUXGCC_ARM_ASLPP_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
4849
4850*_ARMLINUXGCC_ARM_CC_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
4851*_ARMLINUXGCC_ARM_SLINK_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-ar
4852*_ARMLINUXGCC_ARM_DLINK_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-ld
4853*_ARMLINUXGCC_ARM_ASM_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-as
4854*_ARMLINUXGCC_ARM_PP_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
4855*_ARMLINUXGCC_ARM_VFRPP_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
4856
4857#
4858# Use default values, or override in DSC file
4859#
4860*_ARMLINUXGCC_ARM_ARCHCC_FLAGS = -mthumb
4861*_ARMLINUXGCC_ARM_ARCHASM_FLAGS =
4862*_ARMLINUXGCC_ARM_ARCHDLINK_FLAGS =
4863*_ARMLINUXGCC_ARM_PLATFORM_FLAGS = -march=armv7-a
4864
4865 DEBUG_ARMLINUXGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -g
4866RELEASE_ARMLINUXGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian
4867
4868*_ARMLINUXGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4869*_ARMLINUXGCC_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4870
4871*_ARMLINUXGCC_ARM_SLINK_FLAGS = -rc
lgao49508d0f2011-12-16 08:52:13 +00004872*_ARMLINUXGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -Ttext=0x0 --oformat=elf32-littlearm --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
lgao42bcc7132011-11-25 06:21:03 +00004873
4874 DEBUG_ARMLINUXGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARMGCC_CC_FLAGS) -Wno-address -O0
4875RELEASE_ARMLINUXGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARMGCC_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
4876
qhuang814c48572010-07-21 02:46:15 +00004877#################
4878# ASM 16 linker defintions
4879#################
4880*_*_*_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe
4881*_*_*_ASMLINK_FLAGS = /nologo /tiny
vanjefffd171542009-09-11 03:14:43 +00004882
lgao430962c72008-08-07 03:29:10 +00004883##################
4884# VfrCompiler definitions
4885##################
lgao4bdf37b32008-08-10 03:56:03 +00004886*_*_*_VFR_PATH = VfrCompile
lgao430962c72008-08-07 03:29:10 +00004887*_*_*_VFR_FLAGS = -l -n
lgao4a1c949f2008-08-21 13:11:01 +00004888
4889##################
jwang3615543342009-05-03 06:40:59 +00004890# OptionRom tool definitions
4891##################
4892*_*_*_OPTROM_PATH = EfiRom
4893*_*_*_OPTROM_FLAGS = -e
4894
4895##################
qhuang8e56468c2010-09-06 01:58:00 +00004896# GenFw tool definitions
4897##################
4898*_*_*_GENFW_PATH = GenFw
lgao46780eef2010-11-15 02:51:34 +00004899*_*_*_GENFW_FLAGS =
qhuang8e56468c2010-09-06 01:58:00 +00004900
4901##################
lgao4a1c949f2008-08-21 13:11:01 +00004902# Asl Compiler definitions
4903##################
lgao46780eef2010-11-15 02:51:34 +00004904*_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +00004905*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
lgao4a1c949f2008-08-21 13:11:01 +00004906*_*_*_ASLPP_FLAGS = /nologo /EP /C
4907*_*_*_ASL_FLAGS =
lgao4abf1c3e2008-11-27 09:15:52 +00004908
lgao42895c502009-01-08 08:46:46 +00004909##################
lgao442342832011-08-26 07:46:26 +00004910# GenCrc32 tool definitions
4911##################
4912*_*_*_CRC32_PATH = GenCrc32
4913*_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
4914
4915##################
jljustenc470d832009-05-01 06:45:01 +00004916# LzmaCompress tool definitions
lgao42895c502009-01-08 08:46:46 +00004917##################
jljustenc470d832009-05-01 06:45:01 +00004918*_*_*_LZMA_PATH = LzmaCompress
4919*_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
4920
4921##################
lgao464b26092012-04-10 07:18:20 +00004922# LzmaF86Compress tool definitions with converter for x86 code.
4923# It can improve the compression ratio if the input file is IA32 or X64 PE image.
4924# Notes: If X64 PE image is built based on GCC44, it may not get the better compression.
4925##################
4926*_*_*_LZMAF86_PATH = LzmaF86Compress
4927*_*_*_LZMAF86_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
4928
4929##################
jljustenc470d832009-05-01 06:45:01 +00004930# TianoCompress tool definitions
4931##################
4932*_*_*_TIANO_PATH = TianoCompress
4933*_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
eric_tian3b6c90a2009-04-13 12:50:50 +00004934
qhuang8e56468c2010-09-06 01:58:00 +00004935##################
4936# BPDG tool definitions
4937##################
4938*_*_*_VPDTOOL_PATH = BPDG
4939*_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08