blob: 5b9cff464e13145304080c2f2919304f7e75253e [file] [log] [blame]
jljusten07a756b2007-10-17 01:54:36 +00001#
lgao4da92f272011-05-11 10:26:49 +00002# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
lgao440d841f2010-05-18 05:04:32 +00003# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
jljusten07a756b2007-10-17 01:54:36 +00004#
lgao440d841f2010-05-18 05:04:32 +00005# This program and the accompanying materials
jljusten07a756b2007-10-17 01:54:36 +00006# are licensed and made available under the terms and conditions of the BSD License
7# which accompanies this distribution. The full text of the license may be found at
8# http://opensource.org/licenses/bsd-license.php
9#
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13
14IDENTIFIER = Default TOOL_CHAIN_CONF
15
16# common path macros
eric_tian623471a2009-04-14 03:20:33 +000017DEFINE VS2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
18DEFINE VS2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
jljusten07a756b2007-10-17 01:54:36 +000019
eric_tian623471a2009-04-14 03:20:33 +000020DEFINE VS2005_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000021DEFINE VS2005_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005_BIN)
eric_tian623471a2009-04-14 03:20:33 +000022DEFINE VS2005_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
23DEFINE VS2005_BIN64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64
jljusten07a756b2007-10-17 01:54:36 +000024
eric_tian3b6c90a2009-04-13 12:50:50 +000025DEFINE VS2005x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000026DEFINE VS2005x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005x86_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +000027DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64
28DEFINE VS2005x86_BIN64 = DEF(VS2005x86_BIN)\x86_ia64
jljusten07a756b2007-10-17 01:54:36 +000029
lgao452302d42010-02-28 23:39:39 +000030DEFINE VS2008_BIN = C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000031DEFINE VS2008_DLL = C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008_BIN)
lgao452302d42010-02-28 23:39:39 +000032DEFINE VS2008_BINX64 = DEF(VS2008_BIN)\x86_amd64
33DEFINE VS2008_BIN64 = DEF(VS2008_BIN)\x86_ia64
34
35DEFINE VS2008x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000036DEFINE VS2008x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008x86_BIN)
lgao452302d42010-02-28 23:39:39 +000037DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64
38DEFINE VS2008x86_BIN64 = DEF(VS2008x86_BIN)\x86_ia64
39
40DEFINE WINSDK_VERSION = v6.0A
41DEFINE WINSDK_BIN = c:\Program Files\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
42DEFINE WINSDKx86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
lgao4b303ea72009-11-09 11:47:35 +000043
44# These defines are needed for certain Microsoft Visual Studio tools that
45# are used by other toolchains. An example is that ICC on Windows normally
46# uses Microsoft's nmake.exe.
47
lgao4b36d1342011-09-18 12:17:25 +000048# Some MS_VS_BIN options: DEF(VS2003_BIN), DEF(VS2005_BIN), DEF(VS2005x86_BIN), DEF(VS2008_BIN), DEF(VS2008x86_BIN)
lgao464137022010-12-06 05:17:09 +000049DEFINE MS_VS_BIN = DEF(VS2005_BIN)
lgao4b36d1342011-09-18 12:17:25 +000050# Some MS_VS_DLL options: DEF(VS2003_DLL), DEF(VS2005_DLL), DEF(VS2005x86_DLL), DEF(VS2008_DLL), DEF(VS2008x86_DLL)
lgao464137022010-12-06 05:17:09 +000051DEFINE MS_VS_DLL = DEF(VS2005_DLL)
lgao4b303ea72009-11-09 11:47:35 +000052
eric_tian623471a2009-04-14 03:20:33 +000053DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16
54DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86
55DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64
56DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86
jljusten07a756b2007-10-17 01:54:36 +000057
lgao46780eef2010-11-15 02:51:34 +000058# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler
eric_tian3b6c90a2009-04-13 12:50:50 +000059# tool chains for the linker and nmake commands.
60# This configuration assumes a Windows 2003 Server DDK installation.
eric_tian623471a2009-04-14 03:20:33 +000061DEFINE ICC_VERSION = 9.1
eric_tian3b6c90a2009-04-13 12:50:50 +000062#DEFINE ICC_VERSION = 10.1.021
eric_tian623471a2009-04-14 03:20:33 +000063DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
64DEFINE ICC_ASM32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
65DEFINE ICC_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
66DEFINE ICC_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
jljusten07a756b2007-10-17 01:54:36 +000067
eric_tian623471a2009-04-14 03:20:33 +000068DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
69DEFINE ICC_ASMX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
70DEFINE ICC_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
71DEFINE ICC_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
jljusten07a756b2007-10-17 01:54:36 +000072
eric_tian623471a2009-04-14 03:20:33 +000073DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
74DEFINE ICC_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
jljusten07a756b2007-10-17 01:54:36 +000075
qhuang89053bc52010-06-28 09:33:10 +000076
77# Note: The Intel C++ Compiler 11.1 uses different installation path from previous versions
lgao46780eef2010-11-15 02:51:34 +000078# We use "ICC11" tag for ICC 11.1 while "ICC" tag is dedicated for eariler versions
qhuang89053bc52010-06-28 09:33:10 +000079#
80DEFINE ICC11_VERSION = 11.1
lgao4b36d1342011-09-18 12:17:25 +000081DEFINE ICC11_BUILD = 072
qhuang89053bc52010-06-28 09:33:10 +000082DEFINE ICC11_BIN32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
83DEFINE ICC11_ASM32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
84DEFINE ICC11_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
85DEFINE ICC11_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
86
87DEFINE ICC11_BINX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
88DEFINE ICC11_ASMX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
qhuang8e56468c2010-09-06 01:58:00 +000089DEFINE ICC11_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
90DEFINE ICC11_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
qhuang89053bc52010-06-28 09:33:10 +000091
92DEFINE ICC11_BIN64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
93DEFINE ICC11_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
94
eric_tian623471a2009-04-14 03:20:33 +000095DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin
96DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin
eric_tian3b6c90a2009-04-13 12:50:50 +000097
eric_tian623471a2009-04-14 03:20:33 +000098DEFINE ELFGCC_BIN = /usr/bin
99
jljustenc6094892009-03-29 18:42:14 +0000100#
jljusten23473302007-10-29 08:01:12 +0000101# Option 1: Hard coded full path to compiler suite
jljusten726d5a82009-08-15 05:05:00 +0000102DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
103DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
104DEFINE UNIXGCC_IPF_PETOOLS_PREFIX = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin/
lhauchfa7f89d2008-01-03 21:41:41 +0000105#
jljusten23473302007-10-29 08:01:12 +0000106# Option 2: Use an environment variable
107#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)
108#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX)
lhauchfa7f89d2008-01-03 21:41:41 +0000109#
jljusten23473302007-10-29 08:01:12 +0000110# Option 3: Install the compiler suite into your default paths
111#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-
112#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32-
lhauchfa7f89d2008-01-03 21:41:41 +0000113#
114# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory
jljusten23473302007-10-29 08:01:12 +0000115# Links needed: gcc, ar & ld
jljusten726d5a82009-08-15 05:05:00 +0000116#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/
117#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/
jljustenc6094892009-03-29 18:42:14 +0000118#
jljustena4401872009-03-30 17:56:42 +0000119# Option 5: Install programs under user's home directory
jljustenc6094892009-03-29 18:42:14 +0000120#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-
121#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-
jljustenc6094892009-03-29 18:42:14 +0000122#
jljusten07a756b2007-10-17 01:54:36 +0000123
eric_tian623471a2009-04-14 03:20:33 +0000124DEFINE CYGWIN_BIN = c:/cygwin/bin
lgao4b303ea72009-11-09 11:47:35 +0000125DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
jljusten726d5a82009-08-15 05:05:00 +0000126DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
eric_tian623471a2009-04-14 03:20:33 +0000127DEFINE CYGWIN_BINIPF = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-
jljusten07a756b2007-10-17 01:54:36 +0000128
lgao4a709adf2009-12-29 06:16:53 +0000129DEFINE GCC44_IA32_PREFIX = /usr/bin/
130#DEFINE GCC44_IA32_PREFIX = ENV(HOME)/programs/gcc/4.4/ia32/
lgao440d841f2010-05-18 05:04:32 +0000131DEFINE GCC44_X64_PREFIX = /usr/bin/
132#DEFINE GCC44_X64_PREFIX = ENV(HOME)/programs/gcc/4.4/x64/
lgao4a709adf2009-12-29 06:16:53 +0000133
lgao46780eef2010-11-15 02:51:34 +0000134DEFINE GCC45_IA32_PREFIX = /usr/bin/
135DEFINE GCC45_X64_PREFIX = /usr/bin/
136
jljustene0d22732009-08-15 05:05:02 +0000137DEFINE UNIX_IASL_BIN = /usr/bin/iasl
138#DEFINE UNIX_IASL_BIN = $(HOME)/programs/iasl
eric_tian623471a2009-04-14 03:20:33 +0000139DEFINE WIN_ASL_BIN_DIR = C:\ASL
140DEFINE WIN_IASL_BIN = DEF(WIN_ASL_BIN_DIR)\iasl.exe
141DEFINE WIN_ASL_BIN = DEF(WIN_ASL_BIN_DIR)\asl.exe
142
lgao4a709adf2009-12-29 06:16:53 +0000143DEFINE IASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000144DEFINE IASL_OUTFLAGS = -p
145DEFINE MS_ASL_OUTFLAGS = /Fo=
lgao4a709adf2009-12-29 06:16:53 +0000146DEFINE MS_ASL_FLAGS =
147
148DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_IASL_BIN)
149DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(IASL_FLAGS)
150DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
151#DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_ASL_BIN)
152#DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(MS_ASL_FLAGS)
153#DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000154
lgao408dd3112010-10-11 06:26:52 +0000155DEFINE MSFT_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000156DEFINE MSFT_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000157DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
eric_tian3b6c90a2009-04-13 12:50:50 +0000158
lgao408dd3112010-10-11 06:26:52 +0000159DEFINE ICC_WIN_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000160DEFINE ICC_WIN_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000161DEFINE ICC_WIN_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc
eric_tian3b6c90a2009-04-13 12:50:50 +0000162
vanjefffd171542009-09-11 03:14:43 +0000163DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer
vanjefffd171542009-09-11 03:14:43 +0000164
lgao4636f2be2010-03-12 10:54:01 +0000165DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin
jljusten07a756b2007-10-17 01:54:36 +0000166
lgao4da92f272011-05-11 10:26:49 +0000167#
168# Change to the location clang was built
169#
170DEFINE CLANG_BIN = /usr/bin/
171
jljusten07a756b2007-10-17 01:54:36 +0000172####################################################################################
173#
174# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
jwang361c2c04d2007-12-25 09:15:38 +0000175# priority:
jljusten07a756b2007-10-17 01:54:36 +0000176# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
177# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
178# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
179# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
180# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
181# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
182# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
183# ******_*********_****_COMMANDTYPE_ATTRIBUTE
184# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
185# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
186# TARGET_*********_ARCH_***********_ATTRIBUTE
187# ******_*********_ARCH_***********_ATTRIBUTE
188# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
189# ******_TOOLCHAIN_****_***********_ATTRIBUTE
190# TARGET_*********_****_***********_ATTRIBUTE
191# ******_*********_****_***********_ATTRIBUTE (Lowest)
192#
193####################################################################################
194####################################################################################
195#
196# Supported Tool Chains
197# =====================
lgao4b36d1342011-09-18 12:17:25 +0000198# VS2003 -win32- Requires:
199# Microsoft Visual Studio .NET 2003
200# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
201# Optional:
202# Required to build EBC drivers:
203# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
204# Required to build platforms or ACPI tables:
205# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
206# http://www.acpica.org/downloads/previous_releases.php
207# VS2005 -win32- Requires:
208# Microsoft Visual Studio 2005 Team Suite Edition
209# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
210# Optional:
211# Required to build EBC drivers:
212# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
213# Required to build platforms or ACPI tables:
214# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
215# http://www.acpica.org/downloads/previous_releases.php
216# VS2008 -win32- Requires:
217# Microsoft Visual Studio 2008 Team Suite Edition
218# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
219# Optional:
220# Required to build EBC drivers:
221# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
222# Required to build platforms or ACPI tables:
223# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
224# http://www.acpica.org/downloads/previous_releases.php
225# DDK3790 -win32- Requires:
226# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
227# Optional:
228# Required to build EBC drivers:
229# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
230# Required to build platforms or ACPI tables:
231# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
232# http://www.acpica.org/downloads/previous_releases.php
233# UNIXGCC -UNIX- Requires:
234# GCC 4.3.0
235# binutils 2.20.51.0.5
236# Optional:
237# Required to build platforms or ACPI tables:
238# Intel(r) ACPI Compiler v20101013 from
239# http://www.acpica.org/downloads/previous_releases.php
240# GCC44 -Linux- Requires:
241# GCC 4.4 (Native)
242# Optional:
243# Required to build platforms or ACPI tables:
244# Intel(r) ACPI Compiler v20101013 from
245# http://www.acpica.org/downloads/previous_releases.php
246# ELFGCC -Linux- Requires:
247# GCC(this tool chain uses whatever version of gcc and binutils that is installed in /usr/bin)
248# Optional:
249# Required to build platforms or ACPI tables:
250# Intel(r) ACPI Compiler v20101013 from
251# http://www.acpica.org/downloads/previous_releases.php
252# CYGGCC -win32- Requires:
253# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
254# Microsoft Visual Studio 2005 or 2008
255# Optional:
256# Required to build EBC drivers:
257# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
258# Required to build platforms or ACPI tables:
259# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
260# http://www.acpica.org/downloads/previous_releases.php
261# ICC -win32- Requires:
262# Intel C Compiler V9.1
263# Dependencies:
264# Microsoft Visual Studio 2003 or 2005
265# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
266# version 3790.1830 for X64 target architectures
267# Optional:
268# Required to build EBC drivers:
269# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
270# Required to build platforms or ACPI tables:
271# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
272# http://www.acpica.org/downloads/previous_releases.php
273# ICC11 -win32- Requires:
274# Intel C Compiler V11.1
275# Dependencies:
276# Microsoft Visual Studio 2005 or 2008
277# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
278# version 3790.1830 for X64 target architectures
279# Optional:
280# Required to build EBC drivers:
281# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
282# Required to build platforms or ACPI tables:
283# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
284# http://www.acpica.org/downloads/previous_releases.php
285# MYTOOLS -win32- Requires:
286# Microsoft Visual Studio 2008 for IA32/X64
287# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830 for IPF
288# Optional:
289# Required to build EBC drivers:
290# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
291# Required to build platforms or ACPI tables:
292# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
293# http://www.acpica.org/downloads/previous_releases.php
294# VS2003xASL -win32- Requires:
295# Microsoft Visual Studio .NET 2003
296# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
297# Optional:
298# Required to build EBC drivers:
299# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
300# Required to build platforms or ACPI tables:
301# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
302# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
303# VS2005xASL -win32- Requires:
304# Microsoft Visual Studio 2005 Team Suite Edition
305# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
306# Optional:
307# Required to build EBC drivers:
308# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
309# Required to build platforms or ACPI tables:
310# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
311# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
312# VS2008xASL -win32- Requires:
313# Microsoft Visual Studio 2008 Team Suite
314# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
315# Optional:
316# Required to build EBC drivers:
317# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
318# Required to build platforms or ACPI tables:
319# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
320# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
321# DDK3790xASL -win32- Requires:
322# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
323# Optional:
324# Required to build EBC drivers:
325# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
326# Required to build platforms or ACPI tables:
327# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
328# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
329# CYGGCCxASL -win32- Requires:
330# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
331# Microsoft Visual Studio 2005 or 2008
332# Optional:
333# Required to build EBC drivers:
334# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
335# Required to build platforms or ACPI tables:
336# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
337# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
338# ICCxASL -win32- Requires:
339# Intel C Compiler V9.1
340# Dependencies:
341# Microsoft Visual Studio 2003 or 2005
342# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
343# version 3790.1830 for X64 target architectures
344# Optional:
345# Required to build EBC drivers:
346# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
347# Required to build platforms or ACPI tables:
348# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
349# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
350# ICC11xASL -win32- Requires:
351# Intel C Compiler V11.1
352# Dependencies:
353# Microsoft Visual Studio 2005 or 2008
354# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
355# version 3790.1830 for X64 target architectures
356# Optional:
357# Required to build EBC drivers:
358# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
359# Required to build platforms or ACPI tables:
360# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
361# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
362# VS2005x86 -win64- Requires:
363# Microsoft Visual Studio 2005 Team Suite Edition (x86)
364# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
365# Optional:
366# Required to build EBC drivers:
367# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
368# Required to build platforms or ACPI tables:
369# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
370# http://www.acpica.org/downloads/previous_releases.php
371# VS2008x86 -win64- Requires:
372# Microsoft Visual Studio 2008 (x86)
373# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
374# Optional:
375# Required to build platforms or ACPI tables:
376# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
377# http://www.acpica.org/downloads/previous_releases.php
378# ICCx86 -win64- Requires:
379# Intel C Compiler V9.1(x86)
380# Dependencies:
381# Microsoft Visual Studio 2003 or 2005
382# Microsoft Windows Server 2003 Driver Development Kit
383# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
384# Optional:
385# Required to build EBC drivers:
386# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
387# Required to build platforms or ACPI tables:
388# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
389# http://www.acpica.org/downloads/previous_releases.php
390# ICC11x86 -win64- Requires:
391# Intel C Compiler V11.1(x86)
392# Dependencies:
393# Microsoft Visual Studio 2005 or 2008
394# Microsoft Windows Server 2003 Driver Development Kit
395# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
396# Optional:
397# Required to build EBC drivers:
398# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
399# Required to build platforms or ACPI tables:
400# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
401# http://www.acpica.org/downloads/previous_releases.php
402# VS2005x86xASL -win64- Requires:
403# Microsoft Visual Studio 2005 Team Suite Edition (x86)
404# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
405# Optional:
406# Required to build EBC drivers:
407# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
408# Required to build platforms or ACPI tables:
409# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
410# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
411# VS2008x86xASL -win64- Requires:
412# Microsoft Visual Studio 2008 (x86)
413# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
414# Optional:
415# Required to build platforms or ACPI tables:
416# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
417# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
418# ICCx86xASL -win64- Requires:
419# Intel C Compiler V9.1 (x86)
420# Dependencies:
421# Microsoft Visual Studio 2003 or 2005
422# Microsoft Windows Server 2003 Driver Development Kit
423# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
424# Optional:
425# Required to build EBC drivers:
426# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
427# Required to build platforms or ACPI tables:
428# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
429# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
430# ICC11x86xASL -win64- Requires:
431# Intel C Compiler V11.1 (x86)
432# Dependencies:
433# Microsoft Visual Studio 2005 or 2008
434# Microsoft Windows Server 2003 Driver Development Kit
435# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
436# Optional:
437# Required to build EBC drivers:
438# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
439# Required to build platforms or ACPI tables:
440# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
441# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
442# CYGGCCx86 -win64- Requires:
443# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
444# Microsoft Visual Studio 2005 or 2008
445# Optional:
446# Required to build EBC drivers:
447# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
448# Required to build platforms or ACPI tables:
449# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
450# http://www.acpica.org/downloads/previous_releases.php
451# CYGGCCx86xASL -win64- Requires:
452# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
453# Microsoft Visual Studio 2005 or 2008
454# Optional:
455# Required to build EBC drivers:
456# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
457# Required to build platforms or ACPI tables:
458# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
459# 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 +0000460# * Commented out - All versions of VS2005 use the same standard install directory
461#
462####################################################################################
463####################################################################################
464#
465# Supported Tool Chain Family
466# ===========================
467# MSFT - Microsoft
468# GCC - GNU GCC
469# INTEL - INTEL
jljusten07a756b2007-10-17 01:54:36 +0000470####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000471####################################################################################
472#
473# Intel EFI Byte Code Compiler (Template)
474#
475####################################################################################
476# *_*_EBC_*_FAMILY = INTEL
477#
478# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
479# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
480# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe
481#
eric_tian623471a2009-04-14 03:20:33 +0000482# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
483# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
484# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h
lgao4d40b2ee2011-11-09 04:32:08 +0000485# *_*_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 +0000486#
487####################################################################################
488#
489# Intel ACPI Source Language Compiler (Template)
490#
491####################################################################################
492# *_*_*_ASL_FAMILY = INTEL
493#
494# *_*_*_ASL_PATH = C:\ASL\iasl.exe
495#
496####################################################################################
497#
498# Microsoft ACPI Source Language Compiler (Template)
499#
500####################################################################################
501# *_*_*_ASL_FAMILY = MSFT
502#
eric_tian3b6c90a2009-04-13 12:50:50 +0000503# *_*_*_ASL_PATH = C:\ASL\asl.exe
jljusten07a756b2007-10-17 01:54:36 +0000504#
eric_tian3b6c90a2009-04-13 12:50:50 +0000505####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000506
507
508####################################################################################
509#
eric_tian3b6c90a2009-04-13 12:50:50 +0000510# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
511# And Intel ACPI Compiler
512#
513####################################################################################
514# VS2003 - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)
515*_VS2003_*_*_FAMILY = MSFT
516
517##################
518# ASL definitions
519##################
lgao4a709adf2009-12-29 06:16:53 +0000520*_VS2003_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
521*_VS2003_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
522*_VS2003_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000523*_VS2003_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
524*_VS2003_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
525*_VS2003_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000526
527##################
528# IA32 definitions
529##################
eric_tian623471a2009-04-14 03:20:33 +0000530*_VS2003_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000531
eric_tian623471a2009-04-14 03:20:33 +0000532*_VS2003_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
533*_VS2003_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
534*_VS2003_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
535*_VS2003_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
536*_VS2003_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000537*_VS2003_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
538*_VS2003_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
539*_VS2003_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +0000540*_VS2003_IA32_ASM16_PATH = DEF(VS2003_BIN)\ml.exe
eric_tian623471a2009-04-14 03:20:33 +0000541*_VS2003_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
542*_VS2003_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
543*_VS2003_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000544*_VS2003_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000545
546 *_VS2003_IA32_MAKE_FLAGS = /nologo
547 *_VS2003_IA32_APP_FLAGS = /nologo /E /TC
548 *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
549 *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000550 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
551RELEASE_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 +0000552NOOPT_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
553
eric_tian3b6c90a2009-04-13 12:50:50 +0000554 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
555RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000556NOOPT_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
557
eric_tian3b6c90a2009-04-13 12:50:50 +0000558 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000559 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
560RELEASE_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
561NOOPT_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 +0000562
563##################
564# EBC definitions
565##################
566*_VS2003_EBC_*_FAMILY = INTEL
567
eric_tian623471a2009-04-14 03:20:33 +0000568*_VS2003_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000569*_VS2003_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
570*_VS2003_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
571*_VS2003_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
572*_VS2003_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
573*_VS2003_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000574*_VS2003_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000575
576*_VS2003_EBC_MAKE_FLAGS = /nologo
577*_VS2003_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
578*_VS2003_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
579*_VS2003_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
580*_VS2003_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000581*_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 +0000582
583####################################################################################
584#
585# Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler
586#
587####################################################################################
588# VS2003xASL - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)
589*_VS2003xASL_*_*_FAMILY = MSFT
590
591##################
592# ASL definitions
593##################
eric_tian623471a2009-04-14 03:20:33 +0000594*_VS2003xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000595*_VS2003xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000596*_VS2003xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000597*_VS2003xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
598*_VS2003xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
599*_VS2003xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000600
601##################
602# IA32 definitions
603##################
eric_tian623471a2009-04-14 03:20:33 +0000604*_VS2003xASL_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000605
eric_tian623471a2009-04-14 03:20:33 +0000606*_VS2003xASL_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
607*_VS2003xASL_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
608*_VS2003xASL_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
609*_VS2003xASL_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
610*_VS2003xASL_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000611*_VS2003xASL_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
612*_VS2003xASL_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
613*_VS2003xASL_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
614*_VS2003xASL_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
615*_VS2003xASL_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
616*_VS2003xASL_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000617*_VS2003xASL_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000618
619
620 *_VS2003xASL_IA32_MAKE_FLAGS = /nologo
621 *_VS2003xASL_IA32_APP_FLAGS = /nologo /E /TC
622 *_VS2003xASL_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
623 *_VS2003xASL_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000624 DEBUG_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
625RELEASE_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 +0000626NOOPT_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
627
eric_tian3b6c90a2009-04-13 12:50:50 +0000628 DEBUG_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
629RELEASE_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000630NOOPT_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
631
eric_tian3b6c90a2009-04-13 12:50:50 +0000632 *_VS2003xASL_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000633 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
634RELEASE_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
635NOOPT_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 +0000636
637##################
638# EBC definitions
639##################
640*_VS2003xASL_EBC_*_FAMILY = INTEL
641
eric_tian623471a2009-04-14 03:20:33 +0000642*_VS2003xASL_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000643*_VS2003xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
644*_VS2003xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
645*_VS2003xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
646*_VS2003xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
647*_VS2003xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000648*_VS2003xASL_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000649
650*_VS2003xASL_EBC_MAKE_FLAGS = /nologo
651*_VS2003xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
652*_VS2003xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
653*_VS2003xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
654*_VS2003xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000655*_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 +0000656
657####################################################################################
658#
659# Microsoft Visual Studio 2005
660#
661# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
662# ASL - Intel ACPI Source Language Compiler
663####################################################################################
664# VS2005 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
eric_tian623471a2009-04-14 03:20:33 +0000665*_VS2005_*_*_FAMILY = MSFT
eric_tian3b6c90a2009-04-13 12:50:50 +0000666
eric_tian623471a2009-04-14 03:20:33 +0000667*_VS2005_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
668*_VS2005_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000669*_VS2005_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000670
eric_tian623471a2009-04-14 03:20:33 +0000671*_VS2005_*_SLINK_FLAGS = /NOLOGO /LTCG
672*_VS2005_*_APP_FLAGS = /nologo /E /TC
673*_VS2005_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
674*_VS2005_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
eric_tian3b6c90a2009-04-13 12:50:50 +0000675
qhuang814c48572010-07-21 02:46:15 +0000676*_VS2005_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
677
eric_tian3b6c90a2009-04-13 12:50:50 +0000678##################
679# ASL definitions
680##################
lgao4a709adf2009-12-29 06:16:53 +0000681*_VS2005_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
682*_VS2005_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
683*_VS2005_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000684*_VS2005_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
685*_VS2005_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
686*_VS2005_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000687
688##################
689# IA32 definitions
690##################
eric_tian623471a2009-04-14 03:20:33 +0000691*_VS2005_IA32_*_DLL = DEF(VS2005_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000692
eric_tian623471a2009-04-14 03:20:33 +0000693*_VS2005_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
694*_VS2005_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
695*_VS2005_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
696*_VS2005_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
697*_VS2005_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000698*_VS2005_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
699*_VS2005_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
700*_VS2005_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
701*_VS2005_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
702*_VS2005_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
703*_VS2005_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000704
eric_tian623471a2009-04-14 03:20:33 +0000705 *_VS2005_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000706 DEBUG_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
707RELEASE_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 +0000708NOOPT_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
709
eric_tian623471a2009-04-14 03:20:33 +0000710 DEBUG_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
711RELEASE_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000712NOOPT_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
713
lgao46780eef2010-11-15 02:51:34 +0000714 DEBUG_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
715RELEASE_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
lgao4b36d1342011-09-18 12:17:25 +0000716NOOPT_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000717
718##################
719# X64 definitions
720##################
721*_VS2005_X64_*_DLL = DEF(VS2005_DLL)
722
723*_VS2005_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
724*_VS2005_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
725*_VS2005_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
726*_VS2005_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
727*_VS2005_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
728*_VS2005_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
729*_VS2005_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
730*_VS2005_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
731*_VS2005_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
732*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
733
734
qhuang89053bc52010-06-28 09:33:10 +0000735 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
736RELEASE_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 +0000737NOOPT_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
738
eric_tian3b6c90a2009-04-13 12:50:50 +0000739 DEBUG_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
740RELEASE_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000741NOOPT_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
742
743 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
744RELEASE_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
745NOOPT_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 +0000746
747##################
748# IPF definitions
749##################
750*_VS2005_IPF_*_DLL = DEF(VS2005_DLL)
751
752*_VS2005_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
753*_VS2005_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
754*_VS2005_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
755*_VS2005_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
756*_VS2005_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
757*_VS2005_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
758*_VS2005_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
759*_VS2005_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
760*_VS2005_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
761*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
762
763 DEBUG_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
764RELEASE_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 +0000765NOOPT_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
766
eric_tian3b6c90a2009-04-13 12:50:50 +0000767 DEBUG_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
768RELEASE_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000769NOOPT_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
770
lgao46780eef2010-11-15 02:51:34 +0000771 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
772RELEASE_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 +0000773NOOPT_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 +0000774
775##################
776# EBC definitions
777##################
778*_VS2005_EBC_*_FAMILY = INTEL
779
780*_VS2005_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
781*_VS2005_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
782*_VS2005_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
783*_VS2005_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
784*_VS2005_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
785*_VS2005_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
786
787*_VS2005_EBC_MAKE_FLAGS = /nologo
788*_VS2005_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
789*_VS2005_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
790*_VS2005_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
791*_VS2005_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000792*_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 +0000793
794####################################################################################
795#
796# Microsoft Visual Studio 2005
797#
798# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
799# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
800####################################################################################
801# VS2005xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
802*_VS2005xASL_*_*_FAMILY = MSFT
803
804*_VS2005xASL_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
805*_VS2005xASL_*_MAKE_FLAG = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000806*_VS2005xASL_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000807
808*_VS2005xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
809*_VS2005xASL_*_APP_FLAGS = /nologo /E /TC
810*_VS2005xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
811*_VS2005xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
812
qhuang814c48572010-07-21 02:46:15 +0000813*_VS2005xASL_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
814
eric_tian3b6c90a2009-04-13 12:50:50 +0000815##################
816# ASL definitions
817##################
818*_VS2005xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000819*_VS2005xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000820*_VS2005xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000821*_VS2005xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
822*_VS2005xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
823*_VS2005xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
824
825##################
826# IA32 definitions
827##################
828*_VS2005xASL_IA32_*_DLL = DEF(VS2005_DLL)
829
830*_VS2005xASL_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
831*_VS2005xASL_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
832*_VS2005xASL_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
833*_VS2005xASL_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
834*_VS2005xASL_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000835*_VS2005xASL_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
836*_VS2005xASL_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
837*_VS2005xASL_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
838*_VS2005xASL_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
839*_VS2005xASL_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
840*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
841
842 *_VS2005xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000843 DEBUG_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
844RELEASE_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 +0000845NOOPT_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
846
eric_tian3b6c90a2009-04-13 12:50:50 +0000847 DEBUG_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
848RELEASE_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000849NOOPT_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
850
851 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
852RELEASE_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
853NOOPT_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 +0000854
855##################
856# X64 definitions
857##################
858*_VS2005xASL_X64_*_DLL = DEF(VS2005_DLL)
859
860*_VS2005xASL_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
861*_VS2005xASL_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
862*_VS2005xASL_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
863*_VS2005xASL_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
864*_VS2005xASL_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
865*_VS2005xASL_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
866*_VS2005xASL_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
867*_VS2005xASL_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
868*_VS2005xASL_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
869*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
870
871
qhuang89053bc52010-06-28 09:33:10 +0000872 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
873RELEASE_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 +0000874NOOPT_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
875
eric_tian3b6c90a2009-04-13 12:50:50 +0000876 DEBUG_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
877RELEASE_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000878NOOPT_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
879
880 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
881RELEASE_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
882NOOPT_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 +0000883
884##################
885# IPF definitions
886##################
887*_VS2005xASL_IPF_*_DLL = DEF(VS2005_DLL)
888
889*_VS2005xASL_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
890*_VS2005xASL_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
891*_VS2005xASL_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
892*_VS2005xASL_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
893*_VS2005xASL_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
894*_VS2005xASL_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
895*_VS2005xASL_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
896*_VS2005xASL_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
897*_VS2005xASL_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
898*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
899
900 DEBUG_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
901RELEASE_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 +0000902NOOPT_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
903
eric_tian3b6c90a2009-04-13 12:50:50 +0000904 DEBUG_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
905RELEASE_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000906NOOPT_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
907
lgao46780eef2010-11-15 02:51:34 +0000908 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
909RELEASE_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 +0000910NOOPT_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 +0000911
912##################
913# EBC definitions
914##################
915*_VS2005xASL_EBC_*_FAMILY = INTEL
916
917*_VS2005xASL_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
918*_VS2005xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
919*_VS2005xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
920*_VS2005xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
921*_VS2005xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
922*_VS2005xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
923
924*_VS2005xASL_EBC_MAKE_FLAGS = /nologo
925*_VS2005xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
926*_VS2005xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
927*_VS2005xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
928*_VS2005xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000929*_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 +0000930
931####################################################################################
932#
933# Microsoft Visual Studio 2005 (x86)
934#
935# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
936# ASL - Intel ACPI Source Language Compiler
937####################################################################################
938# VS2005x86 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
939*_VS2005x86_*_*_FAMILY = MSFT
940
941*_VS2005x86_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
942*_VS2005x86_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000943*_VS2005x86_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000944
945*_VS2005x86_*_SLINK_FLAGS = /NOLOGO /LTCG
946*_VS2005x86_*_APP_FLAGS = /nologo /E /TC
947*_VS2005x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
948*_VS2005x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
949
qhuang814c48572010-07-21 02:46:15 +0000950*_VS2005x86_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
951
eric_tian3b6c90a2009-04-13 12:50:50 +0000952##################
953# ASL definitions
954##################
lgao4a709adf2009-12-29 06:16:53 +0000955*_VS2005x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
956*_VS2005x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
957*_VS2005x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000958*_VS2005x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
959*_VS2005x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
960*_VS2005x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
961
962##################
963# IA32 definitions
964##################
965*_VS2005x86_IA32_*_DLL = DEF(VS2005x86_DLL)
966
967*_VS2005x86_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
968*_VS2005x86_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
969*_VS2005x86_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
970*_VS2005x86_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
971*_VS2005x86_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000972*_VS2005x86_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
973*_VS2005x86_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
974*_VS2005x86_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
975*_VS2005x86_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
976*_VS2005x86_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
977*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
978
979 *_VS2005x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000980 DEBUG_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
981RELEASE_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 +0000982NOOPT_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
983
eric_tian3b6c90a2009-04-13 12:50:50 +0000984 DEBUG_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
985RELEASE_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000986NOOPT_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
987
988 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
989RELEASE_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 +0000990NOOPT_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 +0000991
992##################
993# X64 definitions
994##################
995*_VS2005x86_X64_*_DLL = DEF(VS2005x86_DLL)
996
997*_VS2005x86_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
998*_VS2005x86_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
999*_VS2005x86_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1000*_VS2005x86_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1001*_VS2005x86_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1002*_VS2005x86_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1003*_VS2005x86_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1004*_VS2005x86_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1005*_VS2005x86_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1006*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1007
1008
qhuang89053bc52010-06-28 09:33:10 +00001009 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
1010RELEASE_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 +00001011NOOPT_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1012
eric_tian3b6c90a2009-04-13 12:50:50 +00001013 DEBUG_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1014RELEASE_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001015NOOPT_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1016
1017 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
1018RELEASE_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
1019NOOPT_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 +00001020
1021##################
1022# IPF definitions
1023##################
1024*_VS2005x86_IPF_*_DLL = DEF(VS2005x86_DLL)
1025
1026*_VS2005x86_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1027*_VS2005x86_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1028*_VS2005x86_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1029*_VS2005x86_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1030*_VS2005x86_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1031*_VS2005x86_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1032*_VS2005x86_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1033*_VS2005x86_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1034*_VS2005x86_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1035*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1036
1037 DEBUG_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1038RELEASE_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 +00001039NOOPT_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1040
eric_tian3b6c90a2009-04-13 12:50:50 +00001041 DEBUG_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1042RELEASE_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001043NOOPT_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1044
lgao46780eef2010-11-15 02:51:34 +00001045 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
1046RELEASE_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 +00001047NOOPT_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
1048
eric_tian3b6c90a2009-04-13 12:50:50 +00001049##################
1050# EBC definitions
1051##################
1052*_VS2005x86_EBC_*_FAMILY = INTEL
1053
1054*_VS2005x86_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1055*_VS2005x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1056*_VS2005x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1057*_VS2005x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1058*_VS2005x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1059*_VS2005x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1060
1061*_VS2005x86_EBC_MAKE_FLAGS = /nologo
1062*_VS2005x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1063*_VS2005x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1064*_VS2005x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1065*_VS2005x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001066*_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 +00001067
1068####################################################################################
1069#
1070# Microsoft Visual Studio 2005 (x86)
1071#
1072# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1073# ASL - Microsoft ACPI Source Language Compiler
1074####################################################################################
1075# VS2005x86xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1076*_VS2005x86xASL_*_*_FAMILY = MSFT
1077
1078*_VS2005x86xASL_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1079*_VS2005x86xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001080*_VS2005x86xASL_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001081
1082*_VS2005x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1083*_VS2005x86xASL_*_APP_FLAGS = /nologo /E /TC
1084*_VS2005x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1085*_VS2005x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1086
qhuang814c48572010-07-21 02:46:15 +00001087*_VS2005x86xASL_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
1088
eric_tian3b6c90a2009-04-13 12:50:50 +00001089##################
1090# ASL definitions
1091##################
1092*_VS2005x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001093*_VS2005x86xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00001094*_VS2005x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001095*_VS2005x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1096*_VS2005x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1097*_VS2005x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1098
1099##################
1100# IA32 definitions
1101##################
1102*_VS2005x86xASL_IA32_*_DLL = DEF(VS2005x86_DLL)
1103
1104*_VS2005x86xASL_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1105*_VS2005x86xASL_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
1106*_VS2005x86xASL_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1107*_VS2005x86xASL_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
1108*_VS2005x86xASL_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001109*_VS2005x86xASL_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
1110*_VS2005x86xASL_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
1111*_VS2005x86xASL_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
1112*_VS2005x86xASL_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
1113*_VS2005x86xASL_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1114*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1115
1116 *_VS2005x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001117 DEBUG_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1118RELEASE_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 +00001119NOOPT_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1120
eric_tian3b6c90a2009-04-13 12:50:50 +00001121 DEBUG_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1122RELEASE_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001123NOOPT_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1124
1125 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
1126RELEASE_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
1127NOOPT_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 +00001128
1129##################
1130# X64 definitions
1131##################
1132*_VS2005x86xASL_X64_*_DLL = DEF(VS2005x86_DLL)
1133
1134*_VS2005x86xASL_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1135*_VS2005x86xASL_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1136*_VS2005x86xASL_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1137*_VS2005x86xASL_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1138*_VS2005x86xASL_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1139*_VS2005x86xASL_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1140*_VS2005x86xASL_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1141*_VS2005x86xASL_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1142*_VS2005x86xASL_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1143*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1144
1145
qhuang89053bc52010-06-28 09:33:10 +00001146 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
1147RELEASE_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 +00001148NOOPT_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1149
eric_tian3b6c90a2009-04-13 12:50:50 +00001150 DEBUG_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1151RELEASE_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001152NOOPT_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1153
1154 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
1155RELEASE_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
1156NOOPT_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 +00001157
1158##################
1159# IPF definitions
1160##################
1161*_VS2005x86xASL_IPF_*_DLL = DEF(VS2005x86_DLL)
1162
1163*_VS2005x86xASL_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1164*_VS2005x86xASL_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1165*_VS2005x86xASL_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1166*_VS2005x86xASL_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1167*_VS2005x86xASL_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1168*_VS2005x86xASL_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1169*_VS2005x86xASL_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1170*_VS2005x86xASL_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1171*_VS2005x86xASL_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1172*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1173
1174 DEBUG_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1175RELEASE_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 +00001176NOOPT_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1177
eric_tian3b6c90a2009-04-13 12:50:50 +00001178 DEBUG_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1179RELEASE_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001180NOOPT_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1181
lgao46780eef2010-11-15 02:51:34 +00001182 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
1183RELEASE_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 +00001184NOOPT_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 +00001185
1186##################
1187# EBC definitions
1188##################
1189*_VS2005x86xASL_EBC_*_FAMILY = INTEL
1190
1191*_VS2005x86xASL_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1192*_VS2005x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1193*_VS2005x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1194*_VS2005x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1195*_VS2005x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1196*_VS2005x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1197
1198*_VS2005x86xASL_EBC_MAKE_FLAGS = /nologo
1199*_VS2005x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1200*_VS2005x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1201*_VS2005x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1202*_VS2005x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001203*_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 +00001204
lgao452302d42010-02-28 23:39:39 +00001205
1206
1207####################################################################################
1208#
1209# Microsoft Visual Studio 2008
1210#
1211# VS2008 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1212# ASL - Intel ACPI Source Language Compiler
1213####################################################################################
1214# VS2008 - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1215*_VS2008_*_*_FAMILY = MSFT
1216
1217*_VS2008_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1218*_VS2008_*_MAKE_FLAGS = /nologo
1219*_VS2008_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1220
1221*_VS2008_*_SLINK_FLAGS = /NOLOGO /LTCG
1222*_VS2008_*_APP_FLAGS = /nologo /E /TC
1223*_VS2008_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1224*_VS2008_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1225
qhuang814c48572010-07-21 02:46:15 +00001226*_VS2008_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1227
lgao452302d42010-02-28 23:39:39 +00001228##################
1229# ASL definitions
1230##################
1231*_VS2008_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1232*_VS2008_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1233*_VS2008_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1234*_VS2008_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1235*_VS2008_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1236*_VS2008_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1237
1238##################
1239# IA32 definitions
1240##################
1241*_VS2008_IA32_*_DLL = DEF(VS2008_DLL)
1242
1243*_VS2008_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1244*_VS2008_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1245*_VS2008_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1246*_VS2008_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1247*_VS2008_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001248*_VS2008_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1249*_VS2008_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1250*_VS2008_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1251*_VS2008_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1252*_VS2008_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1253*_VS2008_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1254
1255 *_VS2008_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001256 DEBUG_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1257RELEASE_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 +00001258NOOPT_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1259
lgao452302d42010-02-28 23:39:39 +00001260 DEBUG_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1261RELEASE_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001262NOOPT_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1263
1264 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
1265RELEASE_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
1266NOOPT_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 +00001267
1268##################
1269# X64 definitions
1270##################
1271*_VS2008_X64_*_DLL = DEF(VS2008_DLL)
1272
1273*_VS2008_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1274*_VS2008_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1275*_VS2008_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1276*_VS2008_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1277*_VS2008_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1278*_VS2008_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1279*_VS2008_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1280*_VS2008_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1281*_VS2008_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1282*_VS2008_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1283
1284
qhuang89053bc52010-06-28 09:33:10 +00001285 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
1286RELEASE_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 +00001287NOOPT_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1288
lgao452302d42010-02-28 23:39:39 +00001289 DEBUG_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1290RELEASE_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001291NOOPT_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1292
1293 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
1294RELEASE_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
1295NOOPT_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 +00001296
1297##################
1298# IPF definitions
1299##################
1300*_VS2008_IPF_*_DLL = DEF(VS2008_DLL)
1301
1302*_VS2008_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1303*_VS2008_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1304*_VS2008_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1305*_VS2008_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1306*_VS2008_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1307*_VS2008_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1308*_VS2008_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1309*_VS2008_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1310*_VS2008_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1311*_VS2008_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1312
1313 DEBUG_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1314RELEASE_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 +00001315NOOPT_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1316
lgao452302d42010-02-28 23:39:39 +00001317 DEBUG_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1318RELEASE_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001319NOOPT_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1320
lgao46780eef2010-11-15 02:51:34 +00001321 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
1322RELEASE_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 +00001323NOOPT_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 +00001324
1325##################
1326# EBC definitions
1327##################
1328*_VS2008_EBC_*_FAMILY = INTEL
1329
1330*_VS2008_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1331*_VS2008_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1332*_VS2008_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1333*_VS2008_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1334*_VS2008_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1335*_VS2008_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1336
1337*_VS2008_EBC_MAKE_FLAGS = /nologo
1338*_VS2008_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1339*_VS2008_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1340*_VS2008_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1341*_VS2008_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001342*_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 +00001343
1344####################################################################################
1345#
1346# Microsoft Visual Studio 2008
1347#
1348# VS2008 - Microsoft Visual Studio 2008 All Edition, including Standard, Professional, Express, TeamSuite
1349# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1350####################################################################################
1351# VS2008xASL - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1352*_VS2008xASL_*_*_FAMILY = MSFT
1353
1354*_VS2008xASL_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1355*_VS2008xASL_*_MAKE_FLAG = /nologo
1356*_VS2008xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1357
1358*_VS2008xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1359*_VS2008xASL_*_APP_FLAGS = /nologo /E /TC
1360*_VS2008xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1361*_VS2008xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1362
qhuang814c48572010-07-21 02:46:15 +00001363*_VS2008xASL_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1364
lgao452302d42010-02-28 23:39:39 +00001365##################
1366# ASL definitions
1367##################
1368*_VS2008xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001369*_VS2008xASL_*_ASL_FLAGS =
lgao452302d42010-02-28 23:39:39 +00001370*_VS2008xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1371*_VS2008xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1372*_VS2008xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1373*_VS2008xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1374
1375##################
1376# IA32 definitions
1377##################
1378*_VS2008xASL_IA32_*_DLL = DEF(VS2008_DLL)
1379
1380*_VS2008xASL_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1381*_VS2008xASL_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1382*_VS2008xASL_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1383*_VS2008xASL_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1384*_VS2008xASL_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001385*_VS2008xASL_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1386*_VS2008xASL_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1387*_VS2008xASL_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1388*_VS2008xASL_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1389*_VS2008xASL_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1390*_VS2008xASL_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1391
1392 *_VS2008xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001393 DEBUG_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1394RELEASE_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 +00001395NOOPT_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1396
lgao452302d42010-02-28 23:39:39 +00001397 DEBUG_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1398RELEASE_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001399NOOPT_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1400
1401 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
1402RELEASE_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
1403NOOPT_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 +00001404
1405##################
1406# X64 definitions
1407##################
1408*_VS2008xASL_X64_*_DLL = DEF(VS2008_DLL)
1409
1410*_VS2008xASL_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1411*_VS2008xASL_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1412*_VS2008xASL_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1413*_VS2008xASL_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1414*_VS2008xASL_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1415*_VS2008xASL_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1416*_VS2008xASL_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1417*_VS2008xASL_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1418*_VS2008xASL_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1419*_VS2008xASL_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1420
1421
qhuang89053bc52010-06-28 09:33:10 +00001422 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
1423RELEASE_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 +00001424NOOPT_VS2008xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1425
lgao452302d42010-02-28 23:39:39 +00001426 DEBUG_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1427RELEASE_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001428NOOPT_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1429
1430 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
1431RELEASE_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
1432NOOPT_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 +00001433
1434##################
1435# IPF definitions
1436##################
1437*_VS2008xASL_IPF_*_DLL = DEF(VS2008_DLL)
1438
1439*_VS2008xASL_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1440*_VS2008xASL_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1441*_VS2008xASL_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1442*_VS2008xASL_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1443*_VS2008xASL_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1444*_VS2008xASL_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1445*_VS2008xASL_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1446*_VS2008xASL_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1447*_VS2008xASL_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1448*_VS2008xASL_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1449
1450 DEBUG_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1451RELEASE_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 +00001452NOOPT_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1453
lgao452302d42010-02-28 23:39:39 +00001454 DEBUG_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1455RELEASE_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001456NOOPT_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1457
lgao46780eef2010-11-15 02:51:34 +00001458 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
1459RELEASE_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 +00001460NOOPT_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 +00001461
1462##################
1463# EBC definitions
1464##################
1465*_VS2008xASL_EBC_*_FAMILY = INTEL
1466
1467*_VS2008xASL_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1468*_VS2008xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1469*_VS2008xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1470*_VS2008xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1471*_VS2008xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1472*_VS2008xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1473
1474*_VS2008xASL_EBC_MAKE_FLAGS = /nologo
1475*_VS2008xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1476*_VS2008xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1477*_VS2008xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1478*_VS2008xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001479*_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 +00001480
1481
1482####################################################################################
1483# VS2008x86 - Microsoft Visual Studio 2008 (x86) with Intel ASL
1484# ASL - Intel ACPI Source Language Compiler (iasl.exe)
1485####################################################################################
1486# VS2008x86 - Microsoft Visual Studio 2008 (x86) ALL Edition with Intel ASL
1487*_VS2008x86_*_*_FAMILY = MSFT
1488
1489*_VS2008x86_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001490*_VS2008x86_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001491*_VS2008x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001492
1493*_VS2008x86_*_MAKE_FLAGS = /nologo
1494*_VS2008x86_*_SLINK_FLAGS = /NOLOGO /LTCG
1495*_VS2008x86_*_APP_FLAGS = /nologo /E /TC
1496*_VS2008x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1497*_VS2008x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1498
qhuang814c48572010-07-21 02:46:15 +00001499*_VS2008x86_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1500
lgao452302d42010-02-28 23:39:39 +00001501##################
1502# ASL definitions
1503##################
1504*_VS2008x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
1505*_VS2008x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1506*_VS2008x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1507*_VS2008x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1508*_VS2008x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1509*_VS2008x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1510
1511##################
1512# IA32 definitions
1513##################
1514*_VS2008x86_IA32_*_DLL = DEF(VS2008x86_DLL)
1515
1516*_VS2008x86_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1517*_VS2008x86_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1518*_VS2008x86_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1519*_VS2008x86_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1520*_VS2008x86_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1521*_VS2008x86_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1522*_VS2008x86_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1523*_VS2008x86_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001524*_VS2008x86_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1525*_VS2008x86_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1526*_VS2008x86_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1527
1528 *_VS2008x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001529 DEBUG_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1530RELEASE_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 +00001531NOOPT_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1532
lgao46780eef2010-11-15 02:51:34 +00001533 DEBUG_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001534RELEASE_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001535NOOPT_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1536
lgao429e22e22011-09-23 06:03:45 +00001537 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
1538RELEASE_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
1539NOOPT_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 +00001540
1541##################
1542# X64 definitions
1543##################
1544*_VS2008x86_X64_*_DLL = DEF(VS2008x86_DLL)
1545
1546*_VS2008x86_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1547*_VS2008x86_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1548*_VS2008x86_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1549*_VS2008x86_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1550*_VS2008x86_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1551*_VS2008x86_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1552*_VS2008x86_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1553*_VS2008x86_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1554*_VS2008x86_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1555*_VS2008x86_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1556
lgao46780eef2010-11-15 02:51:34 +00001557 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 +00001558RELEASE_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 +00001559NOOPT_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1560
lgao452302d42010-02-28 23:39:39 +00001561 DEBUG_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1562RELEASE_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001563NOOPT_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1564
lgao429e22e22011-09-23 06:03:45 +00001565 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
1566RELEASE_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
1567NOOPT_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 +00001568
1569##################
1570# IPF definitions
1571##################
1572*_VS2008x86_IPF_*_DLL = DEF(VS2008x86_DLL)
1573
1574*_VS2008x86_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1575*_VS2008x86_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1576*_VS2008x86_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1577*_VS2008x86_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1578*_VS2008x86_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1579*_VS2008x86_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1580*_VS2008x86_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1581*_VS2008x86_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1582*_VS2008x86_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1583*_VS2008x86_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1584
1585 DEBUG_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1586RELEASE_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 +00001587NOOPT_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1588
lgao452302d42010-02-28 23:39:39 +00001589 DEBUG_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1590RELEASE_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001591NOOPT_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1592
lgao429e22e22011-09-23 06:03:45 +00001593 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
1594RELEASE_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
1595NOOPT_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 +00001596
lgao452302d42010-02-28 23:39:39 +00001597
1598####################################################################################
1599# VS2008x86xASL - Microsoft Visual Studio 2008 with Microsoft ASL
1600# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1601####################################################################################
1602*_VS2008x86xASL_*_*_FAMILY = MSFT
1603
1604*_VS2008x86xASL_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001605*_VS2008x86xASL_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001606*_VS2008x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001607
1608*_VS2008x86xASL_*_MAKE_FLAGS = /nologo
1609*_VS2008x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1610*_VS2008x86xASL_*_APP_FLAGS = /nologo /E /TC
1611*_VS2008x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1612*_VS2008x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1613
qhuang814c48572010-07-21 02:46:15 +00001614*_VS2008x86xASL_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1615
lgao452302d42010-02-28 23:39:39 +00001616##################
1617# ASL definitions
1618##################
1619*_VS2008x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
1620*_VS2008x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
1621*_VS2008x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1622*_VS2008x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1623*_VS2008x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1624*_VS2008x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1625
1626##################
1627# IA32 definitions
1628##################
1629*_VS2008x86xASL_IA32_*_DLL = DEF(VS2008x86_DLL)
1630
1631*_VS2008x86xASL_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1632*_VS2008x86xASL_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1633*_VS2008x86xASL_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1634*_VS2008x86xASL_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1635*_VS2008x86xASL_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1636*_VS2008x86xASL_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1637*_VS2008x86xASL_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1638*_VS2008x86xASL_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001639*_VS2008x86xASL_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1640*_VS2008x86xASL_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1641*_VS2008x86xASL_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1642
1643 *_VS2008x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001644 DEBUG_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1645RELEASE_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 +00001646NOOPT_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1647
lgao46780eef2010-11-15 02:51:34 +00001648 DEBUG_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001649RELEASE_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001650NOOPT_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1651
lgao429e22e22011-09-23 06:03:45 +00001652 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
1653RELEASE_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
1654NOOPT_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 +00001655
1656##################
1657# X64 definitions
1658##################
1659*_VS2008x86xASL_X64_*_DLL = DEF(VS2008x86_DLL)
1660
1661*_VS2008x86xASL_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1662*_VS2008x86xASL_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1663*_VS2008x86xASL_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1664*_VS2008x86xASL_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1665*_VS2008x86xASL_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1666*_VS2008x86xASL_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1667*_VS2008x86xASL_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1668*_VS2008x86xASL_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1669*_VS2008x86xASL_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1670*_VS2008x86xASL_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1671
lgao46780eef2010-11-15 02:51:34 +00001672 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 +00001673RELEASE_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 +00001674NOOPT_VS2008x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1675
lgao452302d42010-02-28 23:39:39 +00001676 DEBUG_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1677RELEASE_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001678NOOPT_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1679
lgao429e22e22011-09-23 06:03:45 +00001680 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
1681RELEASE_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
1682NOOPT_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 +00001683
1684##################
1685# IPF definitions
1686##################
1687*_VS2008x86xASL_IPF_*_DLL = DEF(VS2008x86_DLL)
1688
1689*_VS2008x86xASL_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1690*_VS2008x86xASL_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1691*_VS2008x86xASL_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1692*_VS2008x86xASL_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1693*_VS2008x86xASL_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1694*_VS2008x86xASL_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1695*_VS2008x86xASL_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1696*_VS2008x86xASL_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1697*_VS2008x86xASL_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1698*_VS2008x86xASL_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1699
1700 DEBUG_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1701RELEASE_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 +00001702NOOPT_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1703
lgao452302d42010-02-28 23:39:39 +00001704 DEBUG_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1705RELEASE_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001706NOOPT_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1707
lgao429e22e22011-09-23 06:03:45 +00001708 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
1709RELEASE_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
1710NOOPT_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 +00001711
1712
eric_tian3b6c90a2009-04-13 12:50:50 +00001713####################################################################################
1714#
1715# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
1716# And Intel ACPI Compiler
1717#
1718####################################################################################
1719# DDK3790 - Microsoft Windows DDK 3790.1830
1720# ASL - Intel ACPI Source Language Compiler (iasl.exe)
1721*_DDK3790_*_*_FAMILY = MSFT
1722
1723*_DDK3790_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
1724*_DDK3790_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001725*_DDK3790_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001726
1727*_DDK3790_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1728*_DDK3790_*_APP_FLAGS = /nologo /E /TC
1729*_DDK3790_*_SLINK_FLAGS = /nologo /LTCG
1730*_DDK3790_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1731
qhuang814c48572010-07-21 02:46:15 +00001732*_DDK3790_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
1733
eric_tian3b6c90a2009-04-13 12:50:50 +00001734##################
1735# ASL definitions
1736##################
lgao4a709adf2009-12-29 06:16:53 +00001737*_DDK3790_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1738*_DDK3790_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1739*_DDK3790_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001740*_DDK3790_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1741*_DDK3790_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1742*_DDK3790_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1743
1744##################
1745# IA32 definitions
1746##################
1747*_DDK3790_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
1748*_DDK3790_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
1749*_DDK3790_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001750*_DDK3790_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
1751*_DDK3790_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1752*_DDK3790_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
1753*_DDK3790_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
1754*_DDK3790_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
1755*_DDK3790_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1756*_DDK3790_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
1757
qhuang89053bc52010-06-28 09:33:10 +00001758 DEBUG_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1759RELEASE_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 +00001760NOOPT_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1761
eric_tian3b6c90a2009-04-13 12:50:50 +00001762 DEBUG_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1763RELEASE_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001764NOOPT_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1765
1766 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
1767RELEASE_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
1768NOOPT_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 +00001769
1770##################
1771# x64 definitions
1772##################
1773*_DDK3790_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
1774*_DDK3790_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
1775*_DDK3790_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1776*_DDK3790_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
1777*_DDK3790_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1778*_DDK3790_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
1779*_DDK3790_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
1780*_DDK3790_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
1781*_DDK3790_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1782*_DDK3790_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1783
qhuang89053bc52010-06-28 09:33:10 +00001784 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
1785RELEASE_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 +00001786NOOPT_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1787
eric_tian3b6c90a2009-04-13 12:50:50 +00001788 DEBUG_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1789RELEASE_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001790NOOPT_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1791
lgao46780eef2010-11-15 02:51:34 +00001792 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
1793RELEASE_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 +00001794NOOPT_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 +00001795
1796##################
1797# IPF definitions
1798##################
1799*_DDK3790_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
1800*_DDK3790_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
1801*_DDK3790_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1802*_DDK3790_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
1803*_DDK3790_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1804*_DDK3790_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
1805*_DDK3790_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
1806*_DDK3790_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
1807*_DDK3790_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1808*_DDK3790_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1809
1810
1811 DEBUG_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1812RELEASE_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 +00001813NOOPT_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1814
eric_tian3b6c90a2009-04-13 12:50:50 +00001815 DEBUG_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1816RELEASE_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001817NOOPT_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1818
lgao46780eef2010-11-15 02:51:34 +00001819 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
1820RELEASE_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 +00001821NOOPT_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 +00001822
1823##################
1824# EBC definitions
1825##################
1826*_DDK3790_EBC_*_FAMILY = INTEL
1827
1828*_DDK3790_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1829*_DDK3790_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1830*_DDK3790_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1831*_DDK3790_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1832*_DDK3790_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1833
1834*_DDK3790_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1835*_DDK3790_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001836*_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 +00001837
1838####################################################################################
1839#
1840# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
1841# And Microsoft ACPI Compiler
1842#
1843####################################################################################
1844# DDK3790xASL - Microsoft Windows DDK 3790.1830
1845# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1846*_DDK3790xASL_*_*_FAMILY = MSFT
1847
1848*_DDK3790xASL_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
1849*_DDK3790xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001850*_DDK3790xASL_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001851
1852*_DDK3790xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1853*_DDK3790xASL_*_APP_FLAGS = /nologo /E /TC
1854*_DDK3790xASL_*_SLINK_FLAGS = /nologo /LTCG
1855*_DDK3790xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1856
qhuang814c48572010-07-21 02:46:15 +00001857*_DDK3790xASL_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
1858
eric_tian3b6c90a2009-04-13 12:50:50 +00001859##################
1860# ASL definitions
1861##################
1862*_DDK3790xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001863*_DDK3790xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00001864*_DDK3790xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001865*_DDK3790xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1866*_DDK3790xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1867*_DDK3790xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1868
1869##################
1870# IA32 definitions
1871##################
1872*_DDK3790xASL_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
1873*_DDK3790xASL_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
1874*_DDK3790xASL_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001875*_DDK3790xASL_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
1876*_DDK3790xASL_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1877*_DDK3790xASL_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
1878*_DDK3790xASL_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
1879*_DDK3790xASL_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
1880*_DDK3790xASL_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
1881*_DDK3790xASL_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
1882
qhuang89053bc52010-06-28 09:33:10 +00001883 DEBUG_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1884RELEASE_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 +00001885NOOPT_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1886
eric_tian3b6c90a2009-04-13 12:50:50 +00001887 DEBUG_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1888RELEASE_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001889NOOPT_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
1890
1891 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
1892RELEASE_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
1893NOOPT_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 +00001894
1895##################
1896# x64 definitions
1897##################
1898*_DDK3790xASL_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
1899*_DDK3790xASL_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
1900*_DDK3790xASL_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1901*_DDK3790xASL_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
1902*_DDK3790xASL_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1903*_DDK3790xASL_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
1904*_DDK3790xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
1905*_DDK3790xASL_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
1906*_DDK3790xASL_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
1907*_DDK3790xASL_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
1908
qhuang89053bc52010-06-28 09:33:10 +00001909 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
1910RELEASE_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 +00001911NOOPT_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1912
eric_tian3b6c90a2009-04-13 12:50:50 +00001913 DEBUG_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1914RELEASE_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001915NOOPT_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1916
lgao46780eef2010-11-15 02:51:34 +00001917 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
1918RELEASE_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 +00001919NOOPT_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 +00001920
1921##################
1922# IPF definitions
1923##################
1924*_DDK3790xASL_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
1925*_DDK3790xASL_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
1926*_DDK3790xASL_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1927*_DDK3790xASL_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
1928*_DDK3790xASL_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1929*_DDK3790xASL_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
1930*_DDK3790xASL_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
1931*_DDK3790xASL_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
1932*_DDK3790xASL_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
1933*_DDK3790xASL_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
1934
1935
1936 DEBUG_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1937RELEASE_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 +00001938NOOPT_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1939
eric_tian3b6c90a2009-04-13 12:50:50 +00001940 DEBUG_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1941RELEASE_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001942NOOPT_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1943
lgao46780eef2010-11-15 02:51:34 +00001944 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
1945RELEASE_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 +00001946NOOPT_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 +00001947
1948##################
1949# EBC definitions
1950##################
1951*_DDK3790xASL_EBC_*_FAMILY = INTEL
1952
1953*_DDK3790xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1954*_DDK3790xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1955*_DDK3790xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1956*_DDK3790xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1957*_DDK3790xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1958
1959*_DDK3790xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1960*_DDK3790xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001961*_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 +00001962
1963
1964####################################################################################
1965# GCC Common
1966####################################################################################
1967
1968*_*_*_OBJCOPY_PATH = echo
1969*_*_*_OBJCOPY_FLAGS = objcopy not needed for
1970*_*_*_SYMRENAME_PATH = echo
1971*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
lgao40d2711a2011-10-29 06:59:30 +00001972DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
1973RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
eric_tian3b6c90a2009-04-13 12:50:50 +00001974
lgao452302d42010-02-28 23:39:39 +00001975DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h
qhuang89053bc52010-06-28 09:33:10 +00001976DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
1977DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe
eric_tian3b6c90a2009-04-13 12:50:50 +00001978DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency
lgao479b74a02011-10-11 02:49:48 +00001979DEFINE 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 +00001980DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie
lgao4a709adf2009-12-29 06:16:53 +00001981DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
eric_tian3b6c90a2009-04-13 12:50:50 +00001982DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
1983DEFINE 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
1984DEFINE 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
1985DEFINE GCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64
1986DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem
1987DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
1988DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
1989DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00001990DEFINE GCC_ASLPP_FLAGS = -x c -E -P
1991DEFINE GCC_ASLCC_FLAGS = -x c
1992DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
1993DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
1994DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
1995DEFINE GCC_IPF_RC_FLAGS = -I binary -O elf64-ia64-little -B ia64 --rename-section .data=.hii
1996
lgao452302d42010-02-28 23:39:39 +00001997DEFINE 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 +00001998DEFINE GCC44_IA32_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m32 -malign-double -D EFI32
lgao46780eef2010-11-15 02:51:34 +00001999DEFINE 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 +00002000DEFINE 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 +00002001DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) --entry ReferenceAcpiTable -u ReferenceAcpiTable
2002DEFINE 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 +00002003DEFINE GCC44_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -melf_x86_64 --oformat=elf64-x86-64
lgao4a709adf2009-12-29 06:16:53 +00002004DEFINE GCC44_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002005
lgao46780eef2010-11-15 02:51:34 +00002006DEFINE GCC45_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS)
2007DEFINE GCC45_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
2008DEFINE GCC45_IA32_X64_DLINK_COMMON = DEF(GCC44_IA32_X64_DLINK_COMMON)
2009DEFINE GCC45_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS)
2010DEFINE GCC45_IA32_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS)
2011DEFINE GCC45_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
2012DEFINE GCC45_ASM_FLAGS = DEF(GCC44_ASM_FLAGS)
2013
eric_tian3b6c90a2009-04-13 12:50:50 +00002014####################################################################################
2015#
2016# Unix GCC And Intel Linux ACPI Compiler
2017#
2018####################################################################################
2019# UNIXGCC - UNIX GCC
2020# ASL - Intel Linux ACPI Source Language Compiler (iasl)
2021*_UNIXGCC_*_*_FAMILY = GCC
eric_tian3b6c90a2009-04-13 12:50:50 +00002022
lgao4a709adf2009-12-29 06:16:53 +00002023*_UNIXGCC_*_MAKE_PATH = make
eric_tian3b6c90a2009-04-13 12:50:50 +00002024*_UNIXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00002025
lgao4636f2be2010-03-12 10:54:01 +00002026*_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
2027*_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00002028*_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2029*_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2030*_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
2031*_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2032*_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2033*_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2034*_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002035*_UNIXGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002036*_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00002037*_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002038
2039##################
2040# IA32 definitions
2041##################
lgao4a709adf2009-12-29 06:16:53 +00002042*_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
jljusten726d5a82009-08-15 05:05:00 +00002043*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2044*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2045*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
2046*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
2047*_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2048*_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2049*_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
2050*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
2051*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00002052*_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002053
lgao4a709adf2009-12-29 06:16:53 +00002054*_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2055*_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
2056*_UNIXGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002057
2058##################
2059# X64 definitions
2060##################
jljusten726d5a82009-08-15 05:05:00 +00002061*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2062*_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2063*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
2064*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
2065*_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
2066*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2067*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2068*_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
2069*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00002070*_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
lgao452302d42010-02-28 23:39:39 +00002071*_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002072
lgao4a709adf2009-12-29 06:16:53 +00002073*_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2074*_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao452302d42010-02-28 23:39:39 +00002075*_UNIXGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002076
2077##################
2078# IPF definitions
2079##################
jljusten726d5a82009-08-15 05:05:00 +00002080*_UNIXGCC_IPF_CC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2081*_UNIXGCC_IPF_ASLCC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2082*_UNIXGCC_IPF_SLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ar
2083*_UNIXGCC_IPF_DLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
2084*_UNIXGCC_IPF_ASLDLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
2085*_UNIXGCC_IPF_ASM_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2086*_UNIXGCC_IPF_PP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2087*_UNIXGCC_IPF_ASLPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2088*_UNIXGCC_IPF_VFRPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
2089*_UNIXGCC_IPF_OBJCOPY_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
2090*_UNIXGCC_IPF_SYMRENAME_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002091*_UNIXGCC_IPF_RC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002092
lgao4a709adf2009-12-29 06:16:53 +00002093*_UNIXGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2094*_UNIXGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2095*_UNIXGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2096*_UNIXGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2097*_UNIXGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
2098
2099
2100####################################################################################
2101#
2102# GCC 4.4 - This configuration is used to compile under Linux to produce
2103# PE/COFF binaries using GCC 4.4.
2104#
2105####################################################################################
2106*_GCC44_*_*_FAMILY = GCC
2107
2108*_GCC44_*_MAKE_PATH = make
2109*_GCC44_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2110
2111*_GCC44_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2112*_GCC44_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2113*_GCC44_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2114*_GCC44_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002115*_GCC44_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002116*_GCC44_*_ASL_FLAGS = DEF(IASL_FLAGS)
2117*_GCC44_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2118
2119##################
2120# GCC44 IA32 definitions
2121##################
lgao4da92f272011-05-11 10:26:49 +00002122*_GCC44_IA32_OBJCOPY_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00002123*_GCC44_IA32_CC_PATH = DEF(GCC44_IA32_PREFIX)gcc
2124*_GCC44_IA32_SLINK_PATH = DEF(GCC44_IA32_PREFIX)ar
2125*_GCC44_IA32_DLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
2126*_GCC44_IA32_ASLDLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
2127*_GCC44_IA32_ASM_PATH = DEF(GCC44_IA32_PREFIX)gcc
2128*_GCC44_IA32_PP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2129*_GCC44_IA32_VFRPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2130*_GCC44_IA32_ASLCC_PATH = DEF(GCC44_IA32_PREFIX)gcc
2131*_GCC44_IA32_ASLPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
2132*_GCC44_IA32_RC_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00002133
2134*_GCC44_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2135*_GCC44_IA32_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2136*_GCC44_IA32_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m32 --32 -march=i386
lgao452302d42010-02-28 23:39:39 +00002137*_GCC44_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS) -Os
lgao4a709adf2009-12-29 06:16:53 +00002138*_GCC44_IA32_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2139*_GCC44_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002140*_GCC44_IA32_OBJCOPY_FLAGS =
lgao452302d42010-02-28 23:39:39 +00002141
lgao440d841f2010-05-18 05:04:32 +00002142##################
2143# GCC44 X64 definitions
2144##################
lgao4da92f272011-05-11 10:26:49 +00002145*_GCC44_X64_OBJCOPY_PATH = DEF(GCC44_X64_PREFIX)objcopy
lgao440d841f2010-05-18 05:04:32 +00002146*_GCC44_X64_CC_PATH = DEF(GCC44_X64_PREFIX)gcc
2147*_GCC44_X64_SLINK_PATH = DEF(GCC44_X64_PREFIX)ar
2148*_GCC44_X64_DLINK_PATH = DEF(GCC44_X64_PREFIX)ld
2149*_GCC44_X64_ASLDLINK_PATH = DEF(GCC44_X64_PREFIX)ld
2150*_GCC44_X64_ASM_PATH = DEF(GCC44_X64_PREFIX)gcc
2151*_GCC44_X64_PP_PATH = DEF(GCC44_X64_PREFIX)gcc
2152*_GCC44_X64_VFRPP_PATH = DEF(GCC44_X64_PREFIX)gcc
2153*_GCC44_X64_ASLCC_PATH = DEF(GCC44_X64_PREFIX)gcc
2154*_GCC44_X64_ASLPP_PATH = DEF(GCC44_X64_PREFIX)gcc
2155*_GCC44_X64_RC_PATH = DEF(GCC44_X64_PREFIX)objcopy
2156
2157*_GCC44_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2158*_GCC44_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2159*_GCC44_X64_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m64 --64 -melf_x86_64
lgao46780eef2010-11-15 02:51:34 +00002160*_GCC44_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
lgao440d841f2010-05-18 05:04:32 +00002161*_GCC44_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
2162*_GCC44_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002163*_GCC44_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002164
2165####################################################################################
2166#
lgao46780eef2010-11-15 02:51:34 +00002167# GCC 4.5 - This configuration is used to compile under Linux to produce
2168# PE/COFF binaries using GCC 4.5.
2169#
2170####################################################################################
2171*_GCC45_*_*_FAMILY = GCC
2172
2173*_GCC45_*_MAKE_PATH = make
2174*_GCC45_*_ASL_PATH = DEF(UNIX_IASL_BIN)
2175
2176*_GCC45_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2177*_GCC45_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2178*_GCC45_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2179*_GCC45_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
2180*_GCC45_*_APP_FLAGS =
2181*_GCC45_*_ASL_FLAGS = DEF(IASL_FLAGS)
2182*_GCC45_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
2183
2184##################
2185# GCC45 IA32 definitions
2186##################
lgao4da92f272011-05-11 10:26:49 +00002187*_GCC45_IA32_OBJCOPY_PATH = DEF(GCC45_IA32_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00002188*_GCC45_IA32_CC_PATH = DEF(GCC45_IA32_PREFIX)gcc
2189*_GCC45_IA32_SLINK_PATH = DEF(GCC45_IA32_PREFIX)ar
2190*_GCC45_IA32_DLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
2191*_GCC45_IA32_ASLDLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
2192*_GCC45_IA32_ASM_PATH = DEF(GCC45_IA32_PREFIX)gcc
2193*_GCC45_IA32_PP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2194*_GCC45_IA32_VFRPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2195*_GCC45_IA32_ASLCC_PATH = DEF(GCC45_IA32_PREFIX)gcc
2196*_GCC45_IA32_ASLPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
2197*_GCC45_IA32_RC_PATH = DEF(GCC45_IA32_PREFIX)objcopy
2198
2199*_GCC45_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
2200*_GCC45_IA32_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
2201*_GCC45_IA32_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m32 --32 -march=i386
2202*_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Os
2203*_GCC45_IA32_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
2204*_GCC45_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002205*_GCC45_IA32_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00002206
2207##################
2208# GCC45 X64 definitions
2209##################
lgao4da92f272011-05-11 10:26:49 +00002210*_GCC45_X64_OBJCOPY_PATH = DEF(GCC45_X64_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00002211*_GCC45_X64_CC_PATH = DEF(GCC45_X64_PREFIX)gcc
2212*_GCC45_X64_SLINK_PATH = DEF(GCC45_X64_PREFIX)ar
2213*_GCC45_X64_DLINK_PATH = DEF(GCC45_X64_PREFIX)ld
2214*_GCC45_X64_ASLDLINK_PATH = DEF(GCC45_X64_PREFIX)ld
2215*_GCC45_X64_ASM_PATH = DEF(GCC45_X64_PREFIX)gcc
2216*_GCC45_X64_PP_PATH = DEF(GCC45_X64_PREFIX)gcc
2217*_GCC45_X64_VFRPP_PATH = DEF(GCC45_X64_PREFIX)gcc
2218*_GCC45_X64_ASLCC_PATH = DEF(GCC45_X64_PREFIX)gcc
2219*_GCC45_X64_ASLPP_PATH = DEF(GCC45_X64_PREFIX)gcc
2220*_GCC45_X64_RC_PATH = DEF(GCC45_X64_PREFIX)objcopy
2221
2222*_GCC45_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
2223*_GCC45_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
2224*_GCC45_X64_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m64 --64 -melf_x86_64
2225*_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS)
2226*_GCC45_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS)
2227*_GCC45_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00002228*_GCC45_X64_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00002229
2230####################################################################################
2231#
eric_tian3b6c90a2009-04-13 12:50:50 +00002232# Cygwin GCC And Intel ACPI Compiler
2233#
2234####################################################################################
2235# CYGGCC - CygWin GCC
2236# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2237*_CYGGCC_*_*_FAMILY = GCC
2238
2239*_CYGGCC_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00002240*_CYGGCC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao4a709adf2009-12-29 06:16:53 +00002241*_CYGGCC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002242
lgao4636f2be2010-03-12 10:54:01 +00002243*_CYGGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
2244*_CYGGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00002245*_CYGGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2246*_CYGGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
2247*_CYGGCC_*_MAKE_FLAGS = /nologo
lgao46780eef2010-11-15 02:51:34 +00002248*_CYGGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
lgao4a709adf2009-12-29 06:16:53 +00002249*_CYGGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
2250*_CYGGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
2251*_CYGGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
2252*_CYGGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00002253*_CYGGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00002254*_CYGGCC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2255*_CYGGCC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002256
2257##################
2258# IA32 definitions
2259##################
lgao4b303ea72009-11-09 11:47:35 +00002260*_CYGGCC_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
2261*_CYGGCC_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
2262*_CYGGCC_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
2263*_CYGGCC_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
2264*_CYGGCC_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
2265*_CYGGCC_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
2266*_CYGGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
2267*_CYGGCC_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
2268*_CYGGCC_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
2269*_CYGGCC_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00002270*_CYGGCC_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
lgao4636f2be2010-03-12 10:54:01 +00002271*_CYGGCC_IA32_OBJCOPY_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002272
lgao4a709adf2009-12-29 06:16:53 +00002273*_CYGGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2274*_CYGGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00002275*_CYGGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002276
2277##################
2278# X64 definitions
2279##################
jljusten726d5a82009-08-15 05:05:00 +00002280*_CYGGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
2281*_CYGGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
2282*_CYGGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
2283*_CYGGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
2284*_CYGGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
2285*_CYGGCC_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
2286*_CYGGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
2287*_CYGGCC_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
2288*_CYGGCC_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
2289*_CYGGCC_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00002290*_CYGGCC_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
lgao4636f2be2010-03-12 10:54:01 +00002291*_CYGGCC_X64_OBJCOPY_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002292
lgao4a709adf2009-12-29 06:16:53 +00002293*_CYGGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2294*_CYGGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00002295*_CYGGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002296
2297##################
2298# IPF definitions
2299##################
2300*_CYGGCC_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
2301*_CYGGCC_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
2302*_CYGGCC_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
2303*_CYGGCC_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
2304*_CYGGCC_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
2305*_CYGGCC_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
2306*_CYGGCC_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
2307*_CYGGCC_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
2308*_CYGGCC_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
2309*_CYGGCC_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
2310*_CYGGCC_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002311*_CYGGCC_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002312
lgao4a709adf2009-12-29 06:16:53 +00002313*_CYGGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2314*_CYGGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2315*_CYGGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2316*_CYGGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2317*_CYGGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002318
2319##################
2320# EBC definitions
2321##################
2322*_CYGGCC_EBC_*_FAMILY = INTEL
2323
2324*_CYGGCC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2325*_CYGGCC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2326*_CYGGCC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2327*_CYGGCC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2328*_CYGGCC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00002329*_CYGGCC_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002330
2331*_CYGGCC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2332*_CYGGCC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002333*_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 +00002334
2335####################################################################################
2336#
2337# Cygwin GCC And Microsoft ACPI Compiler
2338#
2339####################################################################################
2340# CYGGCCxASL - CygWin GCC
2341# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2342*_CYGGCCxASL_*_*_FAMILY = GCC
2343
2344*_CYGGCCxASL_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00002345*_CYGGCCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002346
2347*_CYGGCCxASL_*_MAKE_FLAGS = /nologo
2348*_CYGGCCxASL_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
2349*_CYGGCCxASL_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20
2350*_CYGGCCxASL_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
2351*_CYGGCCxASL_*_APP_FLAGS = -E -x assembler
2352*_CYGGCCxASL_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
2353
2354##################
2355# ASL definitions
2356##################
2357*_CYGGCCxASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00002358*_CYGGCCxASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00002359*_CYGGCCxASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002360*_CYGGCCxASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2361*_CYGGCCxASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2362*_CYGGCCxASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2363
2364##################
2365# IA32 definitions
2366##################
lgao4b303ea72009-11-09 11:47:35 +00002367*_CYGGCCxASL_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
2368*_CYGGCCxASL_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
2369*_CYGGCCxASL_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
2370*_CYGGCCxASL_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
2371*_CYGGCCxASL_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
2372*_CYGGCCxASL_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
2373*_CYGGCCxASL_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
2374*_CYGGCCxASL_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
2375*_CYGGCCxASL_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
2376*_CYGGCCxASL_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00002377*_CYGGCCxASL_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002378
lgao4a709adf2009-12-29 06:16:53 +00002379*_CYGGCCxASL_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
2380*_CYGGCCxASL_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002381
2382##################
2383# X64 definitions
2384##################
jljusten726d5a82009-08-15 05:05:00 +00002385*_CYGGCCxASL_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
2386*_CYGGCCxASL_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
2387*_CYGGCCxASL_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
2388*_CYGGCCxASL_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
2389*_CYGGCCxASL_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
2390*_CYGGCCxASL_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
2391*_CYGGCCxASL_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
2392*_CYGGCCxASL_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
2393*_CYGGCCxASL_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
2394*_CYGGCCxASL_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00002395*_CYGGCCxASL_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002396
lgao4a709adf2009-12-29 06:16:53 +00002397*_CYGGCCxASL_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
2398*_CYGGCCxASL_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002399
2400##################
2401# IPF definitions
2402##################
2403*_CYGGCCxASL_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
2404*_CYGGCCxASL_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
2405*_CYGGCCxASL_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
2406*_CYGGCCxASL_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
2407*_CYGGCCxASL_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
2408*_CYGGCCxASL_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
2409*_CYGGCCxASL_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
2410*_CYGGCCxASL_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
2411*_CYGGCCxASL_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
2412*_CYGGCCxASL_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
2413*_CYGGCCxASL_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00002414*_CYGGCCxASL_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002415
lgao4a709adf2009-12-29 06:16:53 +00002416*_CYGGCCxASL_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
2417*_CYGGCCxASL_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
2418*_CYGGCCxASL_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
2419*_CYGGCCxASL_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
2420*_CYGGCCxASL_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002421
2422##################
2423# EBC definitions
2424##################
2425*_CYGGCCxASL_EBC_*_FAMILY = INTEL
2426
2427*_CYGGCCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2428*_CYGGCCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2429*_CYGGCCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2430*_CYGGCCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2431*_CYGGCCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00002432*_CYGGCCxASL_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002433
2434*_CYGGCCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2435*_CYGGCCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002436*_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 +00002437
2438####################################################################################
2439#
2440# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
2441# binaries.
2442#
2443####################################################################################
2444# ELFGCC - Linux ELF GCC
2445*_ELFGCC_*_*_FAMILY = GCC
2446*_ELFGCC_*_MAKE_PATH = make
2447
2448*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
2449*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
2450
2451##################
2452# ASL definitions
2453##################
2454*_ELFGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00002455*_ELFGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00002456*_ELFGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002457*_ELFGCC_*_ASLPP_FLAGS = -x c -E -P
2458*_ELFGCC_*_ASLCC_FLAGS = -x c
lgao4a709adf2009-12-29 06:16:53 +00002459*_ELFGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
eric_tian3b6c90a2009-04-13 12:50:50 +00002460
2461##################
2462# IA32 definitions
2463##################
lgao4a709adf2009-12-29 06:16:53 +00002464*_ELFGCC_IA32_OBJCOPY_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002465*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc
2466*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar
2467*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld
2468*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc
2469*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc
2470*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
2471*_ELFGCC32_IA32_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
2472*_ELFGCC32_IA32_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
2473*_ELFGCC32_IA32_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
lgao4b303ea72009-11-09 11:47:35 +00002474*_ELFGCC_IA32_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002475
2476*_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
2477*_ELFGCC_IA32_SLINK_FLAGS =
lgao40d2711a2011-10-29 06:59:30 +00002478*_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 +00002479#*_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 +00002480*_ELFGCC_IA32_ASM_FLAGS = -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
eric_tian3b6c90a2009-04-13 12:50:50 +00002481*_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2482*_ELFGCC_IA32_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002483*_ELFGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
2484*_ELFGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00002485
2486##################
2487# X64 definitions
2488##################
2489*_ELFGCC_X64_CC_PATH = DEF(ELFGCC_BIN)/gcc
2490*_ELFGCC_X64_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
2491*_ELFGCC_X64_SLINK_PATH = DEF(ELFGCC_BIN)/ar
2492*_ELFGCC_X64_DLINK_PATH = DEF(ELFGCC_BIN)/ld
2493*_ELFGCC_X64_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
2494*_ELFGCC_X64_ASM_PATH = DEF(ELFGCC_BIN)/gcc
2495*_ELFGCC_X64_PP_PATH = DEF(ELFGCC_BIN)/gcc
2496*_ELFGCC_X64_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
2497*_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00002498*_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002499
2500*_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 +00002501*_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 +00002502*_ELFGCC_X64_SLINK_FLAGS =
2503*_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
2504*_ELFGCC_X64_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2505*_ELFGCC_X64_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002506*_ELFGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002507
2508##################
2509# IPF definitions
2510##################
2511*_ELFGCC_IPF_CC_PATH = DEF(ELFGCC_BIN)/gcc
2512*_ELFGCC_IPF_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
2513*_ELFGCC_IPF_SLINK_PATH = DEF(ELFGCC_BIN)/ar
2514*_ELFGCC_IPF_DLINK_PATH = DEF(ELFGCC_BIN)/ld
2515*_ELFGCC_IPF_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
2516*_ELFGCC_IPF_ASM_PATH = DEF(ELFGCC_BIN)/gcc
2517*_ELFGCC_IPF_PP_PATH = DEF(ELFGCC_BIN)/gcc
2518*_ELFGCC_IPF_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
2519*_ELFGCC_IPF_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00002520*_ELFGCC_IPF_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00002521
2522*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -Werror -c -include AutoGen.h -D_EFI_P64
lgao40d2711a2011-10-29 06:59:30 +00002523*_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 +00002524*_ELFGCC_IPF_SLINK_FLAGS =
2525*_ELFGCC_IPF_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
2526*_ELFGCC_IPF_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
2527*_ELFGCC_IPF_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00002528*_ELFGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002529
2530####################################################################################
2531#
jljusten07a756b2007-10-17 01:54:36 +00002532# Intel(R) C++ Compiler Version 9.1
2533#
2534# 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 +00002535# ASL - Intel ACPI Source Language Compiler
jljusten07a756b2007-10-17 01:54:36 +00002536#
2537####################################################################################
2538# ICC - Intel C Compiler V9.1
2539*_ICC_*_*_FAMILY = INTEL
2540
lgao4b303ea72009-11-09 11:47:35 +00002541*_ICC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2542*_ICC_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00002543
2544*_ICC_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00002545*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00002546*_ICC_*_APP_FLAGS = /nologo /E /TC
2547*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2548
qhuang814c48572010-07-21 02:46:15 +00002549*_ICC_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
2550
eric_tian3b6c90a2009-04-13 12:50:50 +00002551##################
2552# ASL definitions
2553##################
lgao4a709adf2009-12-29 06:16:53 +00002554*_ICC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2555*_ICC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2556*_ICC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002557*_ICC_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2558*_ICC_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2559*_ICC_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
lgao4a1c949f2008-08-21 13:11:01 +00002560
jljusten07a756b2007-10-17 01:54:36 +00002561##################
2562# IA32 definitions
2563##################
jljusten07a756b2007-10-17 01:54:36 +00002564*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
2565*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
2566# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002567*_ICC_IA32_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00002568*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002569*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
2570*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
2571*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00002572*_ICC_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
2573*_ICC_IA32_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00002574*_ICC_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
2575*_ICC_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
2576*_ICC_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002577
qhuang89053bc52010-06-28 09:33:10 +00002578 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
2579RELEASE_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 +00002580NOOPT_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
2581
lhauch7e6ae4d2007-11-28 01:20:03 +00002582 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2583RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00002584NOOPT_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2585
jljusten07a756b2007-10-17 01:54:36 +00002586 *_ICC_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00002587 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
2588RELEASE_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
2589NOOPT_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 +00002590
2591##################
2592# X64 definitions
2593##################
jljusten07a756b2007-10-17 01:54:36 +00002594*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
2595*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
2596# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002597*_ICC_X64_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00002598*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002599*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
2600*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
2601*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
2602*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00002603*_ICC_X64_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00002604*_ICC_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
2605*_ICC_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
2606*_ICC_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002607
qhuang89053bc52010-06-28 09:33:10 +00002608 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
2609RELEASE_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 +00002610NOOPT_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
2611
lhauch7e6ae4d2007-11-28 01:20:03 +00002612 DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2613RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002614NOOPT_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2615
2616 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
2617RELEASE_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
2618NOOPT_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
2619
jljusten07a756b2007-10-17 01:54:36 +00002620 *_ICC_X64_SLINK_FLAGS = /nologo /LTCG
2621
2622
2623##################
2624# IPF definitions
2625##################
2626*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
2627# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002628*_ICC_IPF_CC_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00002629*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
2630# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002631*_ICC_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
jljusten07a756b2007-10-17 01:54:36 +00002632*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002633*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
2634*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
jljusten07a756b2007-10-17 01:54:36 +00002635*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
2636*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00002637*_ICC_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
2638*_ICC_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
2639*_ICC_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00002640
qhuang88e2978b2009-09-01 15:03:44 +00002641 DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2642RELEASE_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 +00002643NOOPT_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2644
jljusten07a756b2007-10-17 01:54:36 +00002645 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2646RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00002647NOOPT_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2648
lgao46780eef2010-11-15 02:51:34 +00002649 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
2650RELEASE_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 +00002651NOOPT_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
2652
jljusten07a756b2007-10-17 01:54:36 +00002653 *_ICC_IPF_SLINK_FLAGS = /nologo
2654
eric_tian3b6c90a2009-04-13 12:50:50 +00002655##################
2656# EBC definitions
2657##################
2658*_ICC_EBC_*_FAMILY = INTEL
2659
lgao4b303ea72009-11-09 11:47:35 +00002660*_ICC_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002661*_ICC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2662*_ICC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2663*_ICC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2664*_ICC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2665*_ICC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2666
2667*_ICC_EBC_MAKE_FLAGS = /nologo
2668*_ICC_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2669*_ICC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2670*_ICC_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2671*_ICC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002672*_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 +00002673
2674####################################################################################
2675#
2676# Intel(R) C++ Compiler Version 9.1
2677#
2678# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
2679# ASL - Microsoft ACPI Source Language Compiler
2680#
2681####################################################################################
2682# ICCxASL - Intel C Compiler V9.1
2683*_ICCxASL_*_*_FAMILY = INTEL
2684
lgao4b303ea72009-11-09 11:47:35 +00002685*_ICCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2686*_ICCxASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002687
2688*_ICCxASL_*_MAKE_FLAGS = /nologo
2689*_ICCxASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2690*_ICCxASL_*_APP_FLAGS = /nologo /E /TC
2691*_ICCxASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2692
qhuang814c48572010-07-21 02:46:15 +00002693*_ICCxASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
2694
eric_tian3b6c90a2009-04-13 12:50:50 +00002695##################
2696# ASL definitions
2697##################
lgao4a709adf2009-12-29 06:16:53 +00002698*_ICCxASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2699*_ICCxASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2700*_ICCxASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002701*_ICCxASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2702*_ICCxASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2703*_ICCxASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
2704
2705##################
2706# IA32 definitions
2707##################
2708*_ICCxASL_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
2709*_ICCxASL_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
2710# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002711*_ICCxASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002712*_ICCxASL_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002713*_ICCxASL_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
2714*_ICCxASL_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
2715*_ICCxASL_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00002716*_ICCxASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
2717*_ICCxASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002718*_ICCxASL_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
2719*_ICCxASL_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
2720*_ICCxASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
2721
qhuang89053bc52010-06-28 09:33:10 +00002722 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
2723RELEASE_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 +00002724NOOPT_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
2725
eric_tian3b6c90a2009-04-13 12:50:50 +00002726 DEBUG_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2727RELEASE_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00002728NOOPT_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2729
eric_tian3b6c90a2009-04-13 12:50:50 +00002730 *_ICCxASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00002731 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
2732RELEASE_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
2733NOOPT_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 +00002734
2735##################
2736# X64 definitions
2737##################
2738*_ICCxASL_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
2739*_ICCxASL_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
2740# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002741*_ICCxASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002742*_ICCxASL_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
2743*_ICCxASL_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
2744*_ICCxASL_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
2745*_ICCxASL_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
2746*_ICCxASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00002747*_ICCxASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002748*_ICCxASL_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
2749*_ICCxASL_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
2750*_ICCxASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
2751
qhuang89053bc52010-06-28 09:33:10 +00002752 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
2753RELEASE_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 +00002754NOOPT_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
2755
eric_tian3b6c90a2009-04-13 12:50:50 +00002756 DEBUG_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2757RELEASE_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002758NOOPT_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2759
2760 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
2761RELEASE_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
2762NOOPT_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
2763
eric_tian3b6c90a2009-04-13 12:50:50 +00002764 *_ICCxASL_X64_SLINK_FLAGS = /nologo /LTCG
2765
2766
2767##################
2768# IPF definitions
2769##################
2770*_ICCxASL_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
2771# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002772*_ICCxASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002773*_ICCxASL_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
2774# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00002775*_ICCxASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002776*_ICCxASL_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
2777*_ICCxASL_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
2778*_ICCxASL_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
2779*_ICCxASL_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
2780*_ICCxASL_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
2781*_ICCxASL_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
2782*_ICCxASL_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
2783*_ICCxASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
2784
qhuang88e2978b2009-09-01 15:03:44 +00002785 DEBUG_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2786RELEASE_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 +00002787NOOPT_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2788
eric_tian3b6c90a2009-04-13 12:50:50 +00002789 DEBUG_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2790RELEASE_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00002791NOOPT_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2792
lgao46780eef2010-11-15 02:51:34 +00002793 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
2794RELEASE_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 +00002795NOOPT_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
2796
eric_tian3b6c90a2009-04-13 12:50:50 +00002797 *_ICCxASL_IPF_SLINK_FLAGS = /nologo
2798
2799##################
2800# EBC definitions
2801##################
2802*_ICCxASL_EBC_*_FAMILY = INTEL
2803
lgao4b303ea72009-11-09 11:47:35 +00002804*_ICCxASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002805*_ICCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2806*_ICCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2807*_ICCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2808*_ICCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2809*_ICCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2810
2811*_ICCxASL_EBC_MAKE_FLAGS = /nologo
2812*_ICCxASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2813*_ICCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2814*_ICCxASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2815*_ICCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002816*_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 +00002817
2818
2819####################################################################################
2820#
2821# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
2822#
2823# ICCx86 - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
2824# ASL - Intel ACPI Source Language Compiler
2825#
2826####################################################################################
2827# ICCx86 - Intel C Compiler V9.1
2828*_ICCx86_*_*_FAMILY = INTEL
2829
lgao4b36d1342011-09-18 12:17:25 +00002830*_ICCx86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2831*_ICCx86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002832
2833*_ICCx86_*_MAKE_FLAGS = /nologo
2834*_ICCx86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2835*_ICCx86_*_APP_FLAGS = /nologo /E /TC
2836*_ICCx86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2837
lgao4b36d1342011-09-18 12:17:25 +00002838*_ICCx86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00002839
eric_tian3b6c90a2009-04-13 12:50:50 +00002840##################
2841# ASL definitions
2842##################
lgao4a709adf2009-12-29 06:16:53 +00002843*_ICCx86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2844*_ICCx86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2845*_ICCx86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002846*_ICCx86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2847*_ICCx86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2848*_ICCx86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
2849
2850##################
2851# IA32 definitions
2852##################
2853*_ICCx86_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
2854*_ICCx86_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
2855# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002856*_ICCx86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002857*_ICCx86_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002858*_ICCx86_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
2859*_ICCx86_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
2860*_ICCx86_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00002861*_ICCx86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
2862*_ICCx86_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002863*_ICCx86_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
2864*_ICCx86_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
2865*_ICCx86_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
2866
qhuang89053bc52010-06-28 09:33:10 +00002867 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
2868RELEASE_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 +00002869NOOPT_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
2870
eric_tian3b6c90a2009-04-13 12:50:50 +00002871 DEBUG_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2872RELEASE_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00002873NOOPT_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
2874
eric_tian3b6c90a2009-04-13 12:50:50 +00002875 *_ICCx86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00002876 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
2877RELEASE_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
2878NOOPT_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 +00002879
2880##################
2881# X64 definitions
2882##################
2883*_ICCx86_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
2884*_ICCx86_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
2885# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002886*_ICCx86_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002887*_ICCx86_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
2888*_ICCx86_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
2889*_ICCx86_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
2890*_ICCx86_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
2891*_ICCx86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00002892*_ICCx86_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002893*_ICCx86_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
2894*_ICCx86_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
2895*_ICCx86_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
2896
qhuang89053bc52010-06-28 09:33:10 +00002897 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
2898RELEASE_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 +00002899NOOPT_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
2900
eric_tian3b6c90a2009-04-13 12:50:50 +00002901 DEBUG_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2902RELEASE_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002903NOOPT_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2904
2905 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
2906RELEASE_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
2907NOOPT_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
2908
eric_tian3b6c90a2009-04-13 12:50:50 +00002909 *_ICCx86_X64_SLINK_FLAGS = /nologo /LTCG
2910
2911
2912##################
2913# IPF definitions
2914##################
2915*_ICCx86_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
2916# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002917*_ICCx86_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00002918*_ICCx86_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
2919# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00002920*_ICCx86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00002921*_ICCx86_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
2922*_ICCx86_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
2923*_ICCx86_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
2924*_ICCx86_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
2925*_ICCx86_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
2926*_ICCx86_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
2927*_ICCx86_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
2928*_ICCx86_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
2929
qhuang88e2978b2009-09-01 15:03:44 +00002930 DEBUG_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2931RELEASE_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 +00002932NOOPT_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
2933
eric_tian3b6c90a2009-04-13 12:50:50 +00002934 DEBUG_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2935RELEASE_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00002936NOOPT_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
2937
lgao46780eef2010-11-15 02:51:34 +00002938 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
2939RELEASE_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 +00002940NOOPT_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
2941
eric_tian3b6c90a2009-04-13 12:50:50 +00002942 *_ICCx86_IPF_SLINK_FLAGS = /nologo
2943
2944##################
2945# EBC definitions
2946##################
2947*_ICCx86_EBC_*_FAMILY = INTEL
2948
lgao4b36d1342011-09-18 12:17:25 +00002949*_ICCx86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00002950*_ICCx86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
2951*_ICCx86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
2952*_ICCx86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
2953*_ICCx86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
2954*_ICCx86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002955
2956*_ICCx86_EBC_MAKE_FLAGS = /nologo
2957*_ICCx86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2958*_ICCx86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2959*_ICCx86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2960*_ICCx86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002961*_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 +00002962
2963
2964####################################################################################
2965#
2966# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
2967#
2968# ICCx86xASL - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
2969# ASL - Microsoft ACPI Source Language Compiler
2970#
2971####################################################################################
2972# ICCx86xASL - Intel C Compiler V9.1
2973*_ICCx86xASL_*_*_FAMILY = INTEL
2974
lgao4b36d1342011-09-18 12:17:25 +00002975*_ICCx86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
2976*_ICCx86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002977
2978*_ICCx86xASL_*_MAKE_FLAGS = /nologo
2979*_ICCx86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2980*_ICCx86xASL_*_APP_FLAGS = /nologo /E /TC
2981*_ICCx86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2982
lgao4b36d1342011-09-18 12:17:25 +00002983*_ICCx86ASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00002984
eric_tian3b6c90a2009-04-13 12:50:50 +00002985##################
2986# ASL definitions
2987##################
2988*_ICCx86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao438d49982009-06-17 09:34:46 +00002989*_ICCx86xASL_*_ASL_FLAGS =
2990*_ICCx86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002991*_ICCx86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
2992*_ICCx86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
2993*_ICCx86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
2994
2995##################
2996# IA32 definitions
2997##################
2998*_ICCx86xASL_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
2999*_ICCx86xASL_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
3000# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003001*_ICCx86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003002*_ICCx86xASL_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003003*_ICCx86xASL_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
3004*_ICCx86xASL_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3005*_ICCx86xASL_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003006*_ICCx86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3007*_ICCx86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003008*_ICCx86xASL_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
3009*_ICCx86xASL_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
3010*_ICCx86xASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
3011
qhuang89053bc52010-06-28 09:33:10 +00003012 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
3013RELEASE_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 +00003014NOOPT_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
3015
eric_tian3b6c90a2009-04-13 12:50:50 +00003016 DEBUG_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3017RELEASE_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003018NOOPT_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3019
eric_tian3b6c90a2009-04-13 12:50:50 +00003020 *_ICCx86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003021 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
3022RELEASE_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
3023NOOPT_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 +00003024
3025##################
3026# X64 definitions
3027##################
3028*_ICCx86xASL_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
3029*_ICCx86xASL_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
3030# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003031*_ICCx86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003032*_ICCx86xASL_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3033*_ICCx86xASL_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
3034*_ICCx86xASL_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3035*_ICCx86xASL_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
3036*_ICCx86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003037*_ICCx86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003038*_ICCx86xASL_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
3039*_ICCx86xASL_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
3040*_ICCx86xASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
3041
qhuang89053bc52010-06-28 09:33:10 +00003042 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
3043RELEASE_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 +00003044NOOPT_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
3045
eric_tian3b6c90a2009-04-13 12:50:50 +00003046 DEBUG_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3047RELEASE_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003048NOOPT_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3049
3050 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
3051RELEASE_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
3052NOOPT_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
3053
eric_tian3b6c90a2009-04-13 12:50:50 +00003054 *_ICCx86xASL_X64_SLINK_FLAGS = /nologo /LTCG
3055
3056
3057##################
3058# IPF definitions
3059##################
3060*_ICCx86xASL_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
3061# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003062*_ICCx86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003063*_ICCx86xASL_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
3064# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003065*_ICCx86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00003066*_ICCx86xASL_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3067*_ICCx86xASL_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
3068*_ICCx86xASL_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3069*_ICCx86xASL_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
3070*_ICCx86xASL_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
3071*_ICCx86xASL_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
3072*_ICCx86xASL_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
3073*_ICCx86xASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
3074
qhuang88e2978b2009-09-01 15:03:44 +00003075 DEBUG_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3076RELEASE_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 +00003077NOOPT_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
3078
eric_tian3b6c90a2009-04-13 12:50:50 +00003079 DEBUG_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3080RELEASE_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003081NOOPT_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3082
lgao46780eef2010-11-15 02:51:34 +00003083 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
3084RELEASE_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 +00003085NOOPT_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
3086
eric_tian3b6c90a2009-04-13 12:50:50 +00003087 *_ICCx86xASL_IPF_SLINK_FLAGS = /nologo
3088
3089##################
3090# EBC definitions
3091##################
3092*_ICCx86xASL_EBC_*_FAMILY = INTEL
3093
lgao4b36d1342011-09-18 12:17:25 +00003094*_ICCx86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003095*_ICCx86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3096*_ICCx86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3097*_ICCx86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3098*_ICCx86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3099*_ICCx86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003100
3101*_ICCx86xASL_EBC_MAKE_FLAGS = /nologo
3102*_ICCx86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3103*_ICCx86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3104*_ICCx86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3105*_ICCx86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003106*_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 +00003107
3108
jljusten07a756b2007-10-17 01:54:36 +00003109####################################################################################
3110#
qhuang89053bc52010-06-28 09:33:10 +00003111# Intel(R) C++ Compiler Version 11.1
lgao4b36d1342011-09-18 12:17:25 +00003112# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3113# 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)
3114# 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 +00003115# ASL - Intel ACPI Source Language Compiler
3116#
3117####################################################################################
3118# ICC11 - Intel C Compiler V11.1
3119*_ICC11_*_*_FAMILY = INTEL
3120
3121*_ICC11_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3122*_ICC11_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
3123
3124*_ICC11_*_MAKE_FLAGS = /nologo
3125*_ICC11_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3126*_ICC11_*_APP_FLAGS = /nologo /E /TC
3127*_ICC11_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3128
qhuang814c48572010-07-21 02:46:15 +00003129*_ICC11_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3130
qhuang89053bc52010-06-28 09:33:10 +00003131##################
3132# ASL definitions
3133##################
3134*_ICC11_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3135*_ICC11_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3136*_ICC11_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3137*_ICC11_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3138*_ICC11_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3139*_ICC11_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3140
3141##################
3142# IA32 definitions
3143##################
3144*_ICC11_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
3145*_ICC11_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
3146# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003147*_ICC11_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003148*_ICC11_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003149*_ICC11_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
3150*_ICC11_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
3151*_ICC11_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
3152*_ICC11_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3153*_ICC11_IA32_ASM_DLL = DEF(MS_VS_DLL)
3154*_ICC11_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
3155*_ICC11_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
3156*_ICC11_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
3157
3158 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
3159RELEASE_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 +00003160NOOPT_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
3161
qhuang89053bc52010-06-28 09:33:10 +00003162 DEBUG_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3163RELEASE_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003164NOOPT_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003165 *_ICC11_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003166 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
3167RELEASE_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
3168NOOPT_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 +00003169
3170##################
3171# X64 definitions
3172##################
3173*_ICC11_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
3174*_ICC11_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
3175# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003176*_ICC11_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003177*_ICC11_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3178*_ICC11_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
3179*_ICC11_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
3180*_ICC11_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
3181*_ICC11_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3182*_ICC11_X64_ASM_DLL = DEF(MS_VS_DLL)
3183*_ICC11_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
3184*_ICC11_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
3185*_ICC11_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3186
3187 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
3188RELEASE_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 +00003189NOOPT_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
3190
qhuang89053bc52010-06-28 09:33:10 +00003191 DEBUG_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3192RELEASE_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003193NOOPT_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3194 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
3195RELEASE_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
3196NOOPT_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
3197
qhuang89053bc52010-06-28 09:33:10 +00003198 *_ICC11_X64_SLINK_FLAGS = /nologo /LTCG
3199
3200
3201##################
3202# IPF definitions
3203##################
3204*_ICC11_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
3205# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003206*_ICC11_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003207*_ICC11_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
3208# xilib.exe needs lib.exe from Visual Studio
3209*_ICC11_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
3210*_ICC11_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3211*_ICC11_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
3212*_ICC11_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
3213*_ICC11_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
3214*_ICC11_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
3215*_ICC11_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
3216*_ICC11_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
3217*_ICC11_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3218
3219 DEBUG_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3220RELEASE_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 +00003221NOOPT_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3222
qhuang89053bc52010-06-28 09:33:10 +00003223 DEBUG_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3224RELEASE_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003225NOOPT_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003226 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
3227RELEASE_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 +00003228NOOPT_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
3229
qhuang89053bc52010-06-28 09:33:10 +00003230 *_ICC11_IPF_SLINK_FLAGS = /nologo
3231
3232##################
3233# EBC definitions
3234##################
3235*_ICC11_EBC_*_FAMILY = INTEL
3236
3237*_ICC11_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3238*_ICC11_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3239*_ICC11_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3240*_ICC11_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3241*_ICC11_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3242*_ICC11_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3243
3244*_ICC11_EBC_MAKE_FLAGS = /nologo
3245*_ICC11_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3246*_ICC11_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3247*_ICC11_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3248*_ICC11_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003249*_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 +00003250
3251####################################################################################
3252#
3253# Intel(R) C++ Compiler Version 11.1
3254#
lgao4b36d1342011-09-18 12:17:25 +00003255# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3256# 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)
3257# 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 +00003258# ASL - Microsoft ACPI Source Language Compiler
3259#
3260####################################################################################
3261# ICC11xASL - Intel C Compiler V11.1
3262*_ICC11xASL_*_*_FAMILY = INTEL
3263
3264*_ICC11xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3265*_ICC11xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
3266
3267*_ICC11xASL_*_MAKE_FLAGS = /nologo
3268*_ICC11xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3269*_ICC11xASL_*_APP_FLAGS = /nologo /E /TC
3270*_ICC11xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3271
qhuang814c48572010-07-21 02:46:15 +00003272*_ICC11xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
3273
qhuang89053bc52010-06-28 09:33:10 +00003274##################
3275# ASL definitions
3276##################
3277*_ICC11xASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3278*_ICC11xASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3279*_ICC11xASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3280*_ICC11xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3281*_ICC11xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3282*_ICC11xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3283
3284##################
3285# IA32 definitions
3286##################
3287*_ICC11xASL_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
3288*_ICC11xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
3289# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003290*_ICC11xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003291*_ICC11xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003292*_ICC11xASL_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
3293*_ICC11xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
3294*_ICC11xASL_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
3295*_ICC11xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3296*_ICC11xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
3297*_ICC11xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
3298*_ICC11xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
3299*_ICC11xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
3300
3301 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
3302RELEASE_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 +00003303NOOPT_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
3304
qhuang89053bc52010-06-28 09:33:10 +00003305 DEBUG_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3306RELEASE_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003307NOOPT_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003308 *_ICC11xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003309 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
3310RELEASE_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
3311NOOPT_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 +00003312
3313##################
3314# X64 definitions
3315##################
3316*_ICC11xASL_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
3317*_ICC11xASL_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
3318# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003319*_ICC11xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003320*_ICC11xASL_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3321*_ICC11xASL_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
3322*_ICC11xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
3323*_ICC11xASL_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
3324*_ICC11xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3325*_ICC11xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
3326*_ICC11xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
3327*_ICC11xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
3328*_ICC11xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
3329
3330 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
3331RELEASE_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 +00003332NOOPT_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
3333
qhuang89053bc52010-06-28 09:33:10 +00003334 DEBUG_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3335RELEASE_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003336NOOPT_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3337 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
3338RELEASE_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
3339NOOPT_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
3340
qhuang89053bc52010-06-28 09:33:10 +00003341 *_ICC11xASL_X64_SLINK_FLAGS = /nologo /LTCG
3342
3343
3344##################
3345# IPF definitions
3346##################
3347*_ICC11xASL_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
3348# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003349*_ICC11xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003350*_ICC11xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
3351# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00003352*_ICC11xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003353*_ICC11xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3354*_ICC11xASL_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
3355*_ICC11xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
3356*_ICC11xASL_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
3357*_ICC11xASL_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
3358*_ICC11xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
3359*_ICC11xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
3360*_ICC11xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
3361
3362 DEBUG_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3363RELEASE_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 +00003364NOOPT_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3365
qhuang89053bc52010-06-28 09:33:10 +00003366 DEBUG_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3367RELEASE_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003368NOOPT_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3369
lgao46780eef2010-11-15 02:51:34 +00003370 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
3371RELEASE_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 +00003372NOOPT_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
3373
qhuang89053bc52010-06-28 09:33:10 +00003374 *_ICC11xASL_IPF_SLINK_FLAGS = /nologo
3375
3376##################
3377# EBC definitions
3378##################
3379*_ICC11xASL_EBC_*_FAMILY = INTEL
3380
3381*_ICC11xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3382*_ICC11xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3383*_ICC11xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3384*_ICC11xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3385*_ICC11xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3386*_ICC11xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3387
3388*_ICC11xASL_EBC_MAKE_FLAGS = /nologo
3389*_ICC11xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3390*_ICC11xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3391*_ICC11xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3392*_ICC11xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003393*_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 +00003394
3395
3396####################################################################################
3397#
3398# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
3399#
lgao4b36d1342011-09-18 12:17:25 +00003400# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3401# 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)
3402# 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 +00003403# ASL - Intel ACPI Source Language Compiler
3404#
3405####################################################################################
3406# ICC11x86 - Intel C Compiler V11.1
3407*_ICC11x86_*_*_FAMILY = INTEL
3408
lgao4b36d1342011-09-18 12:17:25 +00003409*_ICC11x86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3410*_ICC11x86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00003411
3412*_ICC11x86_*_MAKE_FLAGS = /nologo
3413*_ICC11x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3414*_ICC11x86_*_APP_FLAGS = /nologo /E /TC
3415*_ICC11x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3416
lgao4b36d1342011-09-18 12:17:25 +00003417*_ICC11x86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00003418
qhuang89053bc52010-06-28 09:33:10 +00003419##################
3420# ASL definitions
3421##################
3422*_ICC11x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3423*_ICC11x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3424*_ICC11x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3425*_ICC11x86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3426*_ICC11x86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3427*_ICC11x86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3428
3429##################
3430# IA32 definitions
3431##################
3432*_ICC11x86_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3433*_ICC11x86_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
3434# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003435*_ICC11x86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003436*_ICC11x86_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003437*_ICC11x86_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3438*_ICC11x86_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3439*_ICC11x86_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003440*_ICC11x86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3441*_ICC11x86_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003442*_ICC11x86_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3443*_ICC11x86_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3444*_ICC11x86_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
3445
3446 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
3447RELEASE_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 +00003448NOOPT_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 +00003449 DEBUG_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3450RELEASE_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003451NOOPT_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003452 *_ICC11x86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003453 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
3454RELEASE_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
3455NOOPT_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 +00003456
3457##################
3458# X64 definitions
3459##################
3460*_ICC11x86_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3461*_ICC11x86_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
3462# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003463*_ICC11x86_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003464*_ICC11x86_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3465*_ICC11x86_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3466*_ICC11x86_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3467*_ICC11x86_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3468*_ICC11x86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003469*_ICC11x86_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003470*_ICC11x86_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3471*_ICC11x86_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3472*_ICC11x86_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3473
3474 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
3475RELEASE_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 +00003476NOOPT_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 +00003477 DEBUG_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3478RELEASE_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003479NOOPT_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3480 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
3481RELEASE_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
3482NOOPT_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
3483
qhuang89053bc52010-06-28 09:33:10 +00003484 *_ICC11x86_X64_SLINK_FLAGS = /nologo /LTCG
3485
3486
3487##################
3488# IPF definitions
3489##################
3490*_ICC11x86_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3491# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003492*_ICC11x86_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003493*_ICC11x86_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
3494# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003495*_ICC11x86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003496*_ICC11x86_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3497*_ICC11x86_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3498*_ICC11x86_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3499*_ICC11x86_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3500*_ICC11x86_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
3501*_ICC11x86_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3502*_ICC11x86_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3503*_ICC11x86_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3504
3505 DEBUG_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3506RELEASE_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 +00003507NOOPT_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3508
qhuang89053bc52010-06-28 09:33:10 +00003509 DEBUG_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3510RELEASE_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003511NOOPT_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003512 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
3513RELEASE_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 +00003514NOOPT_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
3515
qhuang89053bc52010-06-28 09:33:10 +00003516 *_ICC11x86_IPF_SLINK_FLAGS = /nologo
3517
3518##################
3519# EBC definitions
3520##################
3521*_ICC11x86_EBC_*_FAMILY = INTEL
3522
lgao4b36d1342011-09-18 12:17:25 +00003523*_ICC11x86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003524*_ICC11x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3525*_ICC11x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3526*_ICC11x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3527*_ICC11x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3528*_ICC11x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00003529
3530*_ICC11x86_EBC_MAKE_FLAGS = /nologo
3531*_ICC11x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3532*_ICC11x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3533*_ICC11x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3534*_ICC11x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003535*_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 +00003536
3537
3538####################################################################################
3539#
3540# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
3541#
lgao4b36d1342011-09-18 12:17:25 +00003542# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
3543# 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)
3544# 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 +00003545# ASL - Microsoft ACPI Source Language Compiler
3546#
3547####################################################################################
3548# ICC11x86xASL - Intel C Compiler V11.1
3549*_ICC11x86xASL_*_*_FAMILY = INTEL
3550
lgao4b36d1342011-09-18 12:17:25 +00003551*_ICC11x86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
3552*_ICC11x86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00003553
3554*_ICC11x86xASL_*_MAKE_FLAGS = /nologo
3555*_ICC11x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3556*_ICC11x86xASL_*_APP_FLAGS = /nologo /E /TC
3557*_ICC11x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3558
lgao4b36d1342011-09-18 12:17:25 +00003559*_ICC11x86xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00003560
qhuang89053bc52010-06-28 09:33:10 +00003561##################
3562# ASL definitions
3563##################
3564*_ICC11x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
3565*_ICC11x86xASL_*_ASL_FLAGS =
3566*_ICC11x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
3567*_ICC11x86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
3568*_ICC11x86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
3569*_ICC11x86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
3570
3571##################
3572# IA32 definitions
3573##################
3574*_ICC11x86xASL_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3575*_ICC11x86xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
3576# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003577*_ICC11x86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003578*_ICC11x86xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00003579*_ICC11x86xASL_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3580*_ICC11x86xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3581*_ICC11x86xASL_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00003582*_ICC11x86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
3583*_ICC11x86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003584*_ICC11x86xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
3585*_ICC11x86xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
3586*_ICC11x86xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
3587
3588 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
3589RELEASE_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 +00003590NOOPT_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
3591
qhuang89053bc52010-06-28 09:33:10 +00003592 DEBUG_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
3593RELEASE_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00003594NOOPT_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00003595 *_ICC11x86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00003596 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
3597RELEASE_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
3598NOOPT_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 +00003599
3600##################
3601# X64 definitions
3602##################
3603*_ICC11x86xASL_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3604*_ICC11x86xASL_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
3605# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003606*_ICC11x86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003607*_ICC11x86xASL_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3608*_ICC11x86xASL_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3609*_ICC11x86xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3610*_ICC11x86xASL_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3611*_ICC11x86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00003612*_ICC11x86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003613*_ICC11x86xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
3614*_ICC11x86xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
3615*_ICC11x86xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
3616
3617 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
3618RELEASE_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 +00003619NOOPT_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
3620
qhuang89053bc52010-06-28 09:33:10 +00003621 DEBUG_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3622RELEASE_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003623NOOPT_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3624 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
3625RELEASE_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
3626NOOPT_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
3627
qhuang89053bc52010-06-28 09:33:10 +00003628 *_ICC11x86xASL_X64_SLINK_FLAGS = /nologo /LTCG
3629
3630
3631##################
3632# IPF definitions
3633##################
3634*_ICC11x86xASL_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3635# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003636*_ICC11x86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00003637*_ICC11x86xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
3638# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00003639*_ICC11x86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00003640*_ICC11x86xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3641*_ICC11x86xASL_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3642*_ICC11x86xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3643*_ICC11x86xASL_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3644*_ICC11x86xASL_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
3645*_ICC11x86xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
3646*_ICC11x86xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
3647*_ICC11x86xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
3648
3649 DEBUG_ICC11x86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
3650RELEASE_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 +00003651NOOPT_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 +00003652 DEBUG_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
3653RELEASE_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00003654NOOPT_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00003655 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
3656RELEASE_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 +00003657NOOPT_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 +00003658 *_ICC11x86xASL_IPF_SLINK_FLAGS = /nologo
3659
3660##################
3661# EBC definitions
3662##################
3663*_ICC11x86xASL_EBC_*_FAMILY = INTEL
3664
lgao4b36d1342011-09-18 12:17:25 +00003665*_ICC11x86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00003666*_ICC11x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
3667*_ICC11x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
3668*_ICC11x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
3669*_ICC11x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
3670*_ICC11x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00003671
3672*_ICC11x86xASL_EBC_MAKE_FLAGS = /nologo
3673*_ICC11x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3674*_ICC11x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3675*_ICC11x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3676*_ICC11x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003677*_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 +00003678
3679
3680####################################################################################
3681#
jljusten07a756b2007-10-17 01:54:36 +00003682# MYTOOLS
qhuang814c48572010-07-21 02:46:15 +00003683# IA32 - Microsoft Visual Studio 2008 Team Suite
3684# X64 - Microsoft Visual Studio 2008 Team Suite
jljusten07a756b2007-10-17 01:54:36 +00003685# IPF - Microsoft Windows DDK 3790.1830
3686# EBC - Intel EFI Byte Code Compiler
3687#
3688####################################################################################
3689# MYTOOLS - Settings compatible with previous versions of tools_def.template
3690*_MYTOOLS_*_*_FAMILY = MSFT
3691
eric_tian3b6c90a2009-04-13 12:50:50 +00003692##################
3693# ASL definitions
3694##################
lgao4a709adf2009-12-29 06:16:53 +00003695*_MYTOOLS_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
3696*_MYTOOLS_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3697*_MYTOOLS_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
qhuang89053bc52010-06-28 09:33:10 +00003698*_MYTOOLS_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
3699*_MYTOOLS_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
3700*_MYTOOLS_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003701
jljusten07a756b2007-10-17 01:54:36 +00003702
jwang3604e031d2007-10-31 09:07:31 +00003703*_MYTOOLS_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00003704*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jwang3604e031d2007-10-31 09:07:31 +00003705*_MYTOOLS_*_APP_FLAGS = /nologo /E /TC
3706*_MYTOOLS_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3707*_MYTOOLS_*_SLINK_FLAGS = /nologo /LTCG
jljusten07a756b2007-10-17 01:54:36 +00003708
qhuang814c48572010-07-21 02:46:15 +00003709*_MYTOOLS_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
3710
jljusten07a756b2007-10-17 01:54:36 +00003711##################
3712# IA32 definitions
3713##################
qhuang814c48572010-07-21 02:46:15 +00003714*_MYTOOLS_IA32_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00003715
qhuang814c48572010-07-21 02:46:15 +00003716*_MYTOOLS_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
3717*_MYTOOLS_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
3718*_MYTOOLS_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
3719*_MYTOOLS_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
3720*_MYTOOLS_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
3721*_MYTOOLS_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
3722*_MYTOOLS_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
3723*_MYTOOLS_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
3724*_MYTOOLS_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
3725*_MYTOOLS_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
3726*_MYTOOLS_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00003727*_MYTOOLS_IA32_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003728
qhuang89053bc52010-06-28 09:33:10 +00003729 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3730RELEASE_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 +00003731NOOPT_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 +00003732 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
3733RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003734NOOPT_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
3735 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
3736RELEASE_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
3737NOOPT_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 +00003738
3739##################
3740# x64 definitions
3741##################
qhuang814c48572010-07-21 02:46:15 +00003742*_MYTOOLS_X64_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00003743
qhuang814c48572010-07-21 02:46:15 +00003744*_MYTOOLS_X64_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
3745*_MYTOOLS_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
3746*_MYTOOLS_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
3747*_MYTOOLS_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
3748*_MYTOOLS_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
3749*_MYTOOLS_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
3750*_MYTOOLS_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
3751*_MYTOOLS_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
3752*_MYTOOLS_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
3753*_MYTOOLS_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
3754*_MYTOOLS_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00003755*_MYTOOLS_X64_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jwang3604e031d2007-10-31 09:07:31 +00003756
qhuang89053bc52010-06-28 09:33:10 +00003757 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3758RELEASE_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 +00003759NOOPT_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 +00003760 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3761RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003762NOOPT_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3763 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
3764RELEASE_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
3765NOOPT_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 +00003766
3767##################
3768# IPF definitions
3769##################
3770*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
3771*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
3772*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
3773*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
jljusten07a756b2007-10-17 01:54:36 +00003774*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
3775*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
3776*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
3777*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00003778*_MYTOOLS_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
3779*_MYTOOLS_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
3780*_MYTOOLS_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
lgao4b303ea72009-11-09 11:47:35 +00003781*_MYTOOLS_IPF_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003782
lgao4b303ea72009-11-09 11:47:35 +00003783 *_MYTOOLS_IPF_ASM_OUTPUT = "-o "
lgao44ee82542008-03-14 03:12:29 +00003784 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 +00003785RELEASE_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 +00003786NOOPT_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 +00003787 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
3788RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00003789NOOPT_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
lgao46780eef2010-11-15 02:51:34 +00003790 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
3791RELEASE_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 +00003792NOOPT_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 +00003793 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
3794
3795##################
3796# EBC definitions
3797##################
3798*_MYTOOLS_EBC_*_FAMILY = INTEL
3799
lgao464137022010-12-06 05:17:09 +00003800*_MYTOOLS_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
jljusten07a756b2007-10-17 01:54:36 +00003801*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
jwang36c0577802008-05-15 03:00:04 +00003802*_MYTOOLS_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
jljusten07a756b2007-10-17 01:54:36 +00003803*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3804*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3805*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao464137022010-12-06 05:17:09 +00003806*_MYTOOLS_EBC_RC_PATH = DEF(VS2005_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00003807
3808*_MYTOOLS_EBC_MAKE_FLAGS = /nologo
3809*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
jwang361a974382008-11-28 06:11:32 +00003810*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
lgao4abf1c3e2008-11-27 09:15:52 +00003811*_MYTOOLS_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00003812*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003813*_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 +00003814
vanjefffd171542009-09-11 03:14:43 +00003815
3816####################################################################################
3817#
3818# Xcode Support for building on Mac OS X (Snow Leopard)
3819#
3820####################################################################################
3821# XCODE32 - Xcode 3.2 Tools (Snow Leopard)
3822*_XCODE32_*_*_FAMILY = GCC
3823*_XCODE32_*_*_BUILDRULEFAMILY = XCODE
3824
3825
3826*_XCODE32_*_ASL_PATH = /usr/bin/iasl
3827
3828*_XCODE32_*_MAKE_PATH = make
3829
vanjefffd171542009-09-11 03:14:43 +00003830*_XCODE32_*_DSYMUTIL_PATH = /usr/bin/dsymutil
3831
lgao4a709adf2009-12-29 06:16:53 +00003832# This tool needs to be installed seperatly from Xcode 3.2
3833*_XCODE32_*_MTOC_PATH = /usr/local/bin/mtoc
3834
vanjefffd171542009-09-11 03:14:43 +00003835 DEBUG_XCODE32_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
lgao46780eef2010-11-15 02:51:34 +00003836RELEASE_XCODE32_*_MTOC_FLAGS = -align 0x20
vanjefffd171542009-09-11 03:14:43 +00003837
3838##################
3839# IA32 definitions
3840##################
3841*_XCODE32_IA32_CC_PATH = gcc
3842*_XCODE32_IA32_SLINK_PATH = libtool
3843*_XCODE32_IA32_DLINK_PATH = ld
3844*_XCODE32_IA32_ASM_PATH = as
3845*_XCODE32_IA32_PP_PATH = gcc
3846*_XCODE32_IA32_VFRPP_PATH = gcc
3847*_XCODE32_IA32_ASL_PATH = iasl
3848*_XCODE32_IA32_ASLCC_PATH = gcc
3849*_XCODE32_IA32_ASLPP_PATH = gcc
3850*_XCODE32_IA32_ASLDLINK_PATH = ld
3851
lgao4a709adf2009-12-29 06:16:53 +00003852 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
3853RELEASE_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 +00003854*_XCODE32_IA32_SLINK_FLAGS = -static -o
3855 DEBUG_XCODE32_IA32_ASM_FLAGS = -arch i386 -g
lgao46780eef2010-11-15 02:51:34 +00003856RELEASE_XCODE32_IA32_ASM_FLAGS = -arch i386
vanjefffd171542009-09-11 03:14:43 +00003857*_XCODE32_IA32_PP_FLAGS = -arch i386 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3858*_XCODE32_IA32_VFRPP_FLAGS = -arch i386 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3859 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
3860RELEASE_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
3861
3862*_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 +00003863*_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 +00003864*_XCODE32_IA32_ASLPP_FLAGS = -arch i386 -x c -E
vanjefffd171542009-09-11 03:14:43 +00003865*_XCODE32_IA32_ASL_FLAGS =
3866
3867##################
lgao46780eef2010-11-15 02:51:34 +00003868# X64 definitions - still a work in progress. This tool chain does not produce
vanjefffd171542009-09-11 03:14:43 +00003869# the correct ABI, it is just used to compile the code....
3870##################
3871*_XCODE32_X64_CC_PATH = gcc-4.2
3872*_XCODE32_X64_SLINK_PATH = libtool
3873*_XCODE32_X64_DLINK_PATH = ld
3874*_XCODE32_X64_ASM_PATH = as
3875*_XCODE32_X64_PP_PATH = gcc-4.2
3876*_XCODE32_X64_VFRPP_PATH = gcc-4.2
3877*_XCODE32_X64_ASL_PATH = iasl
3878*_XCODE32_X64_ASLCC_PATH = gcc
3879*_XCODE32_X64_ASLPP_PATH = gcc
3880*_XCODE32_X64_ASLDLINK_PATH = ld
3881
lgao4a709adf2009-12-29 06:16:53 +00003882*_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 +00003883*_XCODE32_X64_SLINK_FLAGS = -static -o
3884
3885 DEBUG_XCODE32_X64_ASM_FLAGS = -arch x86_64 -g
lgao46780eef2010-11-15 02:51:34 +00003886RELEASE_XCODE32_X64_ASM_FLAGS = -arch x86_64
vanjefffd171542009-09-11 03:14:43 +00003887*_XCODE32_X64_PP_FLAGS = -arch x86_64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3888*_XCODE32_X64_VFRPP_FLAGS = -arch x86_64 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3889
3890 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
3891RELEASE_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
3892
3893##################
lgao452302d42010-02-28 23:39:39 +00003894# ARM definitions - (Assumes iPhone SDK installed on Snow Leopard)
vanjefffd171542009-09-11 03:14:43 +00003895##################
3896
lgao452302d42010-02-28 23:39:39 +00003897*_XCODE32_ARM_ARCHCC_FLAGS = -arch armv7 -march=armv7 -mthumb
lgao46780eef2010-11-15 02:51:34 +00003898*_XCODE32_ARM_ARCHASM_FLAGS = -arch armv7
3899*_XCODE32_ARM_ARCHDLINK_FLAGS = -arch armv7
vanjefffd171542009-09-11 03:14:43 +00003900*_XCODE32_ARM_PLATFORM_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00003901
3902*_XCODE32_ARM_CC_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
3903*_XCODE32_ARM_SLINK_PATH = DEF(IPHONE_TOOLS)/usr/bin/libtool
lgao452302d42010-02-28 23:39:39 +00003904*_XCODE32_ARM_DLINK_PATH = ld
vanjefffd171542009-09-11 03:14:43 +00003905*_XCODE32_ARM_ASM_PATH = DEF(IPHONE_TOOLS)/usr/bin/as
3906*_XCODE32_ARM_PP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
3907*_XCODE32_ARM_VFRPP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
3908
lgao46780eef2010-11-15 02:51:34 +00003909 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
3910RELEASE_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 +00003911
3912*_XCODE32_ARM_SLINK_FLAGS = -static -o
3913
3914 DEBUG_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -g
lgao46780eef2010-11-15 02:51:34 +00003915RELEASE_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS)
vanjefffd171542009-09-11 03:14:43 +00003916*_XCODE32_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3917*_XCODE32_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3918
qhuang8e56468c2010-09-06 01:58:00 +00003919 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
3920RELEASE_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 +00003921
3922
3923####################################################################################
3924#
lgao4da92f272011-05-11 10:26:49 +00003925# Clang Support for building on Mac OS X
3926#
3927####################################################################################
3928# CLANG - clang that produce Mach-O with EFI x86_64 ABI
3929*_XCLANG_*_*_FAMILY = GCC
3930*_XCLANG_*_*_BUILDRULEFAMILY = XCODE
3931
3932*_XCLANG_*_ASL_PATH = /usr/bin/iasl
3933
3934*_XCLANG_*_MAKE_PATH = make
3935*_XCLANG_*_DSYMUTIL_PATH = /usr/bin/dsymutil
3936
3937 *_*_*_MTOC_PATH = /usr/local/bin/mtoc
3938
3939 DEBUG_XCLANG_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
3940RELEASE_XCLANG_*_MTOC_FLAGS = -align 0x20
3941
3942
3943*_XCLANG_*_CC_PATH = DEF(CLANG_BIN)clang
3944*_XCLANG_*_SLINK_PATH = libtool
3945*_XCLANG_*_DLINK_PATH = ld
3946*_XCLANG_*_ASM_PATH = as
3947*_XCLANG_*_PP_PATH = DEF(CLANG_BIN)clang
3948*_XCLANG_*_VFRPP_PATH = DEF(CLANG_BIN)clang
3949*_XCLANG_*_ASL_PATH = iasl
3950*_XCLANG_*_ASLCC_PATH = DEF(CLANG_BIN)clang
3951*_XCLANG_*_ASLPP_PATH = DEF(CLANG_BIN)clang
3952*_XCLANG_*_ASLDLINK_PATH = ld
3953
3954####################
3955# IA-32 definitions
3956####################
3957 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
3958RELEASE_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
3959*_XCLANG_IA32_SLINK_FLAGS = -static -o
3960 DEBUG_XCLANG_IA32_ASM_FLAGS = -arch i386 -g
3961RELEASE_XCLANG_IA32_ASM_FLAGS = -arch i386
3962
3963
lgao442342832011-08-26 07:46:26 +00003964 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
3965RELEASE_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 +00003966
3967
3968##################
3969# X64 definitions
3970##################
3971 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
3972RELEASE_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
3973*_XCLANG_X64_SLINK_FLAGS = -static -o
3974 DEBUG_XCLANG_X64_ASM_FLAGS = -arch x86_64 -g
3975RELEASE_XCLANG_X64_ASM_FLAGS = -arch x86_64
3976*_XCLANG_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3977*_XCLANG_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
3978
3979
lgao442342832011-08-26 07:46:26 +00003980 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
3981RELEASE_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 +00003982*_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
3983*_XCLANG_*_ASLDLINK_FLAGS = -e _main -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
3984*_XCLANG_*_ASLPP_FLAGS = -x c -E
3985*_XCLANG_*_ASL_FLAGS =
3986
lgao479b74a02011-10-11 02:49:48 +00003987####################################################################################
3988#
3989# RVCT Common
3990#
3991####################################################################################
3992
3993DEFINE 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
3994DEFINE 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 +00003995
3996####################################################################################
3997#
lgao479b74a02011-10-11 02:49:48 +00003998# ARM RealView Tools - Windows
vanjefffd171542009-09-11 03:14:43 +00003999#
4000####################################################################################
lgao479b74a02011-10-11 02:49:48 +00004001# RVCT - Tools from ARM
vanjefffd171542009-09-11 03:14:43 +00004002
lgao479b74a02011-10-11 02:49:48 +00004003*_RVCT_*_*_FAMILY = RVCT
vanjefffd171542009-09-11 03:14:43 +00004004
4005#
4006# Use default values, or override in DSC file
4007#
lgao479b74a02011-10-11 02:49:48 +00004008*_RVCT_ARM_ARCHCC_FLAGS = --thumb
4009*_RVCT_ARM_ARCHASM_FLAGS =
4010*_RVCT_ARM_ARCHDLINK_FLAGS =
4011*_RVCT_ARM_PLATFORM_FLAGS = --cpu 7-A
vanjefffd171542009-09-11 03:14:43 +00004012
lgao479b74a02011-10-11 02:49:48 +00004013 DEBUG_RVCT_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4014RELEASE_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 +00004015
4016
lgao479b74a02011-10-11 02:49:48 +00004017*_RVCT_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) --apcs /interwork
4018*_RVCT_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
4019*_RVCT_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4020*_RVCT_ARM_MAKE_PATH = nmake /NOLOGO
4021*_RVCT_ARM_SLINK_FLAGS = --partial -o
4022 DEBUG_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
4023RELEASE_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O2
vanjefffd171542009-09-11 03:14:43 +00004024
4025##################
4026# ARM definitions
4027##################
lgao479b74a02011-10-11 02:49:48 +00004028*_RVCT_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
4029*_RVCT_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4030*_RVCT_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4031*_RVCT_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
4032*_RVCT_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4033*_RVCT_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4034*_RVCT_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
vanjefffd171542009-09-11 03:14:43 +00004035
4036####################################################################################
4037#
lgao479b74a02011-10-11 02:49:48 +00004038# ARM RealView Tools - Linux
4039#
4040####################################################################################
4041# RVCTLINUX - Tools from ARM in a Cygwin environment
4042*_RVCTLINUX_*_*_FAMILY = RVCT
4043*_RVCTLINUX_*_*_BUILDRULEFAMILY = RVCTLINUX
4044
4045#
4046# Use default values, or override in DSC file
4047#
4048*_RVCTLINUX_ARM_ARCHCC_FLAGS = --thumb
4049*_RVCTLINUX_ARM_ARCHASM_FLAGS =
4050*_RVCTLINUX_ARM_ARCHDLINK_FLAGS =
4051*_RVCTLINUX_ARM_PLATFORM_FLAGS = --cpu 7-A
4052
4053DEBUG_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4054RELEASE_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
4055
4056*_RVCTLINUX_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) --apcs /interwork
4057*_RVCTLINUX_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
4058*_RVCTLINUX_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4059*_RVCTLINUX_ARM_MAKE_PATH = make
4060*_RVCTLINUX_ARM_SLINK_FLAGS = --partial -o
4061 DEBUG_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
4062RELEASE_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O2
4063
4064##################
4065# ARM definitions
4066##################
4067*_RVCTLINUX_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
4068*_RVCTLINUX_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4069*_RVCTLINUX_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
4070*_RVCTLINUX_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
4071*_RVCTLINUX_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4072*_RVCTLINUX_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
4073*_RVCTLINUX_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
4074
4075####################################################################################
4076#
4077# ARM RealView Tools - Cygwin
vanjefffd171542009-09-11 03:14:43 +00004078#
4079####################################################################################
4080# ARMCYGWIN - Tools from ARM in a Cygwin environment
4081
lgao479b74a02011-10-11 02:49:48 +00004082*_RVCTCYGWIN_*_*_FAMILY = RVCT
4083*_RVCTCYGWIN_*_*_BUILDRULEFAMILY = RVCTCYGWIN
vanjefffd171542009-09-11 03:14:43 +00004084
lgao479b74a02011-10-11 02:49:48 +00004085*_RVCTCYGWIN_ARM_CCPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
4086*_RVCTCYGWIN_ARM_SLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
4087*_RVCTCYGWIN_ARM_DLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
4088*_RVCTCYGWIN_ARM_ASMPATH_FLAG = ENV(RVCT_TOOLS_PATH)armasm
4089*_RVCTCYGWIN_ARM_PPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
4090*_RVCTCYGWIN_ARM_VFRPPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
4091*_RVCTCYGWIN_ARM_FROMELFPATH_FLAG = ENV(RVCT_TOOLS_PATH)fromelf
vanjefffd171542009-09-11 03:14:43 +00004092
4093#
4094# Use default values, or override in DSC file
4095#
lgao479b74a02011-10-11 02:49:48 +00004096*_RVCTCYGWIN_ARM_ARCHCC_FLAGS = --thumb
4097*_RVCTCYGWIN_ARM_ARCHASM_FLAGS =
4098*_RVCTCYGWIN_ARM_ARCHDLINK_FLAGS =
4099*_RVCTCYGWIN_ARM_PLATFORM_FLAGS = --cpu 7-A
vanjefffd171542009-09-11 03:14:43 +00004100
lgao479b74a02011-10-11 02:49:48 +00004101 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`
4102RELEASE_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`
4103
4104*_RVCTCYGWIN_ARM_ASM_FLAGS = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) --apcs /interwork
4105*_RVCTCYGWIN_ARM_PP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
4106*_RVCTCYGWIN_ARM_VFRPP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude `cygpath -m $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h`
4107*_RVCTCYGWIN_ARM_MAKE_PATH = make
4108*_RVCTCYGWIN_ARM_SLINK_FLAGS = "$(SLINKPATH_FLAG)" --partial -o
4109 DEBUG_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
4110RELEASE_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O2
vanjefffd171542009-09-11 03:14:43 +00004111
4112##################
4113# ARM definitions
4114##################
lgao479b74a02011-10-11 02:49:48 +00004115*_RVCTCYGWIN_ARM_CC_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4116*_RVCTCYGWIN_ARM_SLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4117*_RVCTCYGWIN_ARM_DLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4118*_RVCTCYGWIN_ARM_ASM_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4119*_RVCTCYGWIN_ARM_PP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4120*_RVCTCYGWIN_ARM_VFRPP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
4121*_RVCTCYGWIN_ARM_FROMELF_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
vanjefffd171542009-09-11 03:14:43 +00004122
4123####################################################################################
4124#
lgao479b74a02011-10-11 02:49:48 +00004125# ARM EABI GCC (www.codesourcery.com)
vanjefffd171542009-09-11 03:14:43 +00004126#
4127####################################################################################
4128# ARMGCC - ARM version of the GCC cross compiler
4129
4130*_ARMGCC_*_*_FAMILY = GCC
lgao4636f2be2010-03-12 10:54:01 +00004131*_ARMGCC_*_*_BUILDRULEFAMILY = ARMGCC
4132
lgao442342832011-08-26 07:46:26 +00004133*_ARMGCC_*_MAKE_PATH = make
lgao4636f2be2010-03-12 10:54:01 +00004134*_ARMGCC_*_MAKE_FLAGS = --no-print-directory
vanjefffd171542009-09-11 03:14:43 +00004135
4136##################
4137# ASL definitions
4138##################
lgao479b74a02011-10-11 02:49:48 +00004139*_ARMGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
4140*_ARMGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
4141*_ARMGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
4142*_ARMGCC_*_ASLPP_FLAGS = -x c -E -P
4143*_ARMGCC_*_ASLCC_FLAGS = -x c
4144*_ARMGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
vanjefffd171542009-09-11 03:14:43 +00004145
4146##################
4147# ARM definitions
4148##################
4149
lgao442342832011-08-26 07:46:26 +00004150*_ARMGCC_ARM_ASLCC_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4151*_ARMGCC_ARM_ASLDLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ld
4152*_ARMGCC_ARM_ASLPP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
vanjefffd171542009-09-11 03:14:43 +00004153
lgao442342832011-08-26 07:46:26 +00004154*_ARMGCC_ARM_CC_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4155*_ARMGCC_ARM_SLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ar
4156*_ARMGCC_ARM_DLINK_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-ld
4157*_ARMGCC_ARM_ASM_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-as
4158*_ARMGCC_ARM_PP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
4159*_ARMGCC_ARM_VFRPP_PATH = ENV(ARMGCC_TOOLS_PATH)arm-none-eabi-gcc
vanjefffd171542009-09-11 03:14:43 +00004160
4161#
4162# Use default values, or override in DSC file
4163#
lgao479b74a02011-10-11 02:49:48 +00004164*_ARMGCC_ARM_ARCHCC_FLAGS = -mthumb
4165*_ARMGCC_ARM_ARCHASM_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00004166*_ARMGCC_ARM_ARCHDLINK_FLAGS =
lgao4636f2be2010-03-12 10:54:01 +00004167*_ARMGCC_ARM_PLATFORM_FLAGS = -march=armv7-a
vanjefffd171542009-09-11 03:14:43 +00004168
lgao479b74a02011-10-11 02:49:48 +00004169 DEBUG_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -g
4170RELEASE_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian
vanjefffd171542009-09-11 03:14:43 +00004171
lgao479b74a02011-10-11 02:49:48 +00004172*_ARMGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4173*_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 +00004174
lgao4636f2be2010-03-12 10:54:01 +00004175*_ARMGCC_ARM_SLINK_FLAGS = -rc
lgao4da92f272011-05-11 10:26:49 +00004176*_ARMGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --oformat=elf32-littlearm --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00004177
lgao479b74a02011-10-11 02:49:48 +00004178 DEBUG_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARMGCC_CC_FLAGS) -combine -O0
4179RELEASE_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARMGCC_CC_FLAGS) -combine -Wno-unused
vanjefffd171542009-09-11 03:14:43 +00004180
qhuang814c48572010-07-21 02:46:15 +00004181#################
4182# ASM 16 linker defintions
4183#################
4184*_*_*_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe
4185*_*_*_ASMLINK_FLAGS = /nologo /tiny
vanjefffd171542009-09-11 03:14:43 +00004186
lgao430962c72008-08-07 03:29:10 +00004187##################
4188# VfrCompiler definitions
4189##################
lgao4bdf37b32008-08-10 03:56:03 +00004190*_*_*_VFR_PATH = VfrCompile
lgao430962c72008-08-07 03:29:10 +00004191*_*_*_VFR_FLAGS = -l -n
lgao4a1c949f2008-08-21 13:11:01 +00004192
4193##################
jwang3615543342009-05-03 06:40:59 +00004194# OptionRom tool definitions
4195##################
4196*_*_*_OPTROM_PATH = EfiRom
4197*_*_*_OPTROM_FLAGS = -e
4198
4199##################
qhuang8e56468c2010-09-06 01:58:00 +00004200# GenFw tool definitions
4201##################
4202*_*_*_GENFW_PATH = GenFw
lgao46780eef2010-11-15 02:51:34 +00004203*_*_*_GENFW_FLAGS =
qhuang8e56468c2010-09-06 01:58:00 +00004204
4205##################
lgao4a1c949f2008-08-21 13:11:01 +00004206# Asl Compiler definitions
4207##################
lgao46780eef2010-11-15 02:51:34 +00004208*_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +00004209*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
lgao4a1c949f2008-08-21 13:11:01 +00004210*_*_*_ASLPP_FLAGS = /nologo /EP /C
4211*_*_*_ASL_FLAGS =
lgao4abf1c3e2008-11-27 09:15:52 +00004212
lgao42895c502009-01-08 08:46:46 +00004213##################
lgao442342832011-08-26 07:46:26 +00004214# GenCrc32 tool definitions
4215##################
4216*_*_*_CRC32_PATH = GenCrc32
4217*_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
4218
4219##################
jljustenc470d832009-05-01 06:45:01 +00004220# LzmaCompress tool definitions
lgao42895c502009-01-08 08:46:46 +00004221##################
jljustenc470d832009-05-01 06:45:01 +00004222*_*_*_LZMA_PATH = LzmaCompress
4223*_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
4224
4225##################
4226# TianoCompress tool definitions
4227##################
4228*_*_*_TIANO_PATH = TianoCompress
4229*_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
eric_tian3b6c90a2009-04-13 12:50:50 +00004230
qhuang8e56468c2010-09-06 01:58:00 +00004231##################
4232# BPDG tool definitions
4233##################
4234*_*_*_VPDTOOL_PATH = BPDG
4235*_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08