blob: ec4eb97527f9ec8f5696e19e649da04f2fd7108b [file] [log] [blame]
jljusten07a756b2007-10-17 01:54:36 +00001#
Liming Gao4afd3d02013-08-23 02:18:16 +00002# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
lgao440d841f2010-05-18 05:04:32 +00003# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
Liming Gao4afd3d02013-08-23 02:18:16 +00004# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
jljusten07a756b2007-10-17 01:54:36 +00005#
lgao440d841f2010-05-18 05:04:32 +00006# This program and the accompanying materials
jljusten07a756b2007-10-17 01:54:36 +00007# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14
15IDENTIFIER = Default TOOL_CHAIN_CONF
16
17# common path macros
eric_tian623471a2009-04-14 03:20:33 +000018DEFINE VS2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
19DEFINE VS2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
jljusten07a756b2007-10-17 01:54:36 +000020
eric_tian623471a2009-04-14 03:20:33 +000021DEFINE VS2005_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000022DEFINE VS2005_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005_BIN)
eric_tian623471a2009-04-14 03:20:33 +000023DEFINE VS2005_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
24DEFINE VS2005_BIN64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64
jljusten07a756b2007-10-17 01:54:36 +000025
eric_tian3b6c90a2009-04-13 12:50:50 +000026DEFINE VS2005x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000027DEFINE VS2005x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005x86_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +000028DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64
29DEFINE VS2005x86_BIN64 = DEF(VS2005x86_BIN)\x86_ia64
jljusten07a756b2007-10-17 01:54:36 +000030
lgao452302d42010-02-28 23:39:39 +000031DEFINE VS2008_BIN = C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000032DEFINE VS2008_DLL = C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008_BIN)
lgao452302d42010-02-28 23:39:39 +000033DEFINE VS2008_BINX64 = DEF(VS2008_BIN)\x86_amd64
34DEFINE VS2008_BIN64 = DEF(VS2008_BIN)\x86_ia64
35
36DEFINE VS2008x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin
lgao408dd3112010-10-11 06:26:52 +000037DEFINE VS2008x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008x86_BIN)
lgao452302d42010-02-28 23:39:39 +000038DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64
39DEFINE VS2008x86_BIN64 = DEF(VS2008x86_BIN)\x86_ia64
40
lgao464b26092012-04-10 07:18:20 +000041DEFINE VS2010_BIN = C:\Program Files\Microsoft Visual Studio 10.0\Vc\bin
42DEFINE VS2010_DLL = C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;DEF(VS2010_BIN)
43DEFINE VS2010_BINX64 = DEF(VS2010_BIN)\x86_amd64
44DEFINE VS2010_BIN64 = DEF(VS2010_BIN)\x86_ia64
45
46DEFINE VS2010x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Vc\bin
47DEFINE VS2010x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;DEF(VS2010x86_BIN)
48DEFINE VS2010x86_BINX64 = DEF(VS2010x86_BIN)\x86_amd64
49DEFINE VS2010x86_BIN64 = DEF(VS2010x86_BIN)\x86_ia64
50
Liming Gao4afd3d02013-08-23 02:18:16 +000051DEFINE VS2012_BIN = C:\Program Files\Microsoft Visual Studio 11.0\Vc\bin
52DEFINE VS2012_DLL = C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE;DEF(VS2012_BIN)
53DEFINE VS2012_BINX64 = DEF(VS2012_BIN)\x86_amd64
54
55DEFINE VS2012x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\bin
56DEFINE VS2012x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE;DEF(VS2012x86_BIN)
57DEFINE VS2012x86_BINX64 = DEF(VS2012x86_BIN)\x86_amd64
58
lgao452302d42010-02-28 23:39:39 +000059DEFINE WINSDK_VERSION = v6.0A
60DEFINE WINSDK_BIN = c:\Program Files\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
61DEFINE WINSDKx86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
lgao4b303ea72009-11-09 11:47:35 +000062
63# These defines are needed for certain Microsoft Visual Studio tools that
64# are used by other toolchains. An example is that ICC on Windows normally
65# uses Microsoft's nmake.exe.
66
lgao4b36d1342011-09-18 12:17:25 +000067# 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 +000068DEFINE MS_VS_BIN = DEF(VS2005_BIN)
lgao4b36d1342011-09-18 12:17:25 +000069# 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 +000070DEFINE MS_VS_DLL = DEF(VS2005_DLL)
lgao4b303ea72009-11-09 11:47:35 +000071
eric_tian623471a2009-04-14 03:20:33 +000072DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16
73DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86
74DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64
75DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86
jljusten07a756b2007-10-17 01:54:36 +000076
lgao46780eef2010-11-15 02:51:34 +000077# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler
eric_tian3b6c90a2009-04-13 12:50:50 +000078# tool chains for the linker and nmake commands.
79# This configuration assumes a Windows 2003 Server DDK installation.
eric_tian623471a2009-04-14 03:20:33 +000080DEFINE ICC_VERSION = 9.1
eric_tian3b6c90a2009-04-13 12:50:50 +000081#DEFINE ICC_VERSION = 10.1.021
eric_tian623471a2009-04-14 03:20:33 +000082DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
83DEFINE ICC_ASM32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
84DEFINE ICC_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
85DEFINE ICC_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
jljusten07a756b2007-10-17 01:54:36 +000086
eric_tian623471a2009-04-14 03:20:33 +000087DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
88DEFINE ICC_ASMX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
89DEFINE ICC_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
90DEFINE ICC_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
jljusten07a756b2007-10-17 01:54:36 +000091
eric_tian623471a2009-04-14 03:20:33 +000092DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
93DEFINE ICC_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
jljusten07a756b2007-10-17 01:54:36 +000094
qhuang89053bc52010-06-28 09:33:10 +000095
96# Note: The Intel C++ Compiler 11.1 uses different installation path from previous versions
lgao46780eef2010-11-15 02:51:34 +000097# We use "ICC11" tag for ICC 11.1 while "ICC" tag is dedicated for eariler versions
qhuang89053bc52010-06-28 09:33:10 +000098#
99DEFINE ICC11_VERSION = 11.1
lgao4b36d1342011-09-18 12:17:25 +0000100DEFINE ICC11_BUILD = 072
qhuang89053bc52010-06-28 09:33:10 +0000101DEFINE ICC11_BIN32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
102DEFINE ICC11_ASM32 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
103DEFINE ICC11_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
104DEFINE ICC11_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
105
106DEFINE ICC11_BINX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
107DEFINE ICC11_ASMX64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
qhuang8e56468c2010-09-06 01:58:00 +0000108DEFINE ICC11_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
109DEFINE ICC11_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
qhuang89053bc52010-06-28 09:33:10 +0000110
111DEFINE ICC11_BIN64 = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
112DEFINE ICC11_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
113
eric_tian623471a2009-04-14 03:20:33 +0000114DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin
115DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin
eric_tian3b6c90a2009-04-13 12:50:50 +0000116
eric_tian623471a2009-04-14 03:20:33 +0000117DEFINE ELFGCC_BIN = /usr/bin
118
jljustenc6094892009-03-29 18:42:14 +0000119#
jljusten23473302007-10-29 08:01:12 +0000120# Option 1: Hard coded full path to compiler suite
jljusten726d5a82009-08-15 05:05:00 +0000121DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
122DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
123DEFINE UNIXGCC_IPF_PETOOLS_PREFIX = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin/
lhauchfa7f89d2008-01-03 21:41:41 +0000124#
jljusten23473302007-10-29 08:01:12 +0000125# Option 2: Use an environment variable
126#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)
127#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX)
lhauchfa7f89d2008-01-03 21:41:41 +0000128#
jljusten23473302007-10-29 08:01:12 +0000129# Option 3: Install the compiler suite into your default paths
130#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-
131#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32-
lhauchfa7f89d2008-01-03 21:41:41 +0000132#
133# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory
jljusten23473302007-10-29 08:01:12 +0000134# Links needed: gcc, ar & ld
jljusten726d5a82009-08-15 05:05:00 +0000135#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/
136#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/
jljustenc6094892009-03-29 18:42:14 +0000137#
jljustena4401872009-03-30 17:56:42 +0000138# Option 5: Install programs under user's home directory
jljustenc6094892009-03-29 18:42:14 +0000139#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-
140#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-
jljustenc6094892009-03-29 18:42:14 +0000141#
jljusten07a756b2007-10-17 01:54:36 +0000142
eric_tian623471a2009-04-14 03:20:33 +0000143DEFINE CYGWIN_BIN = c:/cygwin/bin
lgao4b303ea72009-11-09 11:47:35 +0000144DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
jljusten726d5a82009-08-15 05:05:00 +0000145DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
eric_tian623471a2009-04-14 03:20:33 +0000146DEFINE CYGWIN_BINIPF = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-
jljusten07a756b2007-10-17 01:54:36 +0000147
lgao4a709adf2009-12-29 06:16:53 +0000148DEFINE GCC44_IA32_PREFIX = /usr/bin/
149#DEFINE GCC44_IA32_PREFIX = ENV(HOME)/programs/gcc/4.4/ia32/
lgao440d841f2010-05-18 05:04:32 +0000150DEFINE GCC44_X64_PREFIX = /usr/bin/
151#DEFINE GCC44_X64_PREFIX = ENV(HOME)/programs/gcc/4.4/x64/
lgao4a709adf2009-12-29 06:16:53 +0000152
lgao46780eef2010-11-15 02:51:34 +0000153DEFINE GCC45_IA32_PREFIX = /usr/bin/
154DEFINE GCC45_X64_PREFIX = /usr/bin/
155
lgao42bcc7132011-11-25 06:21:03 +0000156DEFINE GCC46_IA32_PREFIX = /usr/bin/
157DEFINE GCC46_X64_PREFIX = /usr/bin/
158
Liming Gao4afd3d02013-08-23 02:18:16 +0000159DEFINE GCC47_IA32_PREFIX = /usr/bin/
160DEFINE GCC47_X64_PREFIX = /usr/bin/
161
Gao, Liming2bc32562014-01-10 05:25:50 +0000162DEFINE GCC48_IA32_PREFIX = /usr/bin/
163DEFINE GCC48_X64_PREFIX = /usr/bin/
164
jljustene0d22732009-08-15 05:05:02 +0000165DEFINE UNIX_IASL_BIN = /usr/bin/iasl
166#DEFINE UNIX_IASL_BIN = $(HOME)/programs/iasl
eric_tian623471a2009-04-14 03:20:33 +0000167DEFINE WIN_ASL_BIN_DIR = C:\ASL
168DEFINE WIN_IASL_BIN = DEF(WIN_ASL_BIN_DIR)\iasl.exe
169DEFINE WIN_ASL_BIN = DEF(WIN_ASL_BIN_DIR)\asl.exe
170
lgao4a709adf2009-12-29 06:16:53 +0000171DEFINE IASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000172DEFINE IASL_OUTFLAGS = -p
173DEFINE MS_ASL_OUTFLAGS = /Fo=
lgao4a709adf2009-12-29 06:16:53 +0000174DEFINE MS_ASL_FLAGS =
175
176DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_IASL_BIN)
177DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(IASL_FLAGS)
178DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
179#DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_ASL_BIN)
180#DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(MS_ASL_FLAGS)
181#DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000182
lgao408dd3112010-10-11 06:26:52 +0000183DEFINE MSFT_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000184DEFINE MSFT_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000185DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
eric_tian3b6c90a2009-04-13 12:50:50 +0000186
lgao408dd3112010-10-11 06:26:52 +0000187DEFINE ICC_WIN_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
lgao46780eef2010-11-15 02:51:34 +0000188DEFINE ICC_WIN_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +0000189DEFINE ICC_WIN_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc
eric_tian3b6c90a2009-04-13 12:50:50 +0000190
vanjefffd171542009-09-11 03:14:43 +0000191DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer
vanjefffd171542009-09-11 03:14:43 +0000192
lgao4636f2be2010-03-12 10:54:01 +0000193DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin
jljusten07a756b2007-10-17 01:54:36 +0000194
lgao4da92f272011-05-11 10:26:49 +0000195#
196# Change to the location clang was built
197#
198DEFINE CLANG_BIN = /usr/bin/
199
jljusten07a756b2007-10-17 01:54:36 +0000200####################################################################################
201#
202# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
jwang361c2c04d2007-12-25 09:15:38 +0000203# priority:
jljusten07a756b2007-10-17 01:54:36 +0000204# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
205# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
206# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
207# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
208# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
209# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
210# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
211# ******_*********_****_COMMANDTYPE_ATTRIBUTE
212# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
213# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
214# TARGET_*********_ARCH_***********_ATTRIBUTE
215# ******_*********_ARCH_***********_ATTRIBUTE
216# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
217# ******_TOOLCHAIN_****_***********_ATTRIBUTE
218# TARGET_*********_****_***********_ATTRIBUTE
219# ******_*********_****_***********_ATTRIBUTE (Lowest)
220#
221####################################################################################
222####################################################################################
223#
224# Supported Tool Chains
225# =====================
lgao4b36d1342011-09-18 12:17:25 +0000226# VS2003 -win32- Requires:
227# Microsoft Visual Studio .NET 2003
228# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
229# Optional:
230# Required to build EBC drivers:
231# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
232# Required to build platforms or ACPI tables:
233# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
234# http://www.acpica.org/downloads/previous_releases.php
235# VS2005 -win32- Requires:
236# Microsoft Visual Studio 2005 Team Suite Edition
237# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
238# Optional:
239# Required to build EBC drivers:
240# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
241# Required to build platforms or ACPI tables:
242# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
243# http://www.acpica.org/downloads/previous_releases.php
244# VS2008 -win32- Requires:
245# Microsoft Visual Studio 2008 Team Suite Edition
246# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
247# Optional:
248# Required to build EBC drivers:
249# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
250# Required to build platforms or ACPI tables:
251# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
252# http://www.acpica.org/downloads/previous_releases.php
lgao464b26092012-04-10 07:18:20 +0000253# VS2010 -win32- Requires:
254# Microsoft Visual Studio 2010 Premium Edition
255# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
256# Optional:
257# Required to build EBC drivers:
258# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
259# Required to build platforms or ACPI tables:
260# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
261# http://www.acpica.org/downloads/previous_releases.php
Liming Gao4afd3d02013-08-23 02:18:16 +0000262# VS2012 -win32- Requires:
263# Microsoft Visual Studio 2012 Professional Edition
264# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
265# Optional:
266# Required to build EBC drivers:
267# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
268# Required to build platforms or ACPI tables:
269# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
270# http://www.acpica.org/downloads/previous_releases.php
lgao4b36d1342011-09-18 12:17:25 +0000271# DDK3790 -win32- Requires:
272# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
273# Optional:
274# Required to build EBC drivers:
275# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
276# Required to build platforms or ACPI tables:
277# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
278# http://www.acpica.org/downloads/previous_releases.php
279# UNIXGCC -UNIX- Requires:
280# GCC 4.3.0
281# binutils 2.20.51.0.5
282# Optional:
283# Required to build platforms or ACPI tables:
284# Intel(r) ACPI Compiler v20101013 from
285# http://www.acpica.org/downloads/previous_releases.php
286# GCC44 -Linux- Requires:
287# GCC 4.4 (Native)
288# Optional:
289# Required to build platforms or ACPI tables:
290# Intel(r) ACPI Compiler v20101013 from
291# http://www.acpica.org/downloads/previous_releases.php
lgao42bcc7132011-11-25 06:21:03 +0000292# GCC45 -Linux- Requires:
293# GCC 4.5 (Native)
294# Optional:
295# Required to build platforms or ACPI tables:
296# Intel(r) ACPI Compiler v20101013 from
297# http://www.acpica.org/downloads/previous_releases.php
298# GCC46 -Linux- Requires:
299# GCC 4.6 (Native)
300# Optional:
301# Required to build platforms or ACPI tables:
302# Intel(r) ACPI Compiler v20101013 from
303# http://www.acpica.org/downloads/previous_releases.php
Liming Gao4afd3d02013-08-23 02:18:16 +0000304# GCC47 -Linux- Requires:
305# GCC 4.7 (Native)
306# Optional:
307# Required to build platforms or ACPI tables:
308# Intel(r) ACPI Compiler v20101013 from
309# http://www.acpica.org/downloads/previous_releases.php
Gao, Liming2bc32562014-01-10 05:25:50 +0000310# GCC48 -Linux- Requires:
311# GCC 4.8
312# Optional:
313# Required to build platforms or ACPI tables:
314# Intel(r) ACPI Compiler v20101013 from
315# http://www.acpica.org/downloads/previous_releases.php
lgao4b36d1342011-09-18 12:17:25 +0000316# ELFGCC -Linux- Requires:
317# GCC(this tool chain uses whatever version of gcc and binutils that is installed in /usr/bin)
318# Optional:
319# Required to build platforms or ACPI tables:
320# Intel(r) ACPI Compiler v20101013 from
321# http://www.acpica.org/downloads/previous_releases.php
322# CYGGCC -win32- Requires:
323# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
324# Microsoft Visual Studio 2005 or 2008
325# Optional:
326# Required to build EBC drivers:
327# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
328# Required to build platforms or ACPI tables:
329# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
330# http://www.acpica.org/downloads/previous_releases.php
331# ICC -win32- Requires:
332# Intel C Compiler V9.1
333# Dependencies:
334# Microsoft Visual Studio 2003 or 2005
335# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
336# version 3790.1830 for X64 target architectures
337# Optional:
338# Required to build EBC drivers:
339# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
340# Required to build platforms or ACPI tables:
341# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
342# http://www.acpica.org/downloads/previous_releases.php
343# ICC11 -win32- Requires:
344# Intel C Compiler V11.1
345# Dependencies:
346# Microsoft Visual Studio 2005 or 2008
347# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
348# version 3790.1830 for X64 target architectures
349# Optional:
350# Required to build EBC drivers:
351# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
352# Required to build platforms or ACPI tables:
353# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
354# http://www.acpica.org/downloads/previous_releases.php
355# MYTOOLS -win32- Requires:
356# Microsoft Visual Studio 2008 for IA32/X64
357# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830 for IPF
358# Optional:
359# Required to build EBC drivers:
360# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
361# Required to build platforms or ACPI tables:
362# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
363# http://www.acpica.org/downloads/previous_releases.php
364# VS2003xASL -win32- Requires:
365# Microsoft Visual Studio .NET 2003
366# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
367# Optional:
368# Required to build EBC drivers:
369# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
370# Required to build platforms or ACPI tables:
371# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
372# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
373# VS2005xASL -win32- Requires:
374# Microsoft Visual Studio 2005 Team Suite Edition
375# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
376# Optional:
377# Required to build EBC drivers:
378# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
379# Required to build platforms or ACPI tables:
380# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
381# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
382# VS2008xASL -win32- Requires:
383# Microsoft Visual Studio 2008 Team Suite
384# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
385# Optional:
386# Required to build EBC drivers:
387# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
388# Required to build platforms or ACPI tables:
389# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
390# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao464b26092012-04-10 07:18:20 +0000391# VS2010xASL -win32- Requires:
392# Microsoft Visual Studio 2010 Premium Edition
393# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
394# Optional:
395# Required to build EBC drivers:
396# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
397# Required to build platforms or ACPI tables:
398# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
399# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
Liming Gao4afd3d02013-08-23 02:18:16 +0000400# VS2012xASL -win32- Requires:
401# Microsoft Visual Studio 2012 Professional Edition
402# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
403# Optional:
404# Required to build EBC drivers:
405# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
406# Required to build platforms or ACPI tables:
407# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
408# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao4b36d1342011-09-18 12:17:25 +0000409# DDK3790xASL -win32- Requires:
410# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
411# Optional:
412# Required to build EBC drivers:
413# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
414# Required to build platforms or ACPI tables:
415# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
416# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
417# CYGGCCxASL -win32- Requires:
418# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
419# Microsoft Visual Studio 2005 or 2008
420# Optional:
421# Required to build EBC drivers:
422# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
423# Required to build platforms or ACPI tables:
424# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
425# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
426# ICCxASL -win32- Requires:
427# Intel C Compiler V9.1
428# Dependencies:
429# Microsoft Visual Studio 2003 or 2005
430# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
431# version 3790.1830 for X64 target architectures
432# Optional:
433# Required to build EBC drivers:
434# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
435# Required to build platforms or ACPI tables:
436# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
437# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
438# ICC11xASL -win32- Requires:
439# Intel C Compiler V11.1
440# Dependencies:
441# Microsoft Visual Studio 2005 or 2008
442# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
443# version 3790.1830 for X64 target architectures
444# Optional:
445# Required to build EBC drivers:
446# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
447# Required to build platforms or ACPI tables:
448# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
449# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
450# VS2005x86 -win64- Requires:
451# Microsoft Visual Studio 2005 Team Suite Edition (x86)
452# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
453# Optional:
454# Required to build EBC drivers:
455# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
456# Required to build platforms or ACPI tables:
457# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
458# http://www.acpica.org/downloads/previous_releases.php
459# VS2008x86 -win64- Requires:
460# Microsoft Visual Studio 2008 (x86)
461# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
462# Optional:
463# Required to build platforms or ACPI tables:
464# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
465# http://www.acpica.org/downloads/previous_releases.php
lgao464b26092012-04-10 07:18:20 +0000466# VS2010x86 -win64- Requires:
467# Microsoft Visual Studio 2010 (x86) Premium Edition
468# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
469# Optional:
470# Required to build platforms or ACPI tables:
471# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
472# http://www.acpica.org/downloads/previous_releases.php
Liming Gao4afd3d02013-08-23 02:18:16 +0000473# VS2012x86 -win64- Requires:
474# Microsoft Visual Studio 2012 (x86) Professional Edition
475# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
476# Optional:
477# Required to build platforms or ACPI tables:
478# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
479# http://www.acpica.org/downloads/previous_releases.php
lgao4b36d1342011-09-18 12:17:25 +0000480# ICCx86 -win64- Requires:
481# Intel C Compiler V9.1(x86)
482# Dependencies:
483# Microsoft Visual Studio 2003 or 2005
484# Microsoft Windows Server 2003 Driver Development Kit
485# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
486# Optional:
487# Required to build EBC drivers:
488# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
489# Required to build platforms or ACPI tables:
490# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
491# http://www.acpica.org/downloads/previous_releases.php
492# ICC11x86 -win64- Requires:
493# Intel C Compiler V11.1(x86)
494# Dependencies:
495# Microsoft Visual Studio 2005 or 2008
496# Microsoft Windows Server 2003 Driver Development Kit
497# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
498# Optional:
499# Required to build EBC drivers:
500# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
501# Required to build platforms or ACPI tables:
502# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
503# http://www.acpica.org/downloads/previous_releases.php
504# VS2005x86xASL -win64- Requires:
505# Microsoft Visual Studio 2005 Team Suite Edition (x86)
506# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
507# Optional:
508# Required to build EBC drivers:
509# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
510# Required to build platforms or ACPI tables:
511# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
512# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
513# VS2008x86xASL -win64- Requires:
514# Microsoft Visual Studio 2008 (x86)
515# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
516# Optional:
517# Required to build platforms or ACPI tables:
518# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
519# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao464b26092012-04-10 07:18:20 +0000520# VS2010x86xASL -win64- Requires:
521# Microsoft Visual Studio 2010 (x86) Premium Edition
522# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
523# Optional:
524# Required to build platforms or ACPI tables:
525# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
526# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
Liming Gao4afd3d02013-08-23 02:18:16 +0000527# VS2012x86xASL -win64- Requires:
528# Microsoft Visual Studio 2012 (x86) Professional Edition
529# Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
530# Optional:
531# Required to build platforms or ACPI tables:
532# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
533# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
lgao4b36d1342011-09-18 12:17:25 +0000534# ICCx86xASL -win64- Requires:
535# Intel C Compiler V9.1 (x86)
536# Dependencies:
537# Microsoft Visual Studio 2003 or 2005
538# Microsoft Windows Server 2003 Driver Development Kit
539# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
540# Optional:
541# Required to build EBC drivers:
542# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
543# Required to build platforms or ACPI tables:
544# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
545# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
546# ICC11x86xASL -win64- Requires:
547# Intel C Compiler V11.1 (x86)
548# Dependencies:
549# Microsoft Visual Studio 2005 or 2008
550# Microsoft Windows Server 2003 Driver Development Kit
551# (Microsoft WINDDK) version 3790.1830 for X64 target architectures
552# Optional:
553# Required to build EBC drivers:
554# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
555# Required to build platforms or ACPI tables:
556# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
557# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
558# CYGGCCx86 -win64- Requires:
559# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
560# Microsoft Visual Studio 2005 or 2008
561# Optional:
562# Required to build EBC drivers:
563# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
564# Required to build platforms or ACPI tables:
565# Intel(r) ACPI Compiler (iasl.exe) v20101013 from
566# http://www.acpica.org/downloads/previous_releases.php
567# CYGGCCx86xASL -win64- Requires:
568# CygWin, GCC 4.3.0, binutils 2.20.51.0.5
569# Microsoft Visual Studio 2005 or 2008
570# Optional:
571# Required to build EBC drivers:
572# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
573# Required to build platforms or ACPI tables:
574# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
575# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
Liming Gao4afd3d02013-08-23 02:18:16 +0000576# ARMGCC -unix- Requires:
577# ARM None EABI GCC 4.6.0
578# Optional:
579# Required to build platforms or ACPI tables:
580# Intel(r) ACPI Compiler v20101013 from
581# http://www.acpica.org/downloads/previous_releases.php
582# ARMLINUXGCC -unix- Requires:
583# ARM Linux GNU EABI GCC 4.6.0
584# Optional:
585# Required to build platforms or ACPI tables:
586# Intel(r) ACPI Compiler v20101013 from
587# http://www.acpica.org/downloads/previous_releases.php
588# RVCT -win- Requires:
589# ARM C/C++ Compiler, 5.00
590# Optional:
591# Required to build EBC drivers:
592# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
593# Required to build platforms or ACPI tables:
594# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
595# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
596# RVCTLINUX -unix- Requires:
597# ARM C/C++ Compiler, 5.00
598# Optional:
599# Required to build platforms or ACPI tables:
600# Intel(r) ACPI Compiler v20101013 from
601# http://www.acpica.org/downloads/previous_releases.php
jljusten07a756b2007-10-17 01:54:36 +0000602# * Commented out - All versions of VS2005 use the same standard install directory
603#
604####################################################################################
605####################################################################################
606#
607# Supported Tool Chain Family
608# ===========================
609# MSFT - Microsoft
610# GCC - GNU GCC
611# INTEL - INTEL
lgao42bcc7132011-11-25 06:21:03 +0000612# RVCT - ARM RealView Toolchain
jljusten07a756b2007-10-17 01:54:36 +0000613####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000614####################################################################################
615#
616# Intel EFI Byte Code Compiler (Template)
617#
618####################################################################################
619# *_*_EBC_*_FAMILY = INTEL
620#
621# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
622# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
623# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe
624#
eric_tian623471a2009-04-14 03:20:33 +0000625# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
626# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
627# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h
lgao4d40b2ee2011-11-09 04:32:08 +0000628# *_*_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 +0000629#
630####################################################################################
631#
632# Intel ACPI Source Language Compiler (Template)
633#
634####################################################################################
635# *_*_*_ASL_FAMILY = INTEL
636#
637# *_*_*_ASL_PATH = C:\ASL\iasl.exe
638#
639####################################################################################
640#
641# Microsoft ACPI Source Language Compiler (Template)
642#
643####################################################################################
644# *_*_*_ASL_FAMILY = MSFT
645#
eric_tian3b6c90a2009-04-13 12:50:50 +0000646# *_*_*_ASL_PATH = C:\ASL\asl.exe
jljusten07a756b2007-10-17 01:54:36 +0000647#
eric_tian3b6c90a2009-04-13 12:50:50 +0000648####################################################################################
jljusten07a756b2007-10-17 01:54:36 +0000649
650
651####################################################################################
652#
eric_tian3b6c90a2009-04-13 12:50:50 +0000653# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
654# And Intel ACPI Compiler
655#
656####################################################################################
657# VS2003 - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)
658*_VS2003_*_*_FAMILY = MSFT
659
660##################
661# ASL definitions
662##################
lgao4a709adf2009-12-29 06:16:53 +0000663*_VS2003_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
664*_VS2003_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
665*_VS2003_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000666*_VS2003_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
667*_VS2003_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
668*_VS2003_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000669
670##################
671# IA32 definitions
672##################
eric_tian623471a2009-04-14 03:20:33 +0000673*_VS2003_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000674
eric_tian623471a2009-04-14 03:20:33 +0000675*_VS2003_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
676*_VS2003_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
677*_VS2003_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
678*_VS2003_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
679*_VS2003_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000680*_VS2003_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
681*_VS2003_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
682*_VS2003_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +0000683*_VS2003_IA32_ASM16_PATH = DEF(VS2003_BIN)\ml.exe
eric_tian623471a2009-04-14 03:20:33 +0000684*_VS2003_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
685*_VS2003_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
686*_VS2003_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000687*_VS2003_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000688
689 *_VS2003_IA32_MAKE_FLAGS = /nologo
690 *_VS2003_IA32_APP_FLAGS = /nologo /E /TC
691 *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
692 *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000693 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
694RELEASE_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 +0000695NOOPT_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
696
eric_tian3b6c90a2009-04-13 12:50:50 +0000697 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
698RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000699NOOPT_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
700
eric_tian3b6c90a2009-04-13 12:50:50 +0000701 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000702 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
703RELEASE_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
704NOOPT_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 +0000705
706##################
707# EBC definitions
708##################
709*_VS2003_EBC_*_FAMILY = INTEL
710
eric_tian623471a2009-04-14 03:20:33 +0000711*_VS2003_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000712*_VS2003_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
713*_VS2003_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
714*_VS2003_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
715*_VS2003_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
716*_VS2003_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000717*_VS2003_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000718
719*_VS2003_EBC_MAKE_FLAGS = /nologo
720*_VS2003_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
721*_VS2003_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
722*_VS2003_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
723*_VS2003_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000724*_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 +0000725
726####################################################################################
727#
728# Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler
729#
730####################################################################################
731# VS2003xASL - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)
732*_VS2003xASL_*_*_FAMILY = MSFT
733
734##################
735# ASL definitions
736##################
eric_tian623471a2009-04-14 03:20:33 +0000737*_VS2003xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000738*_VS2003xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000739*_VS2003xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000740*_VS2003xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
741*_VS2003xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
742*_VS2003xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000743
744##################
745# IA32 definitions
746##################
eric_tian623471a2009-04-14 03:20:33 +0000747*_VS2003xASL_IA32_*_DLL = DEF(VS2003_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000748
eric_tian623471a2009-04-14 03:20:33 +0000749*_VS2003xASL_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
750*_VS2003xASL_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe
751*_VS2003xASL_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe
752*_VS2003xASL_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe
753*_VS2003xASL_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000754*_VS2003xASL_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe
755*_VS2003xASL_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe
756*_VS2003xASL_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe
757*_VS2003xASL_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe
758*_VS2003xASL_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe
759*_VS2003xASL_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000760*_VS2003xASL_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000761
762
763 *_VS2003xASL_IA32_MAKE_FLAGS = /nologo
764 *_VS2003xASL_IA32_APP_FLAGS = /nologo /E /TC
765 *_VS2003xASL_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
766 *_VS2003xASL_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
qhuang89053bc52010-06-28 09:33:10 +0000767 DEBUG_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
768RELEASE_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 +0000769NOOPT_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
770
eric_tian3b6c90a2009-04-13 12:50:50 +0000771 DEBUG_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
772RELEASE_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000773NOOPT_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
774
eric_tian3b6c90a2009-04-13 12:50:50 +0000775 *_VS2003xASL_IA32_SLINK_FLAGS = /nologo /LTCG
lgao4b36d1342011-09-18 12:17:25 +0000776 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
777RELEASE_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
778NOOPT_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 +0000779
780##################
781# EBC definitions
782##################
783*_VS2003xASL_EBC_*_FAMILY = INTEL
784
eric_tian623471a2009-04-14 03:20:33 +0000785*_VS2003xASL_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000786*_VS2003xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
787*_VS2003xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
788*_VS2003xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
789*_VS2003xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
790*_VS2003xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao4b303ea72009-11-09 11:47:35 +0000791*_VS2003xASL_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000792
793*_VS2003xASL_EBC_MAKE_FLAGS = /nologo
794*_VS2003xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
795*_VS2003xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
796*_VS2003xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
797*_VS2003xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000798*_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 +0000799
800####################################################################################
eric_tian3b6c90a2009-04-13 12:50:50 +0000801# Microsoft Visual Studio 2005
802#
803# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
804# ASL - Intel ACPI Source Language Compiler
805####################################################################################
806# VS2005 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
eric_tian623471a2009-04-14 03:20:33 +0000807*_VS2005_*_*_FAMILY = MSFT
eric_tian3b6c90a2009-04-13 12:50:50 +0000808
eric_tian623471a2009-04-14 03:20:33 +0000809*_VS2005_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
810*_VS2005_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000811*_VS2005_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000812
eric_tian623471a2009-04-14 03:20:33 +0000813*_VS2005_*_SLINK_FLAGS = /NOLOGO /LTCG
814*_VS2005_*_APP_FLAGS = /nologo /E /TC
815*_VS2005_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
816*_VS2005_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
eric_tian3b6c90a2009-04-13 12:50:50 +0000817
qhuang814c48572010-07-21 02:46:15 +0000818*_VS2005_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
819
eric_tian3b6c90a2009-04-13 12:50:50 +0000820##################
821# ASL definitions
822##################
lgao4a709adf2009-12-29 06:16:53 +0000823*_VS2005_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
824*_VS2005_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
825*_VS2005_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian623471a2009-04-14 03:20:33 +0000826*_VS2005_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
827*_VS2005_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
828*_VS2005_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000829
830##################
831# IA32 definitions
832##################
eric_tian623471a2009-04-14 03:20:33 +0000833*_VS2005_IA32_*_DLL = DEF(VS2005_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +0000834
eric_tian623471a2009-04-14 03:20:33 +0000835*_VS2005_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
836*_VS2005_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
837*_VS2005_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
838*_VS2005_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
839*_VS2005_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian623471a2009-04-14 03:20:33 +0000840*_VS2005_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
841*_VS2005_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
842*_VS2005_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
843*_VS2005_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
844*_VS2005_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
845*_VS2005_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000846
eric_tian623471a2009-04-14 03:20:33 +0000847 *_VS2005_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000848 DEBUG_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
849RELEASE_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 +0000850NOOPT_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
851
eric_tian623471a2009-04-14 03:20:33 +0000852 DEBUG_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
853RELEASE_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000854NOOPT_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
855
lgao464b26092012-04-10 07:18:20 +0000856 DEBUG_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
857RELEASE_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
858NOOPT_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
eric_tian3b6c90a2009-04-13 12:50:50 +0000859
860##################
861# X64 definitions
862##################
863*_VS2005_X64_*_DLL = DEF(VS2005_DLL)
864
865*_VS2005_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
866*_VS2005_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
867*_VS2005_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
868*_VS2005_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
869*_VS2005_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
870*_VS2005_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
871*_VS2005_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
872*_VS2005_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
873*_VS2005_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
874*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
875
qhuang89053bc52010-06-28 09:33:10 +0000876 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
877RELEASE_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 +0000878NOOPT_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
879
eric_tian3b6c90a2009-04-13 12:50:50 +0000880 DEBUG_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
881RELEASE_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +0000882NOOPT_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
883
884 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
885RELEASE_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
886NOOPT_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 +0000887
888##################
889# IPF definitions
890##################
891*_VS2005_IPF_*_DLL = DEF(VS2005_DLL)
892
893*_VS2005_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
894*_VS2005_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
895*_VS2005_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
896*_VS2005_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
897*_VS2005_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
898*_VS2005_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
899*_VS2005_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
900*_VS2005_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
901*_VS2005_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
902*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
903
904 DEBUG_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
905RELEASE_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 +0000906NOOPT_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
907
eric_tian3b6c90a2009-04-13 12:50:50 +0000908 DEBUG_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
909RELEASE_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +0000910NOOPT_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
911
lgao46780eef2010-11-15 02:51:34 +0000912 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
913RELEASE_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 +0000914NOOPT_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 +0000915
916##################
917# EBC definitions
918##################
919*_VS2005_EBC_*_FAMILY = INTEL
920
921*_VS2005_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
922*_VS2005_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
923*_VS2005_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
924*_VS2005_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
925*_VS2005_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
926*_VS2005_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
927
928*_VS2005_EBC_MAKE_FLAGS = /nologo
929*_VS2005_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
930*_VS2005_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
931*_VS2005_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
932*_VS2005_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +0000933*_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 +0000934
935####################################################################################
936#
937# Microsoft Visual Studio 2005
938#
939# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
940# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
941####################################################################################
942# VS2005xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
943*_VS2005xASL_*_*_FAMILY = MSFT
944
945*_VS2005xASL_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
946*_VS2005xASL_*_MAKE_FLAG = /nologo
lgao4b303ea72009-11-09 11:47:35 +0000947*_VS2005xASL_*_RC_PATH = DEF(VS2005_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000948
949*_VS2005xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
950*_VS2005xASL_*_APP_FLAGS = /nologo /E /TC
951*_VS2005xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
952*_VS2005xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
953
qhuang814c48572010-07-21 02:46:15 +0000954*_VS2005xASL_*_ASM16_PATH = DEF(VS2005_BIN)\ml.exe
955
eric_tian3b6c90a2009-04-13 12:50:50 +0000956##################
957# ASL definitions
958##################
959*_VS2005xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +0000960*_VS2005xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +0000961*_VS2005xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +0000962*_VS2005xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
963*_VS2005xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
964*_VS2005xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
965
966##################
967# IA32 definitions
968##################
969*_VS2005xASL_IA32_*_DLL = DEF(VS2005_DLL)
970
971*_VS2005xASL_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
972*_VS2005xASL_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe
973*_VS2005xASL_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe
974*_VS2005xASL_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe
975*_VS2005xASL_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +0000976*_VS2005xASL_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe
977*_VS2005xASL_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe
978*_VS2005xASL_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe
979*_VS2005xASL_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe
980*_VS2005xASL_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe
981*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
982
983 *_VS2005xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +0000984 DEBUG_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
985RELEASE_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 +0000986NOOPT_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
987
eric_tian3b6c90a2009-04-13 12:50:50 +0000988 DEBUG_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
989RELEASE_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +0000990NOOPT_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
991
992 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
993RELEASE_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
994NOOPT_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 +0000995
996##################
997# X64 definitions
998##################
999*_VS2005xASL_X64_*_DLL = DEF(VS2005_DLL)
1000
1001*_VS2005xASL_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe
1002*_VS2005xASL_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe
1003*_VS2005xASL_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe
1004*_VS2005xASL_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe
1005*_VS2005xASL_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe
1006*_VS2005xASL_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe
1007*_VS2005xASL_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe
1008*_VS2005xASL_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe
1009*_VS2005xASL_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe
1010*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
1011
qhuang89053bc52010-06-28 09:33:10 +00001012 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
1013RELEASE_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 +00001014NOOPT_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1015
eric_tian3b6c90a2009-04-13 12:50:50 +00001016 DEBUG_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1017RELEASE_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001018NOOPT_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1019
1020 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
1021RELEASE_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
1022NOOPT_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 +00001023
1024##################
1025# IPF definitions
1026##################
1027*_VS2005xASL_IPF_*_DLL = DEF(VS2005_DLL)
1028
1029*_VS2005xASL_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe
1030*_VS2005xASL_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe
1031*_VS2005xASL_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe
1032*_VS2005xASL_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe
1033*_VS2005xASL_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe
1034*_VS2005xASL_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe
1035*_VS2005xASL_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe
1036*_VS2005xASL_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe
1037*_VS2005xASL_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe
1038*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
1039
1040 DEBUG_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1041RELEASE_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 +00001042NOOPT_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1043
eric_tian3b6c90a2009-04-13 12:50:50 +00001044 DEBUG_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1045RELEASE_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001046NOOPT_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1047
lgao46780eef2010-11-15 02:51:34 +00001048 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
1049RELEASE_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 +00001050NOOPT_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 +00001051
1052##################
1053# EBC definitions
1054##################
1055*_VS2005xASL_EBC_*_FAMILY = INTEL
1056
1057*_VS2005xASL_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
1058*_VS2005xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1059*_VS2005xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1060*_VS2005xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
1061*_VS2005xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
1062*_VS2005xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
1063
1064*_VS2005xASL_EBC_MAKE_FLAGS = /nologo
1065*_VS2005xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1066*_VS2005xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1067*_VS2005xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1068*_VS2005xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001069*_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 +00001070
1071####################################################################################
1072#
1073# Microsoft Visual Studio 2005 (x86)
1074#
1075# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1076# ASL - Intel ACPI Source Language Compiler
1077####################################################################################
1078# VS2005x86 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1079*_VS2005x86_*_*_FAMILY = MSFT
1080
1081*_VS2005x86_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1082*_VS2005x86_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001083*_VS2005x86_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001084
1085*_VS2005x86_*_SLINK_FLAGS = /NOLOGO /LTCG
1086*_VS2005x86_*_APP_FLAGS = /nologo /E /TC
1087*_VS2005x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1088*_VS2005x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1089
qhuang814c48572010-07-21 02:46:15 +00001090*_VS2005x86_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
1091
eric_tian3b6c90a2009-04-13 12:50:50 +00001092##################
1093# ASL definitions
1094##################
lgao4a709adf2009-12-29 06:16:53 +00001095*_VS2005x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1096*_VS2005x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1097*_VS2005x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001098*_VS2005x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1099*_VS2005x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1100*_VS2005x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1101
1102##################
1103# IA32 definitions
1104##################
1105*_VS2005x86_IA32_*_DLL = DEF(VS2005x86_DLL)
1106
1107*_VS2005x86_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1108*_VS2005x86_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
1109*_VS2005x86_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1110*_VS2005x86_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
1111*_VS2005x86_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001112*_VS2005x86_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
1113*_VS2005x86_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
1114*_VS2005x86_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
1115*_VS2005x86_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
1116*_VS2005x86_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1117*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1118
1119 *_VS2005x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001120 DEBUG_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1121RELEASE_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 +00001122NOOPT_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1123
eric_tian3b6c90a2009-04-13 12:50:50 +00001124 DEBUG_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1125RELEASE_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001126NOOPT_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1127
1128 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
1129RELEASE_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 +00001130NOOPT_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 +00001131
1132##################
1133# X64 definitions
1134##################
1135*_VS2005x86_X64_*_DLL = DEF(VS2005x86_DLL)
1136
1137*_VS2005x86_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1138*_VS2005x86_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1139*_VS2005x86_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1140*_VS2005x86_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1141*_VS2005x86_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1142*_VS2005x86_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1143*_VS2005x86_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1144*_VS2005x86_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1145*_VS2005x86_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1146*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1147
qhuang89053bc52010-06-28 09:33:10 +00001148 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
1149RELEASE_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 +00001150NOOPT_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1151
eric_tian3b6c90a2009-04-13 12:50:50 +00001152 DEBUG_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1153RELEASE_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001154NOOPT_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1155
1156 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
1157RELEASE_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
1158NOOPT_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 +00001159
1160##################
1161# IPF definitions
1162##################
1163*_VS2005x86_IPF_*_DLL = DEF(VS2005x86_DLL)
1164
1165*_VS2005x86_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1166*_VS2005x86_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1167*_VS2005x86_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1168*_VS2005x86_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1169*_VS2005x86_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1170*_VS2005x86_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1171*_VS2005x86_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1172*_VS2005x86_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1173*_VS2005x86_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1174*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1175
1176 DEBUG_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1177RELEASE_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 +00001178NOOPT_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1179
eric_tian3b6c90a2009-04-13 12:50:50 +00001180 DEBUG_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1181RELEASE_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001182NOOPT_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1183
lgao46780eef2010-11-15 02:51:34 +00001184 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
1185RELEASE_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 +00001186NOOPT_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
1187
eric_tian3b6c90a2009-04-13 12:50:50 +00001188##################
1189# EBC definitions
1190##################
1191*_VS2005x86_EBC_*_FAMILY = INTEL
1192
1193*_VS2005x86_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1194*_VS2005x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1195*_VS2005x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1196*_VS2005x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1197*_VS2005x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1198*_VS2005x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1199
1200*_VS2005x86_EBC_MAKE_FLAGS = /nologo
1201*_VS2005x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1202*_VS2005x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1203*_VS2005x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1204*_VS2005x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001205*_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 +00001206
1207####################################################################################
1208#
1209# Microsoft Visual Studio 2005 (x86)
1210#
1211# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1212# ASL - Microsoft ACPI Source Language Compiler
1213####################################################################################
1214# VS2005x86xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1215*_VS2005x86xASL_*_*_FAMILY = MSFT
1216
1217*_VS2005x86xASL_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1218*_VS2005x86xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00001219*_VS2005x86xASL_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001220
1221*_VS2005x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1222*_VS2005x86xASL_*_APP_FLAGS = /nologo /E /TC
1223*_VS2005x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1224*_VS2005x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1225
qhuang814c48572010-07-21 02:46:15 +00001226*_VS2005x86xASL_*_ASM16_PATH = DEF(VS2005x86_BIN)\ml.exe
1227
eric_tian3b6c90a2009-04-13 12:50:50 +00001228##################
1229# ASL definitions
1230##################
1231*_VS2005x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001232*_VS2005x86xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00001233*_VS2005x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00001234*_VS2005x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1235*_VS2005x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1236*_VS2005x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1237
1238##################
1239# IA32 definitions
1240##################
1241*_VS2005x86xASL_IA32_*_DLL = DEF(VS2005x86_DLL)
1242
1243*_VS2005x86xASL_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1244*_VS2005x86xASL_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe
1245*_VS2005x86xASL_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1246*_VS2005x86xASL_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe
1247*_VS2005x86xASL_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00001248*_VS2005x86xASL_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe
1249*_VS2005x86xASL_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe
1250*_VS2005x86xASL_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe
1251*_VS2005x86xASL_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe
1252*_VS2005x86xASL_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe
1253*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1254
1255 *_VS2005x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001256 DEBUG_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1257RELEASE_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 +00001258NOOPT_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1259
eric_tian3b6c90a2009-04-13 12:50:50 +00001260 DEBUG_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1261RELEASE_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001262NOOPT_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1263
1264 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
1265RELEASE_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
1266NOOPT_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 +00001267
1268##################
1269# X64 definitions
1270##################
1271*_VS2005x86xASL_X64_*_DLL = DEF(VS2005x86_DLL)
1272
1273*_VS2005x86xASL_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1274*_VS2005x86xASL_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1275*_VS2005x86xASL_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1276*_VS2005x86xASL_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1277*_VS2005x86xASL_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe
1278*_VS2005x86xASL_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe
1279*_VS2005x86xASL_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1280*_VS2005x86xASL_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe
1281*_VS2005x86xASL_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe
1282*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1283
qhuang89053bc52010-06-28 09:33:10 +00001284 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
1285RELEASE_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 +00001286NOOPT_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1287
eric_tian3b6c90a2009-04-13 12:50:50 +00001288 DEBUG_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1289RELEASE_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001290NOOPT_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1291
1292 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
1293RELEASE_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
1294NOOPT_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 +00001295
1296##################
1297# IPF definitions
1298##################
1299*_VS2005x86xASL_IPF_*_DLL = DEF(VS2005x86_DLL)
1300
1301*_VS2005x86xASL_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1302*_VS2005x86xASL_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1303*_VS2005x86xASL_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1304*_VS2005x86xASL_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1305*_VS2005x86xASL_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe
1306*_VS2005x86xASL_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe
1307*_VS2005x86xASL_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1308*_VS2005x86xASL_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe
1309*_VS2005x86xASL_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe
1310*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1311
1312 DEBUG_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1313RELEASE_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 +00001314NOOPT_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1315
eric_tian3b6c90a2009-04-13 12:50:50 +00001316 DEBUG_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1317RELEASE_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001318NOOPT_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1319
lgao46780eef2010-11-15 02:51:34 +00001320 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
1321RELEASE_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 +00001322NOOPT_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 +00001323
1324##################
1325# EBC definitions
1326##################
1327*_VS2005x86xASL_EBC_*_FAMILY = INTEL
1328
1329*_VS2005x86xASL_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe
1330*_VS2005x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1331*_VS2005x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1332*_VS2005x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1333*_VS2005x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
1334*_VS2005x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
1335
1336*_VS2005x86xASL_EBC_MAKE_FLAGS = /nologo
1337*_VS2005x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1338*_VS2005x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1339*_VS2005x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1340*_VS2005x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001341*_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 +00001342
lgao452302d42010-02-28 23:39:39 +00001343
lgao452302d42010-02-28 23:39:39 +00001344####################################################################################
1345#
1346# Microsoft Visual Studio 2008
1347#
1348# VS2008 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1349# ASL - Intel ACPI Source Language Compiler
1350####################################################################################
1351# VS2008 - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1352*_VS2008_*_*_FAMILY = MSFT
1353
1354*_VS2008_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1355*_VS2008_*_MAKE_FLAGS = /nologo
1356*_VS2008_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1357
1358*_VS2008_*_SLINK_FLAGS = /NOLOGO /LTCG
1359*_VS2008_*_APP_FLAGS = /nologo /E /TC
1360*_VS2008_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1361*_VS2008_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1362
qhuang814c48572010-07-21 02:46:15 +00001363*_VS2008_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1364
lgao452302d42010-02-28 23:39:39 +00001365##################
1366# ASL definitions
1367##################
1368*_VS2008_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1369*_VS2008_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1370*_VS2008_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1371*_VS2008_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1372*_VS2008_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1373*_VS2008_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1374
1375##################
1376# IA32 definitions
1377##################
1378*_VS2008_IA32_*_DLL = DEF(VS2008_DLL)
1379
1380*_VS2008_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1381*_VS2008_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1382*_VS2008_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1383*_VS2008_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1384*_VS2008_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001385*_VS2008_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1386*_VS2008_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1387*_VS2008_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1388*_VS2008_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1389*_VS2008_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1390*_VS2008_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1391
1392 *_VS2008_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001393 DEBUG_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1394RELEASE_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 +00001395NOOPT_VS2008_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_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1398RELEASE_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001399NOOPT_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1400
1401 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
1402RELEASE_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
1403NOOPT_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 +00001404
1405##################
1406# X64 definitions
1407##################
1408*_VS2008_X64_*_DLL = DEF(VS2008_DLL)
1409
1410*_VS2008_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1411*_VS2008_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1412*_VS2008_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1413*_VS2008_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1414*_VS2008_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1415*_VS2008_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1416*_VS2008_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1417*_VS2008_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1418*_VS2008_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1419*_VS2008_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1420
qhuang89053bc52010-06-28 09:33:10 +00001421 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
1422RELEASE_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 +00001423NOOPT_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1424
lgao452302d42010-02-28 23:39:39 +00001425 DEBUG_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1426RELEASE_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001427NOOPT_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1428
1429 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
1430RELEASE_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
1431NOOPT_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 +00001432
1433##################
1434# IPF definitions
1435##################
1436*_VS2008_IPF_*_DLL = DEF(VS2008_DLL)
1437
1438*_VS2008_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1439*_VS2008_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1440*_VS2008_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1441*_VS2008_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1442*_VS2008_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1443*_VS2008_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1444*_VS2008_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1445*_VS2008_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1446*_VS2008_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1447*_VS2008_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1448
1449 DEBUG_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1450RELEASE_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 +00001451NOOPT_VS2008_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1452
lgao452302d42010-02-28 23:39:39 +00001453 DEBUG_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1454RELEASE_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001455NOOPT_VS2008_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1456
lgao46780eef2010-11-15 02:51:34 +00001457 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
1458RELEASE_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 +00001459NOOPT_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 +00001460
1461##################
1462# EBC definitions
1463##################
1464*_VS2008_EBC_*_FAMILY = INTEL
Liming Gao4afd3d02013-08-23 02:18:16 +00001465*_VS2008_EBC_*_DLL = DEF(VS2008_DLL)
lgao452302d42010-02-28 23:39:39 +00001466
1467*_VS2008_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1468*_VS2008_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1469*_VS2008_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1470*_VS2008_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
Liming Gao4afd3d02013-08-23 02:18:16 +00001471*_VS2008_EBC_SLINK_PATH = DEF(VS2008_BIN)\link.exe
1472*_VS2008_EBC_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001473
1474*_VS2008_EBC_MAKE_FLAGS = /nologo
1475*_VS2008_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1476*_VS2008_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1477*_VS2008_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1478*_VS2008_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001479*_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 +00001480
Liming Gao4afd3d02013-08-23 02:18:16 +00001481
lgao452302d42010-02-28 23:39:39 +00001482####################################################################################
1483#
1484# Microsoft Visual Studio 2008
1485#
1486# VS2008 - Microsoft Visual Studio 2008 All Edition, including Standard, Professional, Express, TeamSuite
1487# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1488####################################################################################
1489# VS2008xASL - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1490*_VS2008xASL_*_*_FAMILY = MSFT
1491
1492*_VS2008xASL_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1493*_VS2008xASL_*_MAKE_FLAG = /nologo
1494*_VS2008xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1495
1496*_VS2008xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1497*_VS2008xASL_*_APP_FLAGS = /nologo /E /TC
1498*_VS2008xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1499*_VS2008xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1500
qhuang814c48572010-07-21 02:46:15 +00001501*_VS2008xASL_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
1502
lgao452302d42010-02-28 23:39:39 +00001503##################
1504# ASL definitions
1505##################
1506*_VS2008xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00001507*_VS2008xASL_*_ASL_FLAGS =
lgao452302d42010-02-28 23:39:39 +00001508*_VS2008xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1509*_VS2008xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1510*_VS2008xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1511*_VS2008xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1512
1513##################
1514# IA32 definitions
1515##################
1516*_VS2008xASL_IA32_*_DLL = DEF(VS2008_DLL)
1517
1518*_VS2008xASL_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1519*_VS2008xASL_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
1520*_VS2008xASL_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
1521*_VS2008xASL_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
1522*_VS2008xASL_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001523*_VS2008xASL_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
1524*_VS2008xASL_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
1525*_VS2008xASL_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
1526*_VS2008xASL_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
1527*_VS2008xASL_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
1528*_VS2008xASL_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1529
1530 *_VS2008xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001531 DEBUG_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1532RELEASE_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 +00001533NOOPT_VS2008xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1534
lgao452302d42010-02-28 23:39:39 +00001535 DEBUG_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1536RELEASE_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001537NOOPT_VS2008xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1538
1539 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
1540RELEASE_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
1541NOOPT_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 +00001542
1543##################
1544# X64 definitions
1545##################
1546*_VS2008xASL_X64_*_DLL = DEF(VS2008_DLL)
1547
1548*_VS2008xASL_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
1549*_VS2008xASL_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
1550*_VS2008xASL_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
1551*_VS2008xASL_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
1552*_VS2008xASL_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
1553*_VS2008xASL_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
1554*_VS2008xASL_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
1555*_VS2008xASL_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
1556*_VS2008xASL_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
1557*_VS2008xASL_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1558
qhuang89053bc52010-06-28 09:33:10 +00001559 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
1560RELEASE_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 +00001561NOOPT_VS2008xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1562
lgao452302d42010-02-28 23:39:39 +00001563 DEBUG_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1564RELEASE_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001565NOOPT_VS2008xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1566
1567 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
1568RELEASE_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
1569NOOPT_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 +00001570
1571##################
1572# IPF definitions
1573##################
1574*_VS2008xASL_IPF_*_DLL = DEF(VS2008_DLL)
1575
1576*_VS2008xASL_IPF_PP_PATH = DEF(VS2008_BIN64)\cl.exe
1577*_VS2008xASL_IPF_APP_PATH = DEF(VS2008_BIN64)\cl.exe
1578*_VS2008xASL_IPF_VFRPP_PATH = DEF(VS2008_BIN64)\cl.exe
1579*_VS2008xASL_IPF_CC_PATH = DEF(VS2008_BIN64)\cl.exe
1580*_VS2008xASL_IPF_ASM_PATH = DEF(VS2008_BIN64)\ias.exe
1581*_VS2008xASL_IPF_SLINK_PATH = DEF(VS2008_BIN64)\lib.exe
1582*_VS2008xASL_IPF_DLINK_PATH = DEF(VS2008_BIN64)\link.exe
1583*_VS2008xASL_IPF_ASLCC_PATH = DEF(VS2008_BIN64)\cl.exe
1584*_VS2008xASL_IPF_ASLPP_PATH = DEF(VS2008_BIN64)\cl.exe
1585*_VS2008xASL_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1586
1587 DEBUG_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1588RELEASE_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 +00001589NOOPT_VS2008xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1590
lgao452302d42010-02-28 23:39:39 +00001591 DEBUG_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1592RELEASE_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001593NOOPT_VS2008xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1594
lgao46780eef2010-11-15 02:51:34 +00001595 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
1596RELEASE_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 +00001597NOOPT_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 +00001598
1599##################
1600# EBC definitions
1601##################
1602*_VS2008xASL_EBC_*_FAMILY = INTEL
Liming Gao4afd3d02013-08-23 02:18:16 +00001603*_VS2008xASL_EBC_*_DLL = DEF(VS2008_DLL)
lgao452302d42010-02-28 23:39:39 +00001604
1605*_VS2008xASL_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
1606*_VS2008xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
1607*_VS2008xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
1608*_VS2008xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
Liming Gao4afd3d02013-08-23 02:18:16 +00001609*_VS2008xASL_EBC_SLINK_PATH = DEF(VS2008_BIN)\link.exe
1610*_VS2008xASL_EBC_DLINK_PATH = DEF(VS2008_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001611
1612*_VS2008xASL_EBC_MAKE_FLAGS = /nologo
1613*_VS2008xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1614*_VS2008xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1615*_VS2008xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1616*_VS2008xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00001617*_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 +00001618
1619
1620####################################################################################
1621# VS2008x86 - Microsoft Visual Studio 2008 (x86) with Intel ASL
1622# ASL - Intel ACPI Source Language Compiler (iasl.exe)
1623####################################################################################
1624# VS2008x86 - Microsoft Visual Studio 2008 (x86) ALL Edition with Intel ASL
1625*_VS2008x86_*_*_FAMILY = MSFT
1626
1627*_VS2008x86_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001628*_VS2008x86_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001629*_VS2008x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001630
1631*_VS2008x86_*_MAKE_FLAGS = /nologo
1632*_VS2008x86_*_SLINK_FLAGS = /NOLOGO /LTCG
1633*_VS2008x86_*_APP_FLAGS = /nologo /E /TC
1634*_VS2008x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1635*_VS2008x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1636
qhuang814c48572010-07-21 02:46:15 +00001637*_VS2008x86_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1638
lgao452302d42010-02-28 23:39:39 +00001639##################
1640# ASL definitions
1641##################
1642*_VS2008x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
1643*_VS2008x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1644*_VS2008x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1645*_VS2008x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1646*_VS2008x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1647*_VS2008x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1648
1649##################
1650# IA32 definitions
1651##################
1652*_VS2008x86_IA32_*_DLL = DEF(VS2008x86_DLL)
1653
1654*_VS2008x86_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1655*_VS2008x86_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1656*_VS2008x86_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1657*_VS2008x86_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1658*_VS2008x86_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1659*_VS2008x86_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1660*_VS2008x86_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1661*_VS2008x86_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001662*_VS2008x86_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1663*_VS2008x86_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1664*_VS2008x86_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1665
1666 *_VS2008x86_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001667 DEBUG_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1668RELEASE_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 +00001669NOOPT_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1670
lgao46780eef2010-11-15 02:51:34 +00001671 DEBUG_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001672RELEASE_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001673NOOPT_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1674
lgao429e22e22011-09-23 06:03:45 +00001675 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
1676RELEASE_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
1677NOOPT_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 +00001678
1679##################
1680# X64 definitions
1681##################
1682*_VS2008x86_X64_*_DLL = DEF(VS2008x86_DLL)
1683
1684*_VS2008x86_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1685*_VS2008x86_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1686*_VS2008x86_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1687*_VS2008x86_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1688*_VS2008x86_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1689*_VS2008x86_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1690*_VS2008x86_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1691*_VS2008x86_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1692*_VS2008x86_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1693*_VS2008x86_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1694
lgao46780eef2010-11-15 02:51:34 +00001695 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 +00001696RELEASE_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 +00001697NOOPT_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1698
lgao452302d42010-02-28 23:39:39 +00001699 DEBUG_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1700RELEASE_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001701NOOPT_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1702
lgao429e22e22011-09-23 06:03:45 +00001703 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
1704RELEASE_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
1705NOOPT_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 +00001706
1707##################
1708# IPF definitions
1709##################
1710*_VS2008x86_IPF_*_DLL = DEF(VS2008x86_DLL)
1711
1712*_VS2008x86_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1713*_VS2008x86_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1714*_VS2008x86_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1715*_VS2008x86_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1716*_VS2008x86_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1717*_VS2008x86_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1718*_VS2008x86_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1719*_VS2008x86_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1720*_VS2008x86_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1721*_VS2008x86_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1722
1723 DEBUG_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1724RELEASE_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 +00001725NOOPT_VS2008x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1726
lgao452302d42010-02-28 23:39:39 +00001727 DEBUG_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1728RELEASE_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001729NOOPT_VS2008x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1730
lgao429e22e22011-09-23 06:03:45 +00001731 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
1732RELEASE_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
1733NOOPT_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 +00001734
Liming Gao4afd3d02013-08-23 02:18:16 +00001735##################
1736# EBC definitions
1737##################
1738*_VS2008x86_EBC_*_FAMILY = INTEL
1739*_VS2008x86_EBC_*_DLL = DEF(VS2008x86_DLL)
1740
1741*_VS2008x86_EBC_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1742*_VS2008x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1743*_VS2008x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1744*_VS2008x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1745*_VS2008x86_EBC_SLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1746*_VS2008x86_EBC_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1747
1748*_VS2008x86_EBC_MAKE_FLAGS = /nologo
1749*_VS2008x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1750*_VS2008x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1751*_VS2008x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1752*_VS2008x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1753*_VS2008x86_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
1754
lgao452302d42010-02-28 23:39:39 +00001755
1756####################################################################################
1757# VS2008x86xASL - Microsoft Visual Studio 2008 with Microsoft ASL
1758# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
1759####################################################################################
1760*_VS2008x86xASL_*_*_FAMILY = MSFT
1761
1762*_VS2008x86xASL_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
qhuang89053bc52010-06-28 09:33:10 +00001763*_VS2008x86xASL_*_MAKE_FLAG = /nologo
lgao464137022010-12-06 05:17:09 +00001764*_VS2008x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
lgao452302d42010-02-28 23:39:39 +00001765
1766*_VS2008x86xASL_*_MAKE_FLAGS = /nologo
1767*_VS2008x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
1768*_VS2008x86xASL_*_APP_FLAGS = /nologo /E /TC
1769*_VS2008x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1770*_VS2008x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1771
qhuang814c48572010-07-21 02:46:15 +00001772*_VS2008x86xASL_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
1773
lgao452302d42010-02-28 23:39:39 +00001774##################
1775# ASL definitions
1776##################
1777*_VS2008x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
1778*_VS2008x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
1779*_VS2008x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
1780*_VS2008x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1781*_VS2008x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1782*_VS2008x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1783
1784##################
1785# IA32 definitions
1786##################
1787*_VS2008x86xASL_IA32_*_DLL = DEF(VS2008x86_DLL)
1788
1789*_VS2008x86xASL_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1790*_VS2008x86xASL_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
1791*_VS2008x86xASL_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1792*_VS2008x86xASL_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
1793*_VS2008x86xASL_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
1794*_VS2008x86xASL_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
1795*_VS2008x86xASL_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1796*_VS2008x86xASL_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
lgao452302d42010-02-28 23:39:39 +00001797*_VS2008x86xASL_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
1798*_VS2008x86xASL_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
1799*_VS2008x86xASL_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
1800
1801 *_VS2008x86xASL_IA32_MAKE_FLAGS = /nologo
qhuang89053bc52010-06-28 09:33:10 +00001802 DEBUG_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1803RELEASE_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 +00001804NOOPT_VS2008x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1805
lgao46780eef2010-11-15 02:51:34 +00001806 DEBUG_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
lgao452302d42010-02-28 23:39:39 +00001807RELEASE_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
lgao4b36d1342011-09-18 12:17:25 +00001808NOOPT_VS2008x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1809
lgao429e22e22011-09-23 06:03:45 +00001810 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
1811RELEASE_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
1812NOOPT_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 +00001813
1814##################
1815# X64 definitions
1816##################
1817*_VS2008x86xASL_X64_*_DLL = DEF(VS2008x86_DLL)
1818
1819*_VS2008x86xASL_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1820*_VS2008x86xASL_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1821*_VS2008x86xASL_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1822*_VS2008x86xASL_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1823*_VS2008x86xASL_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
1824*_VS2008x86xASL_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
1825*_VS2008x86xASL_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
1826*_VS2008x86xASL_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
1827*_VS2008x86xASL_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1828*_VS2008x86xASL_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1829
lgao46780eef2010-11-15 02:51:34 +00001830 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 +00001831RELEASE_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 +00001832NOOPT_VS2008x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1833
lgao452302d42010-02-28 23:39:39 +00001834 DEBUG_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1835RELEASE_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00001836NOOPT_VS2008x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1837
lgao429e22e22011-09-23 06:03:45 +00001838 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
1839RELEASE_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
1840NOOPT_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 +00001841
1842##################
1843# IPF definitions
1844##################
1845*_VS2008x86xASL_IPF_*_DLL = DEF(VS2008x86_DLL)
1846
1847*_VS2008x86xASL_IPF_PP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1848*_VS2008x86xASL_IPF_APP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1849*_VS2008x86xASL_IPF_VFRPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1850*_VS2008x86xASL_IPF_ASLCC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1851*_VS2008x86xASL_IPF_ASLPP_PATH = DEF(VS2008x86_BIN64)\cl.exe
1852*_VS2008x86xASL_IPF_CC_PATH = DEF(VS2008x86_BIN64)\cl.exe
1853*_VS2008x86xASL_IPF_ASM_PATH = DEF(VS2008x86_BIN64)\ias.exe
1854*_VS2008x86xASL_IPF_SLINK_PATH = DEF(VS2008x86_BIN64)\lib.exe
1855*_VS2008x86xASL_IPF_DLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1856*_VS2008x86xASL_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1857
1858 DEBUG_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1859RELEASE_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 +00001860NOOPT_VS2008x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1861
lgao452302d42010-02-28 23:39:39 +00001862 DEBUG_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1863RELEASE_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00001864NOOPT_VS2008x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
1865
lgao429e22e22011-09-23 06:03:45 +00001866 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
1867RELEASE_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
1868NOOPT_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 +00001869
Liming Gao4afd3d02013-08-23 02:18:16 +00001870##################
1871# EBC definitions
1872##################
1873*_VS2008x86xASL_EBC_*_FAMILY = INTEL
1874*_VS2008x86xASL_EBC_*_DLL = DEF(VS2008x86_DLL)
1875
1876*_VS2008x86xASL_EBC_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
1877*_VS2008x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
1878*_VS2008x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
1879*_VS2008x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
1880*_VS2008x86xASL_EBC_SLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1881*_VS2008x86xASL_EBC_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
1882
1883*_VS2008x86xASL_EBC_MAKE_FLAGS = /nologo
1884*_VS2008x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1885*_VS2008x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1886*_VS2008x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1887*_VS2008x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
1888*_VS2008x86xASL_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
1889
lgao452302d42010-02-28 23:39:39 +00001890
eric_tian3b6c90a2009-04-13 12:50:50 +00001891####################################################################################
1892#
lgao464b26092012-04-10 07:18:20 +00001893# Microsoft Visual Studio 2010
1894#
Liming Gao4afd3d02013-08-23 02:18:16 +00001895# VS2010 - Microsoft Visual Studio 2010 Premium Edition with Intel ASL
lgao464b26092012-04-10 07:18:20 +00001896# ASL - Intel ACPI Source Language Compiler
1897####################################################################################
1898# VS2010 - Microsoft Visual Studio 2010 Premium Edition
1899*_VS2010_*_*_FAMILY = MSFT
1900
1901*_VS2010_*_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1902*_VS2010_*_MAKE_FLAGS = /nologo
1903*_VS2010_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
1904
1905*_VS2010_*_SLINK_FLAGS = /NOLOGO /LTCG
1906*_VS2010_*_APP_FLAGS = /nologo /E /TC
1907*_VS2010_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
1908*_VS2010_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1909
1910*_VS2010_*_ASM16_PATH = DEF(VS2010_BIN)\ml.exe
1911
1912##################
1913# ASL definitions
1914##################
1915*_VS2010_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
1916*_VS2010_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
1917*_VS2010_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1918*_VS2010_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
1919*_VS2010_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
1920*_VS2010_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
1921
1922##################
1923# IA32 definitions
1924##################
1925*_VS2010_IA32_*_DLL = DEF(VS2010_DLL)
1926
1927*_VS2010_IA32_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
1928*_VS2010_IA32_CC_PATH = DEF(VS2010_BIN)\cl.exe
1929*_VS2010_IA32_VFRPP_PATH = DEF(VS2010_BIN)\cl.exe
1930*_VS2010_IA32_SLINK_PATH = DEF(VS2010_BIN)\lib.exe
1931*_VS2010_IA32_DLINK_PATH = DEF(VS2010_BIN)\link.exe
1932*_VS2010_IA32_APP_PATH = DEF(VS2010_BIN)\cl.exe
1933*_VS2010_IA32_PP_PATH = DEF(VS2010_BIN)\cl.exe
1934*_VS2010_IA32_ASM_PATH = DEF(VS2010_BIN)\ml.exe
1935*_VS2010_IA32_ASLCC_PATH = DEF(VS2010_BIN)\cl.exe
1936*_VS2010_IA32_ASLPP_PATH = DEF(VS2010_BIN)\cl.exe
1937*_VS2010_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)\link.exe
1938
1939 *_VS2010_IA32_MAKE_FLAGS = /nologo
1940 DEBUG_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1941RELEASE_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1942NOOPT_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1943
1944 DEBUG_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1945RELEASE_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
1946NOOPT_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1947
1948 DEBUG_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1949RELEASE_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1950NOOPT_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1951
1952##################
1953# X64 definitions
1954##################
1955*_VS2010_X64_*_DLL = DEF(VS2010_DLL)
1956
1957*_VS2010_X64_CC_PATH = DEF(VS2010_BINX64)\cl.exe
1958*_VS2010_X64_PP_PATH = DEF(VS2010_BINX64)\cl.exe
1959*_VS2010_X64_APP_PATH = DEF(VS2010_BINX64)\cl.exe
1960*_VS2010_X64_VFRPP_PATH = DEF(VS2010_BINX64)\cl.exe
1961*_VS2010_X64_ASM_PATH = DEF(VS2010_BINX64)\ml64.exe
1962*_VS2010_X64_SLINK_PATH = DEF(VS2010_BINX64)\lib.exe
1963*_VS2010_X64_DLINK_PATH = DEF(VS2010_BINX64)\link.exe
1964*_VS2010_X64_ASLCC_PATH = DEF(VS2010_BINX64)\cl.exe
1965*_VS2010_X64_ASLPP_PATH = DEF(VS2010_BINX64)\cl.exe
1966*_VS2010_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
1967
lgao464b26092012-04-10 07:18:20 +00001968 DEBUG_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1969RELEASE_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1970NOOPT_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1971
1972 DEBUG_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1973RELEASE_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
1974NOOPT_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
1975
1976 DEBUG_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1977RELEASE_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
1978NOOPT_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
1979
1980##################
1981# IPF definitions
1982##################
1983*_VS2010_IPF_*_DLL = DEF(VS2010_DLL)
1984
1985*_VS2010_IPF_PP_PATH = DEF(VS2010_BIN64)\cl.exe
1986*_VS2010_IPF_APP_PATH = DEF(VS2010_BIN64)\cl.exe
1987*_VS2010_IPF_VFRPP_PATH = DEF(VS2010_BIN64)\cl.exe
1988*_VS2010_IPF_CC_PATH = DEF(VS2010_BIN64)\cl.exe
1989*_VS2010_IPF_ASM_PATH = DEF(VS2010_BIN64)\ias.exe
1990*_VS2010_IPF_SLINK_PATH = DEF(VS2010_BIN64)\lib.exe
1991*_VS2010_IPF_DLINK_PATH = DEF(VS2010_BIN64)\link.exe
1992*_VS2010_IPF_ASLCC_PATH = DEF(VS2010_BIN64)\cl.exe
1993*_VS2010_IPF_ASLPP_PATH = DEF(VS2010_BIN64)\cl.exe
1994*_VS2010_IPF_ASLDLINK_PATH = DEF(VS2010_BIN64)\link.exe
1995
1996 DEBUG_VS2010_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1997RELEASE_VS2010_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1998NOOPT_VS2010_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1999
2000 DEBUG_VS2010_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2001RELEASE_VS2010_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2002NOOPT_VS2010_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2003
2004 DEBUG_VS2010_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2005RELEASE_VS2010_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
2006NOOPT_VS2010_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2007
2008##################
2009# EBC definitions
2010##################
2011*_VS2010_EBC_*_FAMILY = INTEL
Liming Gao4afd3d02013-08-23 02:18:16 +00002012*_VS2010_EBC_*_DLL = DEF(VS2010_DLL)
lgao464b26092012-04-10 07:18:20 +00002013
2014*_VS2010_EBC_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
2015*_VS2010_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2016*_VS2010_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2017*_VS2010_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
Liming Gao4afd3d02013-08-23 02:18:16 +00002018*_VS2010_EBC_SLINK_PATH = DEF(VS2010_BIN)\link.exe
2019*_VS2010_EBC_DLINK_PATH = DEF(VS2010_BIN)\link.exe
lgao464b26092012-04-10 07:18:20 +00002020
2021*_VS2010_EBC_MAKE_FLAGS = /nologo
2022*_VS2010_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2023*_VS2010_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2024*_VS2010_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2025*_VS2010_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2026*_VS2010_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
2027
Liming Gao4afd3d02013-08-23 02:18:16 +00002028
lgao464b26092012-04-10 07:18:20 +00002029####################################################################################
2030#
2031# Microsoft Visual Studio 2010
2032#
Liming Gao4afd3d02013-08-23 02:18:16 +00002033# VS2010xASL - Microsoft Visual Studio 2010 Premium Edition with Microsoft ASL
lgao464b26092012-04-10 07:18:20 +00002034# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2035####################################################################################
2036# VS2010xASL - Microsoft Visual Studio 2010 Premium Edition
2037*_VS2010xASL_*_*_FAMILY = MSFT
2038
2039*_VS2010xASL_*_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
2040*_VS2010xASL_*_MAKE_FLAG = /nologo
2041*_VS2010xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2042
2043*_VS2010xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
2044*_VS2010xASL_*_APP_FLAGS = /nologo /E /TC
2045*_VS2010xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2046*_VS2010xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2047
2048*_VS2010xASL_*_ASM16_PATH = DEF(VS2010_BIN)\ml.exe
2049
2050##################
2051# ASL definitions
2052##################
2053*_VS2010xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
2054*_VS2010xASL_*_ASL_FLAGS =
2055*_VS2010xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
2056*_VS2010xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2057*_VS2010xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2058*_VS2010xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2059
2060##################
2061# IA32 definitions
2062##################
2063*_VS2010xASL_IA32_*_DLL = DEF(VS2010_DLL)
2064
2065*_VS2010xASL_IA32_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
2066*_VS2010xASL_IA32_CC_PATH = DEF(VS2010_BIN)\cl.exe
2067*_VS2010xASL_IA32_VFRPP_PATH = DEF(VS2010_BIN)\cl.exe
2068*_VS2010xASL_IA32_SLINK_PATH = DEF(VS2010_BIN)\lib.exe
2069*_VS2010xASL_IA32_DLINK_PATH = DEF(VS2010_BIN)\link.exe
2070*_VS2010xASL_IA32_APP_PATH = DEF(VS2010_BIN)\cl.exe
2071*_VS2010xASL_IA32_PP_PATH = DEF(VS2010_BIN)\cl.exe
2072*_VS2010xASL_IA32_ASM_PATH = DEF(VS2010_BIN)\ml.exe
2073*_VS2010xASL_IA32_ASLCC_PATH = DEF(VS2010_BIN)\cl.exe
2074*_VS2010xASL_IA32_ASLPP_PATH = DEF(VS2010_BIN)\cl.exe
2075*_VS2010xASL_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)\link.exe
2076
2077 *_VS2010xASL_IA32_MAKE_FLAGS = /nologo
2078 DEBUG_VS2010xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2079RELEASE_VS2010xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2080NOOPT_VS2010xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2081
2082 DEBUG_VS2010xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2083RELEASE_VS2010xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2084NOOPT_VS2010xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2085
2086 DEBUG_VS2010xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2087RELEASE_VS2010xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2088NOOPT_VS2010xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2089
2090##################
2091# X64 definitions
2092##################
2093*_VS2010xASL_X64_*_DLL = DEF(VS2010_DLL)
2094
2095*_VS2010xASL_X64_CC_PATH = DEF(VS2010_BINX64)\cl.exe
2096*_VS2010xASL_X64_PP_PATH = DEF(VS2010_BINX64)\cl.exe
2097*_VS2010xASL_X64_APP_PATH = DEF(VS2010_BINX64)\cl.exe
2098*_VS2010xASL_X64_VFRPP_PATH = DEF(VS2010_BINX64)\cl.exe
2099*_VS2010xASL_X64_ASM_PATH = DEF(VS2010_BINX64)\ml64.exe
2100*_VS2010xASL_X64_SLINK_PATH = DEF(VS2010_BINX64)\lib.exe
2101*_VS2010xASL_X64_DLINK_PATH = DEF(VS2010_BINX64)\link.exe
2102*_VS2010xASL_X64_ASLCC_PATH = DEF(VS2010_BINX64)\cl.exe
2103*_VS2010xASL_X64_ASLPP_PATH = DEF(VS2010_BINX64)\cl.exe
2104*_VS2010xASL_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
2105
lgao464b26092012-04-10 07:18:20 +00002106 DEBUG_VS2010xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2107RELEASE_VS2010xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2108NOOPT_VS2010xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2109
2110 DEBUG_VS2010xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2111RELEASE_VS2010xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2112NOOPT_VS2010xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2113
2114 DEBUG_VS2010xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2115RELEASE_VS2010xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2116NOOPT_VS2010xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2117
2118##################
2119# IPF definitions
2120##################
2121*_VS2010xASL_IPF_*_DLL = DEF(VS2010_DLL)
2122
2123*_VS2010xASL_IPF_PP_PATH = DEF(VS2010_BIN64)\cl.exe
2124*_VS2010xASL_IPF_APP_PATH = DEF(VS2010_BIN64)\cl.exe
2125*_VS2010xASL_IPF_VFRPP_PATH = DEF(VS2010_BIN64)\cl.exe
2126*_VS2010xASL_IPF_CC_PATH = DEF(VS2010_BIN64)\cl.exe
2127*_VS2010xASL_IPF_ASM_PATH = DEF(VS2010_BIN64)\ias.exe
2128*_VS2010xASL_IPF_SLINK_PATH = DEF(VS2010_BIN64)\lib.exe
2129*_VS2010xASL_IPF_DLINK_PATH = DEF(VS2010_BIN64)\link.exe
2130*_VS2010xASL_IPF_ASLCC_PATH = DEF(VS2010_BIN64)\cl.exe
2131*_VS2010xASL_IPF_ASLPP_PATH = DEF(VS2010_BIN64)\cl.exe
2132*_VS2010xASL_IPF_ASLDLINK_PATH = DEF(VS2010_BIN64)\link.exe
2133
2134 DEBUG_VS2010xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2135RELEASE_VS2010xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2136NOOPT_VS2010xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2137
2138 DEBUG_VS2010xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2139RELEASE_VS2010xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2140NOOPT_VS2010xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2141
2142 DEBUG_VS2010xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2143RELEASE_VS2010xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
2144NOOPT_VS2010xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2145
2146##################
2147# EBC definitions
2148##################
2149*_VS2010xASL_EBC_*_FAMILY = INTEL
Liming Gao4afd3d02013-08-23 02:18:16 +00002150*_VS2010xASL_EBC_*_DLL = DEF(VS2010_DLL)
lgao464b26092012-04-10 07:18:20 +00002151
2152*_VS2010xASL_EBC_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
2153*_VS2010xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2154*_VS2010xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2155*_VS2010xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
Liming Gao4afd3d02013-08-23 02:18:16 +00002156*_VS2010xASL_EBC_SLINK_PATH = DEF(VS2010_BIN)\link.exe
2157*_VS2010xASL_EBC_DLINK_PATH = DEF(VS2010_BIN)\link.exe
lgao464b26092012-04-10 07:18:20 +00002158
2159*_VS2010xASL_EBC_MAKE_FLAGS = /nologo
2160*_VS2010xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2161*_VS2010xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2162*_VS2010xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2163*_VS2010xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2164*_VS2010xASL_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
2165
2166
2167####################################################################################
2168# VS2010x86 - Microsoft Visual Studio 2010 (x86) with Intel ASL
2169# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2170####################################################################################
2171# VS2010x86 - Microsoft Visual Studio 2010 (x86) ALL Edition with Intel ASL
2172*_VS2010x86_*_*_FAMILY = MSFT
2173
2174*_VS2010x86_*_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2175*_VS2010x86_*_MAKE_FLAG = /nologo
2176*_VS2010x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2177
2178*_VS2010x86_*_MAKE_FLAGS = /nologo
2179*_VS2010x86_*_SLINK_FLAGS = /NOLOGO /LTCG
2180*_VS2010x86_*_APP_FLAGS = /nologo /E /TC
2181*_VS2010x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2182*_VS2010x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2183
2184*_VS2010x86_*_ASM16_PATH = DEF(VS2010x86_BIN)\ml.exe
2185
2186##################
2187# ASL definitions
2188##################
2189*_VS2010x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
2190*_VS2010x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2191*_VS2010x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2192*_VS2010x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2193*_VS2010x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2194*_VS2010x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2195
2196##################
2197# IA32 definitions
2198##################
2199*_VS2010x86_IA32_*_DLL = DEF(VS2010x86_DLL)
2200
2201*_VS2010x86_IA32_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2202*_VS2010x86_IA32_CC_PATH = DEF(VS2010x86_BIN)\cl.exe
2203*_VS2010x86_IA32_VFRPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2204*_VS2010x86_IA32_ASLCC_PATH = DEF(VS2010x86_BIN)\cl.exe
2205*_VS2010x86_IA32_ASLPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2206*_VS2010x86_IA32_SLINK_PATH = DEF(VS2010x86_BIN)\lib.exe
2207*_VS2010x86_IA32_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2208*_VS2010x86_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
2209*_VS2010x86_IA32_APP_PATH = DEF(VS2010x86_BIN)\cl.exe
2210*_VS2010x86_IA32_PP_PATH = DEF(VS2010x86_BIN)\cl.exe
2211*_VS2010x86_IA32_ASM_PATH = DEF(VS2010x86_BIN)\ml.exe
2212
2213 *_VS2010x86_IA32_MAKE_FLAGS = /nologo
2214 DEBUG_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2215RELEASE_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2216NOOPT_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2217
2218 DEBUG_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2219RELEASE_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2220NOOPT_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2221
2222 DEBUG_VS2010x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2223RELEASE_VS2010x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2224NOOPT_VS2010x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2225
2226##################
2227# X64 definitions
2228##################
2229*_VS2010x86_X64_*_DLL = DEF(VS2010x86_DLL)
2230
2231*_VS2010x86_X64_CC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2232*_VS2010x86_X64_PP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2233*_VS2010x86_X64_APP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2234*_VS2010x86_X64_VFRPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2235*_VS2010x86_X64_ASLCC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2236*_VS2010x86_X64_ASLPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2237*_VS2010x86_X64_ASM_PATH = DEF(VS2010x86_BINX64)\ml64.exe
2238*_VS2010x86_X64_SLINK_PATH = DEF(VS2010x86_BINX64)\lib.exe
2239*_VS2010x86_X64_DLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2240*_VS2010x86_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2241
2242 DEBUG_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2243RELEASE_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2244NOOPT_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2245
2246 DEBUG_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2247RELEASE_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2248NOOPT_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2249
2250 DEBUG_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2251RELEASE_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2252NOOPT_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2253
lgao464b26092012-04-10 07:18:20 +00002254##################
2255# IPF definitions
2256##################
2257*_VS2010x86_IPF_*_DLL = DEF(VS2010x86_DLL)
2258
2259*_VS2010x86_IPF_PP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2260*_VS2010x86_IPF_APP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2261*_VS2010x86_IPF_VFRPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2262*_VS2010x86_IPF_ASLCC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2263*_VS2010x86_IPF_ASLPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2264*_VS2010x86_IPF_CC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2265*_VS2010x86_IPF_ASM_PATH = DEF(VS2010x86_BIN64)\ias.exe
2266*_VS2010x86_IPF_SLINK_PATH = DEF(VS2010x86_BIN64)\lib.exe
2267*_VS2010x86_IPF_DLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2268*_VS2010x86_IPF_ASLDLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2269
2270 DEBUG_VS2010x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2271RELEASE_VS2010x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2272NOOPT_VS2010x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2273
2274 DEBUG_VS2010x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2275RELEASE_VS2010x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2276NOOPT_VS2010x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2277
2278 DEBUG_VS2010x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2279RELEASE_VS2010x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
2280NOOPT_VS2010x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2281
Liming Gao4afd3d02013-08-23 02:18:16 +00002282##################
2283# EBC definitions
2284##################
2285*_VS2010x86_EBC_*_FAMILY = INTEL
2286*_VS2010x86_EBC_*_DLL = DEF(VS2010x86_DLL)
2287
2288*_VS2010x86_EBC_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2289*_VS2010x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
2290*_VS2010x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
2291*_VS2010x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
2292*_VS2010x86_EBC_SLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2293*_VS2010x86_EBC_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2294
2295*_VS2010x86_EBC_MAKE_FLAGS = /nologo
2296*_VS2010x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2297*_VS2010x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2298*_VS2010x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2299*_VS2010x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2300*_VS2010x86_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
2301
lgao464b26092012-04-10 07:18:20 +00002302
2303####################################################################################
2304# VS2010x86xASL - Microsoft Visual Studio 2010 with Microsoft ASL
2305# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2306####################################################################################
2307*_VS2010x86xASL_*_*_FAMILY = MSFT
2308
2309*_VS2010x86xASL_*_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2310*_VS2010x86xASL_*_MAKE_FLAG = /nologo
2311*_VS2010x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2312
2313*_VS2010x86xASL_*_MAKE_FLAGS = /nologo
2314*_VS2010x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
2315*_VS2010x86xASL_*_APP_FLAGS = /nologo /E /TC
2316*_VS2010x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2317*_VS2010x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2318
2319*_VS2010x86xASL_*_ASM16_PATH = DEF(VS2010x86_BIN)\ml.exe
2320
2321##################
2322# ASL definitions
2323##################
2324*_VS2010x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
2325*_VS2010x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
2326*_VS2010x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
2327*_VS2010x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2328*_VS2010x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2329*_VS2010x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2330
2331##################
2332# IA32 definitions
2333##################
2334*_VS2010x86xASL_IA32_*_DLL = DEF(VS2010x86_DLL)
2335
2336*_VS2010x86xASL_IA32_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2337*_VS2010x86xASL_IA32_CC_PATH = DEF(VS2010x86_BIN)\cl.exe
2338*_VS2010x86xASL_IA32_VFRPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2339*_VS2010x86xASL_IA32_ASLCC_PATH = DEF(VS2010x86_BIN)\cl.exe
2340*_VS2010x86xASL_IA32_ASLPP_PATH = DEF(VS2010x86_BIN)\cl.exe
2341*_VS2010x86xASL_IA32_SLINK_PATH = DEF(VS2010x86_BIN)\lib.exe
2342*_VS2010x86xASL_IA32_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2343*_VS2010x86xASL_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
2344*_VS2010x86xASL_IA32_APP_PATH = DEF(VS2010x86_BIN)\cl.exe
2345*_VS2010x86xASL_IA32_PP_PATH = DEF(VS2010x86_BIN)\cl.exe
2346*_VS2010x86xASL_IA32_ASM_PATH = DEF(VS2010x86_BIN)\ml.exe
2347
2348 *_VS2010x86xASL_IA32_MAKE_FLAGS = /nologo
2349 DEBUG_VS2010x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2350RELEASE_VS2010x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2351NOOPT_VS2010x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2352
2353 DEBUG_VS2010x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2354RELEASE_VS2010x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2355NOOPT_VS2010x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2356
2357 DEBUG_VS2010x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2358RELEASE_VS2010x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2359NOOPT_VS2010x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2360
2361##################
2362# X64 definitions
2363##################
2364*_VS2010x86xASL_X64_*_DLL = DEF(VS2010x86_DLL)
2365
2366*_VS2010x86xASL_X64_CC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2367*_VS2010x86xASL_X64_PP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2368*_VS2010x86xASL_X64_APP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2369*_VS2010x86xASL_X64_VFRPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2370*_VS2010x86xASL_X64_ASLCC_PATH = DEF(VS2010x86_BINX64)\cl.exe
2371*_VS2010x86xASL_X64_ASLPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
2372*_VS2010x86xASL_X64_ASM_PATH = DEF(VS2010x86_BINX64)\ml64.exe
2373*_VS2010x86xASL_X64_SLINK_PATH = DEF(VS2010x86_BINX64)\lib.exe
2374*_VS2010x86xASL_X64_DLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2375*_VS2010x86xASL_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2376
2377 DEBUG_VS2010x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2378RELEASE_VS2010x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2379NOOPT_VS2010x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2380
2381 DEBUG_VS2010x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2382RELEASE_VS2010x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2383NOOPT_VS2010x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2384
2385 DEBUG_VS2010x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2386RELEASE_VS2010x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
2387NOOPT_VS2010x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
2388
2389##################
2390# IPF definitions
2391##################
2392*_VS2010x86xASL_IPF_*_DLL = DEF(VS2010x86_DLL)
2393
2394*_VS2010x86xASL_IPF_PP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2395*_VS2010x86xASL_IPF_APP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2396*_VS2010x86xASL_IPF_VFRPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2397*_VS2010x86xASL_IPF_ASLCC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2398*_VS2010x86xASL_IPF_ASLPP_PATH = DEF(VS2010x86_BIN64)\cl.exe
2399*_VS2010x86xASL_IPF_CC_PATH = DEF(VS2010x86_BIN64)\cl.exe
2400*_VS2010x86xASL_IPF_ASM_PATH = DEF(VS2010x86_BIN64)\ias.exe
2401*_VS2010x86xASL_IPF_SLINK_PATH = DEF(VS2010x86_BIN64)\lib.exe
2402*_VS2010x86xASL_IPF_DLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2403*_VS2010x86xASL_IPF_ASLDLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2404
2405 DEBUG_VS2010x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2406RELEASE_VS2010x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2407NOOPT_VS2010x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2408
2409 DEBUG_VS2010x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2410RELEASE_VS2010x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
2411NOOPT_VS2010x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2412
2413 DEBUG_VS2010x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2414RELEASE_VS2010x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
2415NOOPT_VS2010x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4001 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
2416
Liming Gao4afd3d02013-08-23 02:18:16 +00002417##################
2418# EBC definitions
2419##################
2420*_VS2010x86xASL_EBC_*_FAMILY = INTEL
2421*_VS2010x86xASL_EBC_*_DLL = DEF(VS2010x86_DLL)
2422
2423*_VS2010x86xASL_EBC_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
2424*_VS2010x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
2425*_VS2010x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
2426*_VS2010x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
2427*_VS2010x86xASL_EBC_SLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2428*_VS2010x86xASL_EBC_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
2429
2430*_VS2010x86xASL_EBC_MAKE_FLAGS = /nologo
2431*_VS2010x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2432*_VS2010x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2433*_VS2010x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2434*_VS2010x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2435*_VS2010x86xASL_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
2436
2437
2438####################################################################################
2439#
2440# Microsoft Visual Studio 2012
2441#
2442# VS2012 - Microsoft Visual Studio 2012 Professional Edition with Intel ASL
2443# ASL - Intel ACPI Source Language Compiler
2444####################################################################################
2445# VS2012 - Microsoft Visual Studio 2012 Premium Edition
2446*_VS2012_*_*_FAMILY = MSFT
2447
2448*_VS2012_*_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
2449*_VS2012_*_MAKE_FLAGS = /nologo
2450*_VS2012_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2451
2452*_VS2012_*_SLINK_FLAGS = /NOLOGO /LTCG
2453*_VS2012_*_APP_FLAGS = /nologo /E /TC
2454*_VS2012_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2455*_VS2012_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2456
2457*_VS2012_*_ASM16_PATH = DEF(VS2012_BIN)\ml.exe
2458
2459##################
2460# ASL definitions
2461##################
2462*_VS2012_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2463*_VS2012_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2464*_VS2012_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2465*_VS2012_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2466*_VS2012_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2467*_VS2012_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2468
2469##################
2470# IA32 definitions
2471##################
2472*_VS2012_IA32_*_DLL = DEF(VS2012_DLL)
2473
2474*_VS2012_IA32_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
2475*_VS2012_IA32_CC_PATH = DEF(VS2012_BIN)\cl.exe
2476*_VS2012_IA32_VFRPP_PATH = DEF(VS2012_BIN)\cl.exe
2477*_VS2012_IA32_SLINK_PATH = DEF(VS2012_BIN)\lib.exe
2478*_VS2012_IA32_DLINK_PATH = DEF(VS2012_BIN)\link.exe
2479*_VS2012_IA32_APP_PATH = DEF(VS2012_BIN)\cl.exe
2480*_VS2012_IA32_PP_PATH = DEF(VS2012_BIN)\cl.exe
2481*_VS2012_IA32_ASM_PATH = DEF(VS2012_BIN)\ml.exe
2482*_VS2012_IA32_ASLCC_PATH = DEF(VS2012_BIN)\cl.exe
2483*_VS2012_IA32_ASLPP_PATH = DEF(VS2012_BIN)\cl.exe
2484*_VS2012_IA32_ASLDLINK_PATH = DEF(VS2012_BIN)\link.exe
2485
2486 *_VS2012_IA32_MAKE_FLAGS = /nologo
2487 DEBUG_VS2012_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2488RELEASE_VS2012_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2489NOOPT_VS2012_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2490
2491 DEBUG_VS2012_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2492RELEASE_VS2012_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2493NOOPT_VS2012_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2494
2495 DEBUG_VS2012_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
2496RELEASE_VS2012_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
2497NOOPT_VS2012_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
2498
2499##################
2500# X64 definitions
2501##################
2502*_VS2012_X64_*_DLL = DEF(VS2012_DLL)
2503
2504*_VS2012_X64_CC_PATH = DEF(VS2012_BINX64)\cl.exe
2505*_VS2012_X64_PP_PATH = DEF(VS2012_BINX64)\cl.exe
2506*_VS2012_X64_APP_PATH = DEF(VS2012_BINX64)\cl.exe
2507*_VS2012_X64_VFRPP_PATH = DEF(VS2012_BINX64)\cl.exe
2508*_VS2012_X64_ASM_PATH = DEF(VS2012_BINX64)\ml64.exe
2509*_VS2012_X64_SLINK_PATH = DEF(VS2012_BINX64)\lib.exe
2510*_VS2012_X64_DLINK_PATH = DEF(VS2012_BINX64)\link.exe
2511*_VS2012_X64_ASLCC_PATH = DEF(VS2012_BINX64)\cl.exe
2512*_VS2012_X64_ASLPP_PATH = DEF(VS2012_BINX64)\cl.exe
2513*_VS2012_X64_ASLDLINK_PATH = DEF(VS2012_BINX64)\link.exe
2514
2515 DEBUG_VS2012_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2516RELEASE_VS2012_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2517NOOPT_VS2012_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2518
2519 DEBUG_VS2012_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2520RELEASE_VS2012_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2521NOOPT_VS2012_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2522
2523 DEBUG_VS2012_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
2524RELEASE_VS2012_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
2525NOOPT_VS2012_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
2526
2527##################
2528# EBC definitions
2529##################
2530*_VS2012_EBC_*_FAMILY = INTEL
2531*_VS2012_EBC_*_DLL = DEF(VS2012_DLL)
2532
2533*_VS2012_EBC_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
2534*_VS2012_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2535*_VS2012_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2536*_VS2012_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2537*_VS2012_EBC_SLINK_PATH = DEF(VS2012_BIN)\link.exe
2538*_VS2012_EBC_DLINK_PATH = DEF(VS2012_BIN)\link.exe
2539
2540*_VS2012_EBC_MAKE_FLAGS = /nologo
2541*_VS2012_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2542*_VS2012_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2543*_VS2012_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2544*_VS2012_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2545*_VS2012_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
2546
2547
2548####################################################################################
2549#
2550# Microsoft Visual Studio 2012
2551#
2552# VS2012 - Microsoft Visual Studio 2012 Professional Edition with Microsoft ASL
2553# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2554####################################################################################
2555# VS2012xASL - Microsoft Visual Studio 2012 Premium Edition
2556*_VS2012xASL_*_*_FAMILY = MSFT
2557
2558*_VS2012xASL_*_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
2559*_VS2012xASL_*_MAKE_FLAG = /nologo
2560*_VS2012xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2561
2562*_VS2012xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
2563*_VS2012xASL_*_APP_FLAGS = /nologo /E /TC
2564*_VS2012xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2565*_VS2012xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2566
2567*_VS2012xASL_*_ASM16_PATH = DEF(VS2012_BIN)\ml.exe
2568
2569##################
2570# ASL definitions
2571##################
2572*_VS2012xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
2573*_VS2012xASL_*_ASL_FLAGS =
2574*_VS2012xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
2575*_VS2012xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2576*_VS2012xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2577*_VS2012xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2578
2579##################
2580# IA32 definitions
2581##################
2582*_VS2012xASL_IA32_*_DLL = DEF(VS2012_DLL)
2583
2584*_VS2012xASL_IA32_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
2585*_VS2012xASL_IA32_CC_PATH = DEF(VS2012_BIN)\cl.exe
2586*_VS2012xASL_IA32_VFRPP_PATH = DEF(VS2012_BIN)\cl.exe
2587*_VS2012xASL_IA32_SLINK_PATH = DEF(VS2012_BIN)\lib.exe
2588*_VS2012xASL_IA32_DLINK_PATH = DEF(VS2012_BIN)\link.exe
2589*_VS2012xASL_IA32_APP_PATH = DEF(VS2012_BIN)\cl.exe
2590*_VS2012xASL_IA32_PP_PATH = DEF(VS2012_BIN)\cl.exe
2591*_VS2012xASL_IA32_ASM_PATH = DEF(VS2012_BIN)\ml.exe
2592*_VS2012xASL_IA32_ASLCC_PATH = DEF(VS2012_BIN)\cl.exe
2593*_VS2012xASL_IA32_ASLPP_PATH = DEF(VS2012_BIN)\cl.exe
2594*_VS2012xASL_IA32_ASLDLINK_PATH = DEF(VS2012_BIN)\link.exe
2595
2596 *_VS2012xASL_IA32_MAKE_FLAGS = /nologo
2597 DEBUG_VS2012xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2598RELEASE_VS2012xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2599NOOPT_VS2012xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2600
2601 DEBUG_VS2012xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2602RELEASE_VS2012xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2603NOOPT_VS2012xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2604
2605 DEBUG_VS2012xASL_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
2606RELEASE_VS2012xASL_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
2607NOOPT_VS2012xASL_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
2608
2609##################
2610# X64 definitions
2611##################
2612*_VS2012xASL_X64_*_DLL = DEF(VS2012_DLL)
2613
2614*_VS2012xASL_X64_CC_PATH = DEF(VS2012_BINX64)\cl.exe
2615*_VS2012xASL_X64_PP_PATH = DEF(VS2012_BINX64)\cl.exe
2616*_VS2012xASL_X64_APP_PATH = DEF(VS2012_BINX64)\cl.exe
2617*_VS2012xASL_X64_VFRPP_PATH = DEF(VS2012_BINX64)\cl.exe
2618*_VS2012xASL_X64_ASM_PATH = DEF(VS2012_BINX64)\ml64.exe
2619*_VS2012xASL_X64_SLINK_PATH = DEF(VS2012_BINX64)\lib.exe
2620*_VS2012xASL_X64_DLINK_PATH = DEF(VS2012_BINX64)\link.exe
2621*_VS2012xASL_X64_ASLCC_PATH = DEF(VS2012_BINX64)\cl.exe
2622*_VS2012xASL_X64_ASLPP_PATH = DEF(VS2012_BINX64)\cl.exe
2623*_VS2012xASL_X64_ASLDLINK_PATH = DEF(VS2012_BINX64)\link.exe
2624
2625 DEBUG_VS2012xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2626RELEASE_VS2012xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2627NOOPT_VS2012xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2628
2629 DEBUG_VS2012xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2630RELEASE_VS2012xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2631NOOPT_VS2012xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2632
2633 DEBUG_VS2012xASL_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
2634RELEASE_VS2012xASL_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
2635NOOPT_VS2012xASL_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
2636
2637##################
2638# EBC definitions
2639##################
2640*_VS2012xASL_EBC_*_FAMILY = INTEL
2641*_VS2012xASL_EBC_*_DLL = DEF(VS2012_DLL)
2642
2643*_VS2012xASL_EBC_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
2644*_VS2012xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2645*_VS2012xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2646*_VS2012xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2647*_VS2012xASL_EBC_SLINK_PATH = DEF(VS2012_BIN)\link.exe
2648*_VS2012xASL_EBC_DLINK_PATH = DEF(VS2012_BIN)\link.exe
2649
2650*_VS2012xASL_EBC_MAKE_FLAGS = /nologo
2651*_VS2012xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2652*_VS2012xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2653*_VS2012xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2654*_VS2012xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2655*_VS2012xASL_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
2656
2657
2658####################################################################################
2659# VS2012x86 - Microsoft Visual Studio 2012 (x86) professional with Intel ASL
2660# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2661####################################################################################
2662# VS2012x86 - Microsoft Visual Studio 2012 (x86) professional Edition with Intel ASL
2663*_VS2012x86_*_*_FAMILY = MSFT
2664
2665*_VS2012x86_*_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
2666*_VS2012x86_*_MAKE_FLAG = /nologo
2667*_VS2012x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2668
2669*_VS2012x86_*_MAKE_FLAGS = /nologo
2670*_VS2012x86_*_SLINK_FLAGS = /NOLOGO /LTCG
2671*_VS2012x86_*_APP_FLAGS = /nologo /E /TC
2672*_VS2012x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2673*_VS2012x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2674
2675*_VS2012x86_*_ASM16_PATH = DEF(VS2012x86_BIN)\ml.exe
2676
2677##################
2678# ASL definitions
2679##################
2680*_VS2012x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
2681*_VS2012x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2682*_VS2012x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2683*_VS2012x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2684*_VS2012x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2685*_VS2012x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2686
2687##################
2688# IA32 definitions
2689##################
2690*_VS2012x86_IA32_*_DLL = DEF(VS2012x86_DLL)
2691
2692*_VS2012x86_IA32_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
2693*_VS2012x86_IA32_CC_PATH = DEF(VS2012x86_BIN)\cl.exe
2694*_VS2012x86_IA32_VFRPP_PATH = DEF(VS2012x86_BIN)\cl.exe
2695*_VS2012x86_IA32_ASLCC_PATH = DEF(VS2012x86_BIN)\cl.exe
2696*_VS2012x86_IA32_ASLPP_PATH = DEF(VS2012x86_BIN)\cl.exe
2697*_VS2012x86_IA32_SLINK_PATH = DEF(VS2012x86_BIN)\lib.exe
2698*_VS2012x86_IA32_DLINK_PATH = DEF(VS2012x86_BIN)\link.exe
2699*_VS2012x86_IA32_ASLDLINK_PATH= DEF(VS2012x86_BIN)\link.exe
2700*_VS2012x86_IA32_APP_PATH = DEF(VS2012x86_BIN)\cl.exe
2701*_VS2012x86_IA32_PP_PATH = DEF(VS2012x86_BIN)\cl.exe
2702*_VS2012x86_IA32_ASM_PATH = DEF(VS2012x86_BIN)\ml.exe
2703
2704 *_VS2012x86_IA32_MAKE_FLAGS = /nologo
2705 DEBUG_VS2012x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2706RELEASE_VS2012x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2707NOOPT_VS2012x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2708
2709 DEBUG_VS2012x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2710RELEASE_VS2012x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2711NOOPT_VS2012x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2712
2713 DEBUG_VS2012x86_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
2714RELEASE_VS2012x86_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
2715NOOPT_VS2012x86_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
2716
2717##################
2718# X64 definitions
2719##################
2720*_VS2012x86_X64_*_DLL = DEF(VS2012x86_DLL)
2721
2722*_VS2012x86_X64_CC_PATH = DEF(VS2012x86_BINX64)\cl.exe
2723*_VS2012x86_X64_PP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2724*_VS2012x86_X64_APP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2725*_VS2012x86_X64_VFRPP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2726*_VS2012x86_X64_ASLCC_PATH = DEF(VS2012x86_BINX64)\cl.exe
2727*_VS2012x86_X64_ASLPP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2728*_VS2012x86_X64_ASM_PATH = DEF(VS2012x86_BINX64)\ml64.exe
2729*_VS2012x86_X64_SLINK_PATH = DEF(VS2012x86_BINX64)\lib.exe
2730*_VS2012x86_X64_DLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
2731*_VS2012x86_X64_ASLDLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
2732
2733 DEBUG_VS2012x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2734RELEASE_VS2012x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2735NOOPT_VS2012x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2736
2737 DEBUG_VS2012x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2738RELEASE_VS2012x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2739NOOPT_VS2012x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2740
2741 DEBUG_VS2012x86_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
2742RELEASE_VS2012x86_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
2743NOOPT_VS2012x86_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
2744
2745##################
2746# EBC definitions
2747##################
2748*_VS2012x86_EBC_*_FAMILY = INTEL
2749*_VS2012x86_EBC_*_DLL = DEF(VS2012x86_DLL)
2750
2751*_VS2012x86_EBC_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
2752*_VS2012x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
2753*_VS2012x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
2754*_VS2012x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
2755*_VS2012x86_EBC_SLINK_PATH = DEF(VS2012x86_BIN)\link.exe
2756*_VS2012x86_EBC_DLINK_PATH = DEF(VS2012x86_BIN)\link.exe
2757
2758*_VS2012x86_EBC_MAKE_FLAGS = /nologo
2759*_VS2012x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2760*_VS2012x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2761*_VS2012x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2762*_VS2012x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2763*_VS2012x86_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
2764
2765
2766####################################################################################
2767# VS2012x86xASL - Microsoft Visual Studio 2012 (x86) professional with Microsoft ASL
2768# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
2769####################################################################################
2770*_VS2012x86xASL_*_*_FAMILY = MSFT
2771
2772*_VS2012x86xASL_*_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
2773*_VS2012x86xASL_*_MAKE_FLAG = /nologo
2774*_VS2012x86xASL_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
2775
2776*_VS2012x86xASL_*_MAKE_FLAGS = /nologo
2777*_VS2012x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG
2778*_VS2012x86xASL_*_APP_FLAGS = /nologo /E /TC
2779*_VS2012x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2780*_VS2012x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2781
2782*_VS2012x86xASL_*_ASM16_PATH = DEF(VS2012x86_BIN)\ml.exe
2783
2784##################
2785# ASL definitions
2786##################
2787*_VS2012x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
2788*_VS2012x86xASL_*_ASL_FLAGS = DEF(MS_ASL_FLAGS)
2789*_VS2012x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
2790*_VS2012x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2791*_VS2012x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2792*_VS2012x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2793
2794##################
2795# IA32 definitions
2796##################
2797*_VS2012x86xASL_IA32_*_DLL = DEF(VS2012x86_DLL)
2798
2799*_VS2012x86xASL_IA32_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
2800*_VS2012x86xASL_IA32_CC_PATH = DEF(VS2012x86_BIN)\cl.exe
2801*_VS2012x86xASL_IA32_VFRPP_PATH = DEF(VS2012x86_BIN)\cl.exe
2802*_VS2012x86xASL_IA32_ASLCC_PATH = DEF(VS2012x86_BIN)\cl.exe
2803*_VS2012x86xASL_IA32_ASLPP_PATH = DEF(VS2012x86_BIN)\cl.exe
2804*_VS2012x86xASL_IA32_SLINK_PATH = DEF(VS2012x86_BIN)\lib.exe
2805*_VS2012x86xASL_IA32_DLINK_PATH = DEF(VS2012x86_BIN)\link.exe
2806*_VS2012x86xASL_IA32_ASLDLINK_PATH= DEF(VS2012x86_BIN)\link.exe
2807*_VS2012x86xASL_IA32_APP_PATH = DEF(VS2012x86_BIN)\cl.exe
2808*_VS2012x86xASL_IA32_PP_PATH = DEF(VS2012x86_BIN)\cl.exe
2809*_VS2012x86xASL_IA32_ASM_PATH = DEF(VS2012x86_BIN)\ml.exe
2810
2811 *_VS2012x86xASL_IA32_MAKE_FLAGS = /nologo
2812 DEBUG_VS2012x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2813RELEASE_VS2012x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2814NOOPT_VS2012x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2815
2816 DEBUG_VS2012x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2817RELEASE_VS2012x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
2818NOOPT_VS2012x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2819
2820 DEBUG_VS2012x86xASL_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
2821RELEASE_VS2012x86xASL_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
2822NOOPT_VS2012x86xASL_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
2823
2824##################
2825# X64 definitions
2826##################
2827*_VS2012x86xASL_X64_*_DLL = DEF(VS2012x86_DLL)
2828
2829*_VS2012x86xASL_X64_CC_PATH = DEF(VS2012x86_BINX64)\cl.exe
2830*_VS2012x86xASL_X64_PP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2831*_VS2012x86xASL_X64_APP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2832*_VS2012x86xASL_X64_VFRPP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2833*_VS2012x86xASL_X64_ASLCC_PATH = DEF(VS2012x86_BINX64)\cl.exe
2834*_VS2012x86xASL_X64_ASLPP_PATH = DEF(VS2012x86_BINX64)\cl.exe
2835*_VS2012x86xASL_X64_ASM_PATH = DEF(VS2012x86_BINX64)\ml64.exe
2836*_VS2012x86xASL_X64_SLINK_PATH = DEF(VS2012x86_BINX64)\lib.exe
2837*_VS2012x86xASL_X64_DLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
2838*_VS2012x86xASL_X64_ASLDLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
2839
2840 DEBUG_VS2012x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2841RELEASE_VS2012x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2842NOOPT_VS2012x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2843
2844 DEBUG_VS2012x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2845RELEASE_VS2012x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
2846NOOPT_VS2012x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2847
2848 DEBUG_VS2012x86xASL_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
2849RELEASE_VS2012x86xASL_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
2850NOOPT_VS2012x86xASL_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
2851
2852##################
2853# EBC definitions
2854##################
2855*_VS2012x86xASL_EBC_*_FAMILY = INTEL
2856*_VS2012x86xASL_EBC_*_DLL = DEF(VS2012x86_DLL)
2857
2858*_VS2012x86xASL_EBC_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
2859*_VS2012x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
2860*_VS2012x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
2861*_VS2012x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
2862*_VS2012x86xASL_EBC_SLINK_PATH = DEF(VS2012x86_BIN)\link.exe
2863*_VS2012x86xASL_EBC_DLINK_PATH = DEF(VS2012x86_BIN)\link.exe
2864
2865*_VS2012x86xASL_EBC_MAKE_FLAGS = /nologo
2866*_VS2012x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2867*_VS2012x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2868*_VS2012x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2869*_VS2012x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
2870*_VS2012x86xASL_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
2871
lgao464b26092012-04-10 07:18:20 +00002872
2873####################################################################################
2874#
eric_tian3b6c90a2009-04-13 12:50:50 +00002875# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
2876# And Intel ACPI Compiler
2877#
2878####################################################################################
2879# DDK3790 - Microsoft Windows DDK 3790.1830
2880# ASL - Intel ACPI Source Language Compiler (iasl.exe)
2881*_DDK3790_*_*_FAMILY = MSFT
2882
2883*_DDK3790_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
2884*_DDK3790_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00002885*_DDK3790_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002886
2887*_DDK3790_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
2888*_DDK3790_*_APP_FLAGS = /nologo /E /TC
2889*_DDK3790_*_SLINK_FLAGS = /nologo /LTCG
2890*_DDK3790_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2891
qhuang814c48572010-07-21 02:46:15 +00002892*_DDK3790_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
2893
eric_tian3b6c90a2009-04-13 12:50:50 +00002894##################
2895# ASL definitions
2896##################
lgao4a709adf2009-12-29 06:16:53 +00002897*_DDK3790_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
2898*_DDK3790_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
2899*_DDK3790_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00002900*_DDK3790_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
2901*_DDK3790_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
2902*_DDK3790_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
2903
2904##################
2905# IA32 definitions
2906##################
2907*_DDK3790_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
2908*_DDK3790_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
2909*_DDK3790_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00002910*_DDK3790_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
2911*_DDK3790_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
2912*_DDK3790_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
2913*_DDK3790_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
2914*_DDK3790_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
2915*_DDK3790_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
2916*_DDK3790_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
2917
qhuang89053bc52010-06-28 09:33:10 +00002918 DEBUG_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2919RELEASE_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 +00002920NOOPT_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2921
eric_tian3b6c90a2009-04-13 12:50:50 +00002922 DEBUG_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
2923RELEASE_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002924NOOPT_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
2925
2926 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
2927RELEASE_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
2928NOOPT_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 +00002929
2930##################
2931# x64 definitions
2932##################
2933*_DDK3790_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
2934*_DDK3790_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
2935*_DDK3790_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
2936*_DDK3790_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
2937*_DDK3790_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
2938*_DDK3790_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
2939*_DDK3790_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
2940*_DDK3790_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
2941*_DDK3790_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
2942*_DDK3790_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
2943
qhuang89053bc52010-06-28 09:33:10 +00002944 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
2945RELEASE_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 +00002946NOOPT_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2947
eric_tian3b6c90a2009-04-13 12:50:50 +00002948 DEBUG_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2949RELEASE_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00002950NOOPT_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
2951
lgao46780eef2010-11-15 02:51:34 +00002952 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
2953RELEASE_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 +00002954NOOPT_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 +00002955
2956##################
2957# IPF definitions
2958##################
2959*_DDK3790_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
2960*_DDK3790_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
2961*_DDK3790_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
2962*_DDK3790_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
2963*_DDK3790_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
2964*_DDK3790_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
2965*_DDK3790_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
2966*_DDK3790_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
2967*_DDK3790_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
2968*_DDK3790_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
2969
2970
2971 DEBUG_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2972RELEASE_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 +00002973NOOPT_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2974
eric_tian3b6c90a2009-04-13 12:50:50 +00002975 DEBUG_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2976RELEASE_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00002977NOOPT_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
2978
lgao46780eef2010-11-15 02:51:34 +00002979 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
2980RELEASE_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 +00002981NOOPT_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 +00002982
2983##################
2984# EBC definitions
2985##################
2986*_DDK3790_EBC_*_FAMILY = INTEL
2987
2988*_DDK3790_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
2989*_DDK3790_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
2990*_DDK3790_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
2991*_DDK3790_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
2992*_DDK3790_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
2993
2994*_DDK3790_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2995*_DDK3790_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00002996*_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 +00002997
2998####################################################################################
2999#
3000# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
3001# And Microsoft ACPI Compiler
3002#
3003####################################################################################
3004# DDK3790xASL - Microsoft Windows DDK 3790.1830
3005# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
3006*_DDK3790xASL_*_*_FAMILY = MSFT
3007
3008*_DDK3790xASL_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
3009*_DDK3790xASL_*_MAKE_FLAGS = /nologo
lgao4b303ea72009-11-09 11:47:35 +00003010*_DDK3790xASL_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003011
3012*_DDK3790xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
3013*_DDK3790xASL_*_APP_FLAGS = /nologo /E /TC
3014*_DDK3790xASL_*_SLINK_FLAGS = /nologo /LTCG
3015*_DDK3790xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3016
qhuang814c48572010-07-21 02:46:15 +00003017*_DDK3790xASL_*_ASM16_PATH = DEF(WINDDK_BIN32)\ml.exe
3018
eric_tian3b6c90a2009-04-13 12:50:50 +00003019##################
3020# ASL definitions
3021##################
3022*_DDK3790xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00003023*_DDK3790xASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00003024*_DDK3790xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003025*_DDK3790xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
3026*_DDK3790xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
3027*_DDK3790xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
3028
3029##################
3030# IA32 definitions
3031##################
3032*_DDK3790xASL_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
3033*_DDK3790xASL_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
3034*_DDK3790xASL_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003035*_DDK3790xASL_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
3036*_DDK3790xASL_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
3037*_DDK3790xASL_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
3038*_DDK3790xASL_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
3039*_DDK3790xASL_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe
3040*_DDK3790xASL_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe
3041*_DDK3790xASL_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe
3042
qhuang89053bc52010-06-28 09:33:10 +00003043 DEBUG_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3044RELEASE_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 +00003045NOOPT_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3046
eric_tian3b6c90a2009-04-13 12:50:50 +00003047 DEBUG_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
3048RELEASE_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003049NOOPT_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
3050
3051 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
3052RELEASE_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
3053NOOPT_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 +00003054
3055##################
3056# x64 definitions
3057##################
3058*_DDK3790xASL_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
3059*_DDK3790xASL_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
3060*_DDK3790xASL_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
3061*_DDK3790xASL_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
3062*_DDK3790xASL_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
3063*_DDK3790xASL_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
3064*_DDK3790xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
3065*_DDK3790xASL_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe
3066*_DDK3790xASL_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe
3067*_DDK3790xASL_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe
3068
qhuang89053bc52010-06-28 09:33:10 +00003069 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
3070RELEASE_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 +00003071NOOPT_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3072
eric_tian3b6c90a2009-04-13 12:50:50 +00003073 DEBUG_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3074RELEASE_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00003075NOOPT_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
3076
lgao46780eef2010-11-15 02:51:34 +00003077 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
3078RELEASE_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 +00003079NOOPT_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 +00003080
3081##################
3082# IPF definitions
3083##################
3084*_DDK3790xASL_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
3085*_DDK3790xASL_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
3086*_DDK3790xASL_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
3087*_DDK3790xASL_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
3088*_DDK3790xASL_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
3089*_DDK3790xASL_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
3090*_DDK3790xASL_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
3091*_DDK3790xASL_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
3092*_DDK3790xASL_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
3093*_DDK3790xASL_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
3094
3095
3096 DEBUG_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
3097RELEASE_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 +00003098NOOPT_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
3099
eric_tian3b6c90a2009-04-13 12:50:50 +00003100 DEBUG_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
3101RELEASE_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00003102NOOPT_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
3103
lgao46780eef2010-11-15 02:51:34 +00003104 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
3105RELEASE_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 +00003106NOOPT_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 +00003107
3108##################
3109# EBC definitions
3110##################
3111*_DDK3790xASL_EBC_*_FAMILY = INTEL
3112
3113*_DDK3790xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3114*_DDK3790xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3115*_DDK3790xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3116*_DDK3790xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3117*_DDK3790xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
3118
3119*_DDK3790xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3120*_DDK3790xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003121*_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 +00003122
3123
3124####################################################################################
3125# GCC Common
3126####################################################################################
3127
3128*_*_*_OBJCOPY_PATH = echo
3129*_*_*_OBJCOPY_FLAGS = objcopy not needed for
3130*_*_*_SYMRENAME_PATH = echo
3131*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
lgao40d2711a2011-10-29 06:59:30 +00003132DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
3133RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
eric_tian3b6c90a2009-04-13 12:50:50 +00003134
lgao452302d42010-02-28 23:39:39 +00003135DEFINE 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 +00003136DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
3137DEFINE 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 +00003138DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency
Liming Gao4afd3d02013-08-23 02:18:16 +00003139DEFINE GCC_ARM_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 -Wno-address
3140DEFINE GCC_AARCH64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mcmodel=large -mlittle-endian -fno-short-enums -save-temps -fverbose-asm -fsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-builtin -Wno-address
lgao452302d42010-02-28 23:39:39 +00003141DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie
lgao4a709adf2009-12-29 06:16:53 +00003142DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
Liming Gao4afd3d02013-08-23 02:18:16 +00003143DEFINE GCC_ARM_AARCH64_DLINK_COMMON= -Ttext=0x0 --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
eric_tian3b6c90a2009-04-13 12:50:50 +00003144DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
Gao, Liming2bc32562014-01-10 05:25:50 +00003145DEFINE GCC_ARM_AARCH64_ASLDLINK_FLAGS = DEF(GCC_ARM_AARCH64_DLINK_COMMON) --entry ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
eric_tian3b6c90a2009-04-13 12:50:50 +00003146DEFINE 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
3147DEFINE 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
3148DEFINE GCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64
3149DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem
3150DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
3151DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
3152DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00003153DEFINE GCC_ASLPP_FLAGS = -x c -E -P
3154DEFINE GCC_ASLCC_FLAGS = -x c
3155DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
Liming Gao4afd3d02013-08-23 02:18:16 +00003156DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
3157DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
3158DEFINE GCC_IPF_RC_FLAGS = -I binary -O elf64-ia64-little -B ia64 --rename-section .data=.hii
3159DEFINE GCC_ARM_RC_FLAGS = -I binary -O elf32-littlearm -B arm --rename-section .data=.hii
3160DEFINE GCC_AARCH64_RC_FLAGS = -I binary -O elf64-littleaarch64 -B aarch64 --rename-section .data=.hii
lgao4a709adf2009-12-29 06:16:53 +00003161
lgao452302d42010-02-28 23:39:39 +00003162DEFINE 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 +00003163DEFINE GCC44_IA32_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m32 -malign-double -D EFI32
lgao46780eef2010-11-15 02:51:34 +00003164DEFINE 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 +00003165DEFINE 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 +00003166DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) --entry ReferenceAcpiTable -u ReferenceAcpiTable
3167DEFINE 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 +00003168DEFINE GCC44_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -melf_x86_64 --oformat=elf64-x86-64
lgao4a709adf2009-12-29 06:16:53 +00003169DEFINE GCC44_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003170
lgao46780eef2010-11-15 02:51:34 +00003171DEFINE GCC45_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS)
3172DEFINE GCC45_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
3173DEFINE GCC45_IA32_X64_DLINK_COMMON = DEF(GCC44_IA32_X64_DLINK_COMMON)
3174DEFINE GCC45_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS)
3175DEFINE GCC45_IA32_X64_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS)
3176DEFINE GCC45_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
3177DEFINE GCC45_ASM_FLAGS = DEF(GCC44_ASM_FLAGS)
3178
lgao42bcc7132011-11-25 06:21:03 +00003179DEFINE GCC46_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
3180DEFINE GCC46_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
3181DEFINE GCC46_IA32_X64_DLINK_COMMON = DEF(GCC45_IA32_X64_DLINK_COMMON)
3182DEFINE GCC46_IA32_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS)
3183DEFINE GCC46_IA32_X64_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS)
3184DEFINE GCC46_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS)
3185DEFINE GCC46_ASM_FLAGS = DEF(GCC45_ASM_FLAGS)
Liming Gao4afd3d02013-08-23 02:18:16 +00003186DEFINE GCC46_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ASM_FLAGS) -mlittle-endian
3187DEFINE GCC46_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC44_ALL_CC_FLAGS) -mword-relocations -mlittle-endian -mabi=aapcs -mapcs -fno-short-enums -save-temps -fsigned-char -mno-unaligned-access -Wno-address -fomit-frame-pointer
3188DEFINE GCC46_ARM_DLINK_FLAGS = DEF(GCC_ARM_AARCH64_DLINK_COMMON) --oformat=elf32-littlearm
Gao, Liming2bc32562014-01-10 05:25:50 +00003189DEFINE GCC46_ARM_ASLDLINK_FLAGS = DEF(GCC_ARM_AARCH64_ASLDLINK_FLAGS) --oformat=elf32-littlearm
Liming Gao4afd3d02013-08-23 02:18:16 +00003190
3191DEFINE GCC47_IA32_CC_FLAGS = DEF(GCC46_IA32_CC_FLAGS)
3192DEFINE GCC47_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS)
3193DEFINE GCC47_IA32_X64_DLINK_COMMON = DEF(GCC46_IA32_X64_DLINK_COMMON)
3194DEFINE GCC47_IA32_X64_ASLDLINK_FLAGS = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS)
3195DEFINE GCC47_IA32_X64_DLINK_FLAGS = DEF(GCC46_IA32_X64_DLINK_FLAGS)
3196DEFINE GCC47_X64_DLINK_FLAGS = DEF(GCC46_X64_DLINK_FLAGS)
3197DEFINE GCC47_ASM_FLAGS = DEF(GCC46_ASM_FLAGS)
3198DEFINE GCC47_ARM_ASM_FLAGS = DEF(GCC46_ARM_ASM_FLAGS)
3199DEFINE GCC47_AARCH64_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ASM_FLAGS) -mlittle-endian
3200DEFINE GCC47_ARM_CC_FLAGS = DEF(GCC46_ARM_CC_FLAGS)
3201DEFINE GCC47_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC44_ALL_CC_FLAGS) -mcmodel=large -mlittle-endian -fno-short-enums -save-temps -fverbose-asm -fsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-builtin -Wno-address
3202DEFINE GCC47_ARM_DLINK_FLAGS = DEF(GCC46_ARM_DLINK_FLAGS)
3203DEFINE GCC47_AARCH64_DLINK_FLAGS = DEF(GCC_ARM_AARCH64_DLINK_COMMON)
Gao, Liming2bc32562014-01-10 05:25:50 +00003204DEFINE GCC47_ARM_ASLDLINK_FLAGS = DEF(GCC46_ARM_ASLDLINK_FLAGS)
3205DEFINE GCC47_AARCH64_ASLDLINK_FLAGS = DEF(GCC_ARM_AARCH64_ASLDLINK_FLAGS)
3206
3207DEFINE GCC48_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS)
3208DEFINE GCC48_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS)
3209DEFINE GCC48_IA32_X64_DLINK_COMMON = DEF(GCC47_IA32_X64_DLINK_COMMON)
3210DEFINE GCC48_IA32_X64_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS)
3211DEFINE GCC48_IA32_X64_DLINK_FLAGS = DEF(GCC47_IA32_X64_DLINK_FLAGS)
3212DEFINE GCC48_X64_DLINK_FLAGS = DEF(GCC47_X64_DLINK_FLAGS)
3213DEFINE GCC48_ASM_FLAGS = DEF(GCC47_ASM_FLAGS)
3214DEFINE GCC48_ARM_ASM_FLAGS = DEF(GCC47_ARM_ASM_FLAGS)
3215DEFINE GCC48_AARCH64_ASM_FLAGS = DEF(GCC47_AARCH64_ASM_FLAGS)
3216DEFINE GCC48_ARM_CC_FLAGS = DEF(GCC47_ARM_CC_FLAGS)
3217DEFINE GCC48_AARCH64_CC_FLAGS = DEF(GCC47_AARCH64_CC_FLAGS)
3218DEFINE GCC48_ARM_DLINK_FLAGS = DEF(GCC47_ARM_DLINK_FLAGS)
3219DEFINE GCC48_AARCH64_DLINK_FLAGS = DEF(GCC_ARM_AARCH64_DLINK_COMMON)
3220DEFINE GCC48_ARM_ASLDLINK_FLAGS = DEF(GCC47_ARM_ASLDLINK_FLAGS)
3221DEFINE GCC48_AARCH64_ASLDLINK_FLAGS = DEF(GCC_ARM_AARCH64_ASLDLINK_FLAGS)
lgao42bcc7132011-11-25 06:21:03 +00003222
eric_tian3b6c90a2009-04-13 12:50:50 +00003223####################################################################################
3224#
3225# Unix GCC And Intel Linux ACPI Compiler
3226#
3227####################################################################################
3228# UNIXGCC - UNIX GCC
3229# ASL - Intel Linux ACPI Source Language Compiler (iasl)
3230*_UNIXGCC_*_*_FAMILY = GCC
eric_tian3b6c90a2009-04-13 12:50:50 +00003231
lgao4a709adf2009-12-29 06:16:53 +00003232*_UNIXGCC_*_MAKE_PATH = make
eric_tian3b6c90a2009-04-13 12:50:50 +00003233*_UNIXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00003234
lgao4636f2be2010-03-12 10:54:01 +00003235*_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
3236*_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00003237*_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
3238*_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
3239*_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
3240*_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3241*_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3242*_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3243*_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00003244*_UNIXGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00003245*_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00003246*_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003247
3248##################
3249# IA32 definitions
3250##################
lgao4a709adf2009-12-29 06:16:53 +00003251*_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
jljusten726d5a82009-08-15 05:05:00 +00003252*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
3253*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
3254*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
3255*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
3256*_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
3257*_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
3258*_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
3259*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
3260*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00003261*_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003262
lgao4a709adf2009-12-29 06:16:53 +00003263*_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
3264*_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
3265*_UNIXGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00003266
3267##################
3268# X64 definitions
3269##################
jljusten726d5a82009-08-15 05:05:00 +00003270*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
3271*_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
3272*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
3273*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
3274*_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
3275*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
3276*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
3277*_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
3278*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
lgao4a709adf2009-12-29 06:16:53 +00003279*_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
lgao452302d42010-02-28 23:39:39 +00003280*_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003281
lgao4a709adf2009-12-29 06:16:53 +00003282*_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
3283*_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao452302d42010-02-28 23:39:39 +00003284*_UNIXGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00003285
3286##################
3287# IPF definitions
3288##################
jljusten726d5a82009-08-15 05:05:00 +00003289*_UNIXGCC_IPF_CC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
3290*_UNIXGCC_IPF_ASLCC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
3291*_UNIXGCC_IPF_SLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ar
3292*_UNIXGCC_IPF_DLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
3293*_UNIXGCC_IPF_ASLDLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
3294*_UNIXGCC_IPF_ASM_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
3295*_UNIXGCC_IPF_PP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
3296*_UNIXGCC_IPF_ASLPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
3297*_UNIXGCC_IPF_VFRPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
3298*_UNIXGCC_IPF_OBJCOPY_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
3299*_UNIXGCC_IPF_SYMRENAME_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
lgao4b303ea72009-11-09 11:47:35 +00003300*_UNIXGCC_IPF_RC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003301
lgao4a709adf2009-12-29 06:16:53 +00003302*_UNIXGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
3303*_UNIXGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
3304*_UNIXGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
3305*_UNIXGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
3306*_UNIXGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
3307
3308
3309####################################################################################
3310#
3311# GCC 4.4 - This configuration is used to compile under Linux to produce
3312# PE/COFF binaries using GCC 4.4.
3313#
3314####################################################################################
3315*_GCC44_*_*_FAMILY = GCC
3316
3317*_GCC44_*_MAKE_PATH = make
3318*_GCC44_*_ASL_PATH = DEF(UNIX_IASL_BIN)
3319
3320*_GCC44_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3321*_GCC44_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3322*_GCC44_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3323*_GCC44_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
Gao, Liming2bc32562014-01-10 05:25:50 +00003324*_GCC44_*_APP_FLAGS = DEF(GCC_PP_FLAGS)
lgao4a709adf2009-12-29 06:16:53 +00003325*_GCC44_*_ASL_FLAGS = DEF(IASL_FLAGS)
3326*_GCC44_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
3327
3328##################
3329# GCC44 IA32 definitions
3330##################
lgao4da92f272011-05-11 10:26:49 +00003331*_GCC44_IA32_OBJCOPY_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00003332*_GCC44_IA32_CC_PATH = DEF(GCC44_IA32_PREFIX)gcc
3333*_GCC44_IA32_SLINK_PATH = DEF(GCC44_IA32_PREFIX)ar
3334*_GCC44_IA32_DLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
3335*_GCC44_IA32_ASLDLINK_PATH = DEF(GCC44_IA32_PREFIX)ld
3336*_GCC44_IA32_ASM_PATH = DEF(GCC44_IA32_PREFIX)gcc
3337*_GCC44_IA32_PP_PATH = DEF(GCC44_IA32_PREFIX)gcc
3338*_GCC44_IA32_VFRPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
3339*_GCC44_IA32_ASLCC_PATH = DEF(GCC44_IA32_PREFIX)gcc
3340*_GCC44_IA32_ASLPP_PATH = DEF(GCC44_IA32_PREFIX)gcc
3341*_GCC44_IA32_RC_PATH = DEF(GCC44_IA32_PREFIX)objcopy
lgao4a709adf2009-12-29 06:16:53 +00003342
3343*_GCC44_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
3344*_GCC44_IA32_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
3345*_GCC44_IA32_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m32 --32 -march=i386
lgao452302d42010-02-28 23:39:39 +00003346*_GCC44_IA32_CC_FLAGS = DEF(GCC44_IA32_CC_FLAGS) -Os
lgao4a709adf2009-12-29 06:16:53 +00003347*_GCC44_IA32_DLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
3348*_GCC44_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00003349*_GCC44_IA32_OBJCOPY_FLAGS =
lgao452302d42010-02-28 23:39:39 +00003350
lgao440d841f2010-05-18 05:04:32 +00003351##################
3352# GCC44 X64 definitions
3353##################
lgao4da92f272011-05-11 10:26:49 +00003354*_GCC44_X64_OBJCOPY_PATH = DEF(GCC44_X64_PREFIX)objcopy
lgao440d841f2010-05-18 05:04:32 +00003355*_GCC44_X64_CC_PATH = DEF(GCC44_X64_PREFIX)gcc
3356*_GCC44_X64_SLINK_PATH = DEF(GCC44_X64_PREFIX)ar
3357*_GCC44_X64_DLINK_PATH = DEF(GCC44_X64_PREFIX)ld
3358*_GCC44_X64_ASLDLINK_PATH = DEF(GCC44_X64_PREFIX)ld
3359*_GCC44_X64_ASM_PATH = DEF(GCC44_X64_PREFIX)gcc
3360*_GCC44_X64_PP_PATH = DEF(GCC44_X64_PREFIX)gcc
3361*_GCC44_X64_VFRPP_PATH = DEF(GCC44_X64_PREFIX)gcc
3362*_GCC44_X64_ASLCC_PATH = DEF(GCC44_X64_PREFIX)gcc
3363*_GCC44_X64_ASLPP_PATH = DEF(GCC44_X64_PREFIX)gcc
3364*_GCC44_X64_RC_PATH = DEF(GCC44_X64_PREFIX)objcopy
3365
3366*_GCC44_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
3367*_GCC44_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
3368*_GCC44_X64_ASM_FLAGS = DEF(GCC44_ASM_FLAGS) -m64 --64 -melf_x86_64
lgao46780eef2010-11-15 02:51:34 +00003369*_GCC44_X64_CC_FLAGS = DEF(GCC44_X64_CC_FLAGS)
lgao440d841f2010-05-18 05:04:32 +00003370*_GCC44_X64_DLINK_FLAGS = DEF(GCC44_X64_DLINK_FLAGS)
3371*_GCC44_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00003372*_GCC44_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00003373
3374####################################################################################
3375#
lgao46780eef2010-11-15 02:51:34 +00003376# GCC 4.5 - This configuration is used to compile under Linux to produce
3377# PE/COFF binaries using GCC 4.5.
3378#
3379####################################################################################
3380*_GCC45_*_*_FAMILY = GCC
3381
3382*_GCC45_*_MAKE_PATH = make
3383*_GCC45_*_ASL_PATH = DEF(UNIX_IASL_BIN)
3384
3385*_GCC45_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3386*_GCC45_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3387*_GCC45_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3388*_GCC45_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
3389*_GCC45_*_APP_FLAGS =
3390*_GCC45_*_ASL_FLAGS = DEF(IASL_FLAGS)
3391*_GCC45_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
3392
3393##################
3394# GCC45 IA32 definitions
3395##################
lgao4da92f272011-05-11 10:26:49 +00003396*_GCC45_IA32_OBJCOPY_PATH = DEF(GCC45_IA32_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00003397*_GCC45_IA32_CC_PATH = DEF(GCC45_IA32_PREFIX)gcc
3398*_GCC45_IA32_SLINK_PATH = DEF(GCC45_IA32_PREFIX)ar
3399*_GCC45_IA32_DLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
3400*_GCC45_IA32_ASLDLINK_PATH = DEF(GCC45_IA32_PREFIX)ld
3401*_GCC45_IA32_ASM_PATH = DEF(GCC45_IA32_PREFIX)gcc
3402*_GCC45_IA32_PP_PATH = DEF(GCC45_IA32_PREFIX)gcc
3403*_GCC45_IA32_VFRPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
3404*_GCC45_IA32_ASLCC_PATH = DEF(GCC45_IA32_PREFIX)gcc
3405*_GCC45_IA32_ASLPP_PATH = DEF(GCC45_IA32_PREFIX)gcc
3406*_GCC45_IA32_RC_PATH = DEF(GCC45_IA32_PREFIX)objcopy
3407
3408*_GCC45_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
3409*_GCC45_IA32_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
3410*_GCC45_IA32_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m32 --32 -march=i386
3411*_GCC45_IA32_CC_FLAGS = DEF(GCC45_IA32_CC_FLAGS) -Os
3412*_GCC45_IA32_DLINK_FLAGS = DEF(GCC45_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
3413*_GCC45_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00003414*_GCC45_IA32_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00003415
3416##################
3417# GCC45 X64 definitions
3418##################
lgao4da92f272011-05-11 10:26:49 +00003419*_GCC45_X64_OBJCOPY_PATH = DEF(GCC45_X64_PREFIX)objcopy
lgao46780eef2010-11-15 02:51:34 +00003420*_GCC45_X64_CC_PATH = DEF(GCC45_X64_PREFIX)gcc
3421*_GCC45_X64_SLINK_PATH = DEF(GCC45_X64_PREFIX)ar
3422*_GCC45_X64_DLINK_PATH = DEF(GCC45_X64_PREFIX)ld
3423*_GCC45_X64_ASLDLINK_PATH = DEF(GCC45_X64_PREFIX)ld
3424*_GCC45_X64_ASM_PATH = DEF(GCC45_X64_PREFIX)gcc
3425*_GCC45_X64_PP_PATH = DEF(GCC45_X64_PREFIX)gcc
3426*_GCC45_X64_VFRPP_PATH = DEF(GCC45_X64_PREFIX)gcc
3427*_GCC45_X64_ASLCC_PATH = DEF(GCC45_X64_PREFIX)gcc
3428*_GCC45_X64_ASLPP_PATH = DEF(GCC45_X64_PREFIX)gcc
3429*_GCC45_X64_RC_PATH = DEF(GCC45_X64_PREFIX)objcopy
3430
3431*_GCC45_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
3432*_GCC45_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
3433*_GCC45_X64_ASM_FLAGS = DEF(GCC45_ASM_FLAGS) -m64 --64 -melf_x86_64
3434*_GCC45_X64_CC_FLAGS = DEF(GCC45_X64_CC_FLAGS)
3435*_GCC45_X64_DLINK_FLAGS = DEF(GCC45_X64_DLINK_FLAGS)
3436*_GCC45_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4da92f272011-05-11 10:26:49 +00003437*_GCC45_X64_OBJCOPY_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00003438
3439####################################################################################
3440#
lgao42bcc7132011-11-25 06:21:03 +00003441# GCC 4.6 - This configuration is used to compile under Linux to produce
3442# PE/COFF binaries using GCC 4.6.
3443#
3444####################################################################################
3445*_GCC46_*_*_FAMILY = GCC
3446
3447*_GCC46_*_MAKE_PATH = make
3448*_GCC46_*_ASL_PATH = DEF(UNIX_IASL_BIN)
3449
3450*_GCC46_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3451*_GCC46_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3452*_GCC46_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3453*_GCC46_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
3454*_GCC46_*_APP_FLAGS =
3455*_GCC46_*_ASL_FLAGS = DEF(IASL_FLAGS)
3456*_GCC46_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
3457
3458##################
3459# GCC46 IA32 definitions
3460##################
3461*_GCC46_IA32_OBJCOPY_PATH = DEF(GCC46_IA32_PREFIX)objcopy
3462*_GCC46_IA32_CC_PATH = DEF(GCC46_IA32_PREFIX)gcc
3463*_GCC46_IA32_SLINK_PATH = DEF(GCC46_IA32_PREFIX)ar
3464*_GCC46_IA32_DLINK_PATH = DEF(GCC46_IA32_PREFIX)ld
3465*_GCC46_IA32_ASLDLINK_PATH = DEF(GCC46_IA32_PREFIX)ld
3466*_GCC46_IA32_ASM_PATH = DEF(GCC46_IA32_PREFIX)gcc
3467*_GCC46_IA32_PP_PATH = DEF(GCC46_IA32_PREFIX)gcc
3468*_GCC46_IA32_VFRPP_PATH = DEF(GCC46_IA32_PREFIX)gcc
3469*_GCC46_IA32_ASLCC_PATH = DEF(GCC46_IA32_PREFIX)gcc
3470*_GCC46_IA32_ASLPP_PATH = DEF(GCC46_IA32_PREFIX)gcc
3471*_GCC46_IA32_RC_PATH = DEF(GCC46_IA32_PREFIX)objcopy
3472
3473*_GCC46_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
3474*_GCC46_IA32_ASLDLINK_FLAGS = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
3475*_GCC46_IA32_ASM_FLAGS = DEF(GCC46_ASM_FLAGS) -m32 -march=i386
3476*_GCC46_IA32_CC_FLAGS = DEF(GCC46_IA32_CC_FLAGS) -Os
3477*_GCC46_IA32_DLINK_FLAGS = DEF(GCC46_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
3478*_GCC46_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
3479*_GCC46_IA32_OBJCOPY_FLAGS =
3480
3481##################
3482# GCC46 X64 definitions
3483##################
3484*_GCC46_X64_OBJCOPY_PATH = DEF(GCC46_X64_PREFIX)objcopy
3485*_GCC46_X64_CC_PATH = DEF(GCC46_X64_PREFIX)gcc
3486*_GCC46_X64_SLINK_PATH = DEF(GCC46_X64_PREFIX)ar
3487*_GCC46_X64_DLINK_PATH = DEF(GCC46_X64_PREFIX)ld
3488*_GCC46_X64_ASLDLINK_PATH = DEF(GCC46_X64_PREFIX)ld
3489*_GCC46_X64_ASM_PATH = DEF(GCC46_X64_PREFIX)gcc
3490*_GCC46_X64_PP_PATH = DEF(GCC46_X64_PREFIX)gcc
3491*_GCC46_X64_VFRPP_PATH = DEF(GCC46_X64_PREFIX)gcc
3492*_GCC46_X64_ASLCC_PATH = DEF(GCC46_X64_PREFIX)gcc
3493*_GCC46_X64_ASLPP_PATH = DEF(GCC46_X64_PREFIX)gcc
3494*_GCC46_X64_RC_PATH = DEF(GCC46_X64_PREFIX)objcopy
3495
3496*_GCC46_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
3497*_GCC46_X64_ASLDLINK_FLAGS = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
3498*_GCC46_X64_ASM_FLAGS = DEF(GCC46_ASM_FLAGS) -m64 -melf_x86_64
3499*_GCC46_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS)
3500*_GCC46_X64_DLINK_FLAGS = DEF(GCC46_X64_DLINK_FLAGS)
3501*_GCC46_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
3502*_GCC46_X64_OBJCOPY_FLAGS =
3503
Liming Gao4afd3d02013-08-23 02:18:16 +00003504##################
3505# GCC46 ARM definitions
3506##################
3507*_GCC46_ARM_OBJCOPY_PATH = echo
3508*_GCC46_ARM_CC_PATH = ENV(GCC46_ARM_PREFIX)gcc
3509*_GCC46_ARM_SLINK_PATH = ENV(GCC46_ARM_PREFIX)ar
3510*_GCC46_ARM_DLINK_PATH = ENV(GCC46_ARM_PREFIX)ld
3511*_GCC46_ARM_ASLDLINK_PATH = ENV(GCC46_ARM_PREFIX)ld
3512*_GCC46_ARM_ASM_PATH = ENV(GCC46_ARM_PREFIX)gcc
3513*_GCC46_ARM_PP_PATH = ENV(GCC46_ARM_PREFIX)gcc
3514*_GCC46_ARM_VFRPP_PATH = ENV(GCC46_ARM_PREFIX)gcc
3515*_GCC46_ARM_ASLCC_PATH = ENV(GCC46_ARM_PREFIX)gcc
3516*_GCC46_ARM_ASLPP_PATH = ENV(GCC46_ARM_PREFIX)gcc
3517*_GCC46_ARM_RC_PATH = ENV(GCC46_ARM_PREFIX)objcopy
3518
3519*_GCC46_ARM_ARCHCC_FLAGS = -mthumb
3520*_GCC46_ARM_PLATFORM_FLAGS = -march=armv7-a
3521
Gao, Liming2bc32562014-01-10 05:25:50 +00003522*_GCC46_ARM_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3523*_GCC46_ARM_ASLDLINK_FLAGS = DEF(GCC46_ARM_ASLDLINK_FLAGS)
Liming Gao4afd3d02013-08-23 02:18:16 +00003524*_GCC46_ARM_ASM_FLAGS = DEF(GCC46_ARM_ASM_FLAGS)
3525*_GCC46_ARM_DLINK_FLAGS = DEF(GCC46_ARM_DLINK_FLAGS)
3526*_GCC46_ARM_PLATFORM_FLAGS = -march=armv7-a
3527*_GCC46_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
3528*_GCC46_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
3529*_GCC46_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
3530
3531 DEBUG_GCC46_ARM_CC_FLAGS = DEF(GCC46_ARM_CC_FLAGS) -O0
3532RELEASE_GCC46_ARM_CC_FLAGS = DEF(GCC46_ARM_CC_FLAGS) -Wno-unused-but-set-variable
3533
3534####################################################################################
3535#
3536# GCC 4.7 - This configuration is used to compile under Linux to produce
3537# PE/COFF binaries using GCC 4.7.
3538#
3539####################################################################################
3540*_GCC47_*_*_FAMILY = GCC
3541
3542*_GCC47_*_MAKE_PATH = make
3543*_GCC47_*_ASL_PATH = DEF(UNIX_IASL_BIN)
3544
3545*_GCC47_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3546*_GCC47_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3547*_GCC47_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3548*_GCC47_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
3549*_GCC47_*_APP_FLAGS =
3550*_GCC47_*_ASL_FLAGS = DEF(IASL_FLAGS)
3551*_GCC47_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
3552
3553##################
3554# GCC47 IA32 definitions
3555##################
3556*_GCC47_IA32_OBJCOPY_PATH = DEF(GCC47_IA32_PREFIX)objcopy
3557*_GCC47_IA32_CC_PATH = DEF(GCC47_IA32_PREFIX)gcc
3558*_GCC47_IA32_SLINK_PATH = DEF(GCC47_IA32_PREFIX)ar
3559*_GCC47_IA32_DLINK_PATH = DEF(GCC47_IA32_PREFIX)ld
3560*_GCC47_IA32_ASLDLINK_PATH = DEF(GCC47_IA32_PREFIX)ld
3561*_GCC47_IA32_ASM_PATH = DEF(GCC47_IA32_PREFIX)gcc
3562*_GCC47_IA32_PP_PATH = DEF(GCC47_IA32_PREFIX)gcc
3563*_GCC47_IA32_VFRPP_PATH = DEF(GCC47_IA32_PREFIX)gcc
3564*_GCC47_IA32_ASLCC_PATH = DEF(GCC47_IA32_PREFIX)gcc
3565*_GCC47_IA32_ASLPP_PATH = DEF(GCC47_IA32_PREFIX)gcc
3566*_GCC47_IA32_RC_PATH = DEF(GCC47_IA32_PREFIX)objcopy
3567
3568*_GCC47_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
3569*_GCC47_IA32_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
3570*_GCC47_IA32_ASM_FLAGS = DEF(GCC47_ASM_FLAGS) -m32 -march=i386
3571*_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -Os
3572*_GCC47_IA32_DLINK_FLAGS = DEF(GCC47_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
3573*_GCC47_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
3574*_GCC47_IA32_OBJCOPY_FLAGS =
3575
3576##################
3577# GCC47 X64 definitions
3578##################
3579*_GCC47_X64_OBJCOPY_PATH = DEF(GCC47_X64_PREFIX)objcopy
3580*_GCC47_X64_CC_PATH = DEF(GCC47_X64_PREFIX)gcc
3581*_GCC47_X64_SLINK_PATH = DEF(GCC47_X64_PREFIX)ar
3582*_GCC47_X64_DLINK_PATH = DEF(GCC47_X64_PREFIX)ld
3583*_GCC47_X64_ASLDLINK_PATH = DEF(GCC47_X64_PREFIX)ld
3584*_GCC47_X64_ASM_PATH = DEF(GCC47_X64_PREFIX)gcc
3585*_GCC47_X64_PP_PATH = DEF(GCC47_X64_PREFIX)gcc
3586*_GCC47_X64_VFRPP_PATH = DEF(GCC47_X64_PREFIX)gcc
3587*_GCC47_X64_ASLCC_PATH = DEF(GCC47_X64_PREFIX)gcc
3588*_GCC47_X64_ASLPP_PATH = DEF(GCC47_X64_PREFIX)gcc
3589*_GCC47_X64_RC_PATH = DEF(GCC47_X64_PREFIX)objcopy
3590
3591*_GCC47_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
3592*_GCC47_X64_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
3593*_GCC47_X64_ASM_FLAGS = DEF(GCC47_ASM_FLAGS) -m64
3594*_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS)
3595*_GCC47_X64_DLINK_FLAGS = DEF(GCC47_X64_DLINK_FLAGS)
3596*_GCC47_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
3597*_GCC47_X64_OBJCOPY_FLAGS =
3598
3599##################
3600# GCC47 ARM definitions
3601##################
3602*_GCC47_ARM_CC_PATH = ENV(GCC47_ARM_PREFIX)gcc
3603*_GCC47_ARM_SLINK_PATH = ENV(GCC47_ARM_PREFIX)ar
3604*_GCC47_ARM_DLINK_PATH = ENV(GCC47_ARM_PREFIX)ld
3605*_GCC47_ARM_ASLDLINK_PATH = ENV(GCC47_ARM_PREFIX)ld
3606*_GCC47_ARM_ASM_PATH = ENV(GCC47_ARM_PREFIX)gcc
3607*_GCC47_ARM_PP_PATH = ENV(GCC47_ARM_PREFIX)gcc
3608*_GCC47_ARM_VFRPP_PATH = ENV(GCC47_ARM_PREFIX)gcc
3609*_GCC47_ARM_ASLCC_PATH = ENV(GCC47_ARM_PREFIX)gcc
3610*_GCC47_ARM_ASLPP_PATH = ENV(GCC47_ARM_PREFIX)gcc
3611*_GCC47_ARM_RC_PATH = ENV(GCC47_ARM_PREFIX)objcopy
3612
Gao, Liming2bc32562014-01-10 05:25:50 +00003613*_GCC47_ARM_ARCHCC_FLAGS = -mthumb
3614*_GCC47_ARM_PLATFORM_FLAGS = -march=armv7-a
Liming Gao4afd3d02013-08-23 02:18:16 +00003615
Gao, Liming2bc32562014-01-10 05:25:50 +00003616*_GCC47_ARM_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3617*_GCC47_ARM_ASLDLINK_FLAGS = DEF(GCC47_ARM_ASLDLINK_FLAGS)
Liming Gao4afd3d02013-08-23 02:18:16 +00003618*_GCC47_ARM_ASM_FLAGS = DEF(GCC47_ARM_ASM_FLAGS)
3619*_GCC47_ARM_DLINK_FLAGS = DEF(GCC47_ARM_DLINK_FLAGS)
3620*_GCC47_ARM_PLATFORM_FLAGS = -march=armv7-a
3621*_GCC47_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
3622*_GCC47_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
3623*_GCC47_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
3624
3625 DEBUG_GCC47_ARM_CC_FLAGS = DEF(GCC47_ARM_CC_FLAGS) -O0
3626RELEASE_GCC47_ARM_CC_FLAGS = DEF(GCC47_ARM_CC_FLAGS) -Wno-unused-but-set-variable
3627
3628##################
3629# GCC47 AARCH64 definitions
3630##################
3631*_GCC47_AARCH64_CC_PATH = ENV(GCC47_AARCH64_PREFIX)gcc
3632*_GCC47_AARCH64_SLINK_PATH = ENV(GCC47_AARCH64_PREFIX)ar
3633*_GCC47_AARCH64_DLINK_PATH = ENV(GCC47_AARCH64_PREFIX)ld
3634*_GCC47_AARCH64_ASLDLINK_PATH = ENV(GCC47_AARCH64_PREFIX)ld
3635*_GCC47_AARCH64_ASM_PATH = ENV(GCC47_AARCH64_PREFIX)gcc
3636*_GCC47_AARCH64_PP_PATH = ENV(GCC47_AARCH64_PREFIX)gcc
3637*_GCC47_AARCH64_VFRPP_PATH = ENV(GCC47_AARCH64_PREFIX)gcc
3638*_GCC47_AARCH64_ASLCC_PATH = ENV(GCC47_AARCH64_PREFIX)gcc
3639*_GCC47_AARCH64_ASLPP_PATH = ENV(GCC47_AARCH64_PREFIX)gcc
3640*_GCC47_AARCH64_RC_PATH = ENV(GCC47_AARCH64_PREFIX)objcopy
3641
Gao, Liming2bc32562014-01-10 05:25:50 +00003642*_GCC47_AARCH64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3643*_GCC47_AARCH64_ASLDLINK_FLAGS = DEF(GCC47_AARCH64_ASLDLINK_FLAGS)
Liming Gao4afd3d02013-08-23 02:18:16 +00003644*_GCC47_AARCH64_ASM_FLAGS = DEF(GCC47_AARCH64_ASM_FLAGS)
3645*_GCC47_AARCH64_DLINK_FLAGS = DEF(GCC47_AARCH64_DLINK_FLAGS)
3646*_GCC47_AARCH64_PLATFORM_FLAGS =
3647*_GCC47_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
3648*_GCC47_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
3649*_GCC47_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
3650
3651 DEBUG_GCC47_AARCH64_CC_FLAGS = DEF(GCC47_AARCH64_CC_FLAGS) -O0
3652RELEASE_GCC47_AARCH64_CC_FLAGS = DEF(GCC47_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable
3653
lgao42bcc7132011-11-25 06:21:03 +00003654####################################################################################
3655#
Gao, Liming2bc32562014-01-10 05:25:50 +00003656# GCC 4.8 - This configuration is used to compile under Linux to produce
3657# PE/COFF binaries using GCC 4.8.
3658#
3659####################################################################################
3660*_GCC48_*_*_FAMILY = GCC
3661
3662*_GCC48_*_MAKE_PATH = make
3663*_GCC48_*_ASL_PATH = DEF(UNIX_IASL_BIN)
3664
3665*_GCC48_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3666*_GCC48_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3667*_GCC48_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3668*_GCC48_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
3669*_GCC48_*_APP_FLAGS =
3670*_GCC48_*_ASL_FLAGS = DEF(IASL_FLAGS)
3671*_GCC48_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
3672
3673##################
3674# GCC48 IA32 definitions
3675##################
3676*_GCC48_IA32_OBJCOPY_PATH = DEF(GCC48_IA32_PREFIX)objcopy
3677*_GCC48_IA32_CC_PATH = DEF(GCC48_IA32_PREFIX)gcc
3678*_GCC48_IA32_SLINK_PATH = DEF(GCC48_IA32_PREFIX)ar
3679*_GCC48_IA32_DLINK_PATH = DEF(GCC48_IA32_PREFIX)ld
3680*_GCC48_IA32_ASLDLINK_PATH = DEF(GCC48_IA32_PREFIX)ld
3681*_GCC48_IA32_ASM_PATH = DEF(GCC48_IA32_PREFIX)gcc
3682*_GCC48_IA32_PP_PATH = DEF(GCC48_IA32_PREFIX)gcc
3683*_GCC48_IA32_VFRPP_PATH = DEF(GCC48_IA32_PREFIX)gcc
3684*_GCC48_IA32_ASLCC_PATH = DEF(GCC48_IA32_PREFIX)gcc
3685*_GCC48_IA32_ASLPP_PATH = DEF(GCC48_IA32_PREFIX)gcc
3686*_GCC48_IA32_RC_PATH = DEF(GCC48_IA32_PREFIX)objcopy
3687
3688*_GCC48_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
3689*_GCC48_IA32_ASLDLINK_FLAGS = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -m elf_i386
3690*_GCC48_IA32_ASM_FLAGS = DEF(GCC48_ASM_FLAGS) -m32 -march=i386
3691*_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) -Os
3692*_GCC48_IA32_DLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_FLAGS) -m elf_i386 --oformat=elf32-i386
3693*_GCC48_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
3694*_GCC48_IA32_OBJCOPY_FLAGS =
3695
3696##################
3697# GCC48 X64 definitions
3698##################
3699*_GCC48_X64_OBJCOPY_PATH = DEF(GCC48_X64_PREFIX)objcopy
3700*_GCC48_X64_CC_PATH = DEF(GCC48_X64_PREFIX)gcc
3701*_GCC48_X64_SLINK_PATH = DEF(GCC48_X64_PREFIX)ar
3702*_GCC48_X64_DLINK_PATH = DEF(GCC48_X64_PREFIX)ld
3703*_GCC48_X64_ASLDLINK_PATH = DEF(GCC48_X64_PREFIX)ld
3704*_GCC48_X64_ASM_PATH = DEF(GCC48_X64_PREFIX)gcc
3705*_GCC48_X64_PP_PATH = DEF(GCC48_X64_PREFIX)gcc
3706*_GCC48_X64_VFRPP_PATH = DEF(GCC48_X64_PREFIX)gcc
3707*_GCC48_X64_ASLCC_PATH = DEF(GCC48_X64_PREFIX)gcc
3708*_GCC48_X64_ASLPP_PATH = DEF(GCC48_X64_PREFIX)gcc
3709*_GCC48_X64_RC_PATH = DEF(GCC48_X64_PREFIX)objcopy
3710
3711*_GCC48_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
3712*_GCC48_X64_ASLDLINK_FLAGS = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -m elf_x86_64
3713*_GCC48_X64_ASM_FLAGS = DEF(GCC48_ASM_FLAGS) -m64
3714*_GCC48_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS)
3715*_GCC48_X64_DLINK_FLAGS = DEF(GCC48_X64_DLINK_FLAGS)
3716*_GCC48_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
3717*_GCC48_X64_OBJCOPY_FLAGS =
3718
3719##################
3720# GCC48 ARM definitions
3721##################
3722*_GCC48_ARM_CC_PATH = ENV(GCC48_ARM_PREFIX)gcc
3723*_GCC48_ARM_SLINK_PATH = ENV(GCC48_ARM_PREFIX)ar
3724*_GCC48_ARM_DLINK_PATH = ENV(GCC48_ARM_PREFIX)ld
3725*_GCC48_ARM_ASLDLINK_PATH = ENV(GCC48_ARM_PREFIX)ld
3726*_GCC48_ARM_ASM_PATH = ENV(GCC48_ARM_PREFIX)gcc
3727*_GCC48_ARM_PP_PATH = ENV(GCC48_ARM_PREFIX)gcc
3728*_GCC48_ARM_VFRPP_PATH = ENV(GCC48_ARM_PREFIX)gcc
3729*_GCC48_ARM_ASLCC_PATH = ENV(GCC48_ARM_PREFIX)gcc
3730*_GCC48_ARM_ASLPP_PATH = ENV(GCC48_ARM_PREFIX)gcc
3731*_GCC48_ARM_RC_PATH = ENV(GCC48_ARM_PREFIX)objcopy
3732
3733*_GCC48_ARM_ARCHCC_FLAGS = -mthumb
3734*_GCC48_ARM_PLATFORM_FLAGS = -march=armv7-a
3735
3736*_GCC48_ARM_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3737*_GCC48_ARM_ASLDLINK_FLAGS = DEF(GCC48_ARM_ASLDLINK_FLAGS)
3738*_GCC48_ARM_ASM_FLAGS = DEF(GCC48_ARM_ASM_FLAGS)
3739*_GCC48_ARM_DLINK_FLAGS = DEF(GCC48_ARM_DLINK_FLAGS)
3740*_GCC48_ARM_PLATFORM_FLAGS = -march=armv7-a
3741*_GCC48_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
3742*_GCC48_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
3743*_GCC48_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
3744
3745 DEBUG_GCC48_ARM_CC_FLAGS = DEF(GCC48_ARM_CC_FLAGS) -O0
3746RELEASE_GCC48_ARM_CC_FLAGS = DEF(GCC48_ARM_CC_FLAGS) -Wno-unused-but-set-variable
3747
3748##################
3749# GCC48 AARCH64 definitions
3750##################
3751*_GCC48_AARCH64_CC_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
3752*_GCC48_AARCH64_SLINK_PATH = ENV(GCC48_AARCH64_PREFIX)ar
3753*_GCC48_AARCH64_DLINK_PATH = ENV(GCC48_AARCH64_PREFIX)ld
3754*_GCC48_AARCH64_ASLDLINK_PATH = ENV(GCC48_AARCH64_PREFIX)ld
3755*_GCC48_AARCH64_ASM_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
3756*_GCC48_AARCH64_PP_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
3757*_GCC48_AARCH64_VFRPP_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
3758*_GCC48_AARCH64_ASLCC_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
3759*_GCC48_AARCH64_ASLPP_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
3760*_GCC48_AARCH64_RC_PATH = ENV(GCC48_AARCH64_PREFIX)objcopy
3761
3762*_GCC48_AARCH64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3763*_GCC48_AARCH64_ASLDLINK_FLAGS = DEF(GCC48_AARCH64_ASLDLINK_FLAGS)
3764*_GCC48_AARCH64_ASM_FLAGS = DEF(GCC48_AARCH64_ASM_FLAGS)
3765*_GCC48_AARCH64_DLINK_FLAGS = DEF(GCC48_AARCH64_DLINK_FLAGS)
3766*_GCC48_AARCH64_PLATFORM_FLAGS =
3767*_GCC48_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
3768*_GCC48_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
3769*_GCC48_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
3770
3771 DEBUG_GCC48_AARCH64_CC_FLAGS = DEF(GCC48_AARCH64_CC_FLAGS) -O0
3772RELEASE_GCC48_AARCH64_CC_FLAGS = DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable
3773
3774####################################################################################
3775#
eric_tian3b6c90a2009-04-13 12:50:50 +00003776# Cygwin GCC And Intel ACPI Compiler
3777#
3778####################################################################################
3779# CYGGCC - CygWin GCC
3780# ASL - Intel ACPI Source Language Compiler (iasl.exe)
3781*_CYGGCC_*_*_FAMILY = GCC
3782
3783*_CYGGCC_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00003784*_CYGGCC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao4a709adf2009-12-29 06:16:53 +00003785*_CYGGCC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00003786
lgao4636f2be2010-03-12 10:54:01 +00003787*_CYGGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
3788*_CYGGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
lgao4a709adf2009-12-29 06:16:53 +00003789*_CYGGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
3790*_CYGGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
3791*_CYGGCC_*_MAKE_FLAGS = /nologo
lgao46780eef2010-11-15 02:51:34 +00003792*_CYGGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
lgao4a709adf2009-12-29 06:16:53 +00003793*_CYGGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
3794*_CYGGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
3795*_CYGGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
3796*_CYGGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
lgao46780eef2010-11-15 02:51:34 +00003797*_CYGGCC_*_APP_FLAGS =
lgao4a709adf2009-12-29 06:16:53 +00003798*_CYGGCC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
3799*_CYGGCC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003800
3801##################
3802# IA32 definitions
3803##################
lgao4b303ea72009-11-09 11:47:35 +00003804*_CYGGCC_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
3805*_CYGGCC_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
3806*_CYGGCC_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
3807*_CYGGCC_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
3808*_CYGGCC_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
3809*_CYGGCC_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
3810*_CYGGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
3811*_CYGGCC_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
3812*_CYGGCC_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
3813*_CYGGCC_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00003814*_CYGGCC_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
lgao4636f2be2010-03-12 10:54:01 +00003815*_CYGGCC_IA32_OBJCOPY_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003816
lgao4a709adf2009-12-29 06:16:53 +00003817*_CYGGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
3818*_CYGGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00003819*_CYGGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00003820
3821##################
3822# X64 definitions
3823##################
jljusten726d5a82009-08-15 05:05:00 +00003824*_CYGGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
3825*_CYGGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
3826*_CYGGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
3827*_CYGGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
3828*_CYGGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
3829*_CYGGCC_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
3830*_CYGGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
3831*_CYGGCC_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
3832*_CYGGCC_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
3833*_CYGGCC_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00003834*_CYGGCC_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
lgao4636f2be2010-03-12 10:54:01 +00003835*_CYGGCC_X64_OBJCOPY_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003836
lgao4a709adf2009-12-29 06:16:53 +00003837*_CYGGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
3838*_CYGGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
lgao4636f2be2010-03-12 10:54:01 +00003839*_CYGGCC_X64_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00003840
3841##################
3842# IPF definitions
3843##################
3844*_CYGGCC_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
3845*_CYGGCC_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
3846*_CYGGCC_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
3847*_CYGGCC_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
3848*_CYGGCC_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
3849*_CYGGCC_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
3850*_CYGGCC_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
3851*_CYGGCC_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
3852*_CYGGCC_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
3853*_CYGGCC_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
3854*_CYGGCC_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00003855*_CYGGCC_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003856
lgao4a709adf2009-12-29 06:16:53 +00003857*_CYGGCC_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
3858*_CYGGCC_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
3859*_CYGGCC_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
3860*_CYGGCC_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
3861*_CYGGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003862
3863##################
3864# EBC definitions
3865##################
3866*_CYGGCC_EBC_*_FAMILY = INTEL
3867
3868*_CYGGCC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3869*_CYGGCC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3870*_CYGGCC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3871*_CYGGCC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3872*_CYGGCC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00003873*_CYGGCC_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003874
3875*_CYGGCC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3876*_CYGGCC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003877*_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 +00003878
3879####################################################################################
3880#
3881# Cygwin GCC And Microsoft ACPI Compiler
3882#
3883####################################################################################
3884# CYGGCCxASL - CygWin GCC
3885# ASL - Microsoft ACPI Source Language Compiler (asl.exe)
3886*_CYGGCCxASL_*_*_FAMILY = GCC
3887
3888*_CYGGCCxASL_*_*_DLL = DEF(CYGWIN_BIN)
lgao4b303ea72009-11-09 11:47:35 +00003889*_CYGGCCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003890
3891*_CYGGCCxASL_*_MAKE_FLAGS = /nologo
3892*_CYGGCCxASL_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
3893*_CYGGCCxASL_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20
3894*_CYGGCCxASL_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
3895*_CYGGCCxASL_*_APP_FLAGS = -E -x assembler
3896*_CYGGCCxASL_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
3897
3898##################
3899# ASL definitions
3900##################
3901*_CYGGCCxASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao46780eef2010-11-15 02:51:34 +00003902*_CYGGCCxASL_*_ASL_FLAGS =
lgao438d49982009-06-17 09:34:46 +00003903*_CYGGCCxASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003904*_CYGGCCxASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
3905*_CYGGCCxASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
3906*_CYGGCCxASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
3907
3908##################
3909# IA32 definitions
3910##################
lgao4b303ea72009-11-09 11:47:35 +00003911*_CYGGCCxASL_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc
3912*_CYGGCCxASL_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar
3913*_CYGGCCxASL_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld
3914*_CYGGCCxASL_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc
3915*_CYGGCCxASL_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc
3916*_CYGGCCxASL_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc
3917*_CYGGCCxASL_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc
3918*_CYGGCCxASL_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc
3919*_CYGGCCxASL_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc
3920*_CYGGCCxASL_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld
lgao4a709adf2009-12-29 06:16:53 +00003921*_CYGGCCxASL_IA32_RC_PATH = DEF(CYGWIN_BINIA32)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003922
lgao4a709adf2009-12-29 06:16:53 +00003923*_CYGGCCxASL_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS)
3924*_CYGGCCxASL_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003925
3926##################
3927# X64 definitions
3928##################
jljusten726d5a82009-08-15 05:05:00 +00003929*_CYGGCCxASL_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc
3930*_CYGGCCxASL_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar
3931*_CYGGCCxASL_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld
3932*_CYGGCCxASL_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc
3933*_CYGGCCxASL_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc
3934*_CYGGCCxASL_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc
3935*_CYGGCCxASL_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc
3936*_CYGGCCxASL_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc
3937*_CYGGCCxASL_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc
3938*_CYGGCCxASL_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld
lgao4a709adf2009-12-29 06:16:53 +00003939*_CYGGCCxASL_X64_RC_PATH = DEF(CYGWIN_BINX64)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003940
lgao4a709adf2009-12-29 06:16:53 +00003941*_CYGGCCxASL_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS)
3942*_CYGGCCxASL_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003943
3944##################
3945# IPF definitions
3946##################
3947*_CYGGCCxASL_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc
3948*_CYGGCCxASL_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar
3949*_CYGGCCxASL_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld
3950*_CYGGCCxASL_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld
3951*_CYGGCCxASL_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc
3952*_CYGGCCxASL_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc
3953*_CYGGCCxASL_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc
3954*_CYGGCCxASL_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc
3955*_CYGGCCxASL_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc
3956*_CYGGCCxASL_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy
3957*_CYGGCCxASL_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy
lgao4b303ea72009-11-09 11:47:35 +00003958*_CYGGCCxASL_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00003959
lgao4a709adf2009-12-29 06:16:53 +00003960*_CYGGCCxASL_IPF_CC_FLAGS = DEF(GCC_IPF_CC_FLAGS)
3961*_CYGGCCxASL_IPF_DLINK_FLAGS = DEF(GCC_IPF_DLINK_FLAGS)
3962*_CYGGCCxASL_IPF_OBJCOPY_FLAGS = DEF(GCC_IPF_OBJCOPY_FLAGS)
3963*_CYGGCCxASL_IPF_SYMRENAME_FLAGS = DEF(GCC_IPF_SYMRENAME_FLAGS)
3964*_CYGGCCxASL_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00003965
3966##################
3967# EBC definitions
3968##################
3969*_CYGGCCxASL_EBC_*_FAMILY = INTEL
3970
3971*_CYGGCCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
3972*_CYGGCCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
3973*_CYGGCCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
3974*_CYGGCCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
3975*_CYGGCCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
lgao4b303ea72009-11-09 11:47:35 +00003976*_CYGGCCxASL_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00003977
3978*_CYGGCCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3979*_CYGGCCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00003980*_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 +00003981
3982####################################################################################
3983#
3984# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
3985# binaries.
3986#
3987####################################################################################
3988# ELFGCC - Linux ELF GCC
3989*_ELFGCC_*_*_FAMILY = GCC
3990*_ELFGCC_*_MAKE_PATH = make
3991
3992*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
3993*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
3994
3995##################
3996# ASL definitions
3997##################
3998*_ELFGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
lgao4a709adf2009-12-29 06:16:53 +00003999*_ELFGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
lgao438d49982009-06-17 09:34:46 +00004000*_ELFGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004001*_ELFGCC_*_ASLPP_FLAGS = -x c -E -P
4002*_ELFGCC_*_ASLCC_FLAGS = -x c
lgao4a709adf2009-12-29 06:16:53 +00004003*_ELFGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
eric_tian3b6c90a2009-04-13 12:50:50 +00004004
4005##################
4006# IA32 definitions
4007##################
lgao4a709adf2009-12-29 06:16:53 +00004008*_ELFGCC_IA32_OBJCOPY_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00004009*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc
4010*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar
4011*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld
4012*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc
4013*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc
4014*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
Liming Gao4afd3d02013-08-23 02:18:16 +00004015*_ELFGCC_IA32_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
4016*_ELFGCC_IA32_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
4017*_ELFGCC_IA32_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
lgao4b303ea72009-11-09 11:47:35 +00004018*_ELFGCC_IA32_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00004019
4020*_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
4021*_ELFGCC_IA32_SLINK_FLAGS =
lgao40d2711a2011-10-29 06:59:30 +00004022*_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 +00004023#*_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 +00004024*_ELFGCC_IA32_ASM_FLAGS = -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
eric_tian3b6c90a2009-04-13 12:50:50 +00004025*_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4026*_ELFGCC_IA32_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00004027*_ELFGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
4028*_ELFGCC_IA32_OBJCOPY_FLAGS =
eric_tian3b6c90a2009-04-13 12:50:50 +00004029
4030##################
4031# X64 definitions
4032##################
4033*_ELFGCC_X64_CC_PATH = DEF(ELFGCC_BIN)/gcc
4034*_ELFGCC_X64_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
4035*_ELFGCC_X64_SLINK_PATH = DEF(ELFGCC_BIN)/ar
4036*_ELFGCC_X64_DLINK_PATH = DEF(ELFGCC_BIN)/ld
4037*_ELFGCC_X64_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
4038*_ELFGCC_X64_ASM_PATH = DEF(ELFGCC_BIN)/gcc
4039*_ELFGCC_X64_PP_PATH = DEF(ELFGCC_BIN)/gcc
4040*_ELFGCC_X64_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
4041*_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00004042*_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00004043
4044*_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 +00004045*_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 +00004046*_ELFGCC_X64_SLINK_FLAGS =
4047*_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
4048*_ELFGCC_X64_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4049*_ELFGCC_X64_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00004050*_ELFGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004051
4052##################
4053# IPF definitions
4054##################
4055*_ELFGCC_IPF_CC_PATH = DEF(ELFGCC_BIN)/gcc
4056*_ELFGCC_IPF_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc
4057*_ELFGCC_IPF_SLINK_PATH = DEF(ELFGCC_BIN)/ar
4058*_ELFGCC_IPF_DLINK_PATH = DEF(ELFGCC_BIN)/ld
4059*_ELFGCC_IPF_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld
4060*_ELFGCC_IPF_ASM_PATH = DEF(ELFGCC_BIN)/gcc
4061*_ELFGCC_IPF_PP_PATH = DEF(ELFGCC_BIN)/gcc
4062*_ELFGCC_IPF_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc
4063*_ELFGCC_IPF_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
lgao4b303ea72009-11-09 11:47:35 +00004064*_ELFGCC_IPF_RC_PATH = DEF(ELFGCC_BIN)/objcopy
eric_tian3b6c90a2009-04-13 12:50:50 +00004065
4066*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -Werror -c -include AutoGen.h -D_EFI_P64
lgao40d2711a2011-10-29 06:59:30 +00004067*_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 +00004068*_ELFGCC_IPF_SLINK_FLAGS =
4069*_ELFGCC_IPF_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
4070*_ELFGCC_IPF_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4071*_ELFGCC_IPF_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao4a709adf2009-12-29 06:16:53 +00004072*_ELFGCC_IPF_RC_FLAGS = DEF(GCC_IPF_RC_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004073
4074####################################################################################
4075#
jljusten07a756b2007-10-17 01:54:36 +00004076# Intel(R) C++ Compiler Version 9.1
4077#
4078# 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 +00004079# ASL - Intel ACPI Source Language Compiler
jljusten07a756b2007-10-17 01:54:36 +00004080#
4081####################################################################################
4082# ICC - Intel C Compiler V9.1
4083*_ICC_*_*_FAMILY = INTEL
4084
lgao4b303ea72009-11-09 11:47:35 +00004085*_ICC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4086*_ICC_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00004087
4088*_ICC_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00004089*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00004090*_ICC_*_APP_FLAGS = /nologo /E /TC
4091*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4092
qhuang814c48572010-07-21 02:46:15 +00004093*_ICC_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
4094
eric_tian3b6c90a2009-04-13 12:50:50 +00004095##################
4096# ASL definitions
4097##################
lgao4a709adf2009-12-29 06:16:53 +00004098*_ICC_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4099*_ICC_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4100*_ICC_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004101*_ICC_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4102*_ICC_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4103*_ICC_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
lgao4a1c949f2008-08-21 13:11:01 +00004104
jljusten07a756b2007-10-17 01:54:36 +00004105##################
4106# IA32 definitions
4107##################
jljusten07a756b2007-10-17 01:54:36 +00004108*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
4109*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
4110# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004111*_ICC_IA32_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00004112*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00004113*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
4114*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
4115*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00004116*_ICC_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4117*_ICC_IA32_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00004118*_ICC_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
4119*_ICC_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
4120*_ICC_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00004121
qhuang89053bc52010-06-28 09:33:10 +00004122 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
4123RELEASE_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 +00004124NOOPT_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
4125
lhauch7e6ae4d2007-11-28 01:20:03 +00004126 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4127RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004128NOOPT_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4129
jljusten07a756b2007-10-17 01:54:36 +00004130 *_ICC_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004131 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
4132RELEASE_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
4133NOOPT_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 +00004134
4135##################
4136# X64 definitions
4137##################
jljusten07a756b2007-10-17 01:54:36 +00004138*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
4139*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
4140# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004141*_ICC_X64_SLINK_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00004142*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00004143*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
4144*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
4145*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
4146*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00004147*_ICC_X64_ASM_DLL = DEF(MS_VS_DLL)
lgao4a1c949f2008-08-21 13:11:01 +00004148*_ICC_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
4149*_ICC_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
4150*_ICC_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00004151
qhuang89053bc52010-06-28 09:33:10 +00004152 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
4153RELEASE_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 +00004154NOOPT_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
4155
lhauch7e6ae4d2007-11-28 01:20:03 +00004156 DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4157RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004158NOOPT_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4159
4160 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
4161RELEASE_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
4162NOOPT_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
4163
jljusten07a756b2007-10-17 01:54:36 +00004164 *_ICC_X64_SLINK_FLAGS = /nologo /LTCG
4165
4166
4167##################
4168# IPF definitions
4169##################
4170*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
4171# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004172*_ICC_IPF_CC_DLL = DEF(MS_VS_BIN)
jljusten07a756b2007-10-17 01:54:36 +00004173*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
4174# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004175*_ICC_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
jljusten07a756b2007-10-17 01:54:36 +00004176*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00004177*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
4178*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
jljusten07a756b2007-10-17 01:54:36 +00004179*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
4180*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00004181*_ICC_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
4182*_ICC_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
4183*_ICC_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
jljusten07a756b2007-10-17 01:54:36 +00004184
qhuang88e2978b2009-09-01 15:03:44 +00004185 DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4186RELEASE_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 +00004187NOOPT_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4188
jljusten07a756b2007-10-17 01:54:36 +00004189 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4190RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004191NOOPT_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4192
lgao46780eef2010-11-15 02:51:34 +00004193 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
4194RELEASE_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 +00004195NOOPT_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
4196
jljusten07a756b2007-10-17 01:54:36 +00004197 *_ICC_IPF_SLINK_FLAGS = /nologo
4198
eric_tian3b6c90a2009-04-13 12:50:50 +00004199##################
4200# EBC definitions
4201##################
4202*_ICC_EBC_*_FAMILY = INTEL
4203
lgao4b303ea72009-11-09 11:47:35 +00004204*_ICC_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004205*_ICC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
4206*_ICC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
4207*_ICC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
4208*_ICC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
4209*_ICC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
4210
4211*_ICC_EBC_MAKE_FLAGS = /nologo
4212*_ICC_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4213*_ICC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4214*_ICC_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4215*_ICC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004216*_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 +00004217
4218####################################################################################
4219#
4220# Intel(R) C++ Compiler Version 9.1
4221#
4222# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
4223# ASL - Microsoft ACPI Source Language Compiler
4224#
4225####################################################################################
4226# ICCxASL - Intel C Compiler V9.1
4227*_ICCxASL_*_*_FAMILY = INTEL
4228
lgao4b303ea72009-11-09 11:47:35 +00004229*_ICCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4230*_ICCxASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004231
4232*_ICCxASL_*_MAKE_FLAGS = /nologo
4233*_ICCxASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4234*_ICCxASL_*_APP_FLAGS = /nologo /E /TC
4235*_ICCxASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4236
qhuang814c48572010-07-21 02:46:15 +00004237*_ICCxASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
4238
eric_tian3b6c90a2009-04-13 12:50:50 +00004239##################
4240# ASL definitions
4241##################
lgao4a709adf2009-12-29 06:16:53 +00004242*_ICCxASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4243*_ICCxASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4244*_ICCxASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004245*_ICCxASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4246*_ICCxASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4247*_ICCxASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4248
4249##################
4250# IA32 definitions
4251##################
4252*_ICCxASL_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
4253*_ICCxASL_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
4254# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004255*_ICCxASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004256*_ICCxASL_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004257*_ICCxASL_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
4258*_ICCxASL_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
4259*_ICCxASL_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
lgao4b303ea72009-11-09 11:47:35 +00004260*_ICCxASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4261*_ICCxASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004262*_ICCxASL_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe
4263*_ICCxASL_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe
4264*_ICCxASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe
4265
qhuang89053bc52010-06-28 09:33:10 +00004266 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
4267RELEASE_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 +00004268NOOPT_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
4269
eric_tian3b6c90a2009-04-13 12:50:50 +00004270 DEBUG_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4271RELEASE_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004272NOOPT_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4273
eric_tian3b6c90a2009-04-13 12:50:50 +00004274 *_ICCxASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004275 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
4276RELEASE_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
4277NOOPT_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 +00004278
4279##################
4280# X64 definitions
4281##################
4282*_ICCxASL_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
4283*_ICCxASL_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
4284# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004285*_ICCxASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004286*_ICCxASL_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
4287*_ICCxASL_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
4288*_ICCxASL_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
4289*_ICCxASL_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
4290*_ICCxASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b303ea72009-11-09 11:47:35 +00004291*_ICCxASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004292*_ICCxASL_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe
4293*_ICCxASL_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe
4294*_ICCxASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe
4295
qhuang89053bc52010-06-28 09:33:10 +00004296 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
4297RELEASE_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 +00004298NOOPT_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
4299
eric_tian3b6c90a2009-04-13 12:50:50 +00004300 DEBUG_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4301RELEASE_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004302NOOPT_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4303
4304 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
4305RELEASE_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
4306NOOPT_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
4307
eric_tian3b6c90a2009-04-13 12:50:50 +00004308 *_ICCxASL_X64_SLINK_FLAGS = /nologo /LTCG
4309
4310
4311##################
4312# IPF definitions
4313##################
4314*_ICCxASL_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
4315# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004316*_ICCxASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004317*_ICCxASL_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
4318# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004319*_ICCxASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004320*_ICCxASL_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
4321*_ICCxASL_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
4322*_ICCxASL_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
4323*_ICCxASL_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
4324*_ICCxASL_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
4325*_ICCxASL_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe
4326*_ICCxASL_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe
4327*_ICCxASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe
4328
qhuang88e2978b2009-09-01 15:03:44 +00004329 DEBUG_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4330RELEASE_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 +00004331NOOPT_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4332
eric_tian3b6c90a2009-04-13 12:50:50 +00004333 DEBUG_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4334RELEASE_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004335NOOPT_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4336
lgao46780eef2010-11-15 02:51:34 +00004337 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
4338RELEASE_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 +00004339NOOPT_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
4340
eric_tian3b6c90a2009-04-13 12:50:50 +00004341 *_ICCxASL_IPF_SLINK_FLAGS = /nologo
4342
4343##################
4344# EBC definitions
4345##################
4346*_ICCxASL_EBC_*_FAMILY = INTEL
4347
lgao4b303ea72009-11-09 11:47:35 +00004348*_ICCxASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004349*_ICCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
4350*_ICCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
4351*_ICCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
4352*_ICCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
4353*_ICCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
4354
4355*_ICCxASL_EBC_MAKE_FLAGS = /nologo
4356*_ICCxASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4357*_ICCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4358*_ICCxASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4359*_ICCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004360*_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 +00004361
4362
4363####################################################################################
4364#
4365# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
4366#
4367# ICCx86 - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
4368# ASL - Intel ACPI Source Language Compiler
4369#
4370####################################################################################
4371# ICCx86 - Intel C Compiler V9.1
4372*_ICCx86_*_*_FAMILY = INTEL
4373
lgao4b36d1342011-09-18 12:17:25 +00004374*_ICCx86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4375*_ICCx86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004376
4377*_ICCx86_*_MAKE_FLAGS = /nologo
4378*_ICCx86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4379*_ICCx86_*_APP_FLAGS = /nologo /E /TC
4380*_ICCx86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4381
lgao4b36d1342011-09-18 12:17:25 +00004382*_ICCx86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00004383
eric_tian3b6c90a2009-04-13 12:50:50 +00004384##################
4385# ASL definitions
4386##################
lgao4a709adf2009-12-29 06:16:53 +00004387*_ICCx86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4388*_ICCx86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4389*_ICCx86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004390*_ICCx86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4391*_ICCx86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4392*_ICCx86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4393
4394##################
4395# IA32 definitions
4396##################
4397*_ICCx86_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
4398*_ICCx86_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
4399# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004400*_ICCx86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004401*_ICCx86_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004402*_ICCx86_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
4403*_ICCx86_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
4404*_ICCx86_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00004405*_ICCx86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4406*_ICCx86_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004407*_ICCx86_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
4408*_ICCx86_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
4409*_ICCx86_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
4410
qhuang89053bc52010-06-28 09:33:10 +00004411 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
4412RELEASE_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 +00004413NOOPT_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
4414
eric_tian3b6c90a2009-04-13 12:50:50 +00004415 DEBUG_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4416RELEASE_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004417NOOPT_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4418
eric_tian3b6c90a2009-04-13 12:50:50 +00004419 *_ICCx86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004420 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
4421RELEASE_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
4422NOOPT_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 +00004423
4424##################
4425# X64 definitions
4426##################
4427*_ICCx86_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
4428*_ICCx86_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
4429# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004430*_ICCx86_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004431*_ICCx86_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
4432*_ICCx86_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
4433*_ICCx86_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
4434*_ICCx86_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
4435*_ICCx86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00004436*_ICCx86_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004437*_ICCx86_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
4438*_ICCx86_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
4439*_ICCx86_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
4440
qhuang89053bc52010-06-28 09:33:10 +00004441 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
4442RELEASE_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 +00004443NOOPT_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
4444
eric_tian3b6c90a2009-04-13 12:50:50 +00004445 DEBUG_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4446RELEASE_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004447NOOPT_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4448
4449 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
4450RELEASE_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
4451NOOPT_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
4452
eric_tian3b6c90a2009-04-13 12:50:50 +00004453 *_ICCx86_X64_SLINK_FLAGS = /nologo /LTCG
4454
4455
4456##################
4457# IPF definitions
4458##################
4459*_ICCx86_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
4460# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004461*_ICCx86_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004462*_ICCx86_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
4463# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004464*_ICCx86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004465*_ICCx86_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
4466*_ICCx86_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
4467*_ICCx86_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
4468*_ICCx86_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
4469*_ICCx86_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
4470*_ICCx86_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
4471*_ICCx86_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
4472*_ICCx86_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
4473
qhuang88e2978b2009-09-01 15:03:44 +00004474 DEBUG_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4475RELEASE_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 +00004476NOOPT_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4477
eric_tian3b6c90a2009-04-13 12:50:50 +00004478 DEBUG_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4479RELEASE_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004480NOOPT_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4481
lgao46780eef2010-11-15 02:51:34 +00004482 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
4483RELEASE_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 +00004484NOOPT_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
4485
eric_tian3b6c90a2009-04-13 12:50:50 +00004486 *_ICCx86_IPF_SLINK_FLAGS = /nologo
4487
4488##################
4489# EBC definitions
4490##################
4491*_ICCx86_EBC_*_FAMILY = INTEL
4492
lgao4b36d1342011-09-18 12:17:25 +00004493*_ICCx86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00004494*_ICCx86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
4495*_ICCx86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
4496*_ICCx86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
4497*_ICCx86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
4498*_ICCx86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004499
4500*_ICCx86_EBC_MAKE_FLAGS = /nologo
4501*_ICCx86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4502*_ICCx86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4503*_ICCx86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4504*_ICCx86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004505*_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 +00004506
4507
4508####################################################################################
4509#
4510# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
4511#
4512# ICCx86xASL - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
4513# ASL - Microsoft ACPI Source Language Compiler
4514#
4515####################################################################################
4516# ICCx86xASL - Intel C Compiler V9.1
4517*_ICCx86xASL_*_*_FAMILY = INTEL
4518
lgao4b36d1342011-09-18 12:17:25 +00004519*_ICCx86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4520*_ICCx86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004521
4522*_ICCx86xASL_*_MAKE_FLAGS = /nologo
4523*_ICCx86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4524*_ICCx86xASL_*_APP_FLAGS = /nologo /E /TC
4525*_ICCx86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4526
lgao4b36d1342011-09-18 12:17:25 +00004527*_ICCx86ASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00004528
eric_tian3b6c90a2009-04-13 12:50:50 +00004529##################
4530# ASL definitions
4531##################
4532*_ICCx86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
lgao438d49982009-06-17 09:34:46 +00004533*_ICCx86xASL_*_ASL_FLAGS =
4534*_ICCx86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00004535*_ICCx86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4536*_ICCx86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4537*_ICCx86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4538
4539##################
4540# IA32 definitions
4541##################
4542*_ICCx86xASL_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe
4543*_ICCx86xASL_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe
4544# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004545*_ICCx86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004546*_ICCx86xASL_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004547*_ICCx86xASL_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe
4548*_ICCx86xASL_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe
4549*_ICCx86xASL_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00004550*_ICCx86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4551*_ICCx86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004552*_ICCx86xASL_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe
4553*_ICCx86xASL_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe
4554*_ICCx86xASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe
4555
qhuang89053bc52010-06-28 09:33:10 +00004556 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
4557RELEASE_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 +00004558NOOPT_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
4559
eric_tian3b6c90a2009-04-13 12:50:50 +00004560 DEBUG_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4561RELEASE_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004562NOOPT_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4563
eric_tian3b6c90a2009-04-13 12:50:50 +00004564 *_ICCx86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004565 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
4566RELEASE_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
4567NOOPT_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 +00004568
4569##################
4570# X64 definitions
4571##################
4572*_ICCx86xASL_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe
4573*_ICCx86xASL_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe
4574# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004575*_ICCx86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004576*_ICCx86xASL_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
4577*_ICCx86xASL_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe
4578*_ICCx86xASL_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe
4579*_ICCx86xASL_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe
4580*_ICCx86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00004581*_ICCx86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004582*_ICCx86xASL_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe
4583*_ICCx86xASL_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe
4584*_ICCx86xASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe
4585
qhuang89053bc52010-06-28 09:33:10 +00004586 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
4587RELEASE_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 +00004588NOOPT_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
4589
eric_tian3b6c90a2009-04-13 12:50:50 +00004590 DEBUG_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4591RELEASE_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004592NOOPT_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4593
4594 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
4595RELEASE_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
4596NOOPT_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
4597
eric_tian3b6c90a2009-04-13 12:50:50 +00004598 *_ICCx86xASL_X64_SLINK_FLAGS = /nologo /LTCG
4599
4600
4601##################
4602# IPF definitions
4603##################
4604*_ICCx86xASL_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe
4605# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004606*_ICCx86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
eric_tian3b6c90a2009-04-13 12:50:50 +00004607*_ICCx86xASL_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe
4608# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004609*_ICCx86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
eric_tian3b6c90a2009-04-13 12:50:50 +00004610*_ICCx86xASL_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
4611*_ICCx86xASL_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe
4612*_ICCx86xASL_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe
4613*_ICCx86xASL_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe
4614*_ICCx86xASL_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe
4615*_ICCx86xASL_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe
4616*_ICCx86xASL_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe
4617*_ICCx86xASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe
4618
qhuang88e2978b2009-09-01 15:03:44 +00004619 DEBUG_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4620RELEASE_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 +00004621NOOPT_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
4622
eric_tian3b6c90a2009-04-13 12:50:50 +00004623 DEBUG_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4624RELEASE_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004625NOOPT_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4626
lgao46780eef2010-11-15 02:51:34 +00004627 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
4628RELEASE_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 +00004629NOOPT_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
4630
eric_tian3b6c90a2009-04-13 12:50:50 +00004631 *_ICCx86xASL_IPF_SLINK_FLAGS = /nologo
4632
4633##################
4634# EBC definitions
4635##################
4636*_ICCx86xASL_EBC_*_FAMILY = INTEL
4637
lgao4b36d1342011-09-18 12:17:25 +00004638*_ICCx86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00004639*_ICCx86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
4640*_ICCx86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
4641*_ICCx86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
4642*_ICCx86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
4643*_ICCx86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
eric_tian3b6c90a2009-04-13 12:50:50 +00004644
4645*_ICCx86xASL_EBC_MAKE_FLAGS = /nologo
4646*_ICCx86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4647*_ICCx86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4648*_ICCx86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4649*_ICCx86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004650*_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 +00004651
4652
jljusten07a756b2007-10-17 01:54:36 +00004653####################################################################################
4654#
qhuang89053bc52010-06-28 09:33:10 +00004655# Intel(R) C++ Compiler Version 11.1
lgao4b36d1342011-09-18 12:17:25 +00004656# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
4657# 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)
4658# 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 +00004659# ASL - Intel ACPI Source Language Compiler
4660#
4661####################################################################################
4662# ICC11 - Intel C Compiler V11.1
4663*_ICC11_*_*_FAMILY = INTEL
4664
4665*_ICC11_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4666*_ICC11_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
4667
4668*_ICC11_*_MAKE_FLAGS = /nologo
4669*_ICC11_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4670*_ICC11_*_APP_FLAGS = /nologo /E /TC
4671*_ICC11_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4672
qhuang814c48572010-07-21 02:46:15 +00004673*_ICC11_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
4674
qhuang89053bc52010-06-28 09:33:10 +00004675##################
4676# ASL definitions
4677##################
4678*_ICC11_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4679*_ICC11_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4680*_ICC11_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
4681*_ICC11_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4682*_ICC11_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4683*_ICC11_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4684
4685##################
4686# IA32 definitions
4687##################
4688*_ICC11_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
4689*_ICC11_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
4690# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004691*_ICC11_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004692*_ICC11_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00004693*_ICC11_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
4694*_ICC11_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
4695*_ICC11_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
4696*_ICC11_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4697*_ICC11_IA32_ASM_DLL = DEF(MS_VS_DLL)
4698*_ICC11_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
4699*_ICC11_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
4700*_ICC11_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
4701
4702 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
4703RELEASE_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 +00004704NOOPT_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
4705
qhuang89053bc52010-06-28 09:33:10 +00004706 DEBUG_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4707RELEASE_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004708NOOPT_ICC11_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00004709 *_ICC11_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004710 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
4711RELEASE_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
4712NOOPT_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 +00004713
4714##################
4715# X64 definitions
4716##################
4717*_ICC11_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
4718*_ICC11_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
4719# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004720*_ICC11_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004721*_ICC11_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
4722*_ICC11_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
4723*_ICC11_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
4724*_ICC11_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
4725*_ICC11_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
4726*_ICC11_X64_ASM_DLL = DEF(MS_VS_DLL)
4727*_ICC11_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
4728*_ICC11_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
4729*_ICC11_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
4730
4731 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
4732RELEASE_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 +00004733NOOPT_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
4734
qhuang89053bc52010-06-28 09:33:10 +00004735 DEBUG_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4736RELEASE_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004737NOOPT_ICC11_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4738 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
4739RELEASE_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
4740NOOPT_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
4741
qhuang89053bc52010-06-28 09:33:10 +00004742 *_ICC11_X64_SLINK_FLAGS = /nologo /LTCG
4743
4744
4745##################
4746# IPF definitions
4747##################
4748*_ICC11_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
4749# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004750*_ICC11_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004751*_ICC11_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
4752# xilib.exe needs lib.exe from Visual Studio
4753*_ICC11_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
4754*_ICC11_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
4755*_ICC11_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
4756*_ICC11_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
4757*_ICC11_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
4758*_ICC11_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
4759*_ICC11_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
4760*_ICC11_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
4761*_ICC11_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
4762
4763 DEBUG_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4764RELEASE_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 +00004765NOOPT_ICC11_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4766
qhuang89053bc52010-06-28 09:33:10 +00004767 DEBUG_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4768RELEASE_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004769NOOPT_ICC11_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00004770 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
4771RELEASE_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 +00004772NOOPT_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
4773
qhuang89053bc52010-06-28 09:33:10 +00004774 *_ICC11_IPF_SLINK_FLAGS = /nologo
4775
4776##################
4777# EBC definitions
4778##################
4779*_ICC11_EBC_*_FAMILY = INTEL
4780
4781*_ICC11_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4782*_ICC11_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
4783*_ICC11_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
4784*_ICC11_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
4785*_ICC11_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
4786*_ICC11_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
4787
4788*_ICC11_EBC_MAKE_FLAGS = /nologo
4789*_ICC11_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4790*_ICC11_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4791*_ICC11_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4792*_ICC11_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004793*_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 +00004794
4795####################################################################################
4796#
4797# Intel(R) C++ Compiler Version 11.1
4798#
lgao4b36d1342011-09-18 12:17:25 +00004799# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
4800# 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)
4801# 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 +00004802# ASL - Microsoft ACPI Source Language Compiler
4803#
4804####################################################################################
4805# ICC11xASL - Intel C Compiler V11.1
4806*_ICC11xASL_*_*_FAMILY = INTEL
4807
4808*_ICC11xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4809*_ICC11xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
4810
4811*_ICC11xASL_*_MAKE_FLAGS = /nologo
4812*_ICC11xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4813*_ICC11xASL_*_APP_FLAGS = /nologo /E /TC
4814*_ICC11xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4815
qhuang814c48572010-07-21 02:46:15 +00004816*_ICC11xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
4817
qhuang89053bc52010-06-28 09:33:10 +00004818##################
4819# ASL definitions
4820##################
4821*_ICC11xASL_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4822*_ICC11xASL_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4823*_ICC11xASL_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
4824*_ICC11xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4825*_ICC11xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4826*_ICC11xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4827
4828##################
4829# IA32 definitions
4830##################
4831*_ICC11xASL_IA32_CC_PATH = DEF(ICC11_BIN32)\icl.exe
4832*_ICC11xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32)\xilib.exe
4833# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004834*_ICC11xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004835*_ICC11xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00004836*_ICC11xASL_IA32_PP_PATH = DEF(ICC11_BIN32)\icl.exe
4837*_ICC11xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32)\icl.exe
4838*_ICC11xASL_IA32_APP_PATH = DEF(ICC11_BIN32)\icl.exe
4839*_ICC11xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4840*_ICC11xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
4841*_ICC11xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32)\icl.exe
4842*_ICC11xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32)\icl.exe
4843*_ICC11xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32)\xilink.exe
4844
4845 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
4846RELEASE_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 +00004847NOOPT_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
4848
qhuang89053bc52010-06-28 09:33:10 +00004849 DEBUG_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4850RELEASE_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004851NOOPT_ICC11xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00004852 *_ICC11xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004853 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
4854RELEASE_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
4855NOOPT_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 +00004856
4857##################
4858# X64 definitions
4859##################
4860*_ICC11xASL_X64_CC_PATH = DEF(ICC11_BINX64)\icl.exe
4861*_ICC11xASL_X64_SLINK_PATH = DEF(ICC11_BINX64)\xilib.exe
4862# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004863*_ICC11xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004864*_ICC11xASL_X64_DLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
4865*_ICC11xASL_X64_PP_PATH = DEF(ICC11_BINX64)\icl.exe
4866*_ICC11xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64)\icl.exe
4867*_ICC11xASL_X64_APP_PATH = DEF(ICC11_BINX64)\icl.exe
4868*_ICC11xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
4869*_ICC11xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
4870*_ICC11xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64)\icl.exe
4871*_ICC11xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64)\icl.exe
4872*_ICC11xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64)\xilink.exe
4873
4874 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
4875RELEASE_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 +00004876NOOPT_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
4877
qhuang89053bc52010-06-28 09:33:10 +00004878 DEBUG_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4879RELEASE_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00004880NOOPT_ICC11xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
4881 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
4882RELEASE_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
4883NOOPT_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
4884
qhuang89053bc52010-06-28 09:33:10 +00004885 *_ICC11xASL_X64_SLINK_FLAGS = /nologo /LTCG
4886
4887
4888##################
4889# IPF definitions
4890##################
4891*_ICC11xASL_IPF_CC_PATH = DEF(ICC11_BIN64)\icl.exe
4892# icl.exe needs cl.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004893*_ICC11xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004894*_ICC11xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64)\xilib.exe
4895# xilib.exe needs lib.exe from Visual Studio
lgao464137022010-12-06 05:17:09 +00004896*_ICC11xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004897*_ICC11xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
4898*_ICC11xASL_IPF_PP_PATH = DEF(ICC11_BIN64)\icl.exe
4899*_ICC11xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64)\icl.exe
4900*_ICC11xASL_IPF_APP_PATH = DEF(ICC11_BIN64)\icl.exe
4901*_ICC11xASL_IPF_ASM_PATH = DEF(ICC11_BIN64)\ias.exe
4902*_ICC11xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64)\icl.exe
4903*_ICC11xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64)\icl.exe
4904*_ICC11xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64)\xilink.exe
4905
4906 DEBUG_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4907RELEASE_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 +00004908NOOPT_ICC11xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
4909
qhuang89053bc52010-06-28 09:33:10 +00004910 DEBUG_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4911RELEASE_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00004912NOOPT_ICC11xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
4913
lgao46780eef2010-11-15 02:51:34 +00004914 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
4915RELEASE_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 +00004916NOOPT_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
4917
qhuang89053bc52010-06-28 09:33:10 +00004918 *_ICC11xASL_IPF_SLINK_FLAGS = /nologo
4919
4920##################
4921# EBC definitions
4922##################
4923*_ICC11xASL_EBC_*_FAMILY = INTEL
4924
4925*_ICC11xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4926*_ICC11xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
4927*_ICC11xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
4928*_ICC11xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
4929*_ICC11xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
4930*_ICC11xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
4931
4932*_ICC11xASL_EBC_MAKE_FLAGS = /nologo
4933*_ICC11xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4934*_ICC11xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4935*_ICC11xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4936*_ICC11xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00004937*_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 +00004938
4939
4940####################################################################################
4941#
4942# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
4943#
lgao4b36d1342011-09-18 12:17:25 +00004944# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
4945# 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)
4946# 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 +00004947# ASL - Intel ACPI Source Language Compiler
4948#
4949####################################################################################
4950# ICC11x86 - Intel C Compiler V11.1
4951*_ICC11x86_*_*_FAMILY = INTEL
4952
lgao4b36d1342011-09-18 12:17:25 +00004953*_ICC11x86_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
4954*_ICC11x86_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00004955
4956*_ICC11x86_*_MAKE_FLAGS = /nologo
4957*_ICC11x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4958*_ICC11x86_*_APP_FLAGS = /nologo /E /TC
4959*_ICC11x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
4960
lgao4b36d1342011-09-18 12:17:25 +00004961*_ICC11x86_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00004962
qhuang89053bc52010-06-28 09:33:10 +00004963##################
4964# ASL definitions
4965##################
4966*_ICC11x86_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
4967*_ICC11x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
4968*_ICC11x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
4969*_ICC11x86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
4970*_ICC11x86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
4971*_ICC11x86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
4972
4973##################
4974# IA32 definitions
4975##################
4976*_ICC11x86_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
4977*_ICC11x86_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
4978# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00004979*_ICC11x86_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00004980*_ICC11x86_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00004981*_ICC11x86_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4982*_ICC11x86_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4983*_ICC11x86_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00004984*_ICC11x86_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
4985*_ICC11x86_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00004986*_ICC11x86_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
4987*_ICC11x86_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
4988*_ICC11x86_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
4989
4990 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
4991RELEASE_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 +00004992NOOPT_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 +00004993 DEBUG_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
4994RELEASE_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00004995NOOPT_ICC11x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00004996 *_ICC11x86_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00004997 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
4998RELEASE_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
4999NOOPT_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 +00005000
5001##################
5002# X64 definitions
5003##################
5004*_ICC11x86_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
5005*_ICC11x86_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
5006# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005007*_ICC11x86_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00005008*_ICC11x86_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
5009*_ICC11x86_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5010*_ICC11x86_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5011*_ICC11x86_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5012*_ICC11x86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00005013*_ICC11x86_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00005014*_ICC11x86_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
5015*_ICC11x86_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5016*_ICC11x86_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
5017
5018 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
5019RELEASE_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 +00005020NOOPT_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 +00005021 DEBUG_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
5022RELEASE_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00005023NOOPT_ICC11x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
5024 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
5025RELEASE_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
5026NOOPT_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
5027
qhuang89053bc52010-06-28 09:33:10 +00005028 *_ICC11x86_X64_SLINK_FLAGS = /nologo /LTCG
5029
5030
5031##################
5032# IPF definitions
5033##################
5034*_ICC11x86_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
5035# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005036*_ICC11x86_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00005037*_ICC11x86_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
5038# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005039*_ICC11x86_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00005040*_ICC11x86_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
5041*_ICC11x86_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5042*_ICC11x86_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5043*_ICC11x86_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5044*_ICC11x86_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
5045*_ICC11x86_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
5046*_ICC11x86_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5047*_ICC11x86_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
5048
5049 DEBUG_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
5050RELEASE_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 +00005051NOOPT_ICC11x86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
5052
qhuang89053bc52010-06-28 09:33:10 +00005053 DEBUG_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
5054RELEASE_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00005055NOOPT_ICC11x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00005056 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
5057RELEASE_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 +00005058NOOPT_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
5059
qhuang89053bc52010-06-28 09:33:10 +00005060 *_ICC11x86_IPF_SLINK_FLAGS = /nologo
5061
5062##################
5063# EBC definitions
5064##################
5065*_ICC11x86_EBC_*_FAMILY = INTEL
5066
lgao4b36d1342011-09-18 12:17:25 +00005067*_ICC11x86_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00005068*_ICC11x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
5069*_ICC11x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
5070*_ICC11x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
5071*_ICC11x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
5072*_ICC11x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00005073
5074*_ICC11x86_EBC_MAKE_FLAGS = /nologo
5075*_ICC11x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
5076*_ICC11x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
5077*_ICC11x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
5078*_ICC11x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00005079*_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 +00005080
5081
5082####################################################################################
5083#
5084# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
5085#
lgao4b36d1342011-09-18 12:17:25 +00005086# IA32 - Intel(R) C++ Compiler for applications running on IA32 (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
5087# 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)
5088# 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 +00005089# ASL - Microsoft ACPI Source Language Compiler
5090#
5091####################################################################################
5092# ICC11x86xASL - Intel C Compiler V11.1
5093*_ICC11x86xASL_*_*_FAMILY = INTEL
5094
lgao4b36d1342011-09-18 12:17:25 +00005095*_ICC11x86xASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
5096*_ICC11x86xASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe
qhuang89053bc52010-06-28 09:33:10 +00005097
5098*_ICC11x86xASL_*_MAKE_FLAGS = /nologo
5099*_ICC11x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
5100*_ICC11x86xASL_*_APP_FLAGS = /nologo /E /TC
5101*_ICC11x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
5102
lgao4b36d1342011-09-18 12:17:25 +00005103*_ICC11x86xASL_*_ASM16_PATH = DEF(MS_VS_BIN)\ml.exe
qhuang814c48572010-07-21 02:46:15 +00005104
qhuang89053bc52010-06-28 09:33:10 +00005105##################
5106# ASL definitions
5107##################
5108*_ICC11x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)
5109*_ICC11x86xASL_*_ASL_FLAGS =
5110*_ICC11x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
5111*_ICC11x86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)
5112*_ICC11x86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)
5113*_ICC11x86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)
5114
5115##################
5116# IA32 definitions
5117##################
5118*_ICC11x86xASL_IA32_CC_PATH = DEF(ICC11_BIN32x86)\icl.exe
5119*_ICC11x86xASL_IA32_SLINK_PATH = DEF(ICC11_BIN32x86)\xilib.exe
5120# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005121*_ICC11x86xASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00005122*_ICC11x86xASL_IA32_DLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
qhuang89053bc52010-06-28 09:33:10 +00005123*_ICC11x86xASL_IA32_PP_PATH = DEF(ICC11_BIN32x86)\icl.exe
5124*_ICC11x86xASL_IA32_VFRPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
5125*_ICC11x86xASL_IA32_APP_PATH = DEF(ICC11_BIN32x86)\icl.exe
lgao4b36d1342011-09-18 12:17:25 +00005126*_ICC11x86xASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe
5127*_ICC11x86xASL_IA32_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00005128*_ICC11x86xASL_IA32_ASLCC_PATH = DEF(ICC11_BIN32x86)\icl.exe
5129*_ICC11x86xASL_IA32_ASLPP_PATH = DEF(ICC11_BIN32x86)\icl.exe
5130*_ICC11x86xASL_IA32_ASLDLINK_PATH = DEF(ICC11_BIN32x86)\xilink.exe
5131
5132 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
5133RELEASE_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 +00005134NOOPT_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
5135
qhuang89053bc52010-06-28 09:33:10 +00005136 DEBUG_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
5137RELEASE_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
lgao4b36d1342011-09-18 12:17:25 +00005138NOOPT_ICC11x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
qhuang89053bc52010-06-28 09:33:10 +00005139 *_ICC11x86xASL_IA32_SLINK_FLAGS = /nologo
lgao4b36d1342011-09-18 12:17:25 +00005140 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
5141RELEASE_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
5142NOOPT_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 +00005143
5144##################
5145# X64 definitions
5146##################
5147*_ICC11x86xASL_X64_CC_PATH = DEF(ICC11_BINX64x86)\icl.exe
5148*_ICC11x86xASL_X64_SLINK_PATH = DEF(ICC11_BINX64x86)\xilib.exe
5149# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005150*_ICC11x86xASL_X64_SLINK_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00005151*_ICC11x86xASL_X64_DLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
5152*_ICC11x86xASL_X64_PP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5153*_ICC11x86xASL_X64_VFRPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5154*_ICC11x86xASL_X64_APP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5155*_ICC11x86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
lgao4b36d1342011-09-18 12:17:25 +00005156*_ICC11x86xASL_X64_ASM_DLL = DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00005157*_ICC11x86xASL_X64_ASLCC_PATH = DEF(ICC11_BINX64x86)\icl.exe
5158*_ICC11x86xASL_X64_ASLPP_PATH = DEF(ICC11_BINX64x86)\icl.exe
5159*_ICC11x86xASL_X64_ASLDLINK_PATH = DEF(ICC11_BINX64x86)\xilink.exe
5160
5161 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
5162RELEASE_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 +00005163NOOPT_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
5164
qhuang89053bc52010-06-28 09:33:10 +00005165 DEBUG_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
5166RELEASE_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00005167NOOPT_ICC11x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
5168 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
5169RELEASE_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
5170NOOPT_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
5171
qhuang89053bc52010-06-28 09:33:10 +00005172 *_ICC11x86xASL_X64_SLINK_FLAGS = /nologo /LTCG
5173
5174
5175##################
5176# IPF definitions
5177##################
5178*_ICC11x86xASL_IPF_CC_PATH = DEF(ICC11_BIN64x86)\icl.exe
5179# icl.exe needs cl.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005180*_ICC11x86xASL_IPF_CC_DLL = DEF(MS_VS_BIN)
qhuang89053bc52010-06-28 09:33:10 +00005181*_ICC11x86xASL_IPF_SLINK_PATH = DEF(ICC11_BIN64x86)\xilib.exe
5182# xilib.exe needs lib.exe from Visual Studio
lgao4b36d1342011-09-18 12:17:25 +00005183*_ICC11x86xASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
qhuang89053bc52010-06-28 09:33:10 +00005184*_ICC11x86xASL_IPF_DLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
5185*_ICC11x86xASL_IPF_PP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5186*_ICC11x86xASL_IPF_VFRPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5187*_ICC11x86xASL_IPF_APP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5188*_ICC11x86xASL_IPF_ASM_PATH = DEF(ICC11_BIN64x86)\ias.exe
5189*_ICC11x86xASL_IPF_ASLCC_PATH = DEF(ICC11_BIN64x86)\icl.exe
5190*_ICC11x86xASL_IPF_ASLPP_PATH = DEF(ICC11_BIN64x86)\icl.exe
5191*_ICC11x86xASL_IPF_ASLDLINK_PATH = DEF(ICC11_BIN64x86)\xilink.exe
5192
5193 DEBUG_ICC11x86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
5194RELEASE_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 +00005195NOOPT_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 +00005196 DEBUG_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
5197RELEASE_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
lgao4b36d1342011-09-18 12:17:25 +00005198NOOPT_ICC11x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
lgao46780eef2010-11-15 02:51:34 +00005199 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
5200RELEASE_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 +00005201NOOPT_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 +00005202 *_ICC11x86xASL_IPF_SLINK_FLAGS = /nologo
5203
5204##################
5205# EBC definitions
5206##################
5207*_ICC11x86xASL_EBC_*_FAMILY = INTEL
5208
lgao4b36d1342011-09-18 12:17:25 +00005209*_ICC11x86xASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe
lgao46780eef2010-11-15 02:51:34 +00005210*_ICC11x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
5211*_ICC11x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
5212*_ICC11x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
5213*_ICC11x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe
5214*_ICC11x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe
qhuang89053bc52010-06-28 09:33:10 +00005215
5216*_ICC11x86xASL_EBC_MAKE_FLAGS = /nologo
5217*_ICC11x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
5218*_ICC11x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
5219*_ICC11x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
5220*_ICC11x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00005221*_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 +00005222
5223
5224####################################################################################
5225#
jljusten07a756b2007-10-17 01:54:36 +00005226# MYTOOLS
qhuang814c48572010-07-21 02:46:15 +00005227# IA32 - Microsoft Visual Studio 2008 Team Suite
5228# X64 - Microsoft Visual Studio 2008 Team Suite
jljusten07a756b2007-10-17 01:54:36 +00005229# IPF - Microsoft Windows DDK 3790.1830
5230# EBC - Intel EFI Byte Code Compiler
5231#
5232####################################################################################
5233# MYTOOLS - Settings compatible with previous versions of tools_def.template
5234*_MYTOOLS_*_*_FAMILY = MSFT
5235
eric_tian3b6c90a2009-04-13 12:50:50 +00005236##################
5237# ASL definitions
5238##################
lgao4a709adf2009-12-29 06:16:53 +00005239*_MYTOOLS_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
5240*_MYTOOLS_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
5241*_MYTOOLS_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
qhuang89053bc52010-06-28 09:33:10 +00005242*_MYTOOLS_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
5243*_MYTOOLS_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
5244*_MYTOOLS_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
eric_tian3b6c90a2009-04-13 12:50:50 +00005245
jljusten07a756b2007-10-17 01:54:36 +00005246
jwang3604e031d2007-10-31 09:07:31 +00005247*_MYTOOLS_*_MAKE_FLAGS = /nologo
lgao4abf1c3e2008-11-27 09:15:52 +00005248*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jwang3604e031d2007-10-31 09:07:31 +00005249*_MYTOOLS_*_APP_FLAGS = /nologo /E /TC
5250*_MYTOOLS_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
5251*_MYTOOLS_*_SLINK_FLAGS = /nologo /LTCG
jljusten07a756b2007-10-17 01:54:36 +00005252
qhuang814c48572010-07-21 02:46:15 +00005253*_MYTOOLS_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
5254
jljusten07a756b2007-10-17 01:54:36 +00005255##################
5256# IA32 definitions
5257##################
qhuang814c48572010-07-21 02:46:15 +00005258*_MYTOOLS_IA32_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00005259
qhuang814c48572010-07-21 02:46:15 +00005260*_MYTOOLS_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
5261*_MYTOOLS_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
5262*_MYTOOLS_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
5263*_MYTOOLS_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
5264*_MYTOOLS_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
5265*_MYTOOLS_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
5266*_MYTOOLS_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
5267*_MYTOOLS_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
5268*_MYTOOLS_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
5269*_MYTOOLS_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
5270*_MYTOOLS_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00005271*_MYTOOLS_IA32_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00005272
qhuang89053bc52010-06-28 09:33:10 +00005273 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
5274RELEASE_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 +00005275NOOPT_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 +00005276 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
5277RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00005278NOOPT_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
5279 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
5280RELEASE_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
5281NOOPT_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 +00005282
5283##################
5284# x64 definitions
5285##################
qhuang814c48572010-07-21 02:46:15 +00005286*_MYTOOLS_X64_*_DLL = DEF(VS2008_DLL)
jljusten07a756b2007-10-17 01:54:36 +00005287
qhuang814c48572010-07-21 02:46:15 +00005288*_MYTOOLS_X64_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
5289*_MYTOOLS_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
5290*_MYTOOLS_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
5291*_MYTOOLS_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
5292*_MYTOOLS_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
5293*_MYTOOLS_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
5294*_MYTOOLS_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
5295*_MYTOOLS_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
5296*_MYTOOLS_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
5297*_MYTOOLS_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
5298*_MYTOOLS_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
qhuang86310ffd2010-07-28 03:07:30 +00005299*_MYTOOLS_X64_RC_PATH = DEF(WINSDK_BIN)\rc.exe
jwang3604e031d2007-10-31 09:07:31 +00005300
qhuang89053bc52010-06-28 09:33:10 +00005301 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
5302RELEASE_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 +00005303NOOPT_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 +00005304 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
5305RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
lgao4b36d1342011-09-18 12:17:25 +00005306NOOPT_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
5307 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
5308RELEASE_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
5309NOOPT_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 +00005310
5311##################
5312# IPF definitions
5313##################
5314*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
5315*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
5316*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
5317*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
jljusten07a756b2007-10-17 01:54:36 +00005318*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
5319*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
5320*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
5321*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
lgao4a1c949f2008-08-21 13:11:01 +00005322*_MYTOOLS_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe
5323*_MYTOOLS_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe
5324*_MYTOOLS_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe
lgao4b303ea72009-11-09 11:47:35 +00005325*_MYTOOLS_IPF_RC_PATH = DEF(WINDDK_BIN32)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00005326
lgao4b303ea72009-11-09 11:47:35 +00005327 *_MYTOOLS_IPF_ASM_OUTPUT = "-o "
lgao44ee82542008-03-14 03:12:29 +00005328 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 +00005329RELEASE_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 +00005330NOOPT_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 +00005331 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
5332RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
lgao4b36d1342011-09-18 12:17:25 +00005333NOOPT_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
lgao46780eef2010-11-15 02:51:34 +00005334 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
5335RELEASE_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 +00005336NOOPT_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 +00005337 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
5338
5339##################
5340# EBC definitions
5341##################
5342*_MYTOOLS_EBC_*_FAMILY = INTEL
5343
lgao464137022010-12-06 05:17:09 +00005344*_MYTOOLS_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe
jljusten07a756b2007-10-17 01:54:36 +00005345*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
jwang36c0577802008-05-15 03:00:04 +00005346*_MYTOOLS_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
jljusten07a756b2007-10-17 01:54:36 +00005347*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
5348*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
5349*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
lgao464137022010-12-06 05:17:09 +00005350*_MYTOOLS_EBC_RC_PATH = DEF(VS2005_BIN)\rc.exe
jljusten07a756b2007-10-17 01:54:36 +00005351
5352*_MYTOOLS_EBC_MAKE_FLAGS = /nologo
5353*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
jwang361a974382008-11-28 06:11:32 +00005354*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
lgao4abf1c3e2008-11-27 09:15:52 +00005355*_MYTOOLS_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
jljusten07a756b2007-10-17 01:54:36 +00005356*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
lgao4d40b2ee2011-11-09 04:32:08 +00005357*_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 +00005358
vanjefffd171542009-09-11 03:14:43 +00005359
5360####################################################################################
5361#
5362# Xcode Support for building on Mac OS X (Snow Leopard)
5363#
5364####################################################################################
5365# XCODE32 - Xcode 3.2 Tools (Snow Leopard)
5366*_XCODE32_*_*_FAMILY = GCC
5367*_XCODE32_*_*_BUILDRULEFAMILY = XCODE
5368
5369
5370*_XCODE32_*_ASL_PATH = /usr/bin/iasl
5371
5372*_XCODE32_*_MAKE_PATH = make
5373
vanjefffd171542009-09-11 03:14:43 +00005374*_XCODE32_*_DSYMUTIL_PATH = /usr/bin/dsymutil
5375
lgao4a709adf2009-12-29 06:16:53 +00005376# This tool needs to be installed seperatly from Xcode 3.2
5377*_XCODE32_*_MTOC_PATH = /usr/local/bin/mtoc
5378
vanjefffd171542009-09-11 03:14:43 +00005379 DEBUG_XCODE32_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
lgao46780eef2010-11-15 02:51:34 +00005380RELEASE_XCODE32_*_MTOC_FLAGS = -align 0x20
vanjefffd171542009-09-11 03:14:43 +00005381
5382##################
5383# IA32 definitions
5384##################
5385*_XCODE32_IA32_CC_PATH = gcc
5386*_XCODE32_IA32_SLINK_PATH = libtool
5387*_XCODE32_IA32_DLINK_PATH = ld
5388*_XCODE32_IA32_ASM_PATH = as
5389*_XCODE32_IA32_PP_PATH = gcc
5390*_XCODE32_IA32_VFRPP_PATH = gcc
5391*_XCODE32_IA32_ASL_PATH = iasl
5392*_XCODE32_IA32_ASLCC_PATH = gcc
5393*_XCODE32_IA32_ASLPP_PATH = gcc
5394*_XCODE32_IA32_ASLDLINK_PATH = ld
5395
lgao4a709adf2009-12-29 06:16:53 +00005396 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
5397RELEASE_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 +00005398*_XCODE32_IA32_SLINK_FLAGS = -static -o
5399 DEBUG_XCODE32_IA32_ASM_FLAGS = -arch i386 -g
lgao46780eef2010-11-15 02:51:34 +00005400RELEASE_XCODE32_IA32_ASM_FLAGS = -arch i386
vanjefffd171542009-09-11 03:14:43 +00005401*_XCODE32_IA32_PP_FLAGS = -arch i386 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5402*_XCODE32_IA32_VFRPP_FLAGS = -arch i386 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5403 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
5404RELEASE_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
5405
5406*_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 +00005407*_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 +00005408*_XCODE32_IA32_ASLPP_FLAGS = -arch i386 -x c -E
vanjefffd171542009-09-11 03:14:43 +00005409*_XCODE32_IA32_ASL_FLAGS =
5410
5411##################
lgao46780eef2010-11-15 02:51:34 +00005412# X64 definitions - still a work in progress. This tool chain does not produce
vanjefffd171542009-09-11 03:14:43 +00005413# the correct ABI, it is just used to compile the code....
5414##################
lgao425918452012-05-23 08:27:14 +00005415*_XCODE32_X64_CC_PATH = gcc
vanjefffd171542009-09-11 03:14:43 +00005416*_XCODE32_X64_SLINK_PATH = libtool
5417*_XCODE32_X64_DLINK_PATH = ld
5418*_XCODE32_X64_ASM_PATH = as
lgao425918452012-05-23 08:27:14 +00005419*_XCODE32_X64_PP_PATH = gcc
5420*_XCODE32_X64_VFRPP_PATH = gcc
vanjefffd171542009-09-11 03:14:43 +00005421*_XCODE32_X64_ASL_PATH = iasl
5422*_XCODE32_X64_ASLCC_PATH = gcc
5423*_XCODE32_X64_ASLPP_PATH = gcc
5424*_XCODE32_X64_ASLDLINK_PATH = ld
5425
lgao4a709adf2009-12-29 06:16:53 +00005426*_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 +00005427*_XCODE32_X64_SLINK_FLAGS = -static -o
5428
5429 DEBUG_XCODE32_X64_ASM_FLAGS = -arch x86_64 -g
lgao46780eef2010-11-15 02:51:34 +00005430RELEASE_XCODE32_X64_ASM_FLAGS = -arch x86_64
vanjefffd171542009-09-11 03:14:43 +00005431*_XCODE32_X64_PP_FLAGS = -arch x86_64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5432*_XCODE32_X64_VFRPP_FLAGS = -arch x86_64 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5433
5434 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
5435RELEASE_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
5436
5437##################
lgao452302d42010-02-28 23:39:39 +00005438# ARM definitions - (Assumes iPhone SDK installed on Snow Leopard)
vanjefffd171542009-09-11 03:14:43 +00005439##################
5440
lgao452302d42010-02-28 23:39:39 +00005441*_XCODE32_ARM_ARCHCC_FLAGS = -arch armv7 -march=armv7 -mthumb
lgao46780eef2010-11-15 02:51:34 +00005442*_XCODE32_ARM_ARCHASM_FLAGS = -arch armv7
5443*_XCODE32_ARM_ARCHDLINK_FLAGS = -arch armv7
vanjefffd171542009-09-11 03:14:43 +00005444*_XCODE32_ARM_PLATFORM_FLAGS =
vanjefffd171542009-09-11 03:14:43 +00005445
5446*_XCODE32_ARM_CC_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
5447*_XCODE32_ARM_SLINK_PATH = DEF(IPHONE_TOOLS)/usr/bin/libtool
lgao452302d42010-02-28 23:39:39 +00005448*_XCODE32_ARM_DLINK_PATH = ld
vanjefffd171542009-09-11 03:14:43 +00005449*_XCODE32_ARM_ASM_PATH = DEF(IPHONE_TOOLS)/usr/bin/as
5450*_XCODE32_ARM_PP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
5451*_XCODE32_ARM_VFRPP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc
5452
lgao46780eef2010-11-15 02:51:34 +00005453 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
5454RELEASE_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 +00005455
5456*_XCODE32_ARM_SLINK_FLAGS = -static -o
5457
5458 DEBUG_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -g
lgao46780eef2010-11-15 02:51:34 +00005459RELEASE_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS)
vanjefffd171542009-09-11 03:14:43 +00005460*_XCODE32_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5461*_XCODE32_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5462
qhuang8e56468c2010-09-06 01:58:00 +00005463 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
5464RELEASE_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 +00005465
5466
5467####################################################################################
5468#
lgao4da92f272011-05-11 10:26:49 +00005469# Clang Support for building on Mac OS X
5470#
5471####################################################################################
5472# CLANG - clang that produce Mach-O with EFI x86_64 ABI
5473*_XCLANG_*_*_FAMILY = GCC
5474*_XCLANG_*_*_BUILDRULEFAMILY = XCODE
5475
5476*_XCLANG_*_ASL_PATH = /usr/bin/iasl
5477
5478*_XCLANG_*_MAKE_PATH = make
5479*_XCLANG_*_DSYMUTIL_PATH = /usr/bin/dsymutil
5480
5481 *_*_*_MTOC_PATH = /usr/local/bin/mtoc
5482
5483 DEBUG_XCLANG_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
5484RELEASE_XCLANG_*_MTOC_FLAGS = -align 0x20
5485
5486
5487*_XCLANG_*_CC_PATH = DEF(CLANG_BIN)clang
5488*_XCLANG_*_SLINK_PATH = libtool
5489*_XCLANG_*_DLINK_PATH = ld
5490*_XCLANG_*_ASM_PATH = as
5491*_XCLANG_*_PP_PATH = DEF(CLANG_BIN)clang
5492*_XCLANG_*_VFRPP_PATH = DEF(CLANG_BIN)clang
5493*_XCLANG_*_ASL_PATH = iasl
5494*_XCLANG_*_ASLCC_PATH = DEF(CLANG_BIN)clang
5495*_XCLANG_*_ASLPP_PATH = DEF(CLANG_BIN)clang
5496*_XCLANG_*_ASLDLINK_PATH = ld
5497
5498####################
5499# IA-32 definitions
5500####################
5501 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
5502RELEASE_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
5503*_XCLANG_IA32_SLINK_FLAGS = -static -o
5504 DEBUG_XCLANG_IA32_ASM_FLAGS = -arch i386 -g
5505RELEASE_XCLANG_IA32_ASM_FLAGS = -arch i386
5506
5507
lgao442342832011-08-26 07:46:26 +00005508 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
5509RELEASE_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 +00005510
5511
5512##################
5513# X64 definitions
5514##################
5515 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
5516RELEASE_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
5517*_XCLANG_X64_SLINK_FLAGS = -static -o
5518 DEBUG_XCLANG_X64_ASM_FLAGS = -arch x86_64 -g
5519RELEASE_XCLANG_X64_ASM_FLAGS = -arch x86_64
5520*_XCLANG_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5521*_XCLANG_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5522
5523
lgao442342832011-08-26 07:46:26 +00005524 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
5525RELEASE_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 +00005526*_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
5527*_XCLANG_*_ASLDLINK_FLAGS = -e _main -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5528*_XCLANG_*_ASLPP_FLAGS = -x c -E
5529*_XCLANG_*_ASL_FLAGS =
5530
lgao479b74a02011-10-11 02:49:48 +00005531####################################################################################
5532#
5533# RVCT Common
5534#
5535####################################################################################
5536
Liming Gao4afd3d02013-08-23 02:18:16 +00005537DEFINE RVCT_ALL_ASM_FLAGS = --diag_suppress=1786 --diag_error=warning --apcs /interwork
5538DEFINE 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_suppress=186 --diag_warning 167 --diag_error=warning --diag_style=ide
lgao479b74a02011-10-11 02:49:48 +00005539DEFINE 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 +00005540
5541####################################################################################
5542#
lgao479b74a02011-10-11 02:49:48 +00005543# ARM RealView Tools - Windows
vanjefffd171542009-09-11 03:14:43 +00005544#
5545####################################################################################
lgao479b74a02011-10-11 02:49:48 +00005546# RVCT - Tools from ARM
vanjefffd171542009-09-11 03:14:43 +00005547
lgao479b74a02011-10-11 02:49:48 +00005548*_RVCT_*_*_FAMILY = RVCT
vanjefffd171542009-09-11 03:14:43 +00005549
5550#
5551# Use default values, or override in DSC file
5552#
lgao479b74a02011-10-11 02:49:48 +00005553*_RVCT_ARM_ARCHCC_FLAGS = --thumb
5554*_RVCT_ARM_ARCHASM_FLAGS =
5555*_RVCT_ARM_ARCHDLINK_FLAGS =
5556*_RVCT_ARM_PLATFORM_FLAGS = --cpu 7-A
vanjefffd171542009-09-11 03:14:43 +00005557
lgao479b74a02011-10-11 02:49:48 +00005558 DEBUG_RVCT_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5559RELEASE_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 +00005560
5561
Liming Gao4afd3d02013-08-23 02:18:16 +00005562*_RVCT_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
lgao479b74a02011-10-11 02:49:48 +00005563*_RVCT_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
5564*_RVCT_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5565*_RVCT_ARM_MAKE_PATH = nmake /NOLOGO
5566*_RVCT_ARM_SLINK_FLAGS = --partial -o
5567 DEBUG_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
Liming Gao4afd3d02013-08-23 02:18:16 +00005568RELEASE_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
vanjefffd171542009-09-11 03:14:43 +00005569
5570##################
5571# ARM definitions
5572##################
lgao479b74a02011-10-11 02:49:48 +00005573*_RVCT_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
5574*_RVCT_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
5575*_RVCT_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
5576*_RVCT_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
5577*_RVCT_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
5578*_RVCT_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
5579*_RVCT_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
vanjefffd171542009-09-11 03:14:43 +00005580
5581####################################################################################
5582#
lgao479b74a02011-10-11 02:49:48 +00005583# ARM RealView Tools - Linux
5584#
5585####################################################################################
5586# RVCTLINUX - Tools from ARM in a Cygwin environment
5587*_RVCTLINUX_*_*_FAMILY = RVCT
5588*_RVCTLINUX_*_*_BUILDRULEFAMILY = RVCTLINUX
5589
Liming Gao4afd3d02013-08-23 02:18:16 +00005590*_RVCTLINUX_*_MAKE_PATH = make
5591
lgao479b74a02011-10-11 02:49:48 +00005592#
5593# Use default values, or override in DSC file
5594#
5595*_RVCTLINUX_ARM_ARCHCC_FLAGS = --thumb
5596*_RVCTLINUX_ARM_ARCHASM_FLAGS =
5597*_RVCTLINUX_ARM_ARCHDLINK_FLAGS =
5598*_RVCTLINUX_ARM_PLATFORM_FLAGS = --cpu 7-A
5599
5600DEBUG_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5601RELEASE_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5602
Liming Gao4afd3d02013-08-23 02:18:16 +00005603*_RVCTLINUX_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
lgao479b74a02011-10-11 02:49:48 +00005604*_RVCTLINUX_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
5605*_RVCTLINUX_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
lgao479b74a02011-10-11 02:49:48 +00005606*_RVCTLINUX_ARM_SLINK_FLAGS = --partial -o
5607 DEBUG_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
Liming Gao4afd3d02013-08-23 02:18:16 +00005608RELEASE_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
lgao479b74a02011-10-11 02:49:48 +00005609
5610##################
5611# ARM definitions
5612##################
5613*_RVCTLINUX_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
5614*_RVCTLINUX_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
5615*_RVCTLINUX_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
5616*_RVCTLINUX_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
5617*_RVCTLINUX_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
5618*_RVCTLINUX_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
5619*_RVCTLINUX_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
5620
5621####################################################################################
5622#
5623# ARM RealView Tools - Cygwin
vanjefffd171542009-09-11 03:14:43 +00005624#
5625####################################################################################
5626# ARMCYGWIN - Tools from ARM in a Cygwin environment
5627
lgao479b74a02011-10-11 02:49:48 +00005628*_RVCTCYGWIN_*_*_FAMILY = RVCT
5629*_RVCTCYGWIN_*_*_BUILDRULEFAMILY = RVCTCYGWIN
vanjefffd171542009-09-11 03:14:43 +00005630
lgao479b74a02011-10-11 02:49:48 +00005631*_RVCTCYGWIN_ARM_CCPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
5632*_RVCTCYGWIN_ARM_SLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
5633*_RVCTCYGWIN_ARM_DLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
5634*_RVCTCYGWIN_ARM_ASMPATH_FLAG = ENV(RVCT_TOOLS_PATH)armasm
5635*_RVCTCYGWIN_ARM_PPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
5636*_RVCTCYGWIN_ARM_VFRPPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
5637*_RVCTCYGWIN_ARM_FROMELFPATH_FLAG = ENV(RVCT_TOOLS_PATH)fromelf
vanjefffd171542009-09-11 03:14:43 +00005638
5639#
5640# Use default values, or override in DSC file
5641#
lgao479b74a02011-10-11 02:49:48 +00005642*_RVCTCYGWIN_ARM_ARCHCC_FLAGS = --thumb
5643*_RVCTCYGWIN_ARM_ARCHASM_FLAGS =
5644*_RVCTCYGWIN_ARM_ARCHDLINK_FLAGS =
5645*_RVCTCYGWIN_ARM_PLATFORM_FLAGS = --cpu 7-A
vanjefffd171542009-09-11 03:14:43 +00005646
lgao479b74a02011-10-11 02:49:48 +00005647 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`
5648RELEASE_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`
5649
Liming Gao4afd3d02013-08-23 02:18:16 +00005650*_RVCTCYGWIN_ARM_ASM_FLAGS = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
lgao479b74a02011-10-11 02:49:48 +00005651*_RVCTCYGWIN_ARM_PP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
5652*_RVCTCYGWIN_ARM_VFRPP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude `cygpath -m $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h`
5653*_RVCTCYGWIN_ARM_MAKE_PATH = make
5654*_RVCTCYGWIN_ARM_SLINK_FLAGS = "$(SLINKPATH_FLAG)" --partial -o
5655 DEBUG_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
Liming Gao4afd3d02013-08-23 02:18:16 +00005656RELEASE_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
vanjefffd171542009-09-11 03:14:43 +00005657
5658##################
5659# ARM definitions
5660##################
lgao479b74a02011-10-11 02:49:48 +00005661*_RVCTCYGWIN_ARM_CC_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
5662*_RVCTCYGWIN_ARM_SLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
5663*_RVCTCYGWIN_ARM_DLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
5664*_RVCTCYGWIN_ARM_ASM_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
5665*_RVCTCYGWIN_ARM_PP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
5666*_RVCTCYGWIN_ARM_VFRPP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
5667*_RVCTCYGWIN_ARM_FROMELF_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
vanjefffd171542009-09-11 03:14:43 +00005668
5669####################################################################################
5670#
lgao479b74a02011-10-11 02:49:48 +00005671# ARM EABI GCC (www.codesourcery.com)
vanjefffd171542009-09-11 03:14:43 +00005672#
5673####################################################################################
5674# ARMGCC - ARM version of the GCC cross compiler
5675
5676*_ARMGCC_*_*_FAMILY = GCC
lgao4636f2be2010-03-12 10:54:01 +00005677*_ARMGCC_*_*_BUILDRULEFAMILY = ARMGCC
5678
lgao442342832011-08-26 07:46:26 +00005679*_ARMGCC_*_MAKE_PATH = make
lgao4636f2be2010-03-12 10:54:01 +00005680*_ARMGCC_*_MAKE_FLAGS = --no-print-directory
vanjefffd171542009-09-11 03:14:43 +00005681
5682##################
5683# ASL definitions
5684##################
lgao479b74a02011-10-11 02:49:48 +00005685*_ARMGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
5686*_ARMGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
5687*_ARMGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
5688*_ARMGCC_*_ASLPP_FLAGS = -x c -E -P
5689*_ARMGCC_*_ASLCC_FLAGS = -x c
Gao, Liming2bc32562014-01-10 05:25:50 +00005690*_ARMGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry ReferenceAcpiTable
vanjefffd171542009-09-11 03:14:43 +00005691
5692##################
5693# ARM definitions
5694##################
5695
Liming Gao4afd3d02013-08-23 02:18:16 +00005696*_ARMGCC_ARM_ASLCC_PATH = ENV(CROSS_COMPILE)gcc
5697*_ARMGCC_ARM_ASLDLINK_PATH = ENV(CROSS_COMPILE)ld
5698*_ARMGCC_ARM_ASLPP_PATH = ENV(CROSS_COMPILE)gcc
vanjefffd171542009-09-11 03:14:43 +00005699
Liming Gao4afd3d02013-08-23 02:18:16 +00005700*_ARMGCC_ARM_CC_PATH = ENV(CROSS_COMPILE)gcc
5701*_ARMGCC_ARM_SLINK_PATH = ENV(CROSS_COMPILE)ar
5702*_ARMGCC_ARM_DLINK_PATH = ENV(CROSS_COMPILE)ld
5703*_ARMGCC_ARM_ASM_PATH = ENV(CROSS_COMPILE)as
5704*_ARMGCC_ARM_PP_PATH = ENV(CROSS_COMPILE)gcc
5705*_ARMGCC_ARM_VFRPP_PATH = ENV(CROSS_COMPILE)gcc
vanjefffd171542009-09-11 03:14:43 +00005706
5707#
5708# Use default values, or override in DSC file
5709#
lgao479b74a02011-10-11 02:49:48 +00005710*_ARMGCC_ARM_ARCHCC_FLAGS = -mthumb
5711*_ARMGCC_ARM_ARCHASM_FLAGS =
lgao46780eef2010-11-15 02:51:34 +00005712*_ARMGCC_ARM_ARCHDLINK_FLAGS =
lgao4636f2be2010-03-12 10:54:01 +00005713*_ARMGCC_ARM_PLATFORM_FLAGS = -march=armv7-a
vanjefffd171542009-09-11 03:14:43 +00005714
lgao479b74a02011-10-11 02:49:48 +00005715 DEBUG_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -g
5716RELEASE_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian
vanjefffd171542009-09-11 03:14:43 +00005717
lgao479b74a02011-10-11 02:49:48 +00005718*_ARMGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5719*_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 +00005720
lgao4636f2be2010-03-12 10:54:01 +00005721*_ARMGCC_ARM_SLINK_FLAGS = -rc
lgao42bcc7132011-11-25 06:21:03 +00005722*_ARMGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -Ttext=0x0 --oformat=elf32-littlearm --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
vanjefffd171542009-09-11 03:14:43 +00005723
Liming Gao4afd3d02013-08-23 02:18:16 +00005724 DEBUG_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_FLAGS) -O0
5725RELEASE_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_FLAGS) -Wno-unused
5726
5727######################
5728# AArch64 definitions
5729######################
5730# AARCH64 64bit ARM Bare-metal GCC (ARM Architecture 64)
5731
5732*_ARMGCC_AARCH64_ASLCC_PATH = ENV(CROSS_COMPILE)gcc
5733*_ARMGCC_AARCH64_ASLDLINK_PATH = ENV(CROSS_COMPILE)ld
5734*_ARMGCC_AARCH64_ASLPP_PATH = ENV(CROSS_COMPILE)gcc
5735
5736*_ARMGCC_AARCH64_CC_PATH = ENV(CROSS_COMPILE)gcc
5737*_ARMGCC_AARCH64_SLINK_PATH = ENV(CROSS_COMPILE)ar
5738*_ARMGCC_AARCH64_DLINK_PATH = ENV(CROSS_COMPILE)ld
5739*_ARMGCC_AARCH64_ASM_PATH = ENV(CROSS_COMPILE)as
5740*_ARMGCC_AARCH64_PP_PATH = ENV(CROSS_COMPILE)gcc
5741*_ARMGCC_AARCH64_VFRPP_PATH = ENV(CROSS_COMPILE)gcc
5742
5743#
5744# Use default values, or override in DSC file
5745#
5746*_ARMGCC_AARCH64_ARCHCC_FLAGS =
5747*_ARMGCC_AARCH64_ARCHASM_FLAGS =
5748*_ARMGCC_AARCH64_ARCHDLINK_FLAGS =
5749*_ARMGCC_AARCH64_PLATFORM_FLAGS =
5750
5751 DEBUG_ARMGCC_AARCH64_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -g
5752RELEASE_ARMGCC_AARCH64_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS)
5753
5754*_ARMGCC_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5755*_ARMGCC_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5756
5757*_ARMGCC_AARCH64_SLINK_FLAGS = -rc
5758*_ARMGCC_AARCH64_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -Ttext=0x0 --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5759
5760 DEBUG_ARMGCC_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -Wno-address -O0
5761RELEASE_ARMGCC_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
vanjefffd171542009-09-11 03:14:43 +00005762
lgao42bcc7132011-11-25 06:21:03 +00005763####################################################################################
5764#
5765# ARM GNU/Linux GCC
5766#
5767####################################################################################
5768# ARMLINUXGCC - ARM version of the GCC cross compiler
5769
5770*_ARMLINUXGCC_*_*_FAMILY = GCC
5771*_ARMLINUXGCC_*_*_BUILDRULEFAMILY = ARMLINUXGCC
5772
5773*_ARMLINUXGCC_*_MAKE_PATH = make
5774*_ARMLINUXGCC_*_MAKE_FLAGS = --no-print-directory
5775
5776##################
5777# ASL definitions
5778##################
5779*_ARMLINUXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)
5780*_ARMLINUXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
5781*_ARMLINUXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
5782*_ARMLINUXGCC_*_ASLPP_FLAGS = -x c -E -P
5783*_ARMLINUXGCC_*_ASLCC_FLAGS = -x c
Gao, Liming2bc32562014-01-10 05:25:50 +00005784*_ARMLINUXGCC_*_ASLDLINK_FLAGS = DEF(GCC_DLINK_FLAGS_COMMON) --entry ReferenceAcpiTable
lgao42bcc7132011-11-25 06:21:03 +00005785
5786##################
5787# ARM definitions
5788##################
5789
5790*_ARMLINUXGCC_ARM_ASLCC_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
5791*_ARMLINUXGCC_ARM_ASLDLINK_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-ld
5792*_ARMLINUXGCC_ARM_ASLPP_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
5793
5794*_ARMLINUXGCC_ARM_CC_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
5795*_ARMLINUXGCC_ARM_SLINK_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-ar
5796*_ARMLINUXGCC_ARM_DLINK_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-ld
5797*_ARMLINUXGCC_ARM_ASM_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-as
5798*_ARMLINUXGCC_ARM_PP_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
5799*_ARMLINUXGCC_ARM_VFRPP_PATH = ENV(ARMLINUXGCC_TOOLS_PATH)arm-linux-gnueabi-gcc
5800
5801#
5802# Use default values, or override in DSC file
5803#
5804*_ARMLINUXGCC_ARM_ARCHCC_FLAGS = -mthumb
5805*_ARMLINUXGCC_ARM_ARCHASM_FLAGS =
5806*_ARMLINUXGCC_ARM_ARCHDLINK_FLAGS =
5807*_ARMLINUXGCC_ARM_PLATFORM_FLAGS = -march=armv7-a
5808
5809 DEBUG_ARMLINUXGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian -g
5810RELEASE_ARMLINUXGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -mlittle-endian
5811
5812*_ARMLINUXGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5813*_ARMLINUXGCC_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5814
5815*_ARMLINUXGCC_ARM_SLINK_FLAGS = -rc
lgao49508d0f2011-12-16 08:52:13 +00005816*_ARMLINUXGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -Ttext=0x0 --oformat=elf32-littlearm --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
lgao42bcc7132011-11-25 06:21:03 +00005817
Liming Gao4afd3d02013-08-23 02:18:16 +00005818 DEBUG_ARMLINUXGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_FLAGS) -fno-stack-protector -mno-unaligned-access -O0
5819RELEASE_ARMLINUXGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_FLAGS) -fno-stack-protector -mno-unaligned-access -Wno-unused-but-set-variable
5820
5821######################
5822# AArch64 definitions
5823######################
5824# AARCH64 64bit ARM GNU/Linux GCC (ARM Architecture 64)
5825
5826*_ARMLINUXGCC_AARCH64_ASLCC_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-gcc
5827*_ARMLINUXGCC_AARCH64_ASLDLINK_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-ld
5828*_ARMLINUXGCC_AARCH64_ASLPP_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-gcc
5829
5830*_ARMLINUXGCC_AARCH64_CC_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-gcc
5831*_ARMLINUXGCC_AARCH64_SLINK_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-ar
5832*_ARMLINUXGCC_AARCH64_DLINK_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-ld
5833*_ARMLINUXGCC_AARCH64_ASM_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-as
5834*_ARMLINUXGCC_AARCH64_PP_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-gcc
5835*_ARMLINUXGCC_AARCH64_VFRPP_PATH = ENV(AARCH64LINUXGCC_TOOLS_PATH)aarch64-linux-gnu-gcc
5836
5837#
5838# Use default values, or override in DSC file
5839#
5840*_ARMLINUXGCC_AARCH64_ARCHCC_FLAGS =
5841*_ARMLINUXGCC_AARCH64_ARCHASM_FLAGS =
5842*_ARMLINUXGCC_AARCH64_ARCHDLINK_FLAGS =
5843*_ARMLINUXGCC_AARCH64_PLATFORM_FLAGS =
5844
5845 DEBUG_ARMLINUXGCC_AARCH64_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -g
5846RELEASE_ARMLINUXGCC_AARCH64_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS)
5847
5848*_ARMLINUXGCC_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5849*_ARMLINUXGCC_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5850
5851*_ARMLINUXGCC_AARCH64_SLINK_FLAGS = -rc
5852*_ARMLINUXGCC_AARCH64_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -Ttext=0x0 --emit-relocs -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5853
5854 DEBUG_ARMLINUXGCC_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -Wno-address -O0
5855RELEASE_ARMLINUXGCC_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
lgao42bcc7132011-11-25 06:21:03 +00005856
qhuang814c48572010-07-21 02:46:15 +00005857#################
5858# ASM 16 linker defintions
5859#################
5860*_*_*_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe
5861*_*_*_ASMLINK_FLAGS = /nologo /tiny
vanjefffd171542009-09-11 03:14:43 +00005862
lgao430962c72008-08-07 03:29:10 +00005863##################
5864# VfrCompiler definitions
5865##################
lgao4bdf37b32008-08-10 03:56:03 +00005866*_*_*_VFR_PATH = VfrCompile
lgao430962c72008-08-07 03:29:10 +00005867*_*_*_VFR_FLAGS = -l -n
lgao4a1c949f2008-08-21 13:11:01 +00005868
5869##################
jwang3615543342009-05-03 06:40:59 +00005870# OptionRom tool definitions
5871##################
5872*_*_*_OPTROM_PATH = EfiRom
5873*_*_*_OPTROM_FLAGS = -e
5874
5875##################
qhuang8e56468c2010-09-06 01:58:00 +00005876# GenFw tool definitions
5877##################
5878*_*_*_GENFW_PATH = GenFw
lgao46780eef2010-11-15 02:51:34 +00005879*_*_*_GENFW_FLAGS =
qhuang8e56468c2010-09-06 01:58:00 +00005880
5881##################
lgao4a1c949f2008-08-21 13:11:01 +00005882# Asl Compiler definitions
5883##################
lgao46780eef2010-11-15 02:51:34 +00005884*_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
lgao4da92f272011-05-11 10:26:49 +00005885*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
lgao4a1c949f2008-08-21 13:11:01 +00005886*_*_*_ASLPP_FLAGS = /nologo /EP /C
5887*_*_*_ASL_FLAGS =
lgao4abf1c3e2008-11-27 09:15:52 +00005888
lgao42895c502009-01-08 08:46:46 +00005889##################
lgao442342832011-08-26 07:46:26 +00005890# GenCrc32 tool definitions
5891##################
5892*_*_*_CRC32_PATH = GenCrc32
5893*_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
5894
5895##################
jljustenc470d832009-05-01 06:45:01 +00005896# LzmaCompress tool definitions
lgao42895c502009-01-08 08:46:46 +00005897##################
jljustenc470d832009-05-01 06:45:01 +00005898*_*_*_LZMA_PATH = LzmaCompress
5899*_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
5900
5901##################
lgao464b26092012-04-10 07:18:20 +00005902# LzmaF86Compress tool definitions with converter for x86 code.
5903# It can improve the compression ratio if the input file is IA32 or X64 PE image.
5904# Notes: If X64 PE image is built based on GCC44, it may not get the better compression.
5905##################
5906*_*_*_LZMAF86_PATH = LzmaF86Compress
5907*_*_*_LZMAF86_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
5908
5909##################
jljustenc470d832009-05-01 06:45:01 +00005910# TianoCompress tool definitions
5911##################
5912*_*_*_TIANO_PATH = TianoCompress
5913*_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
eric_tian3b6c90a2009-04-13 12:50:50 +00005914
qhuang8e56468c2010-09-06 01:58:00 +00005915##################
5916# BPDG tool definitions
5917##################
5918*_*_*_VPDTOOL_PATH = BPDG
5919*_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08