• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2#  Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
3#  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4#  Portions copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
5#  Copyright (c) 2015, Hewlett-Packard Development Company, L.P.<BR>
6#  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
7#
8#  This program and the accompanying materials
9#  are licensed and made available under the terms and conditions of the BSD License
10#  which accompanies this distribution.  The full text of the license may be found at
11#  http://opensource.org/licenses/bsd-license.php
12#
13#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16
17IDENTIFIER = Default TOOL_CHAIN_CONF
18
19# common path macros
20DEFINE VS2003_BIN       = ENV(VS2003_PREFIX)Vc7\bin
21DEFINE VS2003_DLL       = ENV(VS2003_PREFIX)Common7\IDE
22
23DEFINE VS2005_BIN       = ENV(VS2005_PREFIX)Vc\bin
24DEFINE VS2005_DLL       = ENV(VS2005_PREFIX)Common7\IDE;DEF(VS2005_BIN)
25DEFINE VS2005_BINX64    = DEF(VS2005_BIN)\x86_amd64
26DEFINE VS2005_BIN64     = DEF(VS2005_BIN)\x86_ia64
27
28DEFINE VS2005x86_BIN    = ENV(VS2005_PREFIX)Vc\bin
29DEFINE VS2005x86_DLL    = ENV(VS2005_PREFIX)Common7\IDE;DEF(VS2005x86_BIN)
30DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64
31DEFINE VS2005x86_BIN64  = DEF(VS2005x86_BIN)\x86_ia64
32
33DEFINE VS2008_BIN      = ENV(VS2008_PREFIX)Vc\bin
34DEFINE VS2008_DLL      = ENV(VS2008_PREFIX)Common7\IDE;DEF(VS2008_BIN)
35DEFINE VS2008_BINX64   = DEF(VS2008_BIN)\x86_amd64
36DEFINE VS2008_BIN64    = DEF(VS2008_BIN)\x86_ia64
37
38DEFINE VS2008x86_BIN    = ENV(VS2008_PREFIX)Vc\bin
39DEFINE VS2008x86_DLL    = ENV(VS2008_PREFIX)Common7\IDE;DEF(VS2008x86_BIN)
40DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64
41DEFINE VS2008x86_BIN64  = DEF(VS2008x86_BIN)\x86_ia64
42
43DEFINE VS2010_BIN      = ENV(VS2010_PREFIX)Vc\bin
44DEFINE VS2010_DLL      = ENV(VS2010_PREFIX)Common7\IDE;DEF(VS2010_BIN)
45DEFINE VS2010_BINX64   = DEF(VS2010_BIN)\x86_amd64
46DEFINE VS2010_BIN64    = DEF(VS2010_BIN)\x86_ia64
47
48DEFINE VS2010x86_BIN    = ENV(VS2010_PREFIX)Vc\bin
49DEFINE VS2010x86_DLL    = ENV(VS2010_PREFIX)Common7\IDE;DEF(VS2010x86_BIN)
50DEFINE VS2010x86_BINX64 = DEF(VS2010x86_BIN)\x86_amd64
51DEFINE VS2010x86_BIN64  = DEF(VS2010x86_BIN)\x86_ia64
52
53DEFINE VS2012_BIN      = ENV(VS2012_PREFIX)Vc\bin
54DEFINE VS2012_DLL      = ENV(VS2012_PREFIX)Common7\IDE;DEF(VS2012_BIN)
55DEFINE VS2012_BINX64   = DEF(VS2012_BIN)\x86_amd64
56
57DEFINE VS2012x86_BIN    = ENV(VS2012_PREFIX)Vc\bin
58DEFINE VS2012x86_DLL    = ENV(VS2012_PREFIX)Common7\IDE;DEF(VS2012x86_BIN)
59DEFINE VS2012x86_BINX64 = DEF(VS2012x86_BIN)\x86_amd64
60
61DEFINE VS2013_BIN      = ENV(VS2013_PREFIX)Vc\bin
62DEFINE VS2013_DLL      = ENV(VS2013_PREFIX)Common7\IDE;DEF(VS2013_BIN)
63DEFINE VS2013_BINX64   = DEF(VS2013_BIN)\x86_amd64
64
65DEFINE VS2013x86_BIN    = ENV(VS2013_PREFIX)Vc\bin
66DEFINE VS2013x86_DLL    = ENV(VS2013_PREFIX)Common7\IDE;DEF(VS2013x86_BIN)
67DEFINE VS2013x86_BINX64 = DEF(VS2013x86_BIN)\x86_amd64
68
69DEFINE VS2015_BIN      = ENV(VS2015_PREFIX)Vc\bin
70DEFINE VS2015_DLL      = ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015_BIN)
71DEFINE VS2015_BINX64   = DEF(VS2015_BIN)\x86_amd64
72
73DEFINE VS2015x86_BIN    = ENV(VS2015_PREFIX)Vc\bin
74DEFINE VS2015x86_DLL    = ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015x86_BIN)
75DEFINE VS2015x86_BINX64 = DEF(VS2015x86_BIN)\x86_amd64
76
77DEFINE WINSDK_BIN       = ENV(WINSDK_PREFIX)
78DEFINE WINSDKx86_BIN    = ENV(WINSDKx86_PREFIX)
79
80# Microsoft Visual Studio 2010
81DEFINE WINSDK7_BIN       = ENV(WINSDK7_PREFIX)
82DEFINE WINSDK7x86_BIN    = ENV(WINSDK7x86_PREFIX)
83
84# Microsoft Visual Studio 2012 Update 1 (required for rc.exe that was not included in the initial release)
85DEFINE WINSDK71_BIN       = ENV(WINSDK71_PREFIX)
86DEFINE WINSDK71x86_BIN    = ENV(WINSDK71x86_PREFIX)
87
88# Microsoft Visual Studio 2013 Professional Edition
89DEFINE WINSDK8_BIN       = ENV(WINSDK8_PREFIX)x86\
90DEFINE WINSDK8x86_BIN    = ENV(WINSDK8x86_PREFIX)x64
91
92# Microsoft Visual Studio 2015 Professional Edition
93DEFINE WINSDK81_BIN       = ENV(WINSDK81_PREFIX)x86\
94DEFINE WINSDK81x86_BIN    = ENV(WINSDK81x86_PREFIX)x64
95
96# These defines are needed for certain Microsoft Visual Studio tools that
97# are used by other toolchains.  An example is that ICC on Windows normally
98# uses Microsoft's nmake.exe.
99
100# Some MS_VS_BIN options: DEF(VS2003_BIN), DEF(VS2005_BIN), DEF(VS2005x86_BIN), DEF(VS2008_BIN), DEF(VS2008x86_BIN)
101DEFINE MS_VS_BIN   = DEF(VS2005_BIN)
102# Some MS_VS_DLL options: DEF(VS2003_DLL), DEF(VS2005_DLL), DEF(VS2005x86_DLL), DEF(VS2008_DLL), DEF(VS2008x86_DLL)
103DEFINE MS_VS_DLL   = DEF(VS2005_DLL)
104
105DEFINE WINDDK_BIN16     = ENV(WINDDK3790_PREFIX)bin16
106DEFINE WINDDK_BIN32     = ENV(WINDDK3790_PREFIX)x86
107DEFINE WINDDK_BINX64    = ENV(WINDDK3790_PREFIX)win64\x86\amd64
108DEFINE WINDDK_BIN64     = ENV(WINDDK3790_PREFIX)win64\x86
109
110# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler
111#        tool chains for the linker and nmake commands.
112#        This configuration assumes a Windows 2003 Server DDK installation.
113DEFINE ICC_VERSION      = 9.1
114#DEFINE ICC_VERSION     = 10.1.021
115DEFINE ICC_BIN32        = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
116DEFINE ICC_ASM32        = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
117DEFINE ICC_BIN32x86     = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
118DEFINE ICC_ASM32x86     = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin
119
120DEFINE ICC_BINX64       = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
121DEFINE ICC_ASMX64       = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
122DEFINE ICC_BINX64x86    = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
123DEFINE ICC_ASMX64x86    = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin
124
125DEFINE ICC_BIN64        = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
126DEFINE ICC_BIN64x86     = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin
127
128
129# Note: The Intel C++ Compiler 11.1 uses different installation path from previous versions
130#       We use "ICC11" tag for ICC 11.1 while "ICC" tag is dedicated for eariler versions
131#
132DEFINE ICC11_VERSION      = 11.1
133DEFINE ICC11_BUILD        = 072
134DEFINE ICC11_BIN32        = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
135DEFINE ICC11_ASM32        = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
136DEFINE ICC11_BIN32x86     = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
137DEFINE ICC11_ASM32x86     = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32
138
139DEFINE ICC11_BINX64       = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
140DEFINE ICC11_ASMX64       = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_intel64
141DEFINE ICC11_BINX64x86    = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
142DEFINE ICC11_ASMX64x86    = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\intel64
143
144DEFINE ICC11_BIN64        = C:\Program Files\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
145DEFINE ICC11_BIN64x86     = C:\Program Files (x86)\Intel\Compiler\DEF(ICC11_VERSION)\DEF(ICC11_BUILD)\bin\ia32_ia64
146
147DEFINE EBC_BIN          = C:\Program Files\Intel\EBC\Bin
148DEFINE EBC_BINx86       = C:\Program Files (x86)\Intel\EBC\Bin
149
150DEFINE ELFGCC_BIN       = /usr/bin
151
152#
153# Option 1: Hard coded full path to compiler suite
154DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
155DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
156DEFINE UNIXGCC_IPF_PETOOLS_PREFIX  = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin/
157#
158# Option 2: Use an environment variable
159#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)
160#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(X64_PETOOLS_PREFIX)
161#
162# Option 3: Install the compiler suite into your default paths
163#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-
164#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = x86_64-pc-mingw32-
165#
166# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory
167# Links needed: gcc, ar & ld
168#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/
169#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/
170#
171# Option 5: Install programs under user's home directory
172#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-
173#DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-
174#
175
176DEFINE CYGWIN_BIN              = c:/cygwin/bin
177DEFINE CYGWIN_BINIA32          = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
178DEFINE CYGWIN_BINX64           = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
179DEFINE CYGWIN_BINIPF           = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-
180
181DEFINE GCC44_IA32_PREFIX       = ENV(GCC44_BIN)
182DEFINE GCC44_X64_PREFIX        = ENV(GCC44_BIN)
183
184DEFINE GCC45_IA32_PREFIX       = ENV(GCC45_BIN)
185DEFINE GCC45_X64_PREFIX        = ENV(GCC45_BIN)
186
187DEFINE GCC46_IA32_PREFIX       = ENV(GCC46_BIN)
188DEFINE GCC46_X64_PREFIX        = ENV(GCC46_BIN)
189
190DEFINE GCC47_IA32_PREFIX       = ENV(GCC47_BIN)
191DEFINE GCC47_X64_PREFIX        = ENV(GCC47_BIN)
192
193DEFINE GCC48_IA32_PREFIX       = ENV(GCC48_BIN)
194DEFINE GCC48_X64_PREFIX        = ENV(GCC48_BIN)
195
196DEFINE GCC49_IA32_PREFIX       = ENV(GCC49_BIN)
197DEFINE GCC49_X64_PREFIX        = ENV(GCC49_BIN)
198
199DEFINE GCC5_IA32_PREFIX        = ENV(GCC5_BIN)
200DEFINE GCC5_X64_PREFIX         = ENV(GCC5_BIN)
201
202DEFINE UNIX_IASL_BIN           = ENV(IASL_PREFIX)iasl
203DEFINE WIN_IASL_BIN            = ENV(IASL_PREFIX)iasl.exe
204DEFINE WIN_ASL_BIN             = ENV(IASL_PREFIX)asl.exe
205
206DEFINE IASL_FLAGS              =
207DEFINE IASL_OUTFLAGS           = -p
208DEFINE MS_ASL_OUTFLAGS         = /Fo=
209DEFINE MS_ASL_FLAGS            =
210
211DEFINE DEFAULT_WIN_ASL_BIN      = DEF(WIN_IASL_BIN)
212DEFINE DEFAULT_WIN_ASL_FLAGS    = DEF(IASL_FLAGS)
213DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
214#DEFINE DEFAULT_WIN_ASL_BIN      = DEF(WIN_ASL_BIN)
215#DEFINE DEFAULT_WIN_ASL_FLAGS    = DEF(MS_ASL_FLAGS)
216#DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)
217
218DEFINE MSFT_ASLPP_FLAGS        = /nologo /E /C /FIAutoGen.h
219DEFINE MSFT_ASLCC_FLAGS        = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
220DEFINE MSFT_ASLDLINK_FLAGS     = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
221
222DEFINE ICC_WIN_ASLPP_FLAGS     = /nologo /E /C /FIAutoGen.h
223DEFINE ICC_WIN_ASLCC_FLAGS     = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
224DEFINE ICC_WIN_ASLDLINK_FLAGS  = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc
225
226DEFINE IPHONE_TOOLS            = /Developer/Platforms/iPhoneOS.platform/Developer
227
228DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin
229
230DEFINE DTC_BIN                 = ENV(DTC_PREFIX)dtc
231
232####################################################################################
233#
234# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
235# priority:
236#         TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
237#         ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
238#         TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
239#         ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
240#         TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
241#         ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
242#         TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
243#         ******_*********_****_COMMANDTYPE_ATTRIBUTE
244#         TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
245#         ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
246#         TARGET_*********_ARCH_***********_ATTRIBUTE
247#         ******_*********_ARCH_***********_ATTRIBUTE
248#         TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
249#         ******_TOOLCHAIN_****_***********_ATTRIBUTE
250#         TARGET_*********_****_***********_ATTRIBUTE
251#         ******_*********_****_***********_ATTRIBUTE (Lowest)
252#
253####################################################################################
254####################################################################################
255#
256# Supported Tool Chains
257# =====================
258#   VS2003      -win32-  Requires:
259#                             Microsoft Visual Studio .NET 2003
260#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
261#                        Optional:
262#                             Required to build EBC drivers:
263#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
264#                             Required to build platforms or ACPI tables:
265#                               Intel(r) ACPI Compiler (iasl.exe) from
266#                               https://acpica.org/downloads
267#   VS2005      -win32-  Requires:
268#                             Microsoft Visual Studio 2005 Team Suite Edition
269#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
270#                        Optional:
271#                             Required to build EBC drivers:
272#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
273#                             Required to build platforms or ACPI tables:
274#                               Intel(r) ACPI Compiler (iasl.exe) from
275#                               https://acpica.org/downloads
276#   VS2008      -win32-  Requires:
277#                             Microsoft Visual Studio 2008 Team Suite Edition
278#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
279#                        Optional:
280#                             Required to build EBC drivers:
281#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
282#                             Required to build platforms or ACPI tables:
283#                               Intel(r) ACPI Compiler (iasl.exe) from
284#                               https://acpica.org/downloads
285#   VS2010      -win32-  Requires:
286#                             Microsoft Visual Studio 2010 Premium Edition
287#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
288#                        Optional:
289#                             Required to build EBC drivers:
290#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
291#                             Required to build platforms or ACPI tables:
292#                               Intel(r) ACPI Compiler (iasl.exe) from
293#                               https://acpica.org/downloads
294#   VS2012      -win32-  Requires:
295#                             Microsoft Visual Studio 2012 Professional Edition
296#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
297#                        Optional:
298#                             Required to build EBC drivers:
299#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
300#                             Required to build platforms or ACPI tables:
301#                               Intel(r) ACPI Compiler (iasl.exe) from
302#                               https://acpica.org/downloads
303#   VS2013      -win32-  Requires:
304#                             Microsoft Visual Studio 2013 Professional Edition
305#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
306#                        Optional:
307#                             Required to build EBC drivers:
308#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
309#                             Required to build platforms or ACPI tables:
310#                               Intel(r) ACPI Compiler (iasl.exe) from
311#                               https://acpica.org/downloads
312#   VS2015      -win32-  Requires:
313#                             Microsoft Visual Studio 2015 Professional Edition
314#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
315#                        Optional:
316#                             Required to build EBC drivers:
317#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
318#                             Required to build platforms or ACPI tables:
319#                               Intel(r) ACPI Compiler (iasl.exe) from
320#                               https://acpica.org/downloads
321#   DDK3790     -win32-  Requires:
322#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
323#                        Optional:
324#                             Required to build EBC drivers:
325#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
326#                             Required to build platforms or ACPI tables:
327#                               Intel(r) ACPI Compiler (iasl.exe) from
328#                               https://acpica.org/downloads
329#   UNIXGCC     -UNIX-   Requires:
330#                             GCC 4.3.0
331#                             binutils 2.20.51.0.5
332#                        Optional:
333#                             Required to build platforms or ACPI tables:
334#                               Intel(r) ACPI Compiler from
335#                               https://acpica.org/downloads
336#   GCC44       -Linux,Windows-  Requires:
337#                             GCC 4.4 targeting x86_64-linux-gnu
338#                        Optional:
339#                             Required to build platforms or ACPI tables:
340#                               Intel(r) ACPI Compiler from
341#                               https://acpica.org/downloads
342#   GCC45       -Linux,Windows-  Requires:
343#                             GCC 4.5 targeting x86_64-linux-gnu
344#                        Optional:
345#                             Required to build platforms or ACPI tables:
346#                               Intel(r) ACPI Compiler from
347#                               https://acpica.org/downloads
348#   GCC46       -Linux,Windows-  Requires:
349#                             GCC 4.6 targeting x86_64-linux-gnu or arm-linux-gnueabi
350#                        Optional:
351#                             Required to build platforms or ACPI tables:
352#                               Intel(r) ACPI Compiler from
353#                               https://acpica.org/downloads
354#   GCC47       -Linux,Windows-  Requires:
355#                             GCC 4.7 targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
356#                        Optional:
357#                             Required to build platforms or ACPI tables:
358#                               Intel(r) ACPI Compiler from
359#                               https://acpica.org/downloads
360#   GCC48       -Linux,Windows-  Requires:
361#                             GCC 4.8 targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
362#                        Optional:
363#                             Required to build platforms or ACPI tables:
364#                               Intel(r) ACPI Compiler from
365#                               https://acpica.org/downloads
366#   GCC49       -Linux,Windows-  Requires:
367#                             GCC 4.9 targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
368#                        Optional:
369#                             Required to build platforms or ACPI tables:
370#                               Intel(r) ACPI Compiler from
371#                               https://acpica.org/downloads
372#   GCC5        -Linux,Windows-  Requires:
373#                             GCC 5 with LTO support, targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
374#                        Optional:
375#                             Required to build platforms or ACPI tables:
376#                               Intel(r) ACPI Compiler from
377#                               https://acpica.org/downloads
378#   CLANG35     -Linux,Windows-  Requires:
379#                             Clang v3.5 or later, and GNU binutils targeting aarch64-linux-gnu or arm-linux-gnueabi
380#                        Optional:
381#                             Required to build platforms or ACPI tables:
382#                               Intel(r) ACPI Compiler from
383#                               https://acpica.org/downloads
384#   CLANG38  -Linux-  Requires:
385#                             Clang v3.8, LLVMgold plugin and GNU binutils 2.26 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi
386#                             Clang v3.9 or later, LLVMgold plugin and GNU binutils 2.28 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi
387#                        Optional:
388#                             Required to build platforms or ACPI tables:
389#                               Intel(r) ACPI Compiler from
390#                               https://acpica.org/downloads
391#   ELFGCC      -Linux-  Requires:
392#                             GCC(this tool chain uses whatever version of gcc and binutils that is installed in /usr/bin)
393#                        Optional:
394#                             Required to build platforms or ACPI tables:
395#                               Intel(r) ACPI Compiler from
396#                               https://acpica.org/downloads
397#   CYGGCC      -win32-  Requires:
398#                             CygWin, GCC 4.3.0, binutils 2.20.51.0.5
399#                             Microsoft Visual Studio 2005 or 2008
400#                        Optional:
401#                             Required to build EBC drivers:
402#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
403#                             Required to build platforms or ACPI tables:
404#                               Intel(r) ACPI Compiler (iasl.exe) from
405#                               https://acpica.org/downloads
406#   ICC         -win32-  Requires:
407#                             Intel C Compiler V9.1
408#                        Dependencies:
409#                             Microsoft Visual Studio 2003 or 2005
410#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
411#                             version 3790.1830 for X64 target architectures
412#                        Optional:
413#                             Required to build EBC drivers:
414#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
415#                             Required to build platforms or ACPI tables:
416#                               Intel(r) ACPI Compiler (iasl.exe) from
417#                               https://acpica.org/downloads
418#   ICC11       -win32-  Requires:
419#                             Intel C Compiler V11.1
420#                        Dependencies:
421#                             Microsoft Visual Studio 2005 or 2008
422#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
423#                             version 3790.1830 for X64 target architectures
424#                        Optional:
425#                             Required to build EBC drivers:
426#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
427#                             Required to build platforms or ACPI tables:
428#                               Intel(r) ACPI Compiler (iasl.exe) from
429#                               https://acpica.org/downloads
430#   MYTOOLS     -win32-  Requires:
431#                             Microsoft Visual Studio 2008 for IA32/X64
432#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830 for IPF
433#                        Optional:
434#                             Required to build EBC drivers:
435#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
436#                             Required to build platforms or ACPI tables:
437#                               Intel(r) ACPI Compiler (iasl.exe) from
438#                               https://acpica.org/downloads
439#   VS2003xASL  -win32-  Requires:
440#                             Microsoft Visual Studio .NET 2003
441#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
442#                        Optional:
443#                             Required to build EBC drivers:
444#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
445#                             Required to build platforms or ACPI tables:
446#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
447#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
448#   VS2005xASL  -win32-  Requires:
449#                             Microsoft Visual Studio 2005 Team Suite Edition
450#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
451#                        Optional:
452#                             Required to build EBC drivers:
453#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
454#                             Required to build platforms or ACPI tables:
455#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
456#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
457#   VS2008xASL  -win32-  Requires:
458#                             Microsoft Visual Studio 2008 Team Suite
459#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
460#                        Optional:
461#                             Required to build EBC drivers:
462#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
463#                             Required to build platforms or ACPI tables:
464#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
465#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
466#   VS2010xASL  -win32-  Requires:
467#                             Microsoft Visual Studio 2010 Premium Edition
468#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
469#                        Optional:
470#                             Required to build EBC drivers:
471#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
472#                             Required to build platforms or ACPI tables:
473#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
474#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
475#   VS2012xASL  -win32-  Requires:
476#                             Microsoft Visual Studio 2012 Professional Edition
477#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
478#                        Optional:
479#                             Required to build EBC drivers:
480#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
481#                             Required to build platforms or ACPI tables:
482#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
483#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
484#   VS2013xASL  -win32-  Requires:
485#                             Microsoft Visual Studio 2013 Professional Edition
486#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
487#                        Optional:
488#                             Required to build EBC drivers:
489#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
490#                             Required to build platforms or ACPI tables:
491#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
492#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
493#   VS2015xASL  -win32-  Requires:
494#                             Microsoft Visual Studio 2015 Professional Edition
495#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
496#                        Optional:
497#                             Required to build EBC drivers:
498#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
499#                             Required to build platforms or ACPI tables:
500#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
501#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
502#   DDK3790xASL -win32-  Requires:
503#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
504#                        Optional:
505#                             Required to build EBC drivers:
506#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
507#                             Required to build platforms or ACPI tables:
508#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
509#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
510#   CYGGCCxASL  -win32-  Requires:
511#                             CygWin, GCC 4.3.0, binutils 2.20.51.0.5
512#                             Microsoft Visual Studio 2005 or 2008
513#                        Optional:
514#                             Required to build EBC drivers:
515#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
516#                             Required to build platforms or ACPI tables:
517#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
518#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
519#   ICCxASL     -win32-  Requires:
520#                             Intel C Compiler V9.1
521#                        Dependencies:
522#                             Microsoft Visual Studio 2003 or 2005
523#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
524#                             version 3790.1830 for X64 target architectures
525#                        Optional:
526#                             Required to build EBC drivers:
527#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
528#                             Required to build platforms or ACPI tables:
529#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
530#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
531#   ICC11xASL   -win32-  Requires:
532#                             Intel C Compiler V11.1
533#                        Dependencies:
534#                             Microsoft Visual Studio 2005 or 2008
535#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK)
536#                             version 3790.1830 for X64 target architectures
537#                        Optional:
538#                             Required to build EBC drivers:
539#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
540#                             Required to build platforms or ACPI tables:
541#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
542#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
543#   VS2005x86   -win64-  Requires:
544#                             Microsoft Visual Studio 2005 Team Suite Edition (x86)
545#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
546#                        Optional:
547#                             Required to build EBC drivers:
548#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
549#                             Required to build platforms or ACPI tables:
550#                               Intel(r) ACPI Compiler (iasl.exe) from
551#                               https://acpica.org/downloads
552#   VS2008x86   -win64-  Requires:
553#                             Microsoft Visual Studio 2008 (x86)
554#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
555#                        Optional:
556#                             Required to build platforms or ACPI tables:
557#                               Intel(r) ACPI Compiler (iasl.exe) from
558#                               https://acpica.org/downloads
559#   VS2010x86   -win64-  Requires:
560#                             Microsoft Visual Studio 2010 (x86) Premium Edition
561#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
562#                        Optional:
563#                             Required to build platforms or ACPI tables:
564#                               Intel(r) ACPI Compiler (iasl.exe) from
565#                               https://acpica.org/downloads
566#   VS2012x86   -win64-  Requires:
567#                             Microsoft Visual Studio 2012 (x86) Professional Edition
568#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
569#                        Optional:
570#                             Required to build platforms or ACPI tables:
571#                               Intel(r) ACPI Compiler (iasl.exe) from
572#                               https://acpica.org/downloads
573#   VS2013x86   -win64-  Requires:
574#                             Microsoft Visual Studio 2013 (x86) Professional Edition
575#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
576#                        Optional:
577#                             Required to build platforms or ACPI tables:
578#                               Intel(r) ACPI Compiler (iasl.exe) from
579#                               https://acpica.org/downloads
580#   VS2015x86   -win64-  Requires:
581#                             Microsoft Visual Studio 2015 (x86) Professional Edition
582#                             Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
583#                        Optional:
584#                             Required to build platforms or ACPI tables:
585#                               Intel(r) ACPI Compiler (iasl.exe) from
586#                               https://acpica.org/downloads
587#   ICCx86      -win64-  Requires:
588#                             Intel C Compiler V9.1(x86)
589#                        Dependencies:
590#                             Microsoft Visual Studio 2003 or 2005
591#                             Microsoft Windows Server 2003 Driver Development Kit
592#                             (Microsoft WINDDK) version 3790.1830 for X64 target architectures
593#                        Optional:
594#                             Required to build EBC drivers:
595#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
596#                             Required to build platforms or ACPI tables:
597#                               Intel(r) ACPI Compiler (iasl.exe) from
598#                               https://acpica.org/downloads
599#   ICC11x86    -win64-  Requires:
600#                             Intel C Compiler V11.1(x86)
601#                        Dependencies:
602#                             Microsoft Visual Studio 2005 or 2008
603#                             Microsoft Windows Server 2003 Driver Development Kit
604#                             (Microsoft WINDDK) version 3790.1830 for X64 target architectures
605#                        Optional:
606#                             Required to build EBC drivers:
607#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
608#                             Required to build platforms or ACPI tables:
609#                               Intel(r) ACPI Compiler (iasl.exe) from
610#                               https://acpica.org/downloads
611#  VS2005x86xASL -win64- Requires:
612#                             Microsoft Visual Studio 2005 Team Suite Edition (x86)
613#                             Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
614#                        Optional:
615#                             Required to build EBC drivers:
616#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
617#                             Required to build platforms or ACPI tables:
618#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
619#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
620#  VS2008x86xASL -win64- Requires:
621#                             Microsoft Visual Studio 2008 (x86)
622#                             Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
623#                        Optional:
624#                             Required to build platforms or ACPI tables:
625#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
626#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
627#  VS2010x86xASL -win64- Requires:
628#                             Microsoft Visual Studio 2010 (x86) Premium Edition
629#                             Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
630#                        Optional:
631#                             Required to build platforms or ACPI tables:
632#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
633#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
634#  VS2012x86xASL -win64- Requires:
635#                             Microsoft Visual Studio 2012 (x86) Professional Edition
636#                             Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
637#                        Optional:
638#                             Required to build platforms or ACPI tables:
639#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
640#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
641#  VS2013x86xASL -win64- Requires:
642#                             Microsoft Visual Studio 2013 (x86) Professional
643#                             Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
644#                        Optional:
645#                             Required to build platforms or ACPI tables:
646#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
647#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
648#  VS2015x86xASL -win64- Requires:
649#                             Microsoft Visual Studio 2015 (x86) Professional
650#                             Microsoft Windows Server 2003 Driver Development Kit(Microsoft WINDDK) version 3790.1830
651#                        Optional:
652#                             Required to build platforms or ACPI tables:
653#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
654#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
655#   ICCx86xASL  -win64-  Requires:
656#                             Intel C Compiler V9.1 (x86)
657#                        Dependencies:
658#                             Microsoft Visual Studio 2003 or 2005
659#                             Microsoft Windows Server 2003 Driver Development Kit
660#                             (Microsoft WINDDK) version 3790.1830 for X64 target architectures
661#                        Optional:
662#                             Required to build EBC drivers:
663#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
664#                             Required to build platforms or ACPI tables:
665#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
666#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
667#   ICC11x86xASL -win64- Requires:
668#                             Intel C Compiler V11.1 (x86)
669#                        Dependencies:
670#                             Microsoft Visual Studio 2005 or 2008
671#                             Microsoft Windows Server 2003 Driver Development Kit
672#                             (Microsoft WINDDK) version 3790.1830 for X64 target architectures
673#                        Optional:
674#                             Required to build EBC drivers:
675#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
676#                             Required to build platforms or ACPI tables:
677#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
678#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
679#   CYGGCCx86   -win64-  Requires:
680#                             CygWin, GCC 4.3.0, binutils 2.20.51.0.5
681#                             Microsoft Visual Studio 2005 or 2008
682#                        Optional:
683#                             Required to build EBC drivers:
684#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
685#                             Required to build platforms or ACPI tables:
686#                               Intel(r) ACPI Compiler (iasl.exe) from
687#                               https://acpica.org/downloads
688#  CYGGCCx86xASL -win64- Requires:
689#                             CygWin, GCC 4.3.0, binutils 2.20.51.0.5
690#                             Microsoft Visual Studio 2005 or 2008
691#                        Optional:
692#                             Required to build EBC drivers:
693#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
694#                             Required to build platforms or ACPI tables:
695#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
696#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
697#   RVCT        -win-   Requires:
698#                             ARM C/C++ Compiler, 5.00
699#                        Optional:
700#                             Required to build EBC drivers:
701#                               Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
702#                             Required to build platforms or ACPI tables:
703#                               Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
704#                               http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
705#   RVCTLINUX   -unix-   Requires:
706#                             ARM C/C++ Compiler, 5.00
707#                        Optional:
708#                             Required to build platforms or ACPI tables:
709#                               Intel(r) ACPI Compiler from
710#                               https://acpica.org/downloads
711# * Commented out - All versions of VS2005 use the same standard install directory
712#
713####################################################################################
714####################################################################################
715#
716# Supported Tool Chain Family
717# ===========================
718#   MSFT           - Microsoft
719#   GCC            - GNU GCC
720#   INTEL          - INTEL
721#   RVCT           - ARM RealView Toolchain
722####################################################################################
723####################################################################################
724#
725# Other Supported Tools
726# =====================
727#   NASM -- http://www.nasm.us/
728#   - NASM 2.10 or later for use with the GCC toolchain family
729#   - NASM 2.12.01 or later for use with all other toolchain families
730#
731####################################################################################
732####################################################################################
733#
734# Intel EFI Byte Code Compiler (Template)
735#
736####################################################################################
737# *_*_EBC_*_FAMILY                   = INTEL
738#
739# *_*_EBC_PP_PATH                    = C:\Program Files\Intel\EBC\Bin\iec.exe
740# *_*_EBC_CC_PATH                    = C:\Program Files\Intel\EBC\Bin\iec.exe
741# *_*_EBC_SLINK_PATH                 = C:\Program Files\Intel\EBC\Bin\link.exe
742#
743# *_*_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
744# *_*_EBC_PP_FLAGS                   = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
745# *_*_EBC_CC_FLAGS                   = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h
746# *_*_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
747#
748####################################################################################
749#
750# Intel ACPI Source Language Compiler (Template)
751#
752####################################################################################
753# *_*_*_ASL_FAMILY                   = INTEL
754#
755# *_*_*_ASL_PATH                     = C:\ASL\iasl.exe
756#
757####################################################################################
758#
759# Microsoft ACPI Source Language Compiler (Template)
760#
761####################################################################################
762# *_*_*_ASL_FAMILY                   = MSFT
763#
764# *_*_*_ASL_PATH                     = C:\ASL\asl.exe
765#
766####################################################################################
767
768
769####################################################################################
770#
771# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
772# And Intel ACPI Compiler
773#
774####################################################################################
775#   VS2003           - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)
776*_VS2003_*_*_FAMILY                 = MSFT
777
778##################
779# ASL definitions
780##################
781*_VS2003_*_ASL_PATH                 = DEF(DEFAULT_WIN_ASL_BIN)
782*_VS2003_*_ASL_FLAGS                = DEF(DEFAULT_WIN_ASL_FLAGS)
783*_VS2003_*_ASL_OUTFLAGS             = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
784*_VS2003_*_ASLCC_FLAGS              = DEF(MSFT_ASLCC_FLAGS)
785*_VS2003_*_ASLPP_FLAGS              = DEF(MSFT_ASLPP_FLAGS)
786*_VS2003_*_ASLDLINK_FLAGS           = DEF(MSFT_ASLDLINK_FLAGS)
787
788##################
789# IA32 definitions
790##################
791*_VS2003_IA32_*_DLL                 = DEF(VS2003_DLL)
792
793*_VS2003_IA32_MAKE_PATH             = DEF(VS2003_BIN)\nmake.exe
794*_VS2003_IA32_CC_PATH               = DEF(VS2003_BIN)\cl.exe
795*_VS2003_IA32_VFRPP_PATH            = DEF(VS2003_BIN)\cl.exe
796*_VS2003_IA32_SLINK_PATH            = DEF(VS2003_BIN)\lib.exe
797*_VS2003_IA32_DLINK_PATH            = DEF(VS2003_BIN)\link.exe
798*_VS2003_IA32_APP_PATH              = DEF(VS2003_BIN)\cl.exe
799*_VS2003_IA32_PP_PATH               = DEF(VS2003_BIN)\cl.exe
800*_VS2003_IA32_ASM_PATH              = DEF(VS2003_BIN)\ml.exe
801*_VS2003_IA32_ASM16_PATH            = DEF(VS2003_BIN)\ml.exe
802*_VS2003_IA32_ASLCC_PATH            = DEF(VS2003_BIN)\cl.exe
803*_VS2003_IA32_ASLPP_PATH            = DEF(VS2003_BIN)\cl.exe
804*_VS2003_IA32_ASLDLINK_PATH         = DEF(VS2003_BIN)\link.exe
805*_VS2003_IA32_RC_PATH               = DEF(VS2003_BIN)\rc.exe
806
807      *_VS2003_IA32_MAKE_FLAGS      = /nologo
808      *_VS2003_IA32_APP_FLAGS       = /nologo /E /TC
809      *_VS2003_IA32_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
810      *_VS2003_IA32_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
811  DEBUG_VS2003_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
812RELEASE_VS2003_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-
813NOOPT_VS2003_IA32_CC_FLAGS          = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
814
815  DEBUG_VS2003_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
816RELEASE_VS2003_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd
817NOOPT_VS2003_IA32_ASM_FLAGS         = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
818
819  DEBUG_VS2003_IA32_NASM_FLAGS      = -Ox -f win32 -g
820RELEASE_VS2003_IA32_NASM_FLAGS      = -Ox -f win32
821NOOPT_VS2003_IA32_NASM_FLAGS        = -O0 -f win32 -g
822
823      *_VS2003_IA32_SLINK_FLAGS     = /nologo /LTCG
824  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
825RELEASE_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:.rdata=.data
826NOOPT_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
827
828##################
829# EBC definitions
830##################
831*_VS2003_EBC_*_FAMILY               = INTEL
832
833*_VS2003_EBC_MAKE_PATH              = DEF(VS2003_BIN)\nmake.exe
834*_VS2003_EBC_PP_PATH                = DEF(EBC_BIN)\iec.exe
835*_VS2003_EBC_VFRPP_PATH             = DEF(EBC_BIN)\iec.exe
836*_VS2003_EBC_CC_PATH                = DEF(EBC_BIN)\iec.exe
837*_VS2003_EBC_SLINK_PATH             = DEF(EBC_BIN)\link.exe
838*_VS2003_EBC_DLINK_PATH             = DEF(EBC_BIN)\link.exe
839*_VS2003_EBC_RC_PATH                = DEF(VS2003_BIN)\rc.exe
840
841*_VS2003_EBC_MAKE_FLAGS             = /nologo
842*_VS2003_EBC_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
843*_VS2003_EBC_CC_FLAGS               = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
844*_VS2003_EBC_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
845*_VS2003_EBC_SLINK_FLAGS            = /lib /NOLOGO /MACHINE:EBC
846*_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
847
848####################################################################################
849#
850#   Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler
851#
852####################################################################################
853#   VS2003xASL           - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)
854*_VS2003xASL_*_*_FAMILY                 = MSFT
855
856##################
857# ASL definitions
858##################
859*_VS2003xASL_*_ASL_PATH                 = DEF(WIN_ASL_BIN)
860*_VS2003xASL_*_ASL_FLAGS                =
861*_VS2003xASL_*_ASL_OUTFLAGS             = DEF(MS_ASL_OUTFLAGS)
862*_VS2003xASL_*_ASLCC_FLAGS              = DEF(MSFT_ASLCC_FLAGS)
863*_VS2003xASL_*_ASLPP_FLAGS              = DEF(MSFT_ASLPP_FLAGS)
864*_VS2003xASL_*_ASLDLINK_FLAGS           = DEF(MSFT_ASLDLINK_FLAGS)
865
866##################
867# IA32 definitions
868##################
869*_VS2003xASL_IA32_*_DLL                 = DEF(VS2003_DLL)
870
871*_VS2003xASL_IA32_MAKE_PATH             = DEF(VS2003_BIN)\nmake.exe
872*_VS2003xASL_IA32_CC_PATH               = DEF(VS2003_BIN)\cl.exe
873*_VS2003xASL_IA32_VFRPP_PATH            = DEF(VS2003_BIN)\cl.exe
874*_VS2003xASL_IA32_SLINK_PATH            = DEF(VS2003_BIN)\lib.exe
875*_VS2003xASL_IA32_DLINK_PATH            = DEF(VS2003_BIN)\link.exe
876*_VS2003xASL_IA32_APP_PATH              = DEF(VS2003_BIN)\cl.exe
877*_VS2003xASL_IA32_PP_PATH               = DEF(VS2003_BIN)\cl.exe
878*_VS2003xASL_IA32_ASM_PATH              = DEF(VS2003_BIN)\ml.exe
879*_VS2003xASL_IA32_ASLCC_PATH            = DEF(VS2003_BIN)\cl.exe
880*_VS2003xASL_IA32_ASLPP_PATH            = DEF(VS2003_BIN)\cl.exe
881*_VS2003xASL_IA32_ASLDLINK_PATH         = DEF(VS2003_BIN)\link.exe
882*_VS2003xASL_IA32_RC_PATH               = DEF(VS2003_BIN)\rc.exe
883
884
885      *_VS2003xASL_IA32_MAKE_FLAGS      = /nologo
886      *_VS2003xASL_IA32_APP_FLAGS       = /nologo /E /TC
887      *_VS2003xASL_IA32_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
888      *_VS2003xASL_IA32_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
889  DEBUG_VS2003xASL_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
890RELEASE_VS2003xASL_IA32_CC_FLAGS        = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-
891NOOPT_VS2003xASL_IA32_CC_FLAGS          = /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm /Od
892
893  DEBUG_VS2003xASL_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
894RELEASE_VS2003xASL_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /coff /Cx /Zd
895NOOPT_VS2003xASL_IA32_ASM_FLAGS         = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
896
897  DEBUG_VS2003xASL_IA32_NASM_FLAGS      = -Ox -f win32 -g
898RELEASE_VS2003xASL_IA32_NASM_FLAGS      = -Ox -f win32
899NOOPT_VS2003xASL_IA32_NASM_FLAGS        = -O0 -f win32 -g
900
901      *_VS2003xASL_IA32_SLINK_FLAGS     = /nologo /LTCG
902  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
903RELEASE_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:.rdata=.data
904NOOPT_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
905
906##################
907# EBC definitions
908##################
909*_VS2003xASL_EBC_*_FAMILY               = INTEL
910
911*_VS2003xASL_EBC_MAKE_PATH              = DEF(VS2003_BIN)\nmake.exe
912*_VS2003xASL_EBC_PP_PATH                = DEF(EBC_BIN)\iec.exe
913*_VS2003xASL_EBC_VFRPP_PATH             = DEF(EBC_BIN)\iec.exe
914*_VS2003xASL_EBC_CC_PATH                = DEF(EBC_BIN)\iec.exe
915*_VS2003xASL_EBC_SLINK_PATH             = DEF(EBC_BIN)\link.exe
916*_VS2003xASL_EBC_DLINK_PATH             = DEF(EBC_BIN)\link.exe
917*_VS2003xASL_EBC_RC_PATH                = DEF(VS2003_BIN)\rc.exe
918
919*_VS2003xASL_EBC_MAKE_FLAGS             = /nologo
920*_VS2003xASL_EBC_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
921*_VS2003xASL_EBC_CC_FLAGS               = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
922*_VS2003xASL_EBC_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
923*_VS2003xASL_EBC_SLINK_FLAGS            = /lib /NOLOGO /MACHINE:EBC
924*_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
925
926####################################################################################
927# Microsoft Visual Studio 2005
928#
929#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
930#   ASL     - Intel ACPI Source Language Compiler
931####################################################################################
932#   VS2005           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
933*_VS2005_*_*_FAMILY               = MSFT
934
935*_VS2005_*_MAKE_PATH              = DEF(VS2005_BIN)\nmake.exe
936*_VS2005_*_MAKE_FLAGS             = /nologo
937*_VS2005_*_RC_PATH                = DEF(VS2005_BIN)\rc.exe
938
939*_VS2005_*_SLINK_FLAGS            = /NOLOGO /LTCG
940*_VS2005_*_APP_FLAGS              = /nologo /E /TC
941*_VS2005_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
942*_VS2005_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
943
944*_VS2005_*_ASM16_PATH             = DEF(VS2005_BIN)\ml.exe
945
946##################
947# ASL definitions
948##################
949*_VS2005_*_ASL_PATH               = DEF(DEFAULT_WIN_ASL_BIN)
950*_VS2005_*_ASL_FLAGS              = DEF(DEFAULT_WIN_ASL_FLAGS)
951*_VS2005_*_ASL_OUTFLAGS           = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
952*_VS2005_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)
953*_VS2005_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)
954*_VS2005_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)
955
956##################
957# IA32 definitions
958##################
959*_VS2005_IA32_*_DLL               = DEF(VS2005_DLL)
960
961*_VS2005_IA32_MAKE_PATH           = DEF(VS2005_BIN)\nmake.exe
962*_VS2005_IA32_CC_PATH             = DEF(VS2005_BIN)\cl.exe
963*_VS2005_IA32_VFRPP_PATH          = DEF(VS2005_BIN)\cl.exe
964*_VS2005_IA32_SLINK_PATH          = DEF(VS2005_BIN)\lib.exe
965*_VS2005_IA32_DLINK_PATH          = DEF(VS2005_BIN)\link.exe
966*_VS2005_IA32_APP_PATH            = DEF(VS2005_BIN)\cl.exe
967*_VS2005_IA32_PP_PATH             = DEF(VS2005_BIN)\cl.exe
968*_VS2005_IA32_ASM_PATH            = DEF(VS2005_BIN)\ml.exe
969*_VS2005_IA32_ASLCC_PATH          = DEF(VS2005_BIN)\cl.exe
970*_VS2005_IA32_ASLPP_PATH          = DEF(VS2005_BIN)\cl.exe
971*_VS2005_IA32_ASLDLINK_PATH       = DEF(VS2005_BIN)\link.exe
972
973      *_VS2005_IA32_MAKE_FLAGS    = /nologo
974  DEBUG_VS2005_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
975RELEASE_VS2005_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
976NOOPT_VS2005_IA32_CC_FLAGS        = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
977
978  DEBUG_VS2005_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
979RELEASE_VS2005_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd
980NOOPT_VS2005_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
981
982  DEBUG_VS2005_IA32_NASM_FLAGS    = -Ox -f win32 -g
983RELEASE_VS2005_IA32_NASM_FLAGS    = -Ox -f win32
984NOOPT_VS2005_IA32_NASM_FLAGS      = -O0 -f win32 -g
985
986  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
987RELEASE_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:.rdata=.data
988NOOPT_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
989
990##################
991# X64 definitions
992##################
993*_VS2005_X64_*_DLL         = DEF(VS2005_DLL)
994
995*_VS2005_X64_CC_PATH       = DEF(VS2005_BINX64)\cl.exe
996*_VS2005_X64_PP_PATH       = DEF(VS2005_BINX64)\cl.exe
997*_VS2005_X64_APP_PATH      = DEF(VS2005_BINX64)\cl.exe
998*_VS2005_X64_VFRPP_PATH    = DEF(VS2005_BINX64)\cl.exe
999*_VS2005_X64_ASM_PATH      = DEF(VS2005_BINX64)\ml64.exe
1000*_VS2005_X64_SLINK_PATH    = DEF(VS2005_BINX64)\lib.exe
1001*_VS2005_X64_DLINK_PATH    = DEF(VS2005_BINX64)\link.exe
1002*_VS2005_X64_ASLCC_PATH    = DEF(VS2005_BINX64)\cl.exe
1003*_VS2005_X64_ASLPP_PATH    = DEF(VS2005_BINX64)\cl.exe
1004*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
1005
1006  DEBUG_VS2005_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1007RELEASE_VS2005_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1008NOOPT_VS2005_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1009
1010  DEBUG_VS2005_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1011RELEASE_VS2005_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1012NOOPT_VS2005_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
1013
1014  DEBUG_VS2005_X64_NASM_FLAGS   = -Ox -f win64 -g
1015RELEASE_VS2005_X64_NASM_FLAGS   = -Ox -f win64
1016NOOPT_VS2005_X64_NASM_FLAGS     = -O0 -f win64 -g
1017
1018  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
1019RELEASE_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:.rdata=.data
1020NOOPT_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
1021
1022##################
1023# IPF definitions
1024##################
1025*_VS2005_IPF_*_DLL         = DEF(VS2005_DLL)
1026
1027*_VS2005_IPF_PP_PATH       = DEF(VS2005_BIN64)\cl.exe
1028*_VS2005_IPF_APP_PATH      = DEF(VS2005_BIN64)\cl.exe
1029*_VS2005_IPF_VFRPP_PATH    = DEF(VS2005_BIN64)\cl.exe
1030*_VS2005_IPF_CC_PATH       = DEF(VS2005_BIN64)\cl.exe
1031*_VS2005_IPF_ASM_PATH      = DEF(VS2005_BIN64)\ias.exe
1032*_VS2005_IPF_SLINK_PATH    = DEF(VS2005_BIN64)\lib.exe
1033*_VS2005_IPF_DLINK_PATH    = DEF(VS2005_BIN64)\link.exe
1034*_VS2005_IPF_ASLCC_PATH    = DEF(VS2005_BIN64)\cl.exe
1035*_VS2005_IPF_ASLPP_PATH    = DEF(VS2005_BIN64)\cl.exe
1036*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
1037
1038  DEBUG_VS2005_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1039RELEASE_VS2005_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1040NOOPT_VS2005_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1041
1042  DEBUG_VS2005_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1043RELEASE_VS2005_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1044NOOPT_VS2005_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1045
1046  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
1047RELEASE_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
1048NOOPT_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
1049
1050##################
1051# EBC definitions
1052##################
1053*_VS2005_EBC_*_FAMILY            = INTEL
1054
1055*_VS2005_EBC_MAKE_PATH           = DEF(VS2005_BIN)\nmake.exe
1056*_VS2005_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
1057*_VS2005_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
1058*_VS2005_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
1059*_VS2005_EBC_SLINK_PATH          = DEF(EBC_BIN)\link.exe
1060*_VS2005_EBC_DLINK_PATH          = DEF(EBC_BIN)\link.exe
1061
1062*_VS2005_EBC_MAKE_FLAGS          = /nologo
1063*_VS2005_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1064*_VS2005_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1065*_VS2005_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1066*_VS2005_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1067*_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
1068
1069####################################################################################
1070#
1071# Microsoft Visual Studio 2005
1072#
1073#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1074#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)
1075####################################################################################
1076#   VS2005xASL           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1077*_VS2005xASL_*_*_FAMILY        = MSFT
1078
1079*_VS2005xASL_*_MAKE_PATH       = DEF(VS2005_BIN)\nmake.exe
1080*_VS2005xASL_*_MAKE_FLAG       = /nologo
1081*_VS2005xASL_*_RC_PATH         = DEF(VS2005_BIN)\rc.exe
1082
1083*_VS2005xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
1084*_VS2005xASL_*_APP_FLAGS       = /nologo /E /TC
1085*_VS2005xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
1086*_VS2005xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1087
1088*_VS2005xASL_*_ASM16_PATH      = DEF(VS2005_BIN)\ml.exe
1089
1090##################
1091# ASL definitions
1092##################
1093*_VS2005xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
1094*_VS2005xASL_*_ASL_FLAGS       =
1095*_VS2005xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
1096*_VS2005xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
1097*_VS2005xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
1098*_VS2005xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
1099
1100##################
1101# IA32 definitions
1102##################
1103*_VS2005xASL_IA32_*_DLL        = DEF(VS2005_DLL)
1104
1105*_VS2005xASL_IA32_MAKE_PATH    = DEF(VS2005_BIN)\nmake.exe
1106*_VS2005xASL_IA32_CC_PATH      = DEF(VS2005_BIN)\cl.exe
1107*_VS2005xASL_IA32_VFRPP_PATH   = DEF(VS2005_BIN)\cl.exe
1108*_VS2005xASL_IA32_SLINK_PATH   = DEF(VS2005_BIN)\lib.exe
1109*_VS2005xASL_IA32_DLINK_PATH   = DEF(VS2005_BIN)\link.exe
1110*_VS2005xASL_IA32_APP_PATH     = DEF(VS2005_BIN)\cl.exe
1111*_VS2005xASL_IA32_PP_PATH      = DEF(VS2005_BIN)\cl.exe
1112*_VS2005xASL_IA32_ASM_PATH     = DEF(VS2005_BIN)\ml.exe
1113*_VS2005xASL_IA32_ASLCC_PATH    = DEF(VS2005_BIN)\cl.exe
1114*_VS2005xASL_IA32_ASLPP_PATH    = DEF(VS2005_BIN)\cl.exe
1115*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe
1116
1117      *_VS2005xASL_IA32_MAKE_FLAGS  = /nologo
1118  DEBUG_VS2005xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1119RELEASE_VS2005xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1120NOOPT_VS2005xASL_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1121
1122  DEBUG_VS2005xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1123RELEASE_VS2005xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
1124NOOPT_VS2005xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1125
1126  DEBUG_VS2005xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
1127RELEASE_VS2005xASL_IA32_NASM_FLAGS  = -Ox -f win32
1128NOOPT_VS2005xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
1129
1130  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
1131RELEASE_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:.rdata=.data
1132NOOPT_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
1133
1134##################
1135# X64 definitions
1136##################
1137*_VS2005xASL_X64_*_DLL         = DEF(VS2005_DLL)
1138
1139*_VS2005xASL_X64_CC_PATH       = DEF(VS2005_BINX64)\cl.exe
1140*_VS2005xASL_X64_PP_PATH       = DEF(VS2005_BINX64)\cl.exe
1141*_VS2005xASL_X64_APP_PATH      = DEF(VS2005_BINX64)\cl.exe
1142*_VS2005xASL_X64_VFRPP_PATH    = DEF(VS2005_BINX64)\cl.exe
1143*_VS2005xASL_X64_ASM_PATH      = DEF(VS2005_BINX64)\ml64.exe
1144*_VS2005xASL_X64_SLINK_PATH    = DEF(VS2005_BINX64)\lib.exe
1145*_VS2005xASL_X64_DLINK_PATH    = DEF(VS2005_BINX64)\link.exe
1146*_VS2005xASL_X64_ASLCC_PATH    = DEF(VS2005_BINX64)\cl.exe
1147*_VS2005xASL_X64_ASLPP_PATH    = DEF(VS2005_BINX64)\cl.exe
1148*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe
1149
1150  DEBUG_VS2005xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1151RELEASE_VS2005xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1152NOOPT_VS2005xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1153
1154  DEBUG_VS2005xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1155RELEASE_VS2005xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1156NOOPT_VS2005xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
1157
1158  DEBUG_VS2005xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
1159RELEASE_VS2005xASL_X64_NASM_FLAGS   = -Ox -f win64
1160NOOPT_VS2005xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
1161
1162  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
1163RELEASE_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:.rdata=.data
1164NOOPT_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
1165
1166##################
1167# IPF definitions
1168##################
1169*_VS2005xASL_IPF_*_DLL         = DEF(VS2005_DLL)
1170
1171*_VS2005xASL_IPF_PP_PATH       = DEF(VS2005_BIN64)\cl.exe
1172*_VS2005xASL_IPF_APP_PATH      = DEF(VS2005_BIN64)\cl.exe
1173*_VS2005xASL_IPF_VFRPP_PATH    = DEF(VS2005_BIN64)\cl.exe
1174*_VS2005xASL_IPF_CC_PATH       = DEF(VS2005_BIN64)\cl.exe
1175*_VS2005xASL_IPF_ASM_PATH      = DEF(VS2005_BIN64)\ias.exe
1176*_VS2005xASL_IPF_SLINK_PATH    = DEF(VS2005_BIN64)\lib.exe
1177*_VS2005xASL_IPF_DLINK_PATH    = DEF(VS2005_BIN64)\link.exe
1178*_VS2005xASL_IPF_ASLCC_PATH    = DEF(VS2005_BIN64)\cl.exe
1179*_VS2005xASL_IPF_ASLPP_PATH    = DEF(VS2005_BIN64)\cl.exe
1180*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe
1181
1182  DEBUG_VS2005xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1183RELEASE_VS2005xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1184NOOPT_VS2005xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1185
1186  DEBUG_VS2005xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1187RELEASE_VS2005xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1188NOOPT_VS2005xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1189
1190  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
1191RELEASE_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
1192NOOPT_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
1193
1194##################
1195# EBC definitions
1196##################
1197*_VS2005xASL_EBC_*_FAMILY            = INTEL
1198
1199*_VS2005xASL_EBC_MAKE_PATH           = DEF(VS2005_BIN)\nmake.exe
1200*_VS2005xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
1201*_VS2005xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
1202*_VS2005xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
1203*_VS2005xASL_EBC_SLINK_PATH          = DEF(EBC_BIN)\link.exe
1204*_VS2005xASL_EBC_DLINK_PATH          = DEF(EBC_BIN)\link.exe
1205
1206*_VS2005xASL_EBC_MAKE_FLAGS          = /nologo
1207*_VS2005xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1208*_VS2005xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1209*_VS2005xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1210*_VS2005xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1211*_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
1212
1213####################################################################################
1214#
1215# Microsoft Visual Studio 2005 (x86)
1216#
1217#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1218#   ASL     - Intel ACPI Source Language Compiler
1219####################################################################################
1220#   VS2005x86           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1221*_VS2005x86_*_*_FAMILY        = MSFT
1222
1223*_VS2005x86_*_MAKE_PATH       = DEF(VS2005x86_BIN)\nmake.exe
1224*_VS2005x86_*_MAKE_FLAGS      = /nologo
1225*_VS2005x86_*_RC_PATH         = DEF(VS2005x86_BIN)\rc.exe
1226
1227*_VS2005x86_*_SLINK_FLAGS     = /NOLOGO /LTCG
1228*_VS2005x86_*_APP_FLAGS       = /nologo /E /TC
1229*_VS2005x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
1230*_VS2005x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1231
1232*_VS2005x86_*_ASM16_PATH      = DEF(VS2005x86_BIN)\ml.exe
1233
1234##################
1235# ASL definitions
1236##################
1237*_VS2005x86_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
1238*_VS2005x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
1239*_VS2005x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1240*_VS2005x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
1241*_VS2005x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
1242*_VS2005x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
1243
1244##################
1245# IA32 definitions
1246##################
1247*_VS2005x86_IA32_*_DLL        = DEF(VS2005x86_DLL)
1248
1249*_VS2005x86_IA32_MAKE_PATH    = DEF(VS2005x86_BIN)\nmake.exe
1250*_VS2005x86_IA32_CC_PATH      = DEF(VS2005x86_BIN)\cl.exe
1251*_VS2005x86_IA32_VFRPP_PATH   = DEF(VS2005x86_BIN)\cl.exe
1252*_VS2005x86_IA32_SLINK_PATH   = DEF(VS2005x86_BIN)\lib.exe
1253*_VS2005x86_IA32_DLINK_PATH   = DEF(VS2005x86_BIN)\link.exe
1254*_VS2005x86_IA32_APP_PATH     = DEF(VS2005x86_BIN)\cl.exe
1255*_VS2005x86_IA32_PP_PATH      = DEF(VS2005x86_BIN)\cl.exe
1256*_VS2005x86_IA32_ASM_PATH     = DEF(VS2005x86_BIN)\ml.exe
1257*_VS2005x86_IA32_ASLCC_PATH    = DEF(VS2005x86_BIN)\cl.exe
1258*_VS2005x86_IA32_ASLPP_PATH    = DEF(VS2005x86_BIN)\cl.exe
1259*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1260
1261      *_VS2005x86_IA32_MAKE_FLAGS  = /nologo
1262  DEBUG_VS2005x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1263RELEASE_VS2005x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1264NOOPT_VS2005x86_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1265
1266  DEBUG_VS2005x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1267RELEASE_VS2005x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
1268NOOPT_VS2005x86_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1269
1270  DEBUG_VS2005x86_IA32_NASM_FLAGS  = -Ox -f win32 -g
1271RELEASE_VS2005x86_IA32_NASM_FLAGS  = -Ox -f win32
1272NOOPT_VS2005x86_IA32_NASM_FLAGS    = -O0 -f win32 -g
1273
1274  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
1275RELEASE_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:.rdata=.data
1276NOOPT_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
1277
1278##################
1279# X64 definitions
1280##################
1281*_VS2005x86_X64_*_DLL         = DEF(VS2005x86_DLL)
1282
1283*_VS2005x86_X64_CC_PATH       = DEF(VS2005x86_BINX64)\cl.exe
1284*_VS2005x86_X64_PP_PATH       = DEF(VS2005x86_BINX64)\cl.exe
1285*_VS2005x86_X64_APP_PATH      = DEF(VS2005x86_BINX64)\cl.exe
1286*_VS2005x86_X64_VFRPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe
1287*_VS2005x86_X64_ASM_PATH      = DEF(VS2005x86_BINX64)\ml64.exe
1288*_VS2005x86_X64_SLINK_PATH    = DEF(VS2005x86_BINX64)\lib.exe
1289*_VS2005x86_X64_DLINK_PATH    = DEF(VS2005x86_BINX64)\link.exe
1290*_VS2005x86_X64_ASLCC_PATH    = DEF(VS2005x86_BINX64)\cl.exe
1291*_VS2005x86_X64_ASLPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe
1292*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1293
1294  DEBUG_VS2005x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1295RELEASE_VS2005x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1296NOOPT_VS2005x86_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1297
1298  DEBUG_VS2005x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1299RELEASE_VS2005x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1300NOOPT_VS2005x86_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
1301
1302  DEBUG_VS2005x86_X64_NASM_FLAGS   = -Ox -f win64 -g
1303RELEASE_VS2005x86_X64_NASM_FLAGS   = -Ox -f win64
1304NOOPT_VS2005x86_X64_NASM_FLAGS     = -O0 -f win64 -g
1305
1306  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
1307RELEASE_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:.rdata=.data
1308NOOPT_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
1309
1310##################
1311# IPF definitions
1312##################
1313*_VS2005x86_IPF_*_DLL         = DEF(VS2005x86_DLL)
1314
1315*_VS2005x86_IPF_PP_PATH       = DEF(VS2005x86_BIN64)\cl.exe
1316*_VS2005x86_IPF_APP_PATH      = DEF(VS2005x86_BIN64)\cl.exe
1317*_VS2005x86_IPF_VFRPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe
1318*_VS2005x86_IPF_CC_PATH       = DEF(VS2005x86_BIN64)\cl.exe
1319*_VS2005x86_IPF_ASM_PATH      = DEF(VS2005x86_BIN64)\ias.exe
1320*_VS2005x86_IPF_SLINK_PATH    = DEF(VS2005x86_BIN64)\lib.exe
1321*_VS2005x86_IPF_DLINK_PATH    = DEF(VS2005x86_BIN64)\link.exe
1322*_VS2005x86_IPF_ASLCC_PATH    = DEF(VS2005x86_BIN64)\cl.exe
1323*_VS2005x86_IPF_ASLPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe
1324*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1325
1326  DEBUG_VS2005x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1327RELEASE_VS2005x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1328NOOPT_VS2005x86_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1329
1330  DEBUG_VS2005x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1331RELEASE_VS2005x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1332NOOPT_VS2005x86_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1333
1334  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
1335RELEASE_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
1336NOOPT_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
1337
1338##################
1339# EBC definitions
1340##################
1341*_VS2005x86_EBC_*_FAMILY            = INTEL
1342
1343*_VS2005x86_EBC_MAKE_PATH           = DEF(VS2005x86_BIN)\nmake.exe
1344*_VS2005x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
1345*_VS2005x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
1346*_VS2005x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
1347*_VS2005x86_EBC_SLINK_PATH          = DEF(EBC_BINx86)\link.exe
1348*_VS2005x86_EBC_DLINK_PATH          = DEF(EBC_BINx86)\link.exe
1349
1350*_VS2005x86_EBC_MAKE_FLAGS          = /nologo
1351*_VS2005x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1352*_VS2005x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1353*_VS2005x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1354*_VS2005x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1355*_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
1356
1357####################################################################################
1358#
1359# Microsoft Visual Studio 2005 (x86)
1360#
1361#   VS2005  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1362#   ASL     - Microsoft ACPI Source Language Compiler
1363####################################################################################
1364#   VS2005x86xASL           - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite
1365*_VS2005x86xASL_*_*_FAMILY        = MSFT
1366
1367*_VS2005x86xASL_*_MAKE_PATH       = DEF(VS2005x86_BIN)\nmake.exe
1368*_VS2005x86xASL_*_MAKE_FLAGS      = /nologo
1369*_VS2005x86xASL_*_RC_PATH         = DEF(VS2005x86_BIN)\rc.exe
1370
1371*_VS2005x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
1372*_VS2005x86xASL_*_APP_FLAGS       = /nologo /E /TC
1373*_VS2005x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
1374*_VS2005x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1375
1376*_VS2005x86xASL_*_ASM16_PATH      = DEF(VS2005x86_BIN)\ml.exe
1377
1378##################
1379# ASL definitions
1380##################
1381*_VS2005x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
1382*_VS2005x86xASL_*_ASL_FLAGS       =
1383*_VS2005x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
1384*_VS2005x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
1385*_VS2005x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
1386*_VS2005x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
1387
1388##################
1389# IA32 definitions
1390##################
1391*_VS2005x86xASL_IA32_*_DLL        = DEF(VS2005x86_DLL)
1392
1393*_VS2005x86xASL_IA32_MAKE_PATH    = DEF(VS2005x86_BIN)\nmake.exe
1394*_VS2005x86xASL_IA32_CC_PATH      = DEF(VS2005x86_BIN)\cl.exe
1395*_VS2005x86xASL_IA32_VFRPP_PATH   = DEF(VS2005x86_BIN)\cl.exe
1396*_VS2005x86xASL_IA32_SLINK_PATH   = DEF(VS2005x86_BIN)\lib.exe
1397*_VS2005x86xASL_IA32_DLINK_PATH   = DEF(VS2005x86_BIN)\link.exe
1398*_VS2005x86xASL_IA32_APP_PATH     = DEF(VS2005x86_BIN)\cl.exe
1399*_VS2005x86xASL_IA32_PP_PATH      = DEF(VS2005x86_BIN)\cl.exe
1400*_VS2005x86xASL_IA32_ASM_PATH     = DEF(VS2005x86_BIN)\ml.exe
1401*_VS2005x86xASL_IA32_ASLCC_PATH    = DEF(VS2005x86_BIN)\cl.exe
1402*_VS2005x86xASL_IA32_ASLPP_PATH    = DEF(VS2005x86_BIN)\cl.exe
1403*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe
1404
1405      *_VS2005x86xASL_IA32_MAKE_FLAGS  = /nologo
1406  DEBUG_VS2005x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1407RELEASE_VS2005x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1408NOOPT_VS2005x86xASL_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1409
1410  DEBUG_VS2005x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1411RELEASE_VS2005x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
1412NOOPT_VS2005x86xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1413
1414  DEBUG_VS2005x86xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
1415RELEASE_VS2005x86xASL_IA32_NASM_FLAGS  = -Ox -f win32
1416NOOPT_VS2005x86xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
1417
1418  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
1419RELEASE_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:.rdata=.data
1420NOOPT_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
1421
1422##################
1423# X64 definitions
1424##################
1425*_VS2005x86xASL_X64_*_DLL         = DEF(VS2005x86_DLL)
1426
1427*_VS2005x86xASL_X64_CC_PATH       = DEF(VS2005x86_BINX64)\cl.exe
1428*_VS2005x86xASL_X64_PP_PATH       = DEF(VS2005x86_BINX64)\cl.exe
1429*_VS2005x86xASL_X64_APP_PATH      = DEF(VS2005x86_BINX64)\cl.exe
1430*_VS2005x86xASL_X64_VFRPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe
1431*_VS2005x86xASL_X64_ASM_PATH      = DEF(VS2005x86_BINX64)\ml64.exe
1432*_VS2005x86xASL_X64_SLINK_PATH    = DEF(VS2005x86_BINX64)\lib.exe
1433*_VS2005x86xASL_X64_DLINK_PATH    = DEF(VS2005x86_BINX64)\link.exe
1434*_VS2005x86xASL_X64_ASLCC_PATH    = DEF(VS2005x86_BINX64)\cl.exe
1435*_VS2005x86xASL_X64_ASLPP_PATH    = DEF(VS2005x86_BINX64)\cl.exe
1436*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe
1437
1438  DEBUG_VS2005x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1439RELEASE_VS2005x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1440NOOPT_VS2005x86xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1441
1442  DEBUG_VS2005x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1443RELEASE_VS2005x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1444NOOPT_VS2005x86xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
1445
1446  DEBUG_VS2005x86xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
1447RELEASE_VS2005x86xASL_X64_NASM_FLAGS   = -Ox -f win64
1448NOOPT_VS2005x86xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
1449
1450  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
1451RELEASE_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:.rdata=.data
1452NOOPT_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
1453
1454##################
1455# IPF definitions
1456##################
1457*_VS2005x86xASL_IPF_*_DLL         = DEF(VS2005x86_DLL)
1458
1459*_VS2005x86xASL_IPF_PP_PATH       = DEF(VS2005x86_BIN64)\cl.exe
1460*_VS2005x86xASL_IPF_APP_PATH      = DEF(VS2005x86_BIN64)\cl.exe
1461*_VS2005x86xASL_IPF_VFRPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe
1462*_VS2005x86xASL_IPF_CC_PATH       = DEF(VS2005x86_BIN64)\cl.exe
1463*_VS2005x86xASL_IPF_ASM_PATH      = DEF(VS2005x86_BIN64)\ias.exe
1464*_VS2005x86xASL_IPF_SLINK_PATH    = DEF(VS2005x86_BIN64)\lib.exe
1465*_VS2005x86xASL_IPF_DLINK_PATH    = DEF(VS2005x86_BIN64)\link.exe
1466*_VS2005x86xASL_IPF_ASLCC_PATH    = DEF(VS2005x86_BIN64)\cl.exe
1467*_VS2005x86xASL_IPF_ASLPP_PATH    = DEF(VS2005x86_BIN64)\cl.exe
1468*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe
1469
1470  DEBUG_VS2005x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1471RELEASE_VS2005x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1472NOOPT_VS2005x86xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1473
1474  DEBUG_VS2005x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1475RELEASE_VS2005x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1476NOOPT_VS2005x86xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1477
1478  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
1479RELEASE_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
1480NOOPT_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
1481
1482##################
1483# EBC definitions
1484##################
1485*_VS2005x86xASL_EBC_*_FAMILY            = INTEL
1486
1487*_VS2005x86xASL_EBC_MAKE_PATH           = DEF(VS2005x86_BIN)\nmake.exe
1488*_VS2005x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
1489*_VS2005x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
1490*_VS2005x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
1491*_VS2005x86xASL_EBC_SLINK_PATH          = DEF(EBC_BINx86)\link.exe
1492*_VS2005x86xASL_EBC_DLINK_PATH          = DEF(EBC_BINx86)\link.exe
1493
1494*_VS2005x86xASL_EBC_MAKE_FLAGS          = /nologo
1495*_VS2005x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1496*_VS2005x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1497*_VS2005x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1498*_VS2005x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1499*_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
1500
1501
1502####################################################################################
1503#
1504# Microsoft Visual Studio 2008
1505#
1506#   VS2008  - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
1507#   ASL     - Intel ACPI Source Language Compiler
1508####################################################################################
1509#   VS2008           - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1510*_VS2008_*_*_FAMILY               = MSFT
1511
1512*_VS2008_*_MAKE_PATH              = DEF(VS2008_BIN)\nmake.exe
1513*_VS2008_*_MAKE_FLAGS             = /nologo
1514*_VS2008_*_RC_PATH                = DEF(WINSDK_BIN)\rc.exe
1515
1516*_VS2008_*_SLINK_FLAGS            = /NOLOGO /LTCG
1517*_VS2008_*_APP_FLAGS              = /nologo /E /TC
1518*_VS2008_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
1519*_VS2008_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1520
1521*_VS2008_*_ASM16_PATH             = DEF(VS2008_BIN)\ml.exe
1522
1523##################
1524# ASL definitions
1525##################
1526*_VS2008_*_ASL_PATH               = DEF(DEFAULT_WIN_ASL_BIN)
1527*_VS2008_*_ASL_FLAGS              = DEF(DEFAULT_WIN_ASL_FLAGS)
1528*_VS2008_*_ASL_OUTFLAGS           = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1529*_VS2008_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)
1530*_VS2008_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)
1531*_VS2008_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)
1532
1533##################
1534# IA32 definitions
1535##################
1536*_VS2008_IA32_*_DLL               = DEF(VS2008_DLL)
1537
1538*_VS2008_IA32_MAKE_PATH           = DEF(VS2008_BIN)\nmake.exe
1539*_VS2008_IA32_CC_PATH             = DEF(VS2008_BIN)\cl.exe
1540*_VS2008_IA32_VFRPP_PATH          = DEF(VS2008_BIN)\cl.exe
1541*_VS2008_IA32_SLINK_PATH          = DEF(VS2008_BIN)\lib.exe
1542*_VS2008_IA32_DLINK_PATH          = DEF(VS2008_BIN)\link.exe
1543*_VS2008_IA32_APP_PATH            = DEF(VS2008_BIN)\cl.exe
1544*_VS2008_IA32_PP_PATH             = DEF(VS2008_BIN)\cl.exe
1545*_VS2008_IA32_ASM_PATH            = DEF(VS2008_BIN)\ml.exe
1546*_VS2008_IA32_ASLCC_PATH          = DEF(VS2008_BIN)\cl.exe
1547*_VS2008_IA32_ASLPP_PATH          = DEF(VS2008_BIN)\cl.exe
1548*_VS2008_IA32_ASLDLINK_PATH       = DEF(VS2008_BIN)\link.exe
1549
1550      *_VS2008_IA32_MAKE_FLAGS    = /nologo
1551  DEBUG_VS2008_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1552RELEASE_VS2008_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1553NOOPT_VS2008_IA32_CC_FLAGS        = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1554
1555  DEBUG_VS2008_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1556RELEASE_VS2008_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd
1557NOOPT_VS2008_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1558
1559  DEBUG_VS2008_IA32_NASM_FLAGS    = -Ox -f win32 -g
1560RELEASE_VS2008_IA32_NASM_FLAGS    = -Ox -f win32
1561NOOPT_VS2008_IA32_NASM_FLAGS      = -O0 -f win32 -g
1562
1563  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
1564RELEASE_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:.rdata=.data
1565NOOPT_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
1566
1567##################
1568# X64 definitions
1569##################
1570*_VS2008_X64_*_DLL         = DEF(VS2008_DLL)
1571
1572*_VS2008_X64_CC_PATH       = DEF(VS2008_BINX64)\cl.exe
1573*_VS2008_X64_PP_PATH       = DEF(VS2008_BINX64)\cl.exe
1574*_VS2008_X64_APP_PATH      = DEF(VS2008_BINX64)\cl.exe
1575*_VS2008_X64_VFRPP_PATH    = DEF(VS2008_BINX64)\cl.exe
1576*_VS2008_X64_ASM_PATH      = DEF(VS2008_BINX64)\ml64.exe
1577*_VS2008_X64_SLINK_PATH    = DEF(VS2008_BINX64)\lib.exe
1578*_VS2008_X64_DLINK_PATH    = DEF(VS2008_BINX64)\link.exe
1579*_VS2008_X64_ASLCC_PATH    = DEF(VS2008_BINX64)\cl.exe
1580*_VS2008_X64_ASLPP_PATH    = DEF(VS2008_BINX64)\cl.exe
1581*_VS2008_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1582
1583  DEBUG_VS2008_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1584RELEASE_VS2008_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1585NOOPT_VS2008_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1586
1587  DEBUG_VS2008_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1588RELEASE_VS2008_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1589NOOPT_VS2008_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1590
1591  DEBUG_VS2008_X64_NASM_FLAGS   = -Ox -f win64 -g
1592RELEASE_VS2008_X64_NASM_FLAGS   = -Ox -f win64
1593NOOPT_VS2008_X64_NASM_FLAGS     = -O0 -f win64 -g
1594
1595  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
1596RELEASE_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:.rdata=.data
1597NOOPT_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
1598
1599##################
1600# IPF definitions
1601##################
1602*_VS2008_IPF_*_DLL         = DEF(VS2008_DLL)
1603
1604*_VS2008_IPF_PP_PATH       = DEF(VS2008_BIN64)\cl.exe
1605*_VS2008_IPF_APP_PATH      = DEF(VS2008_BIN64)\cl.exe
1606*_VS2008_IPF_VFRPP_PATH    = DEF(VS2008_BIN64)\cl.exe
1607*_VS2008_IPF_CC_PATH       = DEF(VS2008_BIN64)\cl.exe
1608*_VS2008_IPF_ASM_PATH      = DEF(VS2008_BIN64)\ias.exe
1609*_VS2008_IPF_SLINK_PATH    = DEF(VS2008_BIN64)\lib.exe
1610*_VS2008_IPF_DLINK_PATH    = DEF(VS2008_BIN64)\link.exe
1611*_VS2008_IPF_ASLCC_PATH    = DEF(VS2008_BIN64)\cl.exe
1612*_VS2008_IPF_ASLPP_PATH    = DEF(VS2008_BIN64)\cl.exe
1613*_VS2008_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1614
1615  DEBUG_VS2008_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1616RELEASE_VS2008_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1617NOOPT_VS2008_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1618
1619  DEBUG_VS2008_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1620RELEASE_VS2008_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1621NOOPT_VS2008_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1622
1623  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
1624RELEASE_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
1625NOOPT_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
1626
1627##################
1628# EBC definitions
1629##################
1630*_VS2008_EBC_*_FAMILY            = INTEL
1631*_VS2008_EBC_*_DLL               = DEF(VS2008_DLL)
1632
1633*_VS2008_EBC_MAKE_PATH           = DEF(VS2008_BIN)\nmake.exe
1634*_VS2008_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
1635*_VS2008_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
1636*_VS2008_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
1637*_VS2008_EBC_SLINK_PATH          = DEF(VS2008_BIN)\link.exe
1638*_VS2008_EBC_DLINK_PATH          = DEF(VS2008_BIN)\link.exe
1639
1640*_VS2008_EBC_MAKE_FLAGS          = /nologo
1641*_VS2008_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1642*_VS2008_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1643*_VS2008_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1644*_VS2008_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1645*_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
1646
1647
1648####################################################################################
1649#
1650# Microsoft Visual Studio 2008
1651#
1652#   VS2008  - Microsoft Visual Studio 2008 All Edition, including Standard, Professional, Express, TeamSuite
1653#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)
1654####################################################################################
1655#   VS2008xASL           - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
1656*_VS2008xASL_*_*_FAMILY        = MSFT
1657
1658*_VS2008xASL_*_MAKE_PATH       = DEF(VS2008_BIN)\nmake.exe
1659*_VS2008xASL_*_MAKE_FLAG       = /nologo
1660*_VS2008xASL_*_RC_PATH         = DEF(WINSDK_BIN)\rc.exe
1661
1662*_VS2008xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
1663*_VS2008xASL_*_APP_FLAGS       = /nologo /E /TC
1664*_VS2008xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
1665*_VS2008xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1666
1667*_VS2008xASL_*_ASM16_PATH      = DEF(VS2008_BIN)\ml.exe
1668
1669##################
1670# ASL definitions
1671##################
1672*_VS2008xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
1673*_VS2008xASL_*_ASL_FLAGS       =
1674*_VS2008xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
1675*_VS2008xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
1676*_VS2008xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
1677*_VS2008xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
1678
1679##################
1680# IA32 definitions
1681##################
1682*_VS2008xASL_IA32_*_DLL        = DEF(VS2008_DLL)
1683
1684*_VS2008xASL_IA32_MAKE_PATH    = DEF(VS2008_BIN)\nmake.exe
1685*_VS2008xASL_IA32_CC_PATH      = DEF(VS2008_BIN)\cl.exe
1686*_VS2008xASL_IA32_VFRPP_PATH   = DEF(VS2008_BIN)\cl.exe
1687*_VS2008xASL_IA32_SLINK_PATH   = DEF(VS2008_BIN)\lib.exe
1688*_VS2008xASL_IA32_DLINK_PATH   = DEF(VS2008_BIN)\link.exe
1689*_VS2008xASL_IA32_APP_PATH     = DEF(VS2008_BIN)\cl.exe
1690*_VS2008xASL_IA32_PP_PATH      = DEF(VS2008_BIN)\cl.exe
1691*_VS2008xASL_IA32_ASM_PATH     = DEF(VS2008_BIN)\ml.exe
1692*_VS2008xASL_IA32_ASLCC_PATH    = DEF(VS2008_BIN)\cl.exe
1693*_VS2008xASL_IA32_ASLPP_PATH    = DEF(VS2008_BIN)\cl.exe
1694*_VS2008xASL_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
1695
1696      *_VS2008xASL_IA32_MAKE_FLAGS  = /nologo
1697  DEBUG_VS2008xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1698RELEASE_VS2008xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1699NOOPT_VS2008xASL_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1700
1701  DEBUG_VS2008xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1702RELEASE_VS2008xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
1703NOOPT_VS2008xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1704
1705  DEBUG_VS2008xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
1706RELEASE_VS2008xASL_IA32_NASM_FLAGS  = -Ox -f win32
1707NOOPT_VS2008xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
1708
1709  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
1710RELEASE_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:.rdata=.data
1711NOOPT_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
1712
1713##################
1714# X64 definitions
1715##################
1716*_VS2008xASL_X64_*_DLL         = DEF(VS2008_DLL)
1717
1718*_VS2008xASL_X64_CC_PATH       = DEF(VS2008_BINX64)\cl.exe
1719*_VS2008xASL_X64_PP_PATH       = DEF(VS2008_BINX64)\cl.exe
1720*_VS2008xASL_X64_APP_PATH      = DEF(VS2008_BINX64)\cl.exe
1721*_VS2008xASL_X64_VFRPP_PATH    = DEF(VS2008_BINX64)\cl.exe
1722*_VS2008xASL_X64_ASM_PATH      = DEF(VS2008_BINX64)\ml64.exe
1723*_VS2008xASL_X64_SLINK_PATH    = DEF(VS2008_BINX64)\lib.exe
1724*_VS2008xASL_X64_DLINK_PATH    = DEF(VS2008_BINX64)\link.exe
1725*_VS2008xASL_X64_ASLCC_PATH    = DEF(VS2008_BINX64)\cl.exe
1726*_VS2008xASL_X64_ASLPP_PATH    = DEF(VS2008_BINX64)\cl.exe
1727*_VS2008xASL_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
1728
1729  DEBUG_VS2008xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1730RELEASE_VS2008xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1731NOOPT_VS2008xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1732
1733  DEBUG_VS2008xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1734RELEASE_VS2008xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1735NOOPT_VS2008xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
1736
1737  DEBUG_VS2008xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
1738RELEASE_VS2008xASL_X64_NASM_FLAGS   = -Ox -f win64
1739NOOPT_VS2008xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
1740
1741  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
1742RELEASE_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:.rdata=.data
1743NOOPT_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
1744
1745##################
1746# IPF definitions
1747##################
1748*_VS2008xASL_IPF_*_DLL         = DEF(VS2008_DLL)
1749
1750*_VS2008xASL_IPF_PP_PATH       = DEF(VS2008_BIN64)\cl.exe
1751*_VS2008xASL_IPF_APP_PATH      = DEF(VS2008_BIN64)\cl.exe
1752*_VS2008xASL_IPF_VFRPP_PATH    = DEF(VS2008_BIN64)\cl.exe
1753*_VS2008xASL_IPF_CC_PATH       = DEF(VS2008_BIN64)\cl.exe
1754*_VS2008xASL_IPF_ASM_PATH      = DEF(VS2008_BIN64)\ias.exe
1755*_VS2008xASL_IPF_SLINK_PATH    = DEF(VS2008_BIN64)\lib.exe
1756*_VS2008xASL_IPF_DLINK_PATH    = DEF(VS2008_BIN64)\link.exe
1757*_VS2008xASL_IPF_ASLCC_PATH    = DEF(VS2008_BIN64)\cl.exe
1758*_VS2008xASL_IPF_ASLPP_PATH    = DEF(VS2008_BIN64)\cl.exe
1759*_VS2008xASL_IPF_ASLDLINK_PATH = DEF(VS2008_BIN64)\link.exe
1760
1761  DEBUG_VS2008xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1762RELEASE_VS2008xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1763NOOPT_VS2008xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1764
1765  DEBUG_VS2008xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1766RELEASE_VS2008xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1767NOOPT_VS2008xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1768
1769  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
1770RELEASE_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
1771NOOPT_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
1772
1773##################
1774# EBC definitions
1775##################
1776*_VS2008xASL_EBC_*_FAMILY            = INTEL
1777*_VS2008xASL_EBC_*_DLL               = DEF(VS2008_DLL)
1778
1779*_VS2008xASL_EBC_MAKE_PATH           = DEF(VS2008_BIN)\nmake.exe
1780*_VS2008xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
1781*_VS2008xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
1782*_VS2008xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
1783*_VS2008xASL_EBC_SLINK_PATH          = DEF(VS2008_BIN)\link.exe
1784*_VS2008xASL_EBC_DLINK_PATH          = DEF(VS2008_BIN)\link.exe
1785
1786*_VS2008xASL_EBC_MAKE_FLAGS          = /nologo
1787*_VS2008xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1788*_VS2008xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1789*_VS2008xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1790*_VS2008xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1791*_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
1792
1793
1794####################################################################################
1795#   VS2008x86       - Microsoft Visual Studio 2008 (x86) with Intel ASL
1796#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)
1797####################################################################################
1798#   VS2008x86           - Microsoft Visual Studio 2008 (x86) ALL Edition with Intel ASL
1799*_VS2008x86_*_*_FAMILY        = MSFT
1800
1801*_VS2008x86_*_MAKE_PATH       = DEF(VS2008x86_BIN)\nmake.exe
1802*_VS2008x86_*_MAKE_FLAG       = /nologo
1803*_VS2008x86_*_RC_PATH         = DEF(WINSDK_BIN)\rc.exe
1804
1805*_VS2008x86_*_MAKE_FLAGS      = /nologo
1806*_VS2008x86_*_SLINK_FLAGS     = /NOLOGO /LTCG
1807*_VS2008x86_*_APP_FLAGS       = /nologo /E /TC
1808*_VS2008x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
1809*_VS2008x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1810
1811*_VS2008x86_*_ASM16_PATH      = DEF(VS2008x86_BIN)\ml.exe
1812
1813##################
1814# ASL definitions
1815##################
1816*_VS2008x86_*_ASL_PATH        = DEF(WIN_IASL_BIN)
1817*_VS2008x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
1818*_VS2008x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
1819*_VS2008x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
1820*_VS2008x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
1821*_VS2008x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
1822
1823##################
1824# IA32 definitions
1825##################
1826*_VS2008x86_IA32_*_DLL        = DEF(VS2008x86_DLL)
1827
1828*_VS2008x86_IA32_MAKE_PATH    = DEF(VS2008x86_BIN)\nmake.exe
1829*_VS2008x86_IA32_CC_PATH      = DEF(VS2008x86_BIN)\cl.exe
1830*_VS2008x86_IA32_VFRPP_PATH   = DEF(VS2008x86_BIN)\cl.exe
1831*_VS2008x86_IA32_ASLCC_PATH   = DEF(VS2008x86_BIN)\cl.exe
1832*_VS2008x86_IA32_ASLPP_PATH   = DEF(VS2008x86_BIN)\cl.exe
1833*_VS2008x86_IA32_SLINK_PATH   = DEF(VS2008x86_BIN)\lib.exe
1834*_VS2008x86_IA32_DLINK_PATH   = DEF(VS2008x86_BIN)\link.exe
1835*_VS2008x86_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
1836*_VS2008x86_IA32_APP_PATH     = DEF(VS2008x86_BIN)\cl.exe
1837*_VS2008x86_IA32_PP_PATH      = DEF(VS2008x86_BIN)\cl.exe
1838*_VS2008x86_IA32_ASM_PATH     = DEF(VS2008x86_BIN)\ml.exe
1839
1840      *_VS2008x86_IA32_MAKE_FLAGS  = /nologo
1841  DEBUG_VS2008x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1842RELEASE_VS2008x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1843NOOPT_VS2008x86_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1844
1845  DEBUG_VS2008x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1846RELEASE_VS2008x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
1847NOOPT_VS2008x86_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1848
1849  DEBUG_VS2008x86_IA32_NASM_FLAGS  = -Ox -f win32 -g
1850RELEASE_VS2008x86_IA32_NASM_FLAGS  = -Ox -f win32
1851NOOPT_VS2008x86_IA32_NASM_FLAGS    = -O0 -f win32 -g
1852
1853  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
1854RELEASE_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:.rdata=.data
1855NOOPT_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
1856
1857##################
1858# X64 definitions
1859##################
1860*_VS2008x86_X64_*_DLL         = DEF(VS2008x86_DLL)
1861
1862*_VS2008x86_X64_CC_PATH       = DEF(VS2008x86_BINX64)\cl.exe
1863*_VS2008x86_X64_PP_PATH       = DEF(VS2008x86_BINX64)\cl.exe
1864*_VS2008x86_X64_APP_PATH      = DEF(VS2008x86_BINX64)\cl.exe
1865*_VS2008x86_X64_VFRPP_PATH    = DEF(VS2008x86_BINX64)\cl.exe
1866*_VS2008x86_X64_ASLCC_PATH    = DEF(VS2008x86_BINX64)\cl.exe
1867*_VS2008x86_X64_ASLPP_PATH    = DEF(VS2008x86_BINX64)\cl.exe
1868*_VS2008x86_X64_ASM_PATH      = DEF(VS2008x86_BINX64)\ml64.exe
1869*_VS2008x86_X64_SLINK_PATH    = DEF(VS2008x86_BINX64)\lib.exe
1870*_VS2008x86_X64_DLINK_PATH    = DEF(VS2008x86_BINX64)\link.exe
1871*_VS2008x86_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
1872
1873  DEBUG_VS2008x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
1874RELEASE_VS2008x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
1875NOOPT_VS2008x86_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
1876
1877  DEBUG_VS2008x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
1878RELEASE_VS2008x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
1879NOOPT_VS2008x86_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
1880
1881  DEBUG_VS2008x86_X64_NASM_FLAGS   = -Ox -f win64 -g
1882RELEASE_VS2008x86_X64_NASM_FLAGS   = -Ox -f win64
1883NOOPT_VS2008x86_X64_NASM_FLAGS     = -O0 -f win64 -g
1884
1885  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
1886RELEASE_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:.rdata=.data
1887NOOPT_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
1888
1889##################
1890# IPF definitions
1891##################
1892*_VS2008x86_IPF_*_DLL         = DEF(VS2008x86_DLL)
1893
1894*_VS2008x86_IPF_PP_PATH       = DEF(VS2008x86_BIN64)\cl.exe
1895*_VS2008x86_IPF_APP_PATH      = DEF(VS2008x86_BIN64)\cl.exe
1896*_VS2008x86_IPF_VFRPP_PATH    = DEF(VS2008x86_BIN64)\cl.exe
1897*_VS2008x86_IPF_ASLCC_PATH    = DEF(VS2008x86_BIN64)\cl.exe
1898*_VS2008x86_IPF_ASLPP_PATH    = DEF(VS2008x86_BIN64)\cl.exe
1899*_VS2008x86_IPF_CC_PATH       = DEF(VS2008x86_BIN64)\cl.exe
1900*_VS2008x86_IPF_ASM_PATH      = DEF(VS2008x86_BIN64)\ias.exe
1901*_VS2008x86_IPF_SLINK_PATH    = DEF(VS2008x86_BIN64)\lib.exe
1902*_VS2008x86_IPF_DLINK_PATH    = DEF(VS2008x86_BIN64)\link.exe
1903*_VS2008x86_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
1904
1905  DEBUG_VS2008x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
1906RELEASE_VS2008x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
1907NOOPT_VS2008x86_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
1908
1909  DEBUG_VS2008x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
1910RELEASE_VS2008x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
1911NOOPT_VS2008x86_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
1912
1913  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
1914RELEASE_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
1915NOOPT_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
1916
1917##################
1918# EBC definitions
1919##################
1920*_VS2008x86_EBC_*_FAMILY            = INTEL
1921*_VS2008x86_EBC_*_DLL               = DEF(VS2008x86_DLL)
1922
1923*_VS2008x86_EBC_MAKE_PATH           = DEF(VS2008x86_BIN)\nmake.exe
1924*_VS2008x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
1925*_VS2008x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
1926*_VS2008x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
1927*_VS2008x86_EBC_SLINK_PATH          = DEF(VS2008x86_BIN)\link.exe
1928*_VS2008x86_EBC_DLINK_PATH          = DEF(VS2008x86_BIN)\link.exe
1929
1930*_VS2008x86_EBC_MAKE_FLAGS          = /nologo
1931*_VS2008x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
1932*_VS2008x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
1933*_VS2008x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1934*_VS2008x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
1935*_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
1936
1937
1938####################################################################################
1939#   VS2008x86xASL     - Microsoft Visual Studio 2008 with Microsoft ASL
1940#   ASL  - Microsoft ACPI Source Language Compiler (asl.exe)
1941####################################################################################
1942*_VS2008x86xASL_*_*_FAMILY        = MSFT
1943
1944*_VS2008x86xASL_*_MAKE_PATH       = DEF(VS2008x86_BIN)\nmake.exe
1945*_VS2008x86xASL_*_MAKE_FLAG       = /nologo
1946*_VS2008x86xASL_*_RC_PATH         = DEF(WINSDK_BIN)\rc.exe
1947
1948*_VS2008x86xASL_*_MAKE_FLAGS      = /nologo
1949*_VS2008x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
1950*_VS2008x86xASL_*_APP_FLAGS       = /nologo /E /TC
1951*_VS2008x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
1952*_VS2008x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
1953
1954*_VS2008x86xASL_*_ASM16_PATH      = DEF(VS2008x86_BIN)\ml.exe
1955
1956##################
1957# ASL definitions
1958##################
1959*_VS2008x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
1960*_VS2008x86xASL_*_ASL_FLAGS       = DEF(MS_ASL_FLAGS)
1961*_VS2008x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
1962*_VS2008x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
1963*_VS2008x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
1964*_VS2008x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
1965
1966##################
1967# IA32 definitions
1968##################
1969*_VS2008x86xASL_IA32_*_DLL        = DEF(VS2008x86_DLL)
1970
1971*_VS2008x86xASL_IA32_MAKE_PATH    = DEF(VS2008x86_BIN)\nmake.exe
1972*_VS2008x86xASL_IA32_CC_PATH      = DEF(VS2008x86_BIN)\cl.exe
1973*_VS2008x86xASL_IA32_VFRPP_PATH   = DEF(VS2008x86_BIN)\cl.exe
1974*_VS2008x86xASL_IA32_ASLCC_PATH   = DEF(VS2008x86_BIN)\cl.exe
1975*_VS2008x86xASL_IA32_ASLPP_PATH   = DEF(VS2008x86_BIN)\cl.exe
1976*_VS2008x86xASL_IA32_SLINK_PATH   = DEF(VS2008x86_BIN)\lib.exe
1977*_VS2008x86xASL_IA32_DLINK_PATH   = DEF(VS2008x86_BIN)\link.exe
1978*_VS2008x86xASL_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
1979*_VS2008x86xASL_IA32_APP_PATH     = DEF(VS2008x86_BIN)\cl.exe
1980*_VS2008x86xASL_IA32_PP_PATH      = DEF(VS2008x86_BIN)\cl.exe
1981*_VS2008x86xASL_IA32_ASM_PATH     = DEF(VS2008x86_BIN)\ml.exe
1982
1983      *_VS2008x86xASL_IA32_MAKE_FLAGS  = /nologo
1984  DEBUG_VS2008x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
1985RELEASE_VS2008x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
1986NOOPT_VS2008x86xASL_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
1987
1988  DEBUG_VS2008x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1989RELEASE_VS2008x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
1990NOOPT_VS2008x86xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
1991
1992  DEBUG_VS2008xASL_IA32_NASM_FLAGS     = -Ox -f win32 -g
1993RELEASE_VS2008xASL_IA32_NASM_FLAGS     = -Ox -f win32
1994NOOPT_VS2008xASL_IA32_NASM_FLAGS       = -O0 -f win32 -g
1995
1996  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
1997RELEASE_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:.rdata=.data
1998NOOPT_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
1999
2000##################
2001# X64 definitions
2002##################
2003*_VS2008x86xASL_X64_*_DLL         = DEF(VS2008x86_DLL)
2004
2005*_VS2008x86xASL_X64_CC_PATH       = DEF(VS2008x86_BINX64)\cl.exe
2006*_VS2008x86xASL_X64_PP_PATH       = DEF(VS2008x86_BINX64)\cl.exe
2007*_VS2008x86xASL_X64_APP_PATH      = DEF(VS2008x86_BINX64)\cl.exe
2008*_VS2008x86xASL_X64_VFRPP_PATH    = DEF(VS2008x86_BINX64)\cl.exe
2009*_VS2008x86xASL_X64_ASLCC_PATH    = DEF(VS2008x86_BINX64)\cl.exe
2010*_VS2008x86xASL_X64_ASLPP_PATH    = DEF(VS2008x86_BINX64)\cl.exe
2011*_VS2008x86xASL_X64_ASM_PATH      = DEF(VS2008x86_BINX64)\ml64.exe
2012*_VS2008x86xASL_X64_SLINK_PATH    = DEF(VS2008x86_BINX64)\lib.exe
2013*_VS2008x86xASL_X64_DLINK_PATH    = DEF(VS2008x86_BINX64)\link.exe
2014*_VS2008x86xASL_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
2015
2016  DEBUG_VS2008x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2017RELEASE_VS2008x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2018NOOPT_VS2008x86xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2019
2020  DEBUG_VS2008x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2021RELEASE_VS2008x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2022NOOPT_VS2008x86xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
2023
2024  DEBUG_VS2008xASL_X64_NASM_FLAGS      = -Ox -f win64 -g
2025RELEASE_VS2008xASL_X64_NASM_FLAGS      = -Ox -f win64
2026NOOPT_VS2008xASL_X64_NASM_FLAGS        = -O0 -f win64 -g
2027
2028  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
2029RELEASE_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:.rdata=.data
2030NOOPT_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
2031
2032##################
2033# IPF definitions
2034##################
2035*_VS2008x86xASL_IPF_*_DLL         = DEF(VS2008x86_DLL)
2036
2037*_VS2008x86xASL_IPF_PP_PATH       = DEF(VS2008x86_BIN64)\cl.exe
2038*_VS2008x86xASL_IPF_APP_PATH      = DEF(VS2008x86_BIN64)\cl.exe
2039*_VS2008x86xASL_IPF_VFRPP_PATH    = DEF(VS2008x86_BIN64)\cl.exe
2040*_VS2008x86xASL_IPF_ASLCC_PATH    = DEF(VS2008x86_BIN64)\cl.exe
2041*_VS2008x86xASL_IPF_ASLPP_PATH    = DEF(VS2008x86_BIN64)\cl.exe
2042*_VS2008x86xASL_IPF_CC_PATH       = DEF(VS2008x86_BIN64)\cl.exe
2043*_VS2008x86xASL_IPF_ASM_PATH      = DEF(VS2008x86_BIN64)\ias.exe
2044*_VS2008x86xASL_IPF_SLINK_PATH    = DEF(VS2008x86_BIN64)\lib.exe
2045*_VS2008x86xASL_IPF_DLINK_PATH    = DEF(VS2008x86_BIN64)\link.exe
2046*_VS2008x86xASL_IPF_ASLDLINK_PATH = DEF(VS2008x86_BIN64)\link.exe
2047
2048  DEBUG_VS2008x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2049RELEASE_VS2008x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2050NOOPT_VS2008x86xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2051
2052  DEBUG_VS2008x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
2053RELEASE_VS2008x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
2054NOOPT_VS2008x86xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
2055
2056  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
2057RELEASE_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
2058NOOPT_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
2059
2060##################
2061# EBC definitions
2062##################
2063*_VS2008x86xASL_EBC_*_FAMILY            = INTEL
2064*_VS2008x86xASL_EBC_*_DLL               = DEF(VS2008x86_DLL)
2065
2066*_VS2008x86xASL_EBC_MAKE_PATH           = DEF(VS2008x86_BIN)\nmake.exe
2067*_VS2008x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
2068*_VS2008x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
2069*_VS2008x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
2070*_VS2008x86xASL_EBC_SLINK_PATH          = DEF(VS2008x86_BIN)\link.exe
2071*_VS2008x86xASL_EBC_DLINK_PATH          = DEF(VS2008x86_BIN)\link.exe
2072
2073*_VS2008x86xASL_EBC_MAKE_FLAGS          = /nologo
2074*_VS2008x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2075*_VS2008x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2076*_VS2008x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2077*_VS2008x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2078*_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
2079
2080
2081####################################################################################
2082#
2083# Microsoft Visual Studio 2010
2084#
2085#   VS2010  - Microsoft Visual Studio 2010 Premium Edition with Intel ASL
2086#   ASL     - Intel ACPI Source Language Compiler
2087####################################################################################
2088#   VS2010           - Microsoft Visual Studio 2010 Premium Edition
2089*_VS2010_*_*_FAMILY               = MSFT
2090
2091*_VS2010_*_MAKE_PATH              = DEF(VS2010_BIN)\nmake.exe
2092*_VS2010_*_MAKE_FLAGS             = /nologo
2093*_VS2010_*_RC_PATH                = DEF(WINSDK7_BIN)\rc.exe
2094
2095*_VS2010_*_SLINK_FLAGS            = /NOLOGO /LTCG
2096*_VS2010_*_APP_FLAGS              = /nologo /E /TC
2097*_VS2010_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
2098*_VS2010_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2099
2100*_VS2010_*_ASM16_PATH             = DEF(VS2010_BIN)\ml.exe
2101
2102##################
2103# ASL definitions
2104##################
2105*_VS2010_*_ASL_PATH               = DEF(DEFAULT_WIN_ASL_BIN)
2106*_VS2010_*_ASL_FLAGS              = DEF(DEFAULT_WIN_ASL_FLAGS)
2107*_VS2010_*_ASL_OUTFLAGS           = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2108*_VS2010_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)
2109*_VS2010_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)
2110*_VS2010_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)
2111
2112##################
2113# IA32 definitions
2114##################
2115*_VS2010_IA32_*_DLL               = DEF(VS2010_DLL)
2116
2117*_VS2010_IA32_MAKE_PATH           = DEF(VS2010_BIN)\nmake.exe
2118*_VS2010_IA32_CC_PATH             = DEF(VS2010_BIN)\cl.exe
2119*_VS2010_IA32_VFRPP_PATH          = DEF(VS2010_BIN)\cl.exe
2120*_VS2010_IA32_SLINK_PATH          = DEF(VS2010_BIN)\lib.exe
2121*_VS2010_IA32_DLINK_PATH          = DEF(VS2010_BIN)\link.exe
2122*_VS2010_IA32_APP_PATH            = DEF(VS2010_BIN)\cl.exe
2123*_VS2010_IA32_PP_PATH             = DEF(VS2010_BIN)\cl.exe
2124*_VS2010_IA32_ASM_PATH            = DEF(VS2010_BIN)\ml.exe
2125*_VS2010_IA32_ASLCC_PATH          = DEF(VS2010_BIN)\cl.exe
2126*_VS2010_IA32_ASLPP_PATH          = DEF(VS2010_BIN)\cl.exe
2127*_VS2010_IA32_ASLDLINK_PATH       = DEF(VS2010_BIN)\link.exe
2128
2129      *_VS2010_IA32_MAKE_FLAGS    = /nologo
2130  DEBUG_VS2010_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2131RELEASE_VS2010_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2132NOOPT_VS2010_IA32_CC_FLAGS        = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2133
2134  DEBUG_VS2010_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2135RELEASE_VS2010_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd
2136NOOPT_VS2010_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2137
2138  DEBUG_VS2010_IA32_NASM_FLAGS    = -Ox -f win32 -g
2139RELEASE_VS2010_IA32_NASM_FLAGS    = -Ox -f win32
2140NOOPT_VS2010_IA32_NASM_FLAGS      = -O0 -f win32 -g
2141
2142  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
2143RELEASE_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:.rdata=.data
2144NOOPT_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
2145
2146##################
2147# X64 definitions
2148##################
2149*_VS2010_X64_*_DLL         = DEF(VS2010_DLL)
2150
2151*_VS2010_X64_CC_PATH       = DEF(VS2010_BINX64)\cl.exe
2152*_VS2010_X64_PP_PATH       = DEF(VS2010_BINX64)\cl.exe
2153*_VS2010_X64_APP_PATH      = DEF(VS2010_BINX64)\cl.exe
2154*_VS2010_X64_VFRPP_PATH    = DEF(VS2010_BINX64)\cl.exe
2155*_VS2010_X64_ASM_PATH      = DEF(VS2010_BINX64)\ml64.exe
2156*_VS2010_X64_SLINK_PATH    = DEF(VS2010_BINX64)\lib.exe
2157*_VS2010_X64_DLINK_PATH    = DEF(VS2010_BINX64)\link.exe
2158*_VS2010_X64_ASLCC_PATH    = DEF(VS2010_BINX64)\cl.exe
2159*_VS2010_X64_ASLPP_PATH    = DEF(VS2010_BINX64)\cl.exe
2160*_VS2010_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
2161
2162  DEBUG_VS2010_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2163RELEASE_VS2010_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2164NOOPT_VS2010_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2165
2166  DEBUG_VS2010_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2167RELEASE_VS2010_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2168NOOPT_VS2010_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2169
2170  DEBUG_VS2010_X64_NASM_FLAGS   = -Ox -f win64 -g
2171RELEASE_VS2010_X64_NASM_FLAGS   = -Ox -f win64
2172NOOPT_VS2010_X64_NASM_FLAGS     = -O0 -f win64 -g
2173
2174  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
2175RELEASE_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:.rdata=.data
2176NOOPT_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
2177
2178##################
2179# IPF definitions
2180##################
2181*_VS2010_IPF_*_DLL         = DEF(VS2010_DLL)
2182
2183*_VS2010_IPF_PP_PATH       = DEF(VS2010_BIN64)\cl.exe
2184*_VS2010_IPF_APP_PATH      = DEF(VS2010_BIN64)\cl.exe
2185*_VS2010_IPF_VFRPP_PATH    = DEF(VS2010_BIN64)\cl.exe
2186*_VS2010_IPF_CC_PATH       = DEF(VS2010_BIN64)\cl.exe
2187*_VS2010_IPF_ASM_PATH      = DEF(VS2010_BIN64)\ias.exe
2188*_VS2010_IPF_SLINK_PATH    = DEF(VS2010_BIN64)\lib.exe
2189*_VS2010_IPF_DLINK_PATH    = DEF(VS2010_BIN64)\link.exe
2190*_VS2010_IPF_ASLCC_PATH    = DEF(VS2010_BIN64)\cl.exe
2191*_VS2010_IPF_ASLPP_PATH    = DEF(VS2010_BIN64)\cl.exe
2192*_VS2010_IPF_ASLDLINK_PATH = DEF(VS2010_BIN64)\link.exe
2193
2194  DEBUG_VS2010_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2195RELEASE_VS2010_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2196NOOPT_VS2010_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2197
2198  DEBUG_VS2010_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
2199RELEASE_VS2010_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
2200NOOPT_VS2010_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
2201
2202  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
2203RELEASE_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
2204NOOPT_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
2205
2206##################
2207# EBC definitions
2208##################
2209*_VS2010_EBC_*_FAMILY            = INTEL
2210*_VS2010_EBC_*_DLL               = DEF(VS2010_DLL)
2211
2212*_VS2010_EBC_MAKE_PATH           = DEF(VS2010_BIN)\nmake.exe
2213*_VS2010_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
2214*_VS2010_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
2215*_VS2010_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
2216*_VS2010_EBC_SLINK_PATH          = DEF(VS2010_BIN)\link.exe
2217*_VS2010_EBC_DLINK_PATH          = DEF(VS2010_BIN)\link.exe
2218
2219*_VS2010_EBC_MAKE_FLAGS          = /nologo
2220*_VS2010_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2221*_VS2010_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2222*_VS2010_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2223*_VS2010_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2224*_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
2225
2226
2227####################################################################################
2228#
2229# Microsoft Visual Studio 2010
2230#
2231#   VS2010xASL  - Microsoft Visual Studio 2010 Premium Edition with Microsoft ASL
2232#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)
2233####################################################################################
2234#   VS2010xASL           - Microsoft Visual Studio 2010 Premium Edition
2235*_VS2010xASL_*_*_FAMILY        = MSFT
2236
2237*_VS2010xASL_*_MAKE_PATH       = DEF(VS2010_BIN)\nmake.exe
2238*_VS2010xASL_*_MAKE_FLAG       = /nologo
2239*_VS2010xASL_*_RC_PATH         = DEF(WINSDK7_BIN)\rc.exe
2240
2241*_VS2010xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
2242*_VS2010xASL_*_APP_FLAGS       = /nologo /E /TC
2243*_VS2010xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
2244*_VS2010xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2245
2246*_VS2010xASL_*_ASM16_PATH      = DEF(VS2010_BIN)\ml.exe
2247
2248##################
2249# ASL definitions
2250##################
2251*_VS2010xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
2252*_VS2010xASL_*_ASL_FLAGS       =
2253*_VS2010xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
2254*_VS2010xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
2255*_VS2010xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
2256*_VS2010xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
2257
2258##################
2259# IA32 definitions
2260##################
2261*_VS2010xASL_IA32_*_DLL        = DEF(VS2010_DLL)
2262
2263*_VS2010xASL_IA32_MAKE_PATH    = DEF(VS2010_BIN)\nmake.exe
2264*_VS2010xASL_IA32_CC_PATH      = DEF(VS2010_BIN)\cl.exe
2265*_VS2010xASL_IA32_VFRPP_PATH   = DEF(VS2010_BIN)\cl.exe
2266*_VS2010xASL_IA32_SLINK_PATH   = DEF(VS2010_BIN)\lib.exe
2267*_VS2010xASL_IA32_DLINK_PATH   = DEF(VS2010_BIN)\link.exe
2268*_VS2010xASL_IA32_APP_PATH     = DEF(VS2010_BIN)\cl.exe
2269*_VS2010xASL_IA32_PP_PATH      = DEF(VS2010_BIN)\cl.exe
2270*_VS2010xASL_IA32_ASM_PATH     = DEF(VS2010_BIN)\ml.exe
2271*_VS2010xASL_IA32_ASLCC_PATH    = DEF(VS2010_BIN)\cl.exe
2272*_VS2010xASL_IA32_ASLPP_PATH    = DEF(VS2010_BIN)\cl.exe
2273*_VS2010xASL_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)\link.exe
2274
2275      *_VS2010xASL_IA32_MAKE_FLAGS  = /nologo
2276  DEBUG_VS2010xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2277RELEASE_VS2010xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2278NOOPT_VS2010xASL_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2279
2280  DEBUG_VS2010xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2281RELEASE_VS2010xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
2282NOOPT_VS2010xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2283
2284  DEBUG_VS2010xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
2285RELEASE_VS2010xASL_IA32_NASM_FLAGS  = -Ox -f win32
2286NOOPT_VS2010xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
2287
2288  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
2289RELEASE_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:.rdata=.data
2290NOOPT_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
2291
2292##################
2293# X64 definitions
2294##################
2295*_VS2010xASL_X64_*_DLL         = DEF(VS2010_DLL)
2296
2297*_VS2010xASL_X64_CC_PATH       = DEF(VS2010_BINX64)\cl.exe
2298*_VS2010xASL_X64_PP_PATH       = DEF(VS2010_BINX64)\cl.exe
2299*_VS2010xASL_X64_APP_PATH      = DEF(VS2010_BINX64)\cl.exe
2300*_VS2010xASL_X64_VFRPP_PATH    = DEF(VS2010_BINX64)\cl.exe
2301*_VS2010xASL_X64_ASM_PATH      = DEF(VS2010_BINX64)\ml64.exe
2302*_VS2010xASL_X64_SLINK_PATH    = DEF(VS2010_BINX64)\lib.exe
2303*_VS2010xASL_X64_DLINK_PATH    = DEF(VS2010_BINX64)\link.exe
2304*_VS2010xASL_X64_ASLCC_PATH    = DEF(VS2010_BINX64)\cl.exe
2305*_VS2010xASL_X64_ASLPP_PATH    = DEF(VS2010_BINX64)\cl.exe
2306*_VS2010xASL_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
2307
2308  DEBUG_VS2010xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2309RELEASE_VS2010xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2310NOOPT_VS2010xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2311
2312  DEBUG_VS2010xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2313RELEASE_VS2010xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2314NOOPT_VS2010xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
2315
2316  DEBUG_VS2010xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
2317RELEASE_VS2010xASL_X64_NASM_FLAGS   = -Ox -f win64
2318NOOPT_VS2010xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
2319
2320  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
2321RELEASE_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:.rdata=.data
2322NOOPT_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
2323
2324##################
2325# IPF definitions
2326##################
2327*_VS2010xASL_IPF_*_DLL         = DEF(VS2010_DLL)
2328
2329*_VS2010xASL_IPF_PP_PATH       = DEF(VS2010_BIN64)\cl.exe
2330*_VS2010xASL_IPF_APP_PATH      = DEF(VS2010_BIN64)\cl.exe
2331*_VS2010xASL_IPF_VFRPP_PATH    = DEF(VS2010_BIN64)\cl.exe
2332*_VS2010xASL_IPF_CC_PATH       = DEF(VS2010_BIN64)\cl.exe
2333*_VS2010xASL_IPF_ASM_PATH      = DEF(VS2010_BIN64)\ias.exe
2334*_VS2010xASL_IPF_SLINK_PATH    = DEF(VS2010_BIN64)\lib.exe
2335*_VS2010xASL_IPF_DLINK_PATH    = DEF(VS2010_BIN64)\link.exe
2336*_VS2010xASL_IPF_ASLCC_PATH    = DEF(VS2010_BIN64)\cl.exe
2337*_VS2010xASL_IPF_ASLPP_PATH    = DEF(VS2010_BIN64)\cl.exe
2338*_VS2010xASL_IPF_ASLDLINK_PATH = DEF(VS2010_BIN64)\link.exe
2339
2340  DEBUG_VS2010xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2341RELEASE_VS2010xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2342NOOPT_VS2010xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2343
2344  DEBUG_VS2010xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
2345RELEASE_VS2010xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
2346NOOPT_VS2010xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
2347
2348  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
2349RELEASE_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
2350NOOPT_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
2351
2352##################
2353# EBC definitions
2354##################
2355*_VS2010xASL_EBC_*_FAMILY            = INTEL
2356*_VS2010xASL_EBC_*_DLL               = DEF(VS2010_DLL)
2357
2358*_VS2010xASL_EBC_MAKE_PATH           = DEF(VS2010_BIN)\nmake.exe
2359*_VS2010xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
2360*_VS2010xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
2361*_VS2010xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
2362*_VS2010xASL_EBC_SLINK_PATH          = DEF(VS2010_BIN)\link.exe
2363*_VS2010xASL_EBC_DLINK_PATH          = DEF(VS2010_BIN)\link.exe
2364
2365*_VS2010xASL_EBC_MAKE_FLAGS          = /nologo
2366*_VS2010xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2367*_VS2010xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2368*_VS2010xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2369*_VS2010xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2370*_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
2371
2372
2373####################################################################################
2374#   VS2010x86       - Microsoft Visual Studio 2010 (x86) with Intel ASL
2375#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)
2376####################################################################################
2377#   VS2010x86           - Microsoft Visual Studio 2010 (x86) ALL Edition with Intel ASL
2378*_VS2010x86_*_*_FAMILY        = MSFT
2379
2380*_VS2010x86_*_MAKE_PATH       = DEF(VS2010x86_BIN)\nmake.exe
2381*_VS2010x86_*_MAKE_FLAG       = /nologo
2382*_VS2010x86_*_RC_PATH         = DEF(WINSDK7x86_BIN)\rc.exe
2383
2384*_VS2010x86_*_MAKE_FLAGS      = /nologo
2385*_VS2010x86_*_SLINK_FLAGS     = /NOLOGO /LTCG
2386*_VS2010x86_*_APP_FLAGS       = /nologo /E /TC
2387*_VS2010x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
2388*_VS2010x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2389
2390*_VS2010x86_*_ASM16_PATH      = DEF(VS2010x86_BIN)\ml.exe
2391
2392##################
2393# ASL definitions
2394##################
2395*_VS2010x86_*_ASL_PATH        = DEF(WIN_IASL_BIN)
2396*_VS2010x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
2397*_VS2010x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2398*_VS2010x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
2399*_VS2010x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
2400*_VS2010x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
2401
2402##################
2403# IA32 definitions
2404##################
2405*_VS2010x86_IA32_*_DLL        = DEF(VS2010x86_DLL)
2406
2407*_VS2010x86_IA32_MAKE_PATH    = DEF(VS2010x86_BIN)\nmake.exe
2408*_VS2010x86_IA32_CC_PATH      = DEF(VS2010x86_BIN)\cl.exe
2409*_VS2010x86_IA32_VFRPP_PATH   = DEF(VS2010x86_BIN)\cl.exe
2410*_VS2010x86_IA32_ASLCC_PATH   = DEF(VS2010x86_BIN)\cl.exe
2411*_VS2010x86_IA32_ASLPP_PATH   = DEF(VS2010x86_BIN)\cl.exe
2412*_VS2010x86_IA32_SLINK_PATH   = DEF(VS2010x86_BIN)\lib.exe
2413*_VS2010x86_IA32_DLINK_PATH   = DEF(VS2010x86_BIN)\link.exe
2414*_VS2010x86_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
2415*_VS2010x86_IA32_APP_PATH     = DEF(VS2010x86_BIN)\cl.exe
2416*_VS2010x86_IA32_PP_PATH      = DEF(VS2010x86_BIN)\cl.exe
2417*_VS2010x86_IA32_ASM_PATH     = DEF(VS2010x86_BIN)\ml.exe
2418
2419      *_VS2010x86_IA32_MAKE_FLAGS  = /nologo
2420  DEBUG_VS2010x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2421RELEASE_VS2010x86_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2422NOOPT_VS2010x86_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2423
2424  DEBUG_VS2010x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2425RELEASE_VS2010x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
2426NOOPT_VS2010x86_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2427
2428  DEBUG_VS2010x86_IA32_NASM_FLAGS  = -Ox -f win32 -g
2429RELEASE_VS2010x86_IA32_NASM_FLAGS  = -Ox -f win32
2430NOOPT_VS2010x86_IA32_NASM_FLAGS    = -O0 -f win32 -g
2431
2432  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
2433RELEASE_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:.rdata=.data
2434NOOPT_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
2435
2436##################
2437# X64 definitions
2438##################
2439*_VS2010x86_X64_*_DLL         = DEF(VS2010x86_DLL)
2440
2441*_VS2010x86_X64_CC_PATH       = DEF(VS2010x86_BINX64)\cl.exe
2442*_VS2010x86_X64_PP_PATH       = DEF(VS2010x86_BINX64)\cl.exe
2443*_VS2010x86_X64_APP_PATH      = DEF(VS2010x86_BINX64)\cl.exe
2444*_VS2010x86_X64_VFRPP_PATH    = DEF(VS2010x86_BINX64)\cl.exe
2445*_VS2010x86_X64_ASLCC_PATH    = DEF(VS2010x86_BINX64)\cl.exe
2446*_VS2010x86_X64_ASLPP_PATH    = DEF(VS2010x86_BINX64)\cl.exe
2447*_VS2010x86_X64_ASM_PATH      = DEF(VS2010x86_BINX64)\ml64.exe
2448*_VS2010x86_X64_SLINK_PATH    = DEF(VS2010x86_BINX64)\lib.exe
2449*_VS2010x86_X64_DLINK_PATH    = DEF(VS2010x86_BINX64)\link.exe
2450*_VS2010x86_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2451
2452  DEBUG_VS2010x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2453RELEASE_VS2010x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2454NOOPT_VS2010x86_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2455
2456  DEBUG_VS2010x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2457RELEASE_VS2010x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2458NOOPT_VS2010x86_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
2459
2460  DEBUG_VS2010x86_X64_NASM_FLAGS   = -Ox -f win64 -g
2461RELEASE_VS2010x86_X64_NASM_FLAGS   = -Ox -f win64
2462NOOPT_VS2010x86_X64_NASM_FLAGS     = -O0 -f win64 -g
2463
2464  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
2465RELEASE_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:.rdata=.data
2466NOOPT_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
2467
2468##################
2469# IPF definitions
2470##################
2471*_VS2010x86_IPF_*_DLL         = DEF(VS2010x86_DLL)
2472
2473*_VS2010x86_IPF_PP_PATH       = DEF(VS2010x86_BIN64)\cl.exe
2474*_VS2010x86_IPF_APP_PATH      = DEF(VS2010x86_BIN64)\cl.exe
2475*_VS2010x86_IPF_VFRPP_PATH    = DEF(VS2010x86_BIN64)\cl.exe
2476*_VS2010x86_IPF_ASLCC_PATH    = DEF(VS2010x86_BIN64)\cl.exe
2477*_VS2010x86_IPF_ASLPP_PATH    = DEF(VS2010x86_BIN64)\cl.exe
2478*_VS2010x86_IPF_CC_PATH       = DEF(VS2010x86_BIN64)\cl.exe
2479*_VS2010x86_IPF_ASM_PATH      = DEF(VS2010x86_BIN64)\ias.exe
2480*_VS2010x86_IPF_SLINK_PATH    = DEF(VS2010x86_BIN64)\lib.exe
2481*_VS2010x86_IPF_DLINK_PATH    = DEF(VS2010x86_BIN64)\link.exe
2482*_VS2010x86_IPF_ASLDLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2483
2484  DEBUG_VS2010x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2485RELEASE_VS2010x86_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2486NOOPT_VS2010x86_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2487
2488  DEBUG_VS2010x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
2489RELEASE_VS2010x86_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
2490NOOPT_VS2010x86_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
2491
2492  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
2493RELEASE_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
2494NOOPT_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
2495
2496##################
2497# EBC definitions
2498##################
2499*_VS2010x86_EBC_*_FAMILY            = INTEL
2500*_VS2010x86_EBC_*_DLL               = DEF(VS2010x86_DLL)
2501
2502*_VS2010x86_EBC_MAKE_PATH           = DEF(VS2010x86_BIN)\nmake.exe
2503*_VS2010x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
2504*_VS2010x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
2505*_VS2010x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
2506*_VS2010x86_EBC_SLINK_PATH          = DEF(VS2010x86_BIN)\link.exe
2507*_VS2010x86_EBC_DLINK_PATH          = DEF(VS2010x86_BIN)\link.exe
2508
2509*_VS2010x86_EBC_MAKE_FLAGS          = /nologo
2510*_VS2010x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2511*_VS2010x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2512*_VS2010x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2513*_VS2010x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2514*_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
2515
2516
2517####################################################################################
2518#   VS2010x86xASL     - Microsoft Visual Studio 2010 with Microsoft ASL
2519#   ASL  - Microsoft ACPI Source Language Compiler (asl.exe)
2520####################################################################################
2521*_VS2010x86xASL_*_*_FAMILY        = MSFT
2522
2523*_VS2010x86xASL_*_MAKE_PATH       = DEF(VS2010x86_BIN)\nmake.exe
2524*_VS2010x86xASL_*_MAKE_FLAG       = /nologo
2525*_VS2010x86xASL_*_RC_PATH         = DEF(WINSDK7x86_BIN)\rc.exe
2526
2527*_VS2010x86xASL_*_MAKE_FLAGS      = /nologo
2528*_VS2010x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
2529*_VS2010x86xASL_*_APP_FLAGS       = /nologo /E /TC
2530*_VS2010x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
2531*_VS2010x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2532
2533*_VS2010x86xASL_*_ASM16_PATH      = DEF(VS2010x86_BIN)\ml.exe
2534
2535##################
2536# ASL definitions
2537##################
2538*_VS2010x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
2539*_VS2010x86xASL_*_ASL_FLAGS       = DEF(MS_ASL_FLAGS)
2540*_VS2010x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
2541*_VS2010x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
2542*_VS2010x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
2543*_VS2010x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
2544
2545##################
2546# IA32 definitions
2547##################
2548*_VS2010x86xASL_IA32_*_DLL        = DEF(VS2010x86_DLL)
2549
2550*_VS2010x86xASL_IA32_MAKE_PATH    = DEF(VS2010x86_BIN)\nmake.exe
2551*_VS2010x86xASL_IA32_CC_PATH      = DEF(VS2010x86_BIN)\cl.exe
2552*_VS2010x86xASL_IA32_VFRPP_PATH   = DEF(VS2010x86_BIN)\cl.exe
2553*_VS2010x86xASL_IA32_ASLCC_PATH   = DEF(VS2010x86_BIN)\cl.exe
2554*_VS2010x86xASL_IA32_ASLPP_PATH   = DEF(VS2010x86_BIN)\cl.exe
2555*_VS2010x86xASL_IA32_SLINK_PATH   = DEF(VS2010x86_BIN)\lib.exe
2556*_VS2010x86xASL_IA32_DLINK_PATH   = DEF(VS2010x86_BIN)\link.exe
2557*_VS2010x86xASL_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
2558*_VS2010x86xASL_IA32_APP_PATH     = DEF(VS2010x86_BIN)\cl.exe
2559*_VS2010x86xASL_IA32_PP_PATH      = DEF(VS2010x86_BIN)\cl.exe
2560*_VS2010x86xASL_IA32_ASM_PATH     = DEF(VS2010x86_BIN)\ml.exe
2561
2562      *_VS2010x86xASL_IA32_MAKE_FLAGS  = /nologo
2563  DEBUG_VS2010x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2564RELEASE_VS2010x86xASL_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2565NOOPT_VS2010x86xASL_IA32_CC_FLAGS      = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2566
2567  DEBUG_VS2010x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2568RELEASE_VS2010x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
2569NOOPT_VS2010x86xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2570
2571  DEBUG_VS2010x86xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
2572RELEASE_VS2010x86xASL_IA32_NASM_FLAGS  = -Ox -f win32
2573NOOPT_VS2010x86xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
2574
2575  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
2576RELEASE_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:.rdata=.data
2577NOOPT_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
2578
2579##################
2580# X64 definitions
2581##################
2582*_VS2010x86xASL_X64_*_DLL         = DEF(VS2010x86_DLL)
2583
2584*_VS2010x86xASL_X64_CC_PATH       = DEF(VS2010x86_BINX64)\cl.exe
2585*_VS2010x86xASL_X64_PP_PATH       = DEF(VS2010x86_BINX64)\cl.exe
2586*_VS2010x86xASL_X64_APP_PATH      = DEF(VS2010x86_BINX64)\cl.exe
2587*_VS2010x86xASL_X64_VFRPP_PATH    = DEF(VS2010x86_BINX64)\cl.exe
2588*_VS2010x86xASL_X64_ASLCC_PATH    = DEF(VS2010x86_BINX64)\cl.exe
2589*_VS2010x86xASL_X64_ASLPP_PATH    = DEF(VS2010x86_BINX64)\cl.exe
2590*_VS2010x86xASL_X64_ASM_PATH      = DEF(VS2010x86_BINX64)\ml64.exe
2591*_VS2010x86xASL_X64_SLINK_PATH    = DEF(VS2010x86_BINX64)\lib.exe
2592*_VS2010x86xASL_X64_DLINK_PATH    = DEF(VS2010x86_BINX64)\link.exe
2593*_VS2010x86xASL_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
2594
2595  DEBUG_VS2010x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2596RELEASE_VS2010x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2597NOOPT_VS2010x86xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2598
2599  DEBUG_VS2010x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2600RELEASE_VS2010x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2601NOOPT_VS2010x86xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
2602
2603  DEBUG_VS2010x86xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
2604RELEASE_VS2010x86xASL_X64_NASM_FLAGS   = -Ox -f win64
2605NOOPT_VS2010x86xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
2606
2607  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
2608RELEASE_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:.rdata=.data
2609NOOPT_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
2610
2611##################
2612# IPF definitions
2613##################
2614*_VS2010x86xASL_IPF_*_DLL         = DEF(VS2010x86_DLL)
2615
2616*_VS2010x86xASL_IPF_PP_PATH       = DEF(VS2010x86_BIN64)\cl.exe
2617*_VS2010x86xASL_IPF_APP_PATH      = DEF(VS2010x86_BIN64)\cl.exe
2618*_VS2010x86xASL_IPF_VFRPP_PATH    = DEF(VS2010x86_BIN64)\cl.exe
2619*_VS2010x86xASL_IPF_ASLCC_PATH    = DEF(VS2010x86_BIN64)\cl.exe
2620*_VS2010x86xASL_IPF_ASLPP_PATH    = DEF(VS2010x86_BIN64)\cl.exe
2621*_VS2010x86xASL_IPF_CC_PATH       = DEF(VS2010x86_BIN64)\cl.exe
2622*_VS2010x86xASL_IPF_ASM_PATH      = DEF(VS2010x86_BIN64)\ias.exe
2623*_VS2010x86xASL_IPF_SLINK_PATH    = DEF(VS2010x86_BIN64)\lib.exe
2624*_VS2010x86xASL_IPF_DLINK_PATH    = DEF(VS2010x86_BIN64)\link.exe
2625*_VS2010x86xASL_IPF_ASLDLINK_PATH = DEF(VS2010x86_BIN64)\link.exe
2626
2627  DEBUG_VS2010x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
2628RELEASE_VS2010x86xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
2629NOOPT_VS2010x86xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
2630
2631  DEBUG_VS2010x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
2632RELEASE_VS2010x86xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
2633NOOPT_VS2010x86xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
2634
2635  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
2636RELEASE_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
2637NOOPT_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
2638
2639##################
2640# EBC definitions
2641##################
2642*_VS2010x86xASL_EBC_*_FAMILY            = INTEL
2643*_VS2010x86xASL_EBC_*_DLL               = DEF(VS2010x86_DLL)
2644
2645*_VS2010x86xASL_EBC_MAKE_PATH           = DEF(VS2010x86_BIN)\nmake.exe
2646*_VS2010x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
2647*_VS2010x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
2648*_VS2010x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
2649*_VS2010x86xASL_EBC_SLINK_PATH          = DEF(VS2010x86_BIN)\link.exe
2650*_VS2010x86xASL_EBC_DLINK_PATH          = DEF(VS2010x86_BIN)\link.exe
2651
2652*_VS2010x86xASL_EBC_MAKE_FLAGS          = /nologo
2653*_VS2010x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2654*_VS2010x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2655*_VS2010x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2656*_VS2010x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2657*_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
2658
2659
2660####################################################################################
2661#
2662# Microsoft Visual Studio 2012
2663#
2664#   VS2012  - Microsoft Visual Studio 2012 Professional Edition with Intel ASL
2665#   ASL     - Intel ACPI Source Language Compiler
2666####################################################################################
2667#   VS2012           - Microsoft Visual Studio 2012 Professional Edition
2668*_VS2012_*_*_FAMILY               = MSFT
2669
2670*_VS2012_*_MAKE_PATH              = DEF(VS2012_BIN)\nmake.exe
2671*_VS2012_*_MAKE_FLAGS             = /nologo
2672*_VS2012_*_RC_PATH                = DEF(WINSDK71_BIN)\rc.exe
2673
2674*_VS2012_*_SLINK_FLAGS            = /NOLOGO /LTCG
2675*_VS2012_*_APP_FLAGS              = /nologo /E /TC
2676*_VS2012_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
2677*_VS2012_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2678
2679*_VS2012_*_ASM16_PATH             = DEF(VS2012_BIN)\ml.exe
2680
2681##################
2682# ASL definitions
2683##################
2684*_VS2012_*_ASL_PATH               = DEF(DEFAULT_WIN_ASL_BIN)
2685*_VS2012_*_ASL_FLAGS              = DEF(DEFAULT_WIN_ASL_FLAGS)
2686*_VS2012_*_ASL_OUTFLAGS           = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2687*_VS2012_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)
2688*_VS2012_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)
2689*_VS2012_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)
2690
2691##################
2692# IA32 definitions
2693##################
2694*_VS2012_IA32_*_DLL               = DEF(VS2012_DLL)
2695
2696*_VS2012_IA32_MAKE_PATH           = DEF(VS2012_BIN)\nmake.exe
2697*_VS2012_IA32_CC_PATH             = DEF(VS2012_BIN)\cl.exe
2698*_VS2012_IA32_VFRPP_PATH          = DEF(VS2012_BIN)\cl.exe
2699*_VS2012_IA32_SLINK_PATH          = DEF(VS2012_BIN)\lib.exe
2700*_VS2012_IA32_DLINK_PATH          = DEF(VS2012_BIN)\link.exe
2701*_VS2012_IA32_APP_PATH            = DEF(VS2012_BIN)\cl.exe
2702*_VS2012_IA32_PP_PATH             = DEF(VS2012_BIN)\cl.exe
2703*_VS2012_IA32_ASM_PATH            = DEF(VS2012_BIN)\ml.exe
2704*_VS2012_IA32_ASLCC_PATH          = DEF(VS2012_BIN)\cl.exe
2705*_VS2012_IA32_ASLPP_PATH          = DEF(VS2012_BIN)\cl.exe
2706*_VS2012_IA32_ASLDLINK_PATH       = DEF(VS2012_BIN)\link.exe
2707
2708      *_VS2012_IA32_MAKE_FLAGS    = /nologo
2709  DEBUG_VS2012_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2710RELEASE_VS2012_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2711NOOPT_VS2012_IA32_CC_FLAGS        = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2712
2713  DEBUG_VS2012_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2714RELEASE_VS2012_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd
2715NOOPT_VS2012_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2716
2717  DEBUG_VS2012_IA32_NASM_FLAGS    = -Ox -f win32 -g
2718RELEASE_VS2012_IA32_NASM_FLAGS    = -Ox -f win32
2719NOOPT_VS2012_IA32_NASM_FLAGS      = -O0 -f win32 -g
2720
2721  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
2722RELEASE_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:.rdata=.data
2723NOOPT_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
2724
2725##################
2726# X64 definitions
2727##################
2728*_VS2012_X64_*_DLL         = DEF(VS2012_DLL)
2729
2730*_VS2012_X64_CC_PATH       = DEF(VS2012_BINX64)\cl.exe
2731*_VS2012_X64_PP_PATH       = DEF(VS2012_BINX64)\cl.exe
2732*_VS2012_X64_APP_PATH      = DEF(VS2012_BINX64)\cl.exe
2733*_VS2012_X64_VFRPP_PATH    = DEF(VS2012_BINX64)\cl.exe
2734*_VS2012_X64_ASM_PATH      = DEF(VS2012_BINX64)\ml64.exe
2735*_VS2012_X64_SLINK_PATH    = DEF(VS2012_BINX64)\lib.exe
2736*_VS2012_X64_DLINK_PATH    = DEF(VS2012_BINX64)\link.exe
2737*_VS2012_X64_ASLCC_PATH    = DEF(VS2012_BINX64)\cl.exe
2738*_VS2012_X64_ASLPP_PATH    = DEF(VS2012_BINX64)\cl.exe
2739*_VS2012_X64_ASLDLINK_PATH = DEF(VS2012_BINX64)\link.exe
2740
2741  DEBUG_VS2012_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2742RELEASE_VS2012_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2743NOOPT_VS2012_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2744
2745  DEBUG_VS2012_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2746RELEASE_VS2012_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2747NOOPT_VS2012_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2748
2749  DEBUG_VS2012_X64_NASM_FLAGS   = -Ox -f win64 -g
2750RELEASE_VS2012_X64_NASM_FLAGS   = -Ox -f win64
2751NOOPT_VS2012_X64_NASM_FLAGS     = -O0 -f win64 -g
2752
2753  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
2754RELEASE_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:.rdata=.data
2755NOOPT_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
2756
2757##################
2758# EBC definitions
2759##################
2760*_VS2012_EBC_*_FAMILY            = INTEL
2761*_VS2012_EBC_*_DLL               = DEF(VS2012_DLL)
2762
2763*_VS2012_EBC_MAKE_PATH           = DEF(VS2012_BIN)\nmake.exe
2764*_VS2012_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
2765*_VS2012_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
2766*_VS2012_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
2767*_VS2012_EBC_SLINK_PATH          = DEF(VS2012_BIN)\link.exe
2768*_VS2012_EBC_DLINK_PATH          = DEF(VS2012_BIN)\link.exe
2769
2770*_VS2012_EBC_MAKE_FLAGS          = /nologo
2771*_VS2012_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2772*_VS2012_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2773*_VS2012_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2774*_VS2012_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2775*_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
2776
2777
2778####################################################################################
2779#
2780# Microsoft Visual Studio 2012
2781#
2782#   VS2012  - Microsoft Visual Studio 2012 Professional Edition with Microsoft ASL
2783#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)
2784####################################################################################
2785#   VS2012xASL           - Microsoft Visual Studio 2012 Professional Edition
2786*_VS2012xASL_*_*_FAMILY        = MSFT
2787
2788*_VS2012xASL_*_MAKE_PATH       = DEF(VS2012_BIN)\nmake.exe
2789*_VS2012xASL_*_MAKE_FLAG       = /nologo
2790*_VS2012xASL_*_RC_PATH         = DEF(WINSDK71_BIN)\rc.exe
2791
2792*_VS2012xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
2793*_VS2012xASL_*_APP_FLAGS       = /nologo /E /TC
2794*_VS2012xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
2795*_VS2012xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2796
2797*_VS2012xASL_*_ASM16_PATH      = DEF(VS2012_BIN)\ml.exe
2798
2799##################
2800# ASL definitions
2801##################
2802*_VS2012xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
2803*_VS2012xASL_*_ASL_FLAGS       =
2804*_VS2012xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
2805*_VS2012xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
2806*_VS2012xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
2807*_VS2012xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
2808
2809##################
2810# IA32 definitions
2811##################
2812*_VS2012xASL_IA32_*_DLL        = DEF(VS2012_DLL)
2813
2814*_VS2012xASL_IA32_MAKE_PATH    = DEF(VS2012_BIN)\nmake.exe
2815*_VS2012xASL_IA32_CC_PATH      = DEF(VS2012_BIN)\cl.exe
2816*_VS2012xASL_IA32_VFRPP_PATH   = DEF(VS2012_BIN)\cl.exe
2817*_VS2012xASL_IA32_SLINK_PATH   = DEF(VS2012_BIN)\lib.exe
2818*_VS2012xASL_IA32_DLINK_PATH   = DEF(VS2012_BIN)\link.exe
2819*_VS2012xASL_IA32_APP_PATH     = DEF(VS2012_BIN)\cl.exe
2820*_VS2012xASL_IA32_PP_PATH      = DEF(VS2012_BIN)\cl.exe
2821*_VS2012xASL_IA32_ASM_PATH     = DEF(VS2012_BIN)\ml.exe
2822*_VS2012xASL_IA32_ASLCC_PATH    = DEF(VS2012_BIN)\cl.exe
2823*_VS2012xASL_IA32_ASLPP_PATH    = DEF(VS2012_BIN)\cl.exe
2824*_VS2012xASL_IA32_ASLDLINK_PATH = DEF(VS2012_BIN)\link.exe
2825
2826      *_VS2012xASL_IA32_MAKE_FLAGS  = /nologo
2827  DEBUG_VS2012xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2828RELEASE_VS2012xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2829NOOPT_VS2012xASL_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2830
2831  DEBUG_VS2012xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2832RELEASE_VS2012xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
2833NOOPT_VS2012xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2834
2835  DEBUG_VS2012xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
2836RELEASE_VS2012xASL_IA32_NASM_FLAGS  = -Ox -f win32
2837NOOPT_VS2012xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
2838
2839  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
2840RELEASE_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:.rdata=.data
2841NOOPT_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
2842
2843##################
2844# X64 definitions
2845##################
2846*_VS2012xASL_X64_*_DLL         = DEF(VS2012_DLL)
2847
2848*_VS2012xASL_X64_CC_PATH       = DEF(VS2012_BINX64)\cl.exe
2849*_VS2012xASL_X64_PP_PATH       = DEF(VS2012_BINX64)\cl.exe
2850*_VS2012xASL_X64_APP_PATH      = DEF(VS2012_BINX64)\cl.exe
2851*_VS2012xASL_X64_VFRPP_PATH    = DEF(VS2012_BINX64)\cl.exe
2852*_VS2012xASL_X64_ASM_PATH      = DEF(VS2012_BINX64)\ml64.exe
2853*_VS2012xASL_X64_SLINK_PATH    = DEF(VS2012_BINX64)\lib.exe
2854*_VS2012xASL_X64_DLINK_PATH    = DEF(VS2012_BINX64)\link.exe
2855*_VS2012xASL_X64_ASLCC_PATH    = DEF(VS2012_BINX64)\cl.exe
2856*_VS2012xASL_X64_ASLPP_PATH    = DEF(VS2012_BINX64)\cl.exe
2857*_VS2012xASL_X64_ASLDLINK_PATH = DEF(VS2012_BINX64)\link.exe
2858
2859  DEBUG_VS2012xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2860RELEASE_VS2012xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2861NOOPT_VS2012xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2862
2863  DEBUG_VS2012xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2864RELEASE_VS2012xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2865NOOPT_VS2012xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
2866
2867  DEBUG_VS2012xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
2868RELEASE_VS2012xASL_X64_NASM_FLAGS   = -Ox -f win64
2869NOOPT_VS2012xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
2870
2871  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
2872RELEASE_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:.rdata=.data
2873NOOPT_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
2874
2875##################
2876# EBC definitions
2877##################
2878*_VS2012xASL_EBC_*_FAMILY            = INTEL
2879*_VS2012xASL_EBC_*_DLL               = DEF(VS2012_DLL)
2880
2881*_VS2012xASL_EBC_MAKE_PATH           = DEF(VS2012_BIN)\nmake.exe
2882*_VS2012xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
2883*_VS2012xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
2884*_VS2012xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
2885*_VS2012xASL_EBC_SLINK_PATH          = DEF(VS2012_BIN)\link.exe
2886*_VS2012xASL_EBC_DLINK_PATH          = DEF(VS2012_BIN)\link.exe
2887
2888*_VS2012xASL_EBC_MAKE_FLAGS          = /nologo
2889*_VS2012xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
2890*_VS2012xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
2891*_VS2012xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2892*_VS2012xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
2893*_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
2894
2895
2896####################################################################################
2897#   VS2012x86       - Microsoft Visual Studio 2012 (x86) professional with Intel ASL
2898#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)
2899####################################################################################
2900#   VS2012x86           - Microsoft Visual Studio 2012 (x86) professional Edition with Intel ASL
2901*_VS2012x86_*_*_FAMILY        = MSFT
2902
2903*_VS2012x86_*_MAKE_PATH       = DEF(VS2012x86_BIN)\nmake.exe
2904*_VS2012x86_*_MAKE_FLAG       = /nologo
2905*_VS2012x86_*_RC_PATH         = DEF(WINSDK71x86_BIN)\rc.exe
2906
2907*_VS2012x86_*_MAKE_FLAGS      = /nologo
2908*_VS2012x86_*_SLINK_FLAGS     = /NOLOGO /LTCG
2909*_VS2012x86_*_APP_FLAGS       = /nologo /E /TC
2910*_VS2012x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
2911*_VS2012x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
2912
2913*_VS2012x86_*_ASM16_PATH      = DEF(VS2012x86_BIN)\ml.exe
2914
2915##################
2916# ASL definitions
2917##################
2918*_VS2012x86_*_ASL_PATH        = DEF(WIN_IASL_BIN)
2919*_VS2012x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
2920*_VS2012x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
2921*_VS2012x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
2922*_VS2012x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
2923*_VS2012x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
2924
2925##################
2926# IA32 definitions
2927##################
2928*_VS2012x86_IA32_*_DLL        = DEF(VS2012x86_DLL)
2929
2930*_VS2012x86_IA32_MAKE_PATH    = DEF(VS2012x86_BIN)\nmake.exe
2931*_VS2012x86_IA32_CC_PATH      = DEF(VS2012x86_BIN)\cl.exe
2932*_VS2012x86_IA32_VFRPP_PATH   = DEF(VS2012x86_BIN)\cl.exe
2933*_VS2012x86_IA32_ASLCC_PATH   = DEF(VS2012x86_BIN)\cl.exe
2934*_VS2012x86_IA32_ASLPP_PATH   = DEF(VS2012x86_BIN)\cl.exe
2935*_VS2012x86_IA32_SLINK_PATH   = DEF(VS2012x86_BIN)\lib.exe
2936*_VS2012x86_IA32_DLINK_PATH   = DEF(VS2012x86_BIN)\link.exe
2937*_VS2012x86_IA32_ASLDLINK_PATH= DEF(VS2012x86_BIN)\link.exe
2938*_VS2012x86_IA32_APP_PATH     = DEF(VS2012x86_BIN)\cl.exe
2939*_VS2012x86_IA32_PP_PATH      = DEF(VS2012x86_BIN)\cl.exe
2940*_VS2012x86_IA32_ASM_PATH     = DEF(VS2012x86_BIN)\ml.exe
2941
2942      *_VS2012x86_IA32_MAKE_FLAGS  = /nologo
2943  DEBUG_VS2012x86_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
2944RELEASE_VS2012x86_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
2945NOOPT_VS2012x86_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
2946
2947  DEBUG_VS2012x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2948RELEASE_VS2012x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
2949NOOPT_VS2012x86_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
2950
2951  DEBUG_VS2012x86_IA32_NASM_FLAGS  = -Ox -f win32 -g
2952RELEASE_VS2012x86_IA32_NASM_FLAGS  = -Ox -f win32
2953NOOPT_VS2012x86_IA32_NASM_FLAGS    = -O0 -f win32 -g
2954
2955  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
2956RELEASE_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:.rdata=.data
2957NOOPT_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
2958
2959##################
2960# X64 definitions
2961##################
2962*_VS2012x86_X64_*_DLL         = DEF(VS2012x86_DLL)
2963
2964*_VS2012x86_X64_CC_PATH       = DEF(VS2012x86_BINX64)\cl.exe
2965*_VS2012x86_X64_PP_PATH       = DEF(VS2012x86_BINX64)\cl.exe
2966*_VS2012x86_X64_APP_PATH      = DEF(VS2012x86_BINX64)\cl.exe
2967*_VS2012x86_X64_VFRPP_PATH    = DEF(VS2012x86_BINX64)\cl.exe
2968*_VS2012x86_X64_ASLCC_PATH    = DEF(VS2012x86_BINX64)\cl.exe
2969*_VS2012x86_X64_ASLPP_PATH    = DEF(VS2012x86_BINX64)\cl.exe
2970*_VS2012x86_X64_ASM_PATH      = DEF(VS2012x86_BINX64)\ml64.exe
2971*_VS2012x86_X64_SLINK_PATH    = DEF(VS2012x86_BINX64)\lib.exe
2972*_VS2012x86_X64_DLINK_PATH    = DEF(VS2012x86_BINX64)\link.exe
2973*_VS2012x86_X64_ASLDLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
2974
2975  DEBUG_VS2012x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
2976RELEASE_VS2012x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
2977NOOPT_VS2012x86_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
2978
2979  DEBUG_VS2012x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
2980RELEASE_VS2012x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
2981NOOPT_VS2012x86_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
2982
2983  DEBUG_VS2012x86_X64_NASM_FLAGS   = -Ox -f win64 -g
2984RELEASE_VS2012x86_X64_NASM_FLAGS   = -Ox -f win64
2985NOOPT_VS2012x86_X64_NASM_FLAGS     = -O0 -f win64 -g
2986
2987  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
2988RELEASE_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:.rdata=.data
2989NOOPT_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
2990
2991##################
2992# EBC definitions
2993##################
2994*_VS2012x86_EBC_*_FAMILY            = INTEL
2995*_VS2012x86_EBC_*_DLL               = DEF(VS2012x86_DLL)
2996
2997*_VS2012x86_EBC_MAKE_PATH           = DEF(VS2012x86_BIN)\nmake.exe
2998*_VS2012x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
2999*_VS2012x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
3000*_VS2012x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
3001*_VS2012x86_EBC_SLINK_PATH          = DEF(VS2012x86_BIN)\link.exe
3002*_VS2012x86_EBC_DLINK_PATH          = DEF(VS2012x86_BIN)\link.exe
3003
3004*_VS2012x86_EBC_MAKE_FLAGS          = /nologo
3005*_VS2012x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3006*_VS2012x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3007*_VS2012x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3008*_VS2012x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3009*_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
3010
3011
3012####################################################################################
3013#   VS2012x86xASL     - Microsoft Visual Studio 2012 (x86) professional with Microsoft ASL
3014#   ASL  - Microsoft ACPI Source Language Compiler (asl.exe)
3015####################################################################################
3016*_VS2012x86xASL_*_*_FAMILY        = MSFT
3017
3018*_VS2012x86xASL_*_MAKE_PATH       = DEF(VS2012x86_BIN)\nmake.exe
3019*_VS2012x86xASL_*_MAKE_FLAG       = /nologo
3020*_VS2012x86xASL_*_RC_PATH         = DEF(WINSDK71x86_BIN)\rc.exe
3021
3022*_VS2012x86xASL_*_MAKE_FLAGS      = /nologo
3023*_VS2012x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
3024*_VS2012x86xASL_*_APP_FLAGS       = /nologo /E /TC
3025*_VS2012x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3026*_VS2012x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3027
3028*_VS2012x86xASL_*_ASM16_PATH      = DEF(VS2012x86_BIN)\ml.exe
3029
3030##################
3031# ASL definitions
3032##################
3033*_VS2012x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
3034*_VS2012x86xASL_*_ASL_FLAGS       = DEF(MS_ASL_FLAGS)
3035*_VS2012x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
3036*_VS2012x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3037*_VS2012x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3038*_VS2012x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3039
3040##################
3041# IA32 definitions
3042##################
3043*_VS2012x86xASL_IA32_*_DLL        = DEF(VS2012x86_DLL)
3044
3045*_VS2012x86xASL_IA32_MAKE_PATH    = DEF(VS2012x86_BIN)\nmake.exe
3046*_VS2012x86xASL_IA32_CC_PATH      = DEF(VS2012x86_BIN)\cl.exe
3047*_VS2012x86xASL_IA32_VFRPP_PATH   = DEF(VS2012x86_BIN)\cl.exe
3048*_VS2012x86xASL_IA32_ASLCC_PATH   = DEF(VS2012x86_BIN)\cl.exe
3049*_VS2012x86xASL_IA32_ASLPP_PATH   = DEF(VS2012x86_BIN)\cl.exe
3050*_VS2012x86xASL_IA32_SLINK_PATH   = DEF(VS2012x86_BIN)\lib.exe
3051*_VS2012x86xASL_IA32_DLINK_PATH   = DEF(VS2012x86_BIN)\link.exe
3052*_VS2012x86xASL_IA32_ASLDLINK_PATH= DEF(VS2012x86_BIN)\link.exe
3053*_VS2012x86xASL_IA32_APP_PATH     = DEF(VS2012x86_BIN)\cl.exe
3054*_VS2012x86xASL_IA32_PP_PATH      = DEF(VS2012x86_BIN)\cl.exe
3055*_VS2012x86xASL_IA32_ASM_PATH     = DEF(VS2012x86_BIN)\ml.exe
3056
3057      *_VS2012x86xASL_IA32_MAKE_FLAGS  = /nologo
3058  DEBUG_VS2012x86xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3059RELEASE_VS2012x86xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3060NOOPT_VS2012x86xASL_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3061
3062  DEBUG_VS2012x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3063RELEASE_VS2012x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3064NOOPT_VS2012x86xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3065
3066  DEBUG_VS2012x86xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
3067RELEASE_VS2012x86xASL_IA32_NASM_FLAGS  = -Ox -f win32
3068NOOPT_VS2012x86xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
3069
3070  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
3071RELEASE_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:.rdata=.data
3072NOOPT_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
3073
3074##################
3075# X64 definitions
3076##################
3077*_VS2012x86xASL_X64_*_DLL         = DEF(VS2012x86_DLL)
3078
3079*_VS2012x86xASL_X64_CC_PATH       = DEF(VS2012x86_BINX64)\cl.exe
3080*_VS2012x86xASL_X64_PP_PATH       = DEF(VS2012x86_BINX64)\cl.exe
3081*_VS2012x86xASL_X64_APP_PATH      = DEF(VS2012x86_BINX64)\cl.exe
3082*_VS2012x86xASL_X64_VFRPP_PATH    = DEF(VS2012x86_BINX64)\cl.exe
3083*_VS2012x86xASL_X64_ASLCC_PATH    = DEF(VS2012x86_BINX64)\cl.exe
3084*_VS2012x86xASL_X64_ASLPP_PATH    = DEF(VS2012x86_BINX64)\cl.exe
3085*_VS2012x86xASL_X64_ASM_PATH      = DEF(VS2012x86_BINX64)\ml64.exe
3086*_VS2012x86xASL_X64_SLINK_PATH    = DEF(VS2012x86_BINX64)\lib.exe
3087*_VS2012x86xASL_X64_DLINK_PATH    = DEF(VS2012x86_BINX64)\link.exe
3088*_VS2012x86xASL_X64_ASLDLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
3089
3090  DEBUG_VS2012x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3091RELEASE_VS2012x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3092NOOPT_VS2012x86xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3093
3094  DEBUG_VS2012x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3095RELEASE_VS2012x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3096NOOPT_VS2012x86xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
3097
3098  DEBUG_VS2012x86xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
3099RELEASE_VS2012x86xASL_X64_NASM_FLAGS   = -Ox -f win64
3100NOOPT_VS2012x86xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
3101
3102  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
3103RELEASE_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:.rdata=.data
3104NOOPT_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
3105
3106##################
3107# EBC definitions
3108##################
3109*_VS2012x86xASL_EBC_*_FAMILY            = INTEL
3110*_VS2012x86xASL_EBC_*_DLL               = DEF(VS2012x86_DLL)
3111
3112*_VS2012x86xASL_EBC_MAKE_PATH           = DEF(VS2012x86_BIN)\nmake.exe
3113*_VS2012x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
3114*_VS2012x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
3115*_VS2012x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
3116*_VS2012x86xASL_EBC_SLINK_PATH          = DEF(VS2012x86_BIN)\link.exe
3117*_VS2012x86xASL_EBC_DLINK_PATH          = DEF(VS2012x86_BIN)\link.exe
3118
3119*_VS2012x86xASL_EBC_MAKE_FLAGS          = /nologo
3120*_VS2012x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3121*_VS2012x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3122*_VS2012x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3123*_VS2012x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3124*_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
3125
3126####################################################################################
3127#
3128# Microsoft Visual Studio 2013
3129#
3130#   VS2013  - Microsoft Visual Studio 2013 Professional Edition with Intel ASL
3131#   ASL     - Intel ACPI Source Language Compiler
3132####################################################################################
3133#   VS2013           - Microsoft Visual Studio 2013 Professional Edition
3134*_VS2013_*_*_FAMILY               = MSFT
3135
3136*_VS2013_*_MAKE_PATH              = DEF(VS2013_BIN)\nmake.exe
3137*_VS2013_*_MAKE_FLAGS             = /nologo
3138*_VS2013_*_RC_PATH                = DEF(WINSDK8_BIN)\rc.exe
3139
3140*_VS2013_*_SLINK_FLAGS            = /NOLOGO /LTCG
3141*_VS2013_*_APP_FLAGS              = /nologo /E /TC
3142*_VS2013_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
3143*_VS2013_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3144
3145*_VS2013_*_ASM16_PATH             = DEF(VS2013_BIN)\ml.exe
3146
3147##################
3148# ASL definitions
3149##################
3150*_VS2013_*_ASL_PATH               = DEF(DEFAULT_WIN_ASL_BIN)
3151*_VS2013_*_ASL_FLAGS              = DEF(DEFAULT_WIN_ASL_FLAGS)
3152*_VS2013_*_ASL_OUTFLAGS           = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3153*_VS2013_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)
3154*_VS2013_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)
3155*_VS2013_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)
3156
3157##################
3158# IA32 definitions
3159##################
3160*_VS2013_IA32_*_DLL               = DEF(VS2013_DLL)
3161
3162*_VS2013_IA32_MAKE_PATH           = DEF(VS2013_BIN)\nmake.exe
3163*_VS2013_IA32_CC_PATH             = DEF(VS2013_BIN)\cl.exe
3164*_VS2013_IA32_VFRPP_PATH          = DEF(VS2013_BIN)\cl.exe
3165*_VS2013_IA32_SLINK_PATH          = DEF(VS2013_BIN)\lib.exe
3166*_VS2013_IA32_DLINK_PATH          = DEF(VS2013_BIN)\link.exe
3167*_VS2013_IA32_APP_PATH            = DEF(VS2013_BIN)\cl.exe
3168*_VS2013_IA32_PP_PATH             = DEF(VS2013_BIN)\cl.exe
3169*_VS2013_IA32_ASM_PATH            = DEF(VS2013_BIN)\ml.exe
3170*_VS2013_IA32_ASLCC_PATH          = DEF(VS2013_BIN)\cl.exe
3171*_VS2013_IA32_ASLPP_PATH          = DEF(VS2013_BIN)\cl.exe
3172*_VS2013_IA32_ASLDLINK_PATH       = DEF(VS2013_BIN)\link.exe
3173
3174      *_VS2013_IA32_MAKE_FLAGS    = /nologo
3175  DEBUG_VS2013_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3176RELEASE_VS2013_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3177NOOPT_VS2013_IA32_CC_FLAGS        = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3178
3179  DEBUG_VS2013_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3180RELEASE_VS2013_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd
3181NOOPT_VS2013_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3182
3183  DEBUG_VS2013_IA32_NASM_FLAGS    = -Ox -f win32 -g
3184RELEASE_VS2013_IA32_NASM_FLAGS    = -Ox -f win32
3185NOOPT_VS2013_IA32_NASM_FLAGS      = -O0 -f win32 -g
3186
3187  DEBUG_VS2013_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
3188RELEASE_VS2013_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:.rdata=.data
3189NOOPT_VS2013_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
3190
3191##################
3192# X64 definitions
3193##################
3194*_VS2013_X64_*_DLL         = DEF(VS2013_DLL)
3195
3196*_VS2013_X64_CC_PATH       = DEF(VS2013_BINX64)\cl.exe
3197*_VS2013_X64_PP_PATH       = DEF(VS2013_BINX64)\cl.exe
3198*_VS2013_X64_APP_PATH      = DEF(VS2013_BINX64)\cl.exe
3199*_VS2013_X64_VFRPP_PATH    = DEF(VS2013_BINX64)\cl.exe
3200*_VS2013_X64_ASM_PATH      = DEF(VS2013_BINX64)\ml64.exe
3201*_VS2013_X64_SLINK_PATH    = DEF(VS2013_BINX64)\lib.exe
3202*_VS2013_X64_DLINK_PATH    = DEF(VS2013_BINX64)\link.exe
3203*_VS2013_X64_ASLCC_PATH    = DEF(VS2013_BINX64)\cl.exe
3204*_VS2013_X64_ASLPP_PATH    = DEF(VS2013_BINX64)\cl.exe
3205*_VS2013_X64_ASLDLINK_PATH = DEF(VS2013_BINX64)\link.exe
3206
3207  DEBUG_VS2013_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3208RELEASE_VS2013_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3209NOOPT_VS2013_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3210
3211  DEBUG_VS2013_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3212RELEASE_VS2013_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3213NOOPT_VS2013_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3214
3215  DEBUG_VS2013_X64_NASM_FLAGS   = -Ox -f win64 -g
3216RELEASE_VS2013_X64_NASM_FLAGS   = -Ox -f win64
3217NOOPT_VS2013_X64_NASM_FLAGS     = -O0 -f win64 -g
3218
3219  DEBUG_VS2013_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
3220RELEASE_VS2013_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:.rdata=.data
3221NOOPT_VS2013_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
3222
3223##################
3224# EBC definitions
3225##################
3226*_VS2013_EBC_*_FAMILY            = INTEL
3227*_VS2013_EBC_*_DLL               = DEF(VS2013_DLL)
3228
3229*_VS2013_EBC_MAKE_PATH           = DEF(VS2013_BIN)\nmake.exe
3230*_VS2013_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
3231*_VS2013_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
3232*_VS2013_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
3233*_VS2013_EBC_SLINK_PATH          = DEF(VS2013_BIN)\link.exe
3234*_VS2013_EBC_DLINK_PATH          = DEF(VS2013_BIN)\link.exe
3235
3236*_VS2013_EBC_MAKE_FLAGS          = /nologo
3237*_VS2013_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3238*_VS2013_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3239*_VS2013_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3240*_VS2013_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3241*_VS2013_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
3242
3243
3244####################################################################################
3245#
3246# Microsoft Visual Studio 2013
3247#
3248#   VS2013  - Microsoft Visual Studio 2013 Professional Edition with Microsoft ASL
3249#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)
3250####################################################################################
3251#   VS2013xASL           - Microsoft Visual Studio 2013 Professional Edition
3252*_VS2013xASL_*_*_FAMILY        = MSFT
3253
3254*_VS2013xASL_*_MAKE_PATH       = DEF(VS2013_BIN)\nmake.exe
3255*_VS2013xASL_*_MAKE_FLAG       = /nologo
3256*_VS2013xASL_*_RC_PATH         = DEF(WINSDK8_BIN)\rc.exe
3257
3258*_VS2013xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
3259*_VS2013xASL_*_APP_FLAGS       = /nologo /E /TC
3260*_VS2013xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3261*_VS2013xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3262
3263*_VS2013xASL_*_ASM16_PATH      = DEF(VS2013_BIN)\ml.exe
3264
3265##################
3266# ASL definitions
3267##################
3268*_VS2013xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
3269*_VS2013xASL_*_ASL_FLAGS       =
3270*_VS2013xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
3271*_VS2013xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3272*_VS2013xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3273*_VS2013xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3274
3275##################
3276# IA32 definitions
3277##################
3278*_VS2013xASL_IA32_*_DLL        = DEF(VS2013_DLL)
3279
3280*_VS2013xASL_IA32_MAKE_PATH    = DEF(VS2013_BIN)\nmake.exe
3281*_VS2013xASL_IA32_CC_PATH      = DEF(VS2013_BIN)\cl.exe
3282*_VS2013xASL_IA32_VFRPP_PATH   = DEF(VS2013_BIN)\cl.exe
3283*_VS2013xASL_IA32_SLINK_PATH   = DEF(VS2013_BIN)\lib.exe
3284*_VS2013xASL_IA32_DLINK_PATH   = DEF(VS2013_BIN)\link.exe
3285*_VS2013xASL_IA32_APP_PATH     = DEF(VS2013_BIN)\cl.exe
3286*_VS2013xASL_IA32_PP_PATH      = DEF(VS2013_BIN)\cl.exe
3287*_VS2013xASL_IA32_ASM_PATH     = DEF(VS2013_BIN)\ml.exe
3288*_VS2013xASL_IA32_ASLCC_PATH    = DEF(VS2013_BIN)\cl.exe
3289*_VS2013xASL_IA32_ASLPP_PATH    = DEF(VS2013_BIN)\cl.exe
3290*_VS2013xASL_IA32_ASLDLINK_PATH = DEF(VS2013_BIN)\link.exe
3291
3292      *_VS2013xASL_IA32_MAKE_FLAGS  = /nologo
3293  DEBUG_VS2013xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3294RELEASE_VS2013xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3295NOOPT_VS2013xASL_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3296
3297  DEBUG_VS2013xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3298RELEASE_VS2013xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3299NOOPT_VS2013xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3300
3301  DEBUG_VS2013xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
3302RELEASE_VS2013xASL_IA32_NASM_FLAGS  = -Ox -f win32
3303NOOPT_VS2013xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
3304
3305  DEBUG_VS2013xASL_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
3306RELEASE_VS2013xASL_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:.rdata=.data
3307NOOPT_VS2013xASL_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
3308
3309##################
3310# X64 definitions
3311##################
3312*_VS2013xASL_X64_*_DLL         = DEF(VS2013_DLL)
3313
3314*_VS2013xASL_X64_CC_PATH       = DEF(VS2013_BINX64)\cl.exe
3315*_VS2013xASL_X64_PP_PATH       = DEF(VS2013_BINX64)\cl.exe
3316*_VS2013xASL_X64_APP_PATH      = DEF(VS2013_BINX64)\cl.exe
3317*_VS2013xASL_X64_VFRPP_PATH    = DEF(VS2013_BINX64)\cl.exe
3318*_VS2013xASL_X64_ASM_PATH      = DEF(VS2013_BINX64)\ml64.exe
3319*_VS2013xASL_X64_SLINK_PATH    = DEF(VS2013_BINX64)\lib.exe
3320*_VS2013xASL_X64_DLINK_PATH    = DEF(VS2013_BINX64)\link.exe
3321*_VS2013xASL_X64_ASLCC_PATH    = DEF(VS2013_BINX64)\cl.exe
3322*_VS2013xASL_X64_ASLPP_PATH    = DEF(VS2013_BINX64)\cl.exe
3323*_VS2013xASL_X64_ASLDLINK_PATH = DEF(VS2013_BINX64)\link.exe
3324
3325  DEBUG_VS2013xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3326RELEASE_VS2013xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3327NOOPT_VS2013xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3328
3329  DEBUG_VS2013xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3330RELEASE_VS2013xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3331NOOPT_VS2013xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
3332
3333  DEBUG_VS2013xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
3334RELEASE_VS2013xASL_X64_NASM_FLAGS   = -Ox -f win64
3335NOOPT_VS2013xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
3336
3337  DEBUG_VS2013xASL_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
3338RELEASE_VS2013xASL_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:.rdata=.data
3339NOOPT_VS2013xASL_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
3340
3341##################
3342# EBC definitions
3343##################
3344*_VS2013xASL_EBC_*_FAMILY            = INTEL
3345*_VS2013xASL_EBC_*_DLL               = DEF(VS2013_DLL)
3346
3347*_VS2013xASL_EBC_MAKE_PATH           = DEF(VS2013_BIN)\nmake.exe
3348*_VS2013xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
3349*_VS2013xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
3350*_VS2013xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
3351*_VS2013xASL_EBC_SLINK_PATH          = DEF(VS2013_BIN)\link.exe
3352*_VS2013xASL_EBC_DLINK_PATH          = DEF(VS2013_BIN)\link.exe
3353
3354*_VS2013xASL_EBC_MAKE_FLAGS          = /nologo
3355*_VS2013xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3356*_VS2013xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3357*_VS2013xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3358*_VS2013xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3359*_VS2013xASL_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
3360
3361
3362####################################################################################
3363#   VS2013x86       - Microsoft Visual Studio 2013 (x86) professional with Intel ASL
3364#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)
3365####################################################################################
3366#   VS2013x86           - Microsoft Visual Studio 2013 (x86) professional Edition with Intel ASL
3367*_VS2013x86_*_*_FAMILY        = MSFT
3368
3369*_VS2013x86_*_MAKE_PATH       = DEF(VS2013x86_BIN)\nmake.exe
3370*_VS2013x86_*_MAKE_FLAG       = /nologo
3371*_VS2013x86_*_RC_PATH         = DEF(WINSDK8x86_BIN)\rc.exe
3372
3373*_VS2013x86_*_MAKE_FLAGS      = /nologo
3374*_VS2013x86_*_SLINK_FLAGS     = /NOLOGO /LTCG
3375*_VS2013x86_*_APP_FLAGS       = /nologo /E /TC
3376*_VS2013x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3377*_VS2013x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3378
3379*_VS2013x86_*_ASM16_PATH      = DEF(VS2013x86_BIN)\ml.exe
3380
3381##################
3382# ASL definitions
3383##################
3384*_VS2013x86_*_ASL_PATH        = DEF(WIN_IASL_BIN)
3385*_VS2013x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
3386*_VS2013x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3387*_VS2013x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3388*_VS2013x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3389*_VS2013x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3390
3391##################
3392# IA32 definitions
3393##################
3394*_VS2013x86_IA32_*_DLL        = DEF(VS2013x86_DLL)
3395
3396*_VS2013x86_IA32_MAKE_PATH    = DEF(VS2013x86_BIN)\nmake.exe
3397*_VS2013x86_IA32_CC_PATH      = DEF(VS2013x86_BIN)\cl.exe
3398*_VS2013x86_IA32_VFRPP_PATH   = DEF(VS2013x86_BIN)\cl.exe
3399*_VS2013x86_IA32_ASLCC_PATH   = DEF(VS2013x86_BIN)\cl.exe
3400*_VS2013x86_IA32_ASLPP_PATH   = DEF(VS2013x86_BIN)\cl.exe
3401*_VS2013x86_IA32_SLINK_PATH   = DEF(VS2013x86_BIN)\lib.exe
3402*_VS2013x86_IA32_DLINK_PATH   = DEF(VS2013x86_BIN)\link.exe
3403*_VS2013x86_IA32_ASLDLINK_PATH= DEF(VS2013x86_BIN)\link.exe
3404*_VS2013x86_IA32_APP_PATH     = DEF(VS2013x86_BIN)\cl.exe
3405*_VS2013x86_IA32_PP_PATH      = DEF(VS2013x86_BIN)\cl.exe
3406*_VS2013x86_IA32_ASM_PATH     = DEF(VS2013x86_BIN)\ml.exe
3407
3408      *_VS2013x86_IA32_MAKE_FLAGS  = /nologo
3409  DEBUG_VS2013x86_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3410RELEASE_VS2013x86_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3411NOOPT_VS2013x86_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3412
3413  DEBUG_VS2013x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3414RELEASE_VS2013x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3415NOOPT_VS2013x86_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3416
3417  DEBUG_VS2013x86_IA32_NASM_FLAGS  = -Ox -f win32 -g
3418RELEASE_VS2013x86_IA32_NASM_FLAGS  = -Ox -f win32
3419NOOPT_VS2013x86_IA32_NASM_FLAGS    = -O0 -f win32 -g
3420
3421  DEBUG_VS2013x86_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
3422RELEASE_VS2013x86_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:.rdata=.data
3423NOOPT_VS2013x86_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
3424
3425##################
3426# X64 definitions
3427##################
3428*_VS2013x86_X64_*_DLL         = DEF(VS2013x86_DLL)
3429
3430*_VS2013x86_X64_CC_PATH       = DEF(VS2013x86_BINX64)\cl.exe
3431*_VS2013x86_X64_PP_PATH       = DEF(VS2013x86_BINX64)\cl.exe
3432*_VS2013x86_X64_APP_PATH      = DEF(VS2013x86_BINX64)\cl.exe
3433*_VS2013x86_X64_VFRPP_PATH    = DEF(VS2013x86_BINX64)\cl.exe
3434*_VS2013x86_X64_ASLCC_PATH    = DEF(VS2013x86_BINX64)\cl.exe
3435*_VS2013x86_X64_ASLPP_PATH    = DEF(VS2013x86_BINX64)\cl.exe
3436*_VS2013x86_X64_ASM_PATH      = DEF(VS2013x86_BINX64)\ml64.exe
3437*_VS2013x86_X64_SLINK_PATH    = DEF(VS2013x86_BINX64)\lib.exe
3438*_VS2013x86_X64_DLINK_PATH    = DEF(VS2013x86_BINX64)\link.exe
3439*_VS2013x86_X64_ASLDLINK_PATH = DEF(VS2013x86_BINX64)\link.exe
3440
3441  DEBUG_VS2013x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3442RELEASE_VS2013x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3443NOOPT_VS2013x86_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3444
3445  DEBUG_VS2013x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3446RELEASE_VS2013x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3447NOOPT_VS2013x86_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
3448
3449  DEBUG_VS2013x86_X64_NASM_FLAGS   = -Ox -f win64 -g
3450RELEASE_VS2013x86_X64_NASM_FLAGS   = -Ox -f win64
3451NOOPT_VS2013x86_X64_NASM_FLAGS     = -O0 -f win64 -g
3452
3453  DEBUG_VS2013x86_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
3454RELEASE_VS2013x86_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:.rdata=.data
3455NOOPT_VS2013x86_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
3456
3457##################
3458# EBC definitions
3459##################
3460*_VS2013x86_EBC_*_FAMILY            = INTEL
3461*_VS2013x86_EBC_*_DLL               = DEF(VS2013x86_DLL)
3462
3463*_VS2013x86_EBC_MAKE_PATH           = DEF(VS2013x86_BIN)\nmake.exe
3464*_VS2013x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
3465*_VS2013x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
3466*_VS2013x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
3467*_VS2013x86_EBC_SLINK_PATH          = DEF(VS2013x86_BIN)\link.exe
3468*_VS2013x86_EBC_DLINK_PATH          = DEF(VS2013x86_BIN)\link.exe
3469
3470*_VS2013x86_EBC_MAKE_FLAGS          = /nologo
3471*_VS2013x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3472*_VS2013x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3473*_VS2013x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3474*_VS2013x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3475*_VS2013x86_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
3476
3477
3478####################################################################################
3479#   VS2013x86xASL     - Microsoft Visual Studio 2013 (x86) professional with Microsoft ASL
3480#   ASL  - Microsoft ACPI Source Language Compiler (asl.exe)
3481####################################################################################
3482*_VS2013x86xASL_*_*_FAMILY        = MSFT
3483
3484*_VS2013x86xASL_*_MAKE_PATH       = DEF(VS2013x86_BIN)\nmake.exe
3485*_VS2013x86xASL_*_MAKE_FLAG       = /nologo
3486*_VS2013x86xASL_*_RC_PATH         = DEF(WINSDK8x86_BIN)\rc.exe
3487
3488*_VS2013x86xASL_*_MAKE_FLAGS      = /nologo
3489*_VS2013x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
3490*_VS2013x86xASL_*_APP_FLAGS       = /nologo /E /TC
3491*_VS2013x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3492*_VS2013x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3493
3494*_VS2013x86xASL_*_ASM16_PATH      = DEF(VS2013x86_BIN)\ml.exe
3495
3496##################
3497# ASL definitions
3498##################
3499*_VS2013x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
3500*_VS2013x86xASL_*_ASL_FLAGS       = DEF(MS_ASL_FLAGS)
3501*_VS2013x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
3502*_VS2013x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3503*_VS2013x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3504*_VS2013x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3505
3506##################
3507# IA32 definitions
3508##################
3509*_VS2013x86xASL_IA32_*_DLL        = DEF(VS2013x86_DLL)
3510
3511*_VS2013x86xASL_IA32_MAKE_PATH    = DEF(VS2013x86_BIN)\nmake.exe
3512*_VS2013x86xASL_IA32_CC_PATH      = DEF(VS2013x86_BIN)\cl.exe
3513*_VS2013x86xASL_IA32_VFRPP_PATH   = DEF(VS2013x86_BIN)\cl.exe
3514*_VS2013x86xASL_IA32_ASLCC_PATH   = DEF(VS2013x86_BIN)\cl.exe
3515*_VS2013x86xASL_IA32_ASLPP_PATH   = DEF(VS2013x86_BIN)\cl.exe
3516*_VS2013x86xASL_IA32_SLINK_PATH   = DEF(VS2013x86_BIN)\lib.exe
3517*_VS2013x86xASL_IA32_DLINK_PATH   = DEF(VS2013x86_BIN)\link.exe
3518*_VS2013x86xASL_IA32_ASLDLINK_PATH= DEF(VS2013x86_BIN)\link.exe
3519*_VS2013x86xASL_IA32_APP_PATH     = DEF(VS2013x86_BIN)\cl.exe
3520*_VS2013x86xASL_IA32_PP_PATH      = DEF(VS2013x86_BIN)\cl.exe
3521*_VS2013x86xASL_IA32_ASM_PATH     = DEF(VS2013x86_BIN)\ml.exe
3522
3523      *_VS2013x86xASL_IA32_MAKE_FLAGS  = /nologo
3524  DEBUG_VS2013x86xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3525RELEASE_VS2013x86xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3526NOOPT_VS2013x86xASL_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3527
3528  DEBUG_VS2013x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3529RELEASE_VS2013x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3530NOOPT_VS2013x86xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3531
3532  DEBUG_VS2013x86xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
3533RELEASE_VS2013x86xASL_IA32_NASM_FLAGS  = -Ox -f win32
3534NOOPT_VS2013x86xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
3535
3536  DEBUG_VS2013x86xASL_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
3537RELEASE_VS2013x86xASL_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:.rdata=.data
3538NOOPT_VS2013x86xASL_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
3539
3540##################
3541# X64 definitions
3542##################
3543*_VS2013x86xASL_X64_*_DLL         = DEF(VS2013x86_DLL)
3544
3545*_VS2013x86xASL_X64_CC_PATH       = DEF(VS2013x86_BINX64)\cl.exe
3546*_VS2013x86xASL_X64_PP_PATH       = DEF(VS2013x86_BINX64)\cl.exe
3547*_VS2013x86xASL_X64_APP_PATH      = DEF(VS2013x86_BINX64)\cl.exe
3548*_VS2013x86xASL_X64_VFRPP_PATH    = DEF(VS2013x86_BINX64)\cl.exe
3549*_VS2013x86xASL_X64_ASLCC_PATH    = DEF(VS2013x86_BINX64)\cl.exe
3550*_VS2013x86xASL_X64_ASLPP_PATH    = DEF(VS2013x86_BINX64)\cl.exe
3551*_VS2013x86xASL_X64_ASM_PATH      = DEF(VS2013x86_BINX64)\ml64.exe
3552*_VS2013x86xASL_X64_SLINK_PATH    = DEF(VS2013x86_BINX64)\lib.exe
3553*_VS2013x86xASL_X64_DLINK_PATH    = DEF(VS2013x86_BINX64)\link.exe
3554*_VS2013x86xASL_X64_ASLDLINK_PATH = DEF(VS2013x86_BINX64)\link.exe
3555
3556  DEBUG_VS2013x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3557RELEASE_VS2013x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3558NOOPT_VS2013x86xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3559
3560  DEBUG_VS2013x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3561RELEASE_VS2013x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3562NOOPT_VS2013x86xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
3563
3564  DEBUG_VS2013x86xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
3565RELEASE_VS2013x86xASL_X64_NASM_FLAGS   = -Ox -f win64
3566NOOPT_VS2013x86xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
3567
3568  DEBUG_VS2013x86xASL_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
3569RELEASE_VS2013x86xASL_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:.rdata=.data
3570NOOPT_VS2013x86xASL_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
3571
3572##################
3573# EBC definitions
3574##################
3575*_VS2013x86xASL_EBC_*_FAMILY            = INTEL
3576*_VS2013x86xASL_EBC_*_DLL               = DEF(VS2013x86_DLL)
3577
3578*_VS2013x86xASL_EBC_MAKE_PATH           = DEF(VS2013x86_BIN)\nmake.exe
3579*_VS2013x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
3580*_VS2013x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
3581*_VS2013x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
3582*_VS2013x86xASL_EBC_SLINK_PATH          = DEF(VS2013x86_BIN)\link.exe
3583*_VS2013x86xASL_EBC_DLINK_PATH          = DEF(VS2013x86_BIN)\link.exe
3584
3585*_VS2013x86xASL_EBC_MAKE_FLAGS          = /nologo
3586*_VS2013x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3587*_VS2013x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3588*_VS2013x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3589*_VS2013x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3590*_VS2013x86xASL_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
3591
3592
3593####################################################################################
3594#
3595# Microsoft Visual Studio 2015
3596#
3597#   VS2015  - Microsoft Visual Studio 2015 Professional Edition with Intel ASL
3598#   ASL     - Intel ACPI Source Language Compiler
3599####################################################################################
3600#   VS2015           - Microsoft Visual Studio 2015 Professional Edition
3601*_VS2015_*_*_FAMILY               = MSFT
3602
3603*_VS2015_*_MAKE_PATH              = DEF(VS2015_BIN)\nmake.exe
3604*_VS2015_*_MAKE_FLAGS             = /nologo
3605*_VS2015_*_RC_PATH                = DEF(WINSDK81_BIN)\rc.exe
3606
3607*_VS2015_*_SLINK_FLAGS            = /NOLOGO /LTCG
3608*_VS2015_*_APP_FLAGS              = /nologo /E /TC
3609*_VS2015_*_PP_FLAGS               = /nologo /E /TC /FIAutoGen.h
3610*_VS2015_*_VFRPP_FLAGS            = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3611
3612*_VS2015_*_ASM16_PATH             = DEF(VS2015_BIN)\ml.exe
3613
3614##################
3615# ASL definitions
3616##################
3617*_VS2015_*_ASL_PATH               = DEF(DEFAULT_WIN_ASL_BIN)
3618*_VS2015_*_ASL_FLAGS              = DEF(DEFAULT_WIN_ASL_FLAGS)
3619*_VS2015_*_ASL_OUTFLAGS           = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3620*_VS2015_*_ASLCC_FLAGS            = DEF(MSFT_ASLCC_FLAGS)
3621*_VS2015_*_ASLPP_FLAGS            = DEF(MSFT_ASLPP_FLAGS)
3622*_VS2015_*_ASLDLINK_FLAGS         = DEF(MSFT_ASLDLINK_FLAGS)
3623
3624##################
3625# IA32 definitions
3626##################
3627*_VS2015_IA32_*_DLL               = DEF(VS2015_DLL)
3628
3629*_VS2015_IA32_MAKE_PATH           = DEF(VS2015_BIN)\nmake.exe
3630*_VS2015_IA32_CC_PATH             = DEF(VS2015_BIN)\cl.exe
3631*_VS2015_IA32_VFRPP_PATH          = DEF(VS2015_BIN)\cl.exe
3632*_VS2015_IA32_SLINK_PATH          = DEF(VS2015_BIN)\lib.exe
3633*_VS2015_IA32_DLINK_PATH          = DEF(VS2015_BIN)\link.exe
3634*_VS2015_IA32_APP_PATH            = DEF(VS2015_BIN)\cl.exe
3635*_VS2015_IA32_PP_PATH             = DEF(VS2015_BIN)\cl.exe
3636*_VS2015_IA32_ASM_PATH            = DEF(VS2015_BIN)\ml.exe
3637*_VS2015_IA32_ASLCC_PATH          = DEF(VS2015_BIN)\cl.exe
3638*_VS2015_IA32_ASLPP_PATH          = DEF(VS2015_BIN)\cl.exe
3639*_VS2015_IA32_ASLDLINK_PATH       = DEF(VS2015_BIN)\link.exe
3640
3641      *_VS2015_IA32_MAKE_FLAGS    = /nologo
3642  DEBUG_VS2015_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3643RELEASE_VS2015_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3644NOOPT_VS2015_IA32_CC_FLAGS        = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3645
3646  DEBUG_VS2015_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3647RELEASE_VS2015_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd
3648NOOPT_VS2015_IA32_ASM_FLAGS       = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3649
3650  DEBUG_VS2015_IA32_NASM_FLAGS    = -Ox -f win32 -g
3651RELEASE_VS2015_IA32_NASM_FLAGS    = -Ox -f win32
3652NOOPT_VS2015_IA32_NASM_FLAGS      = -O0 -f win32 -g
3653
3654  DEBUG_VS2015_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
3655RELEASE_VS2015_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:.rdata=.data
3656NOOPT_VS2015_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
3657
3658##################
3659# X64 definitions
3660##################
3661*_VS2015_X64_*_DLL         = DEF(VS2015_DLL)
3662
3663*_VS2015_X64_CC_PATH       = DEF(VS2015_BINX64)\cl.exe
3664*_VS2015_X64_PP_PATH       = DEF(VS2015_BINX64)\cl.exe
3665*_VS2015_X64_APP_PATH      = DEF(VS2015_BINX64)\cl.exe
3666*_VS2015_X64_VFRPP_PATH    = DEF(VS2015_BINX64)\cl.exe
3667*_VS2015_X64_ASM_PATH      = DEF(VS2015_BINX64)\ml64.exe
3668*_VS2015_X64_SLINK_PATH    = DEF(VS2015_BINX64)\lib.exe
3669*_VS2015_X64_DLINK_PATH    = DEF(VS2015_BINX64)\link.exe
3670*_VS2015_X64_ASLCC_PATH    = DEF(VS2015_BINX64)\cl.exe
3671*_VS2015_X64_ASLPP_PATH    = DEF(VS2015_BINX64)\cl.exe
3672*_VS2015_X64_ASLDLINK_PATH = DEF(VS2015_BINX64)\link.exe
3673
3674  DEBUG_VS2015_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3675RELEASE_VS2015_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3676NOOPT_VS2015_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3677
3678  DEBUG_VS2015_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3679RELEASE_VS2015_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3680NOOPT_VS2015_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3681
3682  DEBUG_VS2015_X64_NASM_FLAGS   = -Ox -f win64 -g
3683RELEASE_VS2015_X64_NASM_FLAGS   = -Ox -f win64
3684NOOPT_VS2015_X64_NASM_FLAGS     = -O0 -f win64 -g
3685
3686  DEBUG_VS2015_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
3687RELEASE_VS2015_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:.rdata=.data
3688NOOPT_VS2015_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
3689
3690##################
3691# EBC definitions
3692##################
3693*_VS2015_EBC_*_FAMILY            = INTEL
3694*_VS2015_EBC_*_DLL               = DEF(VS2015_DLL)
3695
3696*_VS2015_EBC_MAKE_PATH           = DEF(VS2015_BIN)\nmake.exe
3697*_VS2015_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
3698*_VS2015_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
3699*_VS2015_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
3700*_VS2015_EBC_SLINK_PATH          = DEF(VS2015_BIN)\link.exe
3701*_VS2015_EBC_DLINK_PATH          = DEF(VS2015_BIN)\link.exe
3702
3703*_VS2015_EBC_MAKE_FLAGS          = /nologo
3704*_VS2015_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3705*_VS2015_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3706*_VS2015_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3707*_VS2015_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3708*_VS2015_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
3709
3710
3711####################################################################################
3712#
3713# Microsoft Visual Studio 2015
3714#
3715#   VS2015  - Microsoft Visual Studio 2015 Professional Edition with Microsoft ASL
3716#   ASL     - Microsoft ACPI Source Language Compiler (asl.exe)
3717####################################################################################
3718#   VS2015xASL           - Microsoft Visual Studio 2015 Professional Edition
3719*_VS2015xASL_*_*_FAMILY        = MSFT
3720
3721*_VS2015xASL_*_MAKE_PATH       = DEF(VS2015_BIN)\nmake.exe
3722*_VS2015xASL_*_MAKE_FLAG       = /nologo
3723*_VS2015xASL_*_RC_PATH         = DEF(WINSDK81_BIN)\rc.exe
3724
3725*_VS2015xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
3726*_VS2015xASL_*_APP_FLAGS       = /nologo /E /TC
3727*_VS2015xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3728*_VS2015xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3729
3730*_VS2015xASL_*_ASM16_PATH      = DEF(VS2015_BIN)\ml.exe
3731
3732##################
3733# ASL definitions
3734##################
3735*_VS2015xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
3736*_VS2015xASL_*_ASL_FLAGS       =
3737*_VS2015xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
3738*_VS2015xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3739*_VS2015xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3740*_VS2015xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3741
3742##################
3743# IA32 definitions
3744##################
3745*_VS2015xASL_IA32_*_DLL        = DEF(VS2015_DLL)
3746
3747*_VS2015xASL_IA32_MAKE_PATH    = DEF(VS2015_BIN)\nmake.exe
3748*_VS2015xASL_IA32_CC_PATH      = DEF(VS2015_BIN)\cl.exe
3749*_VS2015xASL_IA32_VFRPP_PATH   = DEF(VS2015_BIN)\cl.exe
3750*_VS2015xASL_IA32_SLINK_PATH   = DEF(VS2015_BIN)\lib.exe
3751*_VS2015xASL_IA32_DLINK_PATH   = DEF(VS2015_BIN)\link.exe
3752*_VS2015xASL_IA32_APP_PATH     = DEF(VS2015_BIN)\cl.exe
3753*_VS2015xASL_IA32_PP_PATH      = DEF(VS2015_BIN)\cl.exe
3754*_VS2015xASL_IA32_ASM_PATH     = DEF(VS2015_BIN)\ml.exe
3755*_VS2015xASL_IA32_ASLCC_PATH    = DEF(VS2015_BIN)\cl.exe
3756*_VS2015xASL_IA32_ASLPP_PATH    = DEF(VS2015_BIN)\cl.exe
3757*_VS2015xASL_IA32_ASLDLINK_PATH = DEF(VS2015_BIN)\link.exe
3758
3759      *_VS2015xASL_IA32_MAKE_FLAGS  = /nologo
3760  DEBUG_VS2015xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3761RELEASE_VS2015xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3762NOOPT_VS2015xASL_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3763
3764  DEBUG_VS2015xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3765RELEASE_VS2015xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3766NOOPT_VS2015xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3767
3768  DEBUG_VS2015xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
3769RELEASE_VS2015xASL_IA32_NASM_FLAGS  = -Ox -f win32
3770NOOPT_VS2015xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
3771
3772  DEBUG_VS2015xASL_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
3773RELEASE_VS2015xASL_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:.rdata=.data
3774NOOPT_VS2015xASL_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
3775
3776##################
3777# X64 definitions
3778##################
3779*_VS2015xASL_X64_*_DLL         = DEF(VS2015_DLL)
3780
3781*_VS2015xASL_X64_CC_PATH       = DEF(VS2015_BINX64)\cl.exe
3782*_VS2015xASL_X64_PP_PATH       = DEF(VS2015_BINX64)\cl.exe
3783*_VS2015xASL_X64_APP_PATH      = DEF(VS2015_BINX64)\cl.exe
3784*_VS2015xASL_X64_VFRPP_PATH    = DEF(VS2015_BINX64)\cl.exe
3785*_VS2015xASL_X64_ASM_PATH      = DEF(VS2015_BINX64)\ml64.exe
3786*_VS2015xASL_X64_SLINK_PATH    = DEF(VS2015_BINX64)\lib.exe
3787*_VS2015xASL_X64_DLINK_PATH    = DEF(VS2015_BINX64)\link.exe
3788*_VS2015xASL_X64_ASLCC_PATH    = DEF(VS2015_BINX64)\cl.exe
3789*_VS2015xASL_X64_ASLPP_PATH    = DEF(VS2015_BINX64)\cl.exe
3790*_VS2015xASL_X64_ASLDLINK_PATH = DEF(VS2015_BINX64)\link.exe
3791
3792  DEBUG_VS2015xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3793RELEASE_VS2015xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3794NOOPT_VS2015xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3795
3796  DEBUG_VS2015xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3797RELEASE_VS2015xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3798NOOPT_VS2015xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
3799
3800  DEBUG_VS2015xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
3801RELEASE_VS2015xASL_X64_NASM_FLAGS   = -Ox -f win64
3802NOOPT_VS2015xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
3803
3804  DEBUG_VS2015xASL_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
3805RELEASE_VS2015xASL_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:.rdata=.data
3806NOOPT_VS2015xASL_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
3807
3808##################
3809# EBC definitions
3810##################
3811*_VS2015xASL_EBC_*_FAMILY            = INTEL
3812*_VS2015xASL_EBC_*_DLL               = DEF(VS2015_DLL)
3813
3814*_VS2015xASL_EBC_MAKE_PATH           = DEF(VS2015_BIN)\nmake.exe
3815*_VS2015xASL_EBC_PP_PATH             = DEF(EBC_BIN)\iec.exe
3816*_VS2015xASL_EBC_VFRPP_PATH          = DEF(EBC_BIN)\iec.exe
3817*_VS2015xASL_EBC_CC_PATH             = DEF(EBC_BIN)\iec.exe
3818*_VS2015xASL_EBC_SLINK_PATH          = DEF(VS2015_BIN)\link.exe
3819*_VS2015xASL_EBC_DLINK_PATH          = DEF(VS2015_BIN)\link.exe
3820
3821*_VS2015xASL_EBC_MAKE_FLAGS          = /nologo
3822*_VS2015xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3823*_VS2015xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3824*_VS2015xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3825*_VS2015xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3826*_VS2015xASL_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
3827
3828
3829####################################################################################
3830#   VS2015x86       - Microsoft Visual Studio 2015 (x86) professional with Intel ASL
3831#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)
3832####################################################################################
3833#   VS2015x86           - Microsoft Visual Studio 2015 (x86) professional Edition with Intel ASL
3834*_VS2015x86_*_*_FAMILY        = MSFT
3835
3836*_VS2015x86_*_MAKE_PATH       = DEF(VS2015x86_BIN)\nmake.exe
3837*_VS2015x86_*_MAKE_FLAG       = /nologo
3838*_VS2015x86_*_RC_PATH         = DEF(WINSDK81x86_BIN)\rc.exe
3839
3840*_VS2015x86_*_MAKE_FLAGS      = /nologo
3841*_VS2015x86_*_SLINK_FLAGS     = /NOLOGO /LTCG
3842*_VS2015x86_*_APP_FLAGS       = /nologo /E /TC
3843*_VS2015x86_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3844*_VS2015x86_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3845
3846*_VS2015x86_*_ASM16_PATH      = DEF(VS2015x86_BIN)\ml.exe
3847
3848##################
3849# ASL definitions
3850##################
3851*_VS2015x86_*_ASL_PATH        = DEF(WIN_IASL_BIN)
3852*_VS2015x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
3853*_VS2015x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
3854*_VS2015x86_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3855*_VS2015x86_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3856*_VS2015x86_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3857
3858##################
3859# IA32 definitions
3860##################
3861*_VS2015x86_IA32_*_DLL        = DEF(VS2015x86_DLL)
3862
3863*_VS2015x86_IA32_MAKE_PATH    = DEF(VS2015x86_BIN)\nmake.exe
3864*_VS2015x86_IA32_CC_PATH      = DEF(VS2015x86_BIN)\cl.exe
3865*_VS2015x86_IA32_VFRPP_PATH   = DEF(VS2015x86_BIN)\cl.exe
3866*_VS2015x86_IA32_ASLCC_PATH   = DEF(VS2015x86_BIN)\cl.exe
3867*_VS2015x86_IA32_ASLPP_PATH   = DEF(VS2015x86_BIN)\cl.exe
3868*_VS2015x86_IA32_SLINK_PATH   = DEF(VS2015x86_BIN)\lib.exe
3869*_VS2015x86_IA32_DLINK_PATH   = DEF(VS2015x86_BIN)\link.exe
3870*_VS2015x86_IA32_ASLDLINK_PATH= DEF(VS2015x86_BIN)\link.exe
3871*_VS2015x86_IA32_APP_PATH     = DEF(VS2015x86_BIN)\cl.exe
3872*_VS2015x86_IA32_PP_PATH      = DEF(VS2015x86_BIN)\cl.exe
3873*_VS2015x86_IA32_ASM_PATH     = DEF(VS2015x86_BIN)\ml.exe
3874
3875      *_VS2015x86_IA32_MAKE_FLAGS  = /nologo
3876  DEBUG_VS2015x86_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3877RELEASE_VS2015x86_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3878NOOPT_VS2015x86_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3879
3880  DEBUG_VS2015x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3881RELEASE_VS2015x86_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3882NOOPT_VS2015x86_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3883
3884  DEBUG_VS2015x86_IA32_NASM_FLAGS  = -Ox -f win32 -g
3885RELEASE_VS2015x86_IA32_NASM_FLAGS  = -Ox -f win32
3886NOOPT_VS2015x86_IA32_NASM_FLAGS    = -O0 -f win32 -g
3887
3888  DEBUG_VS2015x86_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
3889RELEASE_VS2015x86_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:.rdata=.data
3890NOOPT_VS2015x86_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
3891
3892##################
3893# X64 definitions
3894##################
3895*_VS2015x86_X64_*_DLL         = DEF(VS2015x86_DLL)
3896
3897*_VS2015x86_X64_CC_PATH       = DEF(VS2015x86_BINX64)\cl.exe
3898*_VS2015x86_X64_PP_PATH       = DEF(VS2015x86_BINX64)\cl.exe
3899*_VS2015x86_X64_APP_PATH      = DEF(VS2015x86_BINX64)\cl.exe
3900*_VS2015x86_X64_VFRPP_PATH    = DEF(VS2015x86_BINX64)\cl.exe
3901*_VS2015x86_X64_ASLCC_PATH    = DEF(VS2015x86_BINX64)\cl.exe
3902*_VS2015x86_X64_ASLPP_PATH    = DEF(VS2015x86_BINX64)\cl.exe
3903*_VS2015x86_X64_ASM_PATH      = DEF(VS2015x86_BINX64)\ml64.exe
3904*_VS2015x86_X64_SLINK_PATH    = DEF(VS2015x86_BINX64)\lib.exe
3905*_VS2015x86_X64_DLINK_PATH    = DEF(VS2015x86_BINX64)\link.exe
3906*_VS2015x86_X64_ASLDLINK_PATH = DEF(VS2015x86_BINX64)\link.exe
3907
3908  DEBUG_VS2015x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
3909RELEASE_VS2015x86_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
3910NOOPT_VS2015x86_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
3911
3912  DEBUG_VS2015x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
3913RELEASE_VS2015x86_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
3914NOOPT_VS2015x86_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
3915
3916  DEBUG_VS2015x86_X64_NASM_FLAGS   = -Ox -f win64 -g
3917RELEASE_VS2015x86_X64_NASM_FLAGS   = -Ox -f win64
3918NOOPT_VS2015x86_X64_NASM_FLAGS     = -O0 -f win64 -g
3919
3920  DEBUG_VS2015x86_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
3921RELEASE_VS2015x86_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:.rdata=.data
3922NOOPT_VS2015x86_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
3923
3924##################
3925# EBC definitions
3926##################
3927*_VS2015x86_EBC_*_FAMILY            = INTEL
3928*_VS2015x86_EBC_*_DLL               = DEF(VS2015x86_DLL)
3929
3930*_VS2015x86_EBC_MAKE_PATH           = DEF(VS2015x86_BIN)\nmake.exe
3931*_VS2015x86_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
3932*_VS2015x86_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
3933*_VS2015x86_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
3934*_VS2015x86_EBC_SLINK_PATH          = DEF(VS2015x86_BIN)\link.exe
3935*_VS2015x86_EBC_DLINK_PATH          = DEF(VS2015x86_BIN)\link.exe
3936
3937*_VS2015x86_EBC_MAKE_FLAGS          = /nologo
3938*_VS2015x86_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
3939*_VS2015x86_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
3940*_VS2015x86_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3941*_VS2015x86_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
3942*_VS2015x86_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
3943
3944
3945####################################################################################
3946#   VS2015x86xASL     - Microsoft Visual Studio 2015 (x86) professional with Microsoft ASL
3947#   ASL  - Microsoft ACPI Source Language Compiler (asl.exe)
3948####################################################################################
3949*_VS2015x86xASL_*_*_FAMILY        = MSFT
3950
3951*_VS2015x86xASL_*_MAKE_PATH       = DEF(VS2015x86_BIN)\nmake.exe
3952*_VS2015x86xASL_*_MAKE_FLAG       = /nologo
3953*_VS2015x86xASL_*_RC_PATH         = DEF(WINSDK81x86_BIN)\rc.exe
3954
3955*_VS2015x86xASL_*_MAKE_FLAGS      = /nologo
3956*_VS2015x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG
3957*_VS2015x86xASL_*_APP_FLAGS       = /nologo /E /TC
3958*_VS2015x86xASL_*_PP_FLAGS        = /nologo /E /TC /FIAutoGen.h
3959*_VS2015x86xASL_*_VFRPP_FLAGS     = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
3960
3961*_VS2015x86xASL_*_ASM16_PATH      = DEF(VS2015x86_BIN)\ml.exe
3962
3963##################
3964# ASL definitions
3965##################
3966*_VS2015x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
3967*_VS2015x86xASL_*_ASL_FLAGS       = DEF(MS_ASL_FLAGS)
3968*_VS2015x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
3969*_VS2015x86xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
3970*_VS2015x86xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
3971*_VS2015x86xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
3972
3973##################
3974# IA32 definitions
3975##################
3976*_VS2015x86xASL_IA32_*_DLL        = DEF(VS2015x86_DLL)
3977
3978*_VS2015x86xASL_IA32_MAKE_PATH    = DEF(VS2015x86_BIN)\nmake.exe
3979*_VS2015x86xASL_IA32_CC_PATH      = DEF(VS2015x86_BIN)\cl.exe
3980*_VS2015x86xASL_IA32_VFRPP_PATH   = DEF(VS2015x86_BIN)\cl.exe
3981*_VS2015x86xASL_IA32_ASLCC_PATH   = DEF(VS2015x86_BIN)\cl.exe
3982*_VS2015x86xASL_IA32_ASLPP_PATH   = DEF(VS2015x86_BIN)\cl.exe
3983*_VS2015x86xASL_IA32_SLINK_PATH   = DEF(VS2015x86_BIN)\lib.exe
3984*_VS2015x86xASL_IA32_DLINK_PATH   = DEF(VS2015x86_BIN)\link.exe
3985*_VS2015x86xASL_IA32_ASLDLINK_PATH= DEF(VS2015x86_BIN)\link.exe
3986*_VS2015x86xASL_IA32_APP_PATH     = DEF(VS2015x86_BIN)\cl.exe
3987*_VS2015x86xASL_IA32_PP_PATH      = DEF(VS2015x86_BIN)\cl.exe
3988*_VS2015x86xASL_IA32_ASM_PATH     = DEF(VS2015x86_BIN)\ml.exe
3989
3990      *_VS2015x86xASL_IA32_MAKE_FLAGS  = /nologo
3991  DEBUG_VS2015x86xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
3992RELEASE_VS2015x86xASL_IA32_CC_FLAGS    = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
3993NOOPT_VS2015x86xASL_IA32_CC_FLAGS      = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
3994
3995  DEBUG_VS2015x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3996RELEASE_VS2015x86xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd
3997NOOPT_VS2015x86xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
3998
3999  DEBUG_VS2015x86xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
4000RELEASE_VS2015x86xASL_IA32_NASM_FLAGS  = -Ox -f win32
4001NOOPT_VS2015x86xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
4002
4003  DEBUG_VS2015x86xASL_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
4004RELEASE_VS2015x86xASL_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:.rdata=.data
4005NOOPT_VS2015x86xASL_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
4006
4007##################
4008# X64 definitions
4009##################
4010*_VS2015x86xASL_X64_*_DLL         = DEF(VS2015x86_DLL)
4011
4012*_VS2015x86xASL_X64_CC_PATH       = DEF(VS2015x86_BINX64)\cl.exe
4013*_VS2015x86xASL_X64_PP_PATH       = DEF(VS2015x86_BINX64)\cl.exe
4014*_VS2015x86xASL_X64_APP_PATH      = DEF(VS2015x86_BINX64)\cl.exe
4015*_VS2015x86xASL_X64_VFRPP_PATH    = DEF(VS2015x86_BINX64)\cl.exe
4016*_VS2015x86xASL_X64_ASLCC_PATH    = DEF(VS2015x86_BINX64)\cl.exe
4017*_VS2015x86xASL_X64_ASLPP_PATH    = DEF(VS2015x86_BINX64)\cl.exe
4018*_VS2015x86xASL_X64_ASM_PATH      = DEF(VS2015x86_BINX64)\ml64.exe
4019*_VS2015x86xASL_X64_SLINK_PATH    = DEF(VS2015x86_BINX64)\lib.exe
4020*_VS2015x86xASL_X64_DLINK_PATH    = DEF(VS2015x86_BINX64)\link.exe
4021*_VS2015x86xASL_X64_ASLDLINK_PATH = DEF(VS2015x86_BINX64)\link.exe
4022
4023  DEBUG_VS2015x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4024RELEASE_VS2015x86xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
4025NOOPT_VS2015x86xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
4026
4027  DEBUG_VS2015x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
4028RELEASE_VS2015x86xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
4029NOOPT_VS2015x86xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
4030
4031  DEBUG_VS2015x86xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
4032RELEASE_VS2015x86xASL_X64_NASM_FLAGS   = -Ox -f win64
4033NOOPT_VS2015x86xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
4034
4035  DEBUG_VS2015x86xASL_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
4036RELEASE_VS2015x86xASL_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:.rdata=.data
4037NOOPT_VS2015x86xASL_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
4038
4039##################
4040# EBC definitions
4041##################
4042*_VS2015x86xASL_EBC_*_FAMILY            = INTEL
4043*_VS2015x86xASL_EBC_*_DLL               = DEF(VS2015x86_DLL)
4044
4045*_VS2015x86xASL_EBC_MAKE_PATH           = DEF(VS2015x86_BIN)\nmake.exe
4046*_VS2015x86xASL_EBC_PP_PATH             = DEF(EBC_BINx86)\iec.exe
4047*_VS2015x86xASL_EBC_VFRPP_PATH          = DEF(EBC_BINx86)\iec.exe
4048*_VS2015x86xASL_EBC_CC_PATH             = DEF(EBC_BINx86)\iec.exe
4049*_VS2015x86xASL_EBC_SLINK_PATH          = DEF(VS2015x86_BIN)\link.exe
4050*_VS2015x86xASL_EBC_DLINK_PATH          = DEF(VS2015x86_BIN)\link.exe
4051
4052*_VS2015x86xASL_EBC_MAKE_FLAGS          = /nologo
4053*_VS2015x86xASL_EBC_PP_FLAGS            = /nologo /E /TC /FIAutoGen.h
4054*_VS2015x86xASL_EBC_CC_FLAGS            = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4055*_VS2015x86xASL_EBC_VFRPP_FLAGS         = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4056*_VS2015x86xASL_EBC_SLINK_FLAGS         = /lib /NOLOGO /MACHINE:EBC
4057*_VS2015x86xASL_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
4058
4059
4060####################################################################################
4061#
4062# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
4063# And Intel ACPI Compiler
4064#
4065####################################################################################
4066#   DDK3790  - Microsoft Windows DDK 3790.1830
4067#   ASL  - Intel ACPI Source Language Compiler (iasl.exe)
4068*_DDK3790_*_*_FAMILY        = MSFT
4069
4070*_DDK3790_*_*_DLL           = DEF(WINDDK_BIN32)
4071*_DDK3790_*_MAKE_PATH       = DEF(WINDDK_BIN32)\nmake.exe
4072*_DDK3790_*_MAKE_FLAGS           = /nologo
4073*_DDK3790_*_RC_PATH         = DEF(WINDDK_BIN32)\rc.exe
4074
4075*_DDK3790_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h
4076*_DDK3790_*_APP_FLAGS            = /nologo /E /TC
4077*_DDK3790_*_SLINK_FLAGS          = /nologo /LTCG
4078*_DDK3790_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4079
4080*_DDK3790_*_ASM16_PATH      = DEF(WINDDK_BIN32)\ml.exe
4081
4082##################
4083# ASL definitions
4084##################
4085*_DDK3790_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
4086*_DDK3790_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
4087*_DDK3790_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
4088*_DDK3790_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
4089*_DDK3790_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
4090*_DDK3790_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
4091
4092##################
4093# IA32 definitions
4094##################
4095*_DDK3790_IA32_CC_PATH      = DEF(WINDDK_BIN32)\cl.exe
4096*_DDK3790_IA32_SLINK_PATH   = DEF(WINDDK_BIN32)\lib.exe
4097*_DDK3790_IA32_DLINK_PATH   = DEF(WINDDK_BIN32)\link.exe
4098*_DDK3790_IA32_PP_PATH      = DEF(WINDDK_BIN32)\cl.exe
4099*_DDK3790_IA32_VFRPP_PATH   = DEF(WINDDK_BIN32)\cl.exe
4100*_DDK3790_IA32_APP_PATH     = DEF(WINDDK_BIN32)\cl.exe
4101*_DDK3790_IA32_ASM_PATH     = DEF(WINDDK_BIN32)\ml.exe
4102*_DDK3790_IA32_ASLCC_PATH     = DEF(WINDDK_BIN32)\cl.exe
4103*_DDK3790_IA32_ASLPP_PATH     = DEF(WINDDK_BIN32)\cl.exe
4104*_DDK3790_IA32_ASLDLINK_PATH  = DEF(WINDDK_BIN32)\link.exe
4105
4106  DEBUG_DDK3790_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4107RELEASE_DDK3790_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
4108NOOPT_DDK3790_IA32_CC_FLAGS      = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
4109
4110  DEBUG_DDK3790_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
4111RELEASE_DDK3790_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd
4112NOOPT_DDK3790_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
4113
4114  DEBUG_DDK3790_IA32_NASM_FLAGS  = -Ox -f win32 -g
4115RELEASE_DDK3790_IA32_NASM_FLAGS  = -Ox -f win32
4116NOOPT_DDK3790_IA32_NASM_FLAGS    = -O0 -f win32 -g
4117
4118  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
4119RELEASE_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:.rdata=.data
4120NOOPT_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
4121
4122##################
4123# x64 definitions
4124##################
4125*_DDK3790_X64_CC_PATH      = DEF(WINDDK_BINX64)\cl.exe
4126*_DDK3790_X64_SLINK_PATH   = DEF(WINDDK_BINX64)\lib.exe
4127*_DDK3790_X64_DLINK_PATH   = DEF(WINDDK_BINX64)\link.exe
4128*_DDK3790_X64_PP_PATH      = DEF(WINDDK_BINX64)\cl.exe
4129*_DDK3790_X64_VFRPP_PATH   = DEF(WINDDK_BINX64)\cl.exe
4130*_DDK3790_X64_APP_PATH     = DEF(WINDDK_BINX64)\cl.exe
4131*_DDK3790_X64_ASM_PATH     = DEF(WINDDK_BINX64)\ml64.exe
4132*_DDK3790_X64_ASLCC_PATH     = DEF(WINDDK_BINX64)\cl.exe
4133*_DDK3790_X64_ASLPP_PATH     = DEF(WINDDK_BINX64)\cl.exe
4134*_DDK3790_X64_ASLDLINK_PATH  = DEF(WINDDK_BINX64)\link.exe
4135
4136  DEBUG_DDK3790_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4137RELEASE_DDK3790_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
4138NOOPT_DDK3790_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
4139
4140  DEBUG_DDK3790_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
4141RELEASE_DDK3790_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
4142NOOPT_DDK3790_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
4143
4144  DEBUG_DDK3790_X64_NASM_FLAGS   = -Ox -f win64 -g
4145RELEASE_DDK3790_X64_NASM_FLAGS   = -Ox -f win64
4146NOOPT_DDK3790_X64_NASM_FLAGS     = -O0 -f win64 -g
4147
4148  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
4149RELEASE_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:.rdata=.data
4150NOOPT_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
4151
4152##################
4153# IPF definitions
4154##################
4155*_DDK3790_IPF_CC_PATH      = DEF(WINDDK_BIN64)\cl.exe
4156*_DDK3790_IPF_SLINK_PATH   = DEF(WINDDK_BIN64)\lib.exe
4157*_DDK3790_IPF_DLINK_PATH   = DEF(WINDDK_BIN64)\link.exe
4158*_DDK3790_IPF_PP_PATH      = DEF(WINDDK_BIN64)\cl.exe
4159*_DDK3790_IPF_VFRPP_PATH   = DEF(WINDDK_BIN64)\cl.exe
4160*_DDK3790_IPF_APP_PATH     = DEF(WINDDK_BIN64)\cl.exe
4161*_DDK3790_IPF_ASM_PATH     = DEF(WINDDK_BIN64)\ias.exe
4162*_DDK3790_IPF_ASLCC_PATH     = DEF(WINDDK_BIN64)\cl.exe
4163*_DDK3790_IPF_ASLPP_PATH     = DEF(WINDDK_BIN64)\cl.exe
4164*_DDK3790_IPF_ASLDLINK_PATH  = DEF(WINDDK_BIN64)\link.exe
4165
4166
4167  DEBUG_DDK3790_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
4168RELEASE_DDK3790_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
4169NOOPT_DDK3790_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
4170
4171  DEBUG_DDK3790_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
4172RELEASE_DDK3790_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
4173NOOPT_DDK3790_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
4174
4175  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
4176RELEASE_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
4177NOOPT_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
4178
4179##################
4180# EBC definitions
4181##################
4182*_DDK3790_EBC_*_FAMILY      = INTEL
4183
4184*_DDK3790_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe
4185*_DDK3790_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe
4186*_DDK3790_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe
4187*_DDK3790_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe
4188*_DDK3790_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe
4189
4190*_DDK3790_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4191*_DDK3790_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC
4192*_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
4193
4194####################################################################################
4195#
4196# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
4197# And Microsoft ACPI Compiler
4198#
4199####################################################################################
4200#   DDK3790xASL  - Microsoft Windows DDK 3790.1830
4201#   ASL          - Microsoft ACPI Source Language Compiler (asl.exe)
4202*_DDK3790xASL_*_*_FAMILY        = MSFT
4203
4204*_DDK3790xASL_*_*_DLL           = DEF(WINDDK_BIN32)
4205*_DDK3790xASL_*_MAKE_PATH       = DEF(WINDDK_BIN32)\nmake.exe
4206*_DDK3790xASL_*_MAKE_FLAGS           = /nologo
4207*_DDK3790xASL_*_RC_PATH         = DEF(WINDDK_BIN32)\rc.exe
4208
4209*_DDK3790xASL_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h
4210*_DDK3790xASL_*_APP_FLAGS            = /nologo /E /TC
4211*_DDK3790xASL_*_SLINK_FLAGS          = /nologo /LTCG
4212*_DDK3790xASL_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
4213
4214*_DDK3790xASL_*_ASM16_PATH      = DEF(WINDDK_BIN32)\ml.exe
4215
4216##################
4217# ASL definitions
4218##################
4219*_DDK3790xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
4220*_DDK3790xASL_*_ASL_FLAGS       =
4221*_DDK3790xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
4222*_DDK3790xASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
4223*_DDK3790xASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
4224*_DDK3790xASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
4225
4226##################
4227# IA32 definitions
4228##################
4229*_DDK3790xASL_IA32_CC_PATH      = DEF(WINDDK_BIN32)\cl.exe
4230*_DDK3790xASL_IA32_SLINK_PATH   = DEF(WINDDK_BIN32)\lib.exe
4231*_DDK3790xASL_IA32_DLINK_PATH   = DEF(WINDDK_BIN32)\link.exe
4232*_DDK3790xASL_IA32_PP_PATH      = DEF(WINDDK_BIN32)\cl.exe
4233*_DDK3790xASL_IA32_VFRPP_PATH   = DEF(WINDDK_BIN32)\cl.exe
4234*_DDK3790xASL_IA32_APP_PATH     = DEF(WINDDK_BIN32)\cl.exe
4235*_DDK3790xASL_IA32_ASM_PATH     = DEF(WINDDK_BIN32)\ml.exe
4236*_DDK3790xASL_IA32_ASLCC_PATH     = DEF(WINDDK_BIN32)\cl.exe
4237*_DDK3790xASL_IA32_ASLPP_PATH     = DEF(WINDDK_BIN32)\cl.exe
4238*_DDK3790xASL_IA32_ASLDLINK_PATH  = DEF(WINDDK_BIN32)\link.exe
4239
4240  DEBUG_DDK3790xASL_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4241RELEASE_DDK3790xASL_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
4242NOOPT_DDK3790xASL_IA32_CC_FLAGS      = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
4243
4244  DEBUG_DDK3790xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
4245RELEASE_DDK3790xASL_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd
4246NOOPT_DDK3790xASL_IA32_ASM_FLAGS     = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
4247
4248  DEBUG_DDK3790xASL_IA32_NASM_FLAGS  = -Ox -f win32 -g
4249RELEASE_DDK3790xASL_IA32_NASM_FLAGS  = -Ox -f win32
4250NOOPT_DDK3790xASL_IA32_NASM_FLAGS    = -O0 -f win32 -g
4251
4252  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
4253RELEASE_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:.rdata=.data
4254NOOPT_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
4255
4256##################
4257# x64 definitions
4258##################
4259*_DDK3790xASL_X64_CC_PATH      = DEF(WINDDK_BINX64)\cl.exe
4260*_DDK3790xASL_X64_SLINK_PATH   = DEF(WINDDK_BINX64)\lib.exe
4261*_DDK3790xASL_X64_DLINK_PATH   = DEF(WINDDK_BINX64)\link.exe
4262*_DDK3790xASL_X64_PP_PATH      = DEF(WINDDK_BINX64)\cl.exe
4263*_DDK3790xASL_X64_VFRPP_PATH   = DEF(WINDDK_BINX64)\cl.exe
4264*_DDK3790xASL_X64_APP_PATH     = DEF(WINDDK_BINX64)\cl.exe
4265*_DDK3790xASL_X64_ASM_PATH     = DEF(WINDDK_BINX64)\ml64.exe
4266*_DDK3790xASL_X64_ASLCC_PATH     = DEF(WINDDK_BINX64)\cl.exe
4267*_DDK3790xASL_X64_ASLPP_PATH     = DEF(WINDDK_BINX64)\cl.exe
4268*_DDK3790xASL_X64_ASLDLINK_PATH  = DEF(WINDDK_BINX64)\link.exe
4269
4270  DEBUG_DDK3790xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
4271RELEASE_DDK3790xASL_X64_CC_FLAGS     = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
4272NOOPT_DDK3790xASL_X64_CC_FLAGS       = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
4273
4274  DEBUG_DDK3790xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi
4275RELEASE_DDK3790xASL_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd
4276NOOPT_DDK3790xASL_X64_ASM_FLAGS      = /nologo /c /WX /W3 /Cx /Zd /Zi
4277
4278  DEBUG_DDK3790xASL_X64_NASM_FLAGS   = -Ox -f win64 -g
4279RELEASE_DDK3790xASL_X64_NASM_FLAGS   = -Ox -f win64
4280NOOPT_DDK3790xASL_X64_NASM_FLAGS     = -O0 -f win64 -g
4281
4282  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
4283RELEASE_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:.rdata=.data
4284NOOPT_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
4285
4286##################
4287# IPF definitions
4288##################
4289*_DDK3790xASL_IPF_CC_PATH      = DEF(WINDDK_BIN64)\cl.exe
4290*_DDK3790xASL_IPF_SLINK_PATH   = DEF(WINDDK_BIN64)\lib.exe
4291*_DDK3790xASL_IPF_DLINK_PATH   = DEF(WINDDK_BIN64)\link.exe
4292*_DDK3790xASL_IPF_PP_PATH      = DEF(WINDDK_BIN64)\cl.exe
4293*_DDK3790xASL_IPF_VFRPP_PATH   = DEF(WINDDK_BIN64)\cl.exe
4294*_DDK3790xASL_IPF_APP_PATH     = DEF(WINDDK_BIN64)\cl.exe
4295*_DDK3790xASL_IPF_ASM_PATH     = DEF(WINDDK_BIN64)\ias.exe
4296*_DDK3790xASL_IPF_ASLCC_PATH     = DEF(WINDDK_BIN64)\cl.exe
4297*_DDK3790xASL_IPF_ASLPP_PATH     = DEF(WINDDK_BIN64)\cl.exe
4298*_DDK3790xASL_IPF_ASLDLINK_PATH  = DEF(WINDDK_BIN64)\link.exe
4299
4300
4301  DEBUG_DDK3790xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
4302RELEASE_DDK3790xASL_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
4303NOOPT_DDK3790xASL_IPF_CC_FLAGS       = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /FIAutoGen.h /QIPF_fr32 /Zi /Od
4304
4305  DEBUG_DDK3790xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug
4306RELEASE_DDK3790xASL_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4
4307NOOPT_DDK3790xASL_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug
4308
4309  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
4310RELEASE_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
4311NOOPT_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
4312
4313##################
4314# EBC definitions
4315##################
4316*_DDK3790xASL_EBC_*_FAMILY      = INTEL
4317
4318*_DDK3790xASL_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe
4319*_DDK3790xASL_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe
4320*_DDK3790xASL_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe
4321*_DDK3790xASL_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe
4322*_DDK3790xASL_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe
4323
4324*_DDK3790xASL_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
4325*_DDK3790xASL_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC
4326*_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
4327
4328
4329####################################################################################
4330# GCC Common
4331####################################################################################
4332
4333*_*_*_OBJCOPY_PATH              = echo
4334*_*_*_OBJCOPY_FLAGS             = objcopy not needed for
4335*_*_*_SYMRENAME_PATH            = echo
4336*_*_*_SYMRENAME_FLAGS           = Symbol renaming not needed for
4337DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG     = --add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
4338RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG   =
4339NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG     = --add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
4340
4341DEFINE GCC_ALL_CC_FLAGS            = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common
4342DEFINE GCC_IA32_CC_FLAGS           = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
4343DEFINE GCC_X64_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe
4344DEFINE GCC_IPF_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency
4345DEFINE GCC_ARM_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -mabi=aapcs -fno-short-enums -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -Wno-address -mthumb -mfloat-abi=soft -fno-pic -fno-pie
4346DEFINE GCC_ARM_CC_XIPFLAGS         = -mno-unaligned-access
4347DEFINE GCC_AARCH64_CC_FLAGS        = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char  -ffunction-sections -fdata-sections -fno-builtin -Wno-address -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-pic -fno-pie -ffixed-x18
4348DEFINE GCC_AARCH64_CC_XIPFLAGS     = -mstrict-align
4349DEFINE GCC_DLINK_FLAGS_COMMON      = -nostdlib --pie
4350DEFINE GCC_DLINK2_FLAGS_COMMON     = -Wl,--script=$(EDK_TOOLS_PATH)/Scripts/GccBase.lds
4351DEFINE GCC_IA32_X64_DLINK_COMMON   = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
4352DEFINE GCC_ARM_AARCH64_DLINK_COMMON= -Wl,--emit-relocs -nostdlib -Wl,--gc-sections -u $(IMAGE_ENTRY_POINT) -Wl,-e,$(IMAGE_ENTRY_POINT),-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map
4353DEFINE GCC_ARM_DLINK_FLAGS         = DEF(GCC_ARM_AARCH64_DLINK_COMMON) -z common-page-size=0x20
4354DEFINE GCC_AARCH64_DLINK_FLAGS     = DEF(GCC_ARM_AARCH64_DLINK_COMMON) -z common-page-size=0x20
4355DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
4356DEFINE GCC_ARM_ASLDLINK_FLAGS      = DEF(GCC_ARM_DLINK_FLAGS) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
4357DEFINE GCC_AARCH64_ASLDLINK_FLAGS  = DEF(GCC_AARCH64_DLINK_FLAGS) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
4358DEFINE 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
4359DEFINE 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
4360DEFINE GCC_IPF_OBJCOPY_FLAGS       = -I elf64-ia64-little -O efi-bsdrv-ia64
4361DEFINE GCC_IPF_SYMRENAME_FLAGS     = --redefine-sym memcpy=CopyMem
4362DEFINE GCC_ASM_FLAGS               = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
4363DEFINE GCC_PP_FLAGS                = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
4364DEFINE GCC_VFRPP_FLAGS             = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
4365DEFINE GCC_ASLPP_FLAGS             = -x c -E -include AutoGen.h
4366DEFINE GCC_ASLCC_FLAGS             = -x c
4367DEFINE GCC_WINDRES_FLAGS           = -J rc -O coff
4368DEFINE GCC_DTCPP_FLAGS             = -E -x assembler-with-cpp -imacros $(DEST_DIR_DEBUG)/AutoGen.h -nostdinc
4369DEFINE GCC_IA32_RC_FLAGS           = -I binary -O elf32-i386          -B i386    --rename-section .data=.hii
4370DEFINE GCC_X64_RC_FLAGS            = -I binary -O elf64-x86-64        -B i386    --rename-section .data=.hii
4371DEFINE GCC_IPF_RC_FLAGS            = -I binary -O elf64-ia64-little   -B ia64    --rename-section .data=.hii
4372DEFINE GCC_ARM_RC_FLAGS            = -I binary -O elf32-littlearm     -B arm     --rename-section .data=.hii
4373DEFINE GCC_AARCH64_RC_FLAGS        = -I binary -O elf64-littleaarch64 -B aarch64 --rename-section .data=.hii
4374
4375DEFINE GCC44_ALL_CC_FLAGS            = -g -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
4376DEFINE GCC44_IA32_CC_FLAGS           = DEF(GCC44_ALL_CC_FLAGS) -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables
4377DEFINE GCC44_X64_CC_FLAGS            = DEF(GCC44_ALL_CC_FLAGS) -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables
4378DEFINE GCC44_IA32_X64_DLINK_COMMON   = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x20
4379DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u ReferenceAcpiTable
4380DEFINE GCC44_IA32_X64_DLINK_FLAGS    = DEF(GCC44_IA32_X64_DLINK_COMMON) -Wl,--entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map
4381DEFINE GCC44_IA32_DLINK2_FLAGS       = -Wl,--defsym=PECOFF_HEADER_SIZE=0x220 DEF(GCC_DLINK2_FLAGS_COMMON)
4382DEFINE GCC44_X64_DLINK_FLAGS         = DEF(GCC44_IA32_X64_DLINK_FLAGS) -Wl,-melf_x86_64,--oformat=elf64-x86-64
4383DEFINE GCC44_X64_DLINK2_FLAGS        = -Wl,--defsym=PECOFF_HEADER_SIZE=0x228 DEF(GCC_DLINK2_FLAGS_COMMON)
4384DEFINE GCC44_ASM_FLAGS               = DEF(GCC_ASM_FLAGS)
4385
4386DEFINE GCC45_IA32_CC_FLAGS           = DEF(GCC44_IA32_CC_FLAGS)
4387DEFINE GCC45_X64_CC_FLAGS            = DEF(GCC44_X64_CC_FLAGS)
4388DEFINE GCC45_IA32_X64_DLINK_COMMON   = DEF(GCC44_IA32_X64_DLINK_COMMON)
4389DEFINE GCC45_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS)
4390DEFINE GCC45_IA32_X64_DLINK_FLAGS    = DEF(GCC44_IA32_X64_DLINK_FLAGS)
4391DEFINE GCC45_IA32_DLINK2_FLAGS       = DEF(GCC44_IA32_DLINK2_FLAGS)
4392DEFINE GCC45_X64_DLINK_FLAGS         = DEF(GCC44_X64_DLINK_FLAGS)
4393DEFINE GCC45_X64_DLINK2_FLAGS        = DEF(GCC44_X64_DLINK2_FLAGS)
4394DEFINE GCC45_ASM_FLAGS               = DEF(GCC44_ASM_FLAGS)
4395
4396DEFINE GCC46_IA32_CC_FLAGS           = DEF(GCC45_IA32_CC_FLAGS) -Wno-address
4397DEFINE GCC46_X64_CC_FLAGS            = DEF(GCC45_X64_CC_FLAGS) -Wno-address
4398DEFINE GCC46_IA32_X64_DLINK_COMMON   = DEF(GCC45_IA32_X64_DLINK_COMMON)
4399DEFINE GCC46_IA32_X64_ASLDLINK_FLAGS = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS)
4400DEFINE GCC46_IA32_X64_DLINK_FLAGS    = DEF(GCC45_IA32_X64_DLINK_FLAGS)
4401DEFINE GCC46_IA32_DLINK2_FLAGS       = DEF(GCC45_IA32_DLINK2_FLAGS)
4402DEFINE GCC46_X64_DLINK_FLAGS         = DEF(GCC45_X64_DLINK_FLAGS)
4403DEFINE GCC46_X64_DLINK2_FLAGS        = DEF(GCC45_X64_DLINK2_FLAGS)
4404DEFINE GCC46_ASM_FLAGS               = DEF(GCC45_ASM_FLAGS)
4405DEFINE GCC46_ARM_ASM_FLAGS           = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ASM_FLAGS) -mlittle-endian
4406DEFINE GCC46_ARM_CC_FLAGS            = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_FLAGS) -fstack-protector -mword-relocations -save-temps
4407DEFINE GCC46_ARM_CC_XIPFLAGS         = -D__ARM_FEATURE_UNALIGNED=0
4408DEFINE GCC46_ARM_DLINK_FLAGS         = DEF(GCC_ARM_DLINK_FLAGS) -Wl,--oformat=elf32-littlearm
4409DEFINE GCC46_ARM_DLINK2_FLAGS        = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x220
4410DEFINE GCC46_ARM_ASLDLINK_FLAGS      = DEF(GCC_ARM_ASLDLINK_FLAGS) -Wl,--oformat=elf32-littlearm
4411
4412DEFINE GCC47_IA32_CC_FLAGS           = DEF(GCC46_IA32_CC_FLAGS)
4413DEFINE GCC47_X64_CC_FLAGS            = DEF(GCC46_X64_CC_FLAGS)
4414DEFINE GCC47_IA32_X64_DLINK_COMMON   = DEF(GCC46_IA32_X64_DLINK_COMMON)
4415DEFINE GCC47_IA32_X64_ASLDLINK_FLAGS = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS)
4416DEFINE GCC47_IA32_X64_DLINK_FLAGS    = DEF(GCC46_IA32_X64_DLINK_FLAGS)
4417DEFINE GCC47_IA32_DLINK2_FLAGS       = DEF(GCC46_IA32_DLINK2_FLAGS)
4418DEFINE GCC47_X64_DLINK_FLAGS         = DEF(GCC46_X64_DLINK_FLAGS)
4419DEFINE GCC47_X64_DLINK2_FLAGS        = DEF(GCC46_X64_DLINK2_FLAGS)
4420DEFINE GCC47_ASM_FLAGS               = DEF(GCC46_ASM_FLAGS)
4421DEFINE GCC47_ARM_ASM_FLAGS           = DEF(GCC46_ARM_ASM_FLAGS)
4422DEFINE GCC47_AARCH64_ASM_FLAGS       = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ASM_FLAGS) -mlittle-endian
4423DEFINE GCC47_ARM_CC_FLAGS            = DEF(GCC46_ARM_CC_FLAGS)
4424DEFINE GCC47_ARM_CC_XIPFLAGS         = DEF(GCC_ARM_CC_XIPFLAGS)
4425DEFINE GCC47_AARCH64_CC_FLAGS        = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mcmodel=large DEF(GCC_AARCH64_CC_FLAGS) -save-temps
4426DEFINE GCC47_AARCH64_CC_XIPFLAGS     = DEF(GCC_AARCH64_CC_XIPFLAGS)
4427DEFINE GCC47_ARM_DLINK_FLAGS         = DEF(GCC46_ARM_DLINK_FLAGS)
4428DEFINE GCC47_ARM_DLINK2_FLAGS        = DEF(GCC46_ARM_DLINK2_FLAGS)
4429DEFINE GCC47_AARCH64_DLINK_FLAGS     = DEF(GCC_AARCH64_DLINK_FLAGS)
4430DEFINE GCC47_AARCH64_DLINK2_FLAGS    = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x228
4431DEFINE GCC47_ARM_ASLDLINK_FLAGS      = DEF(GCC46_ARM_ASLDLINK_FLAGS)
4432DEFINE GCC47_AARCH64_ASLDLINK_FLAGS  = DEF(GCC_AARCH64_ASLDLINK_FLAGS)
4433
4434DEFINE GCC48_IA32_CC_FLAGS           = DEF(GCC47_IA32_CC_FLAGS)
4435DEFINE GCC48_X64_CC_FLAGS            = DEF(GCC47_X64_CC_FLAGS)
4436DEFINE GCC48_IA32_X64_DLINK_COMMON   = DEF(GCC47_IA32_X64_DLINK_COMMON)
4437DEFINE GCC48_IA32_X64_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS)
4438DEFINE GCC48_IA32_X64_DLINK_FLAGS    = DEF(GCC47_IA32_X64_DLINK_FLAGS)
4439DEFINE GCC48_IA32_DLINK2_FLAGS       = DEF(GCC47_IA32_DLINK2_FLAGS)
4440DEFINE GCC48_X64_DLINK_FLAGS         = DEF(GCC47_X64_DLINK_FLAGS)
4441DEFINE GCC48_X64_DLINK2_FLAGS        = DEF(GCC47_X64_DLINK2_FLAGS)
4442DEFINE GCC48_ASM_FLAGS               = DEF(GCC47_ASM_FLAGS)
4443DEFINE GCC48_ARM_ASM_FLAGS           = DEF(GCC47_ARM_ASM_FLAGS)
4444DEFINE GCC48_AARCH64_ASM_FLAGS       = DEF(GCC47_AARCH64_ASM_FLAGS)
4445DEFINE GCC48_ARM_CC_FLAGS            = DEF(GCC47_ARM_CC_FLAGS)
4446DEFINE GCC48_ARM_CC_XIPFLAGS         = DEF(GCC47_ARM_CC_XIPFLAGS)
4447DEFINE GCC48_AARCH64_CC_FLAGS        = DEF(GCC47_AARCH64_CC_FLAGS)
4448DEFINE GCC48_AARCH64_CC_XIPFLAGS     = DEF(GCC47_AARCH64_CC_XIPFLAGS)
4449DEFINE GCC48_ARM_DLINK_FLAGS         = DEF(GCC47_ARM_DLINK_FLAGS)
4450DEFINE GCC48_ARM_DLINK2_FLAGS        = DEF(GCC47_ARM_DLINK2_FLAGS)
4451DEFINE GCC48_AARCH64_DLINK_FLAGS     = DEF(GCC47_AARCH64_DLINK_FLAGS)
4452DEFINE GCC48_AARCH64_DLINK2_FLAGS    = DEF(GCC47_AARCH64_DLINK2_FLAGS)
4453DEFINE GCC48_ARM_ASLDLINK_FLAGS      = DEF(GCC47_ARM_ASLDLINK_FLAGS)
4454DEFINE GCC48_AARCH64_ASLDLINK_FLAGS  = DEF(GCC47_AARCH64_ASLDLINK_FLAGS)
4455
4456DEFINE GCC49_IA32_CC_FLAGS           = DEF(GCC48_IA32_CC_FLAGS)
4457DEFINE GCC49_X64_CC_FLAGS            = DEF(GCC48_X64_CC_FLAGS)
4458DEFINE GCC49_IA32_X64_DLINK_COMMON   = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x40
4459DEFINE GCC49_IA32_X64_ASLDLINK_FLAGS = DEF(GCC49_IA32_X64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u ReferenceAcpiTable
4460DEFINE GCC49_IA32_X64_DLINK_FLAGS    = DEF(GCC49_IA32_X64_DLINK_COMMON) -Wl,--entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map
4461DEFINE GCC49_IA32_DLINK2_FLAGS       = DEF(GCC48_IA32_DLINK2_FLAGS)
4462DEFINE GCC49_X64_DLINK_FLAGS         = DEF(GCC49_IA32_X64_DLINK_FLAGS) -Wl,-melf_x86_64,--oformat=elf64-x86-64
4463DEFINE GCC49_X64_DLINK2_FLAGS        = DEF(GCC48_X64_DLINK2_FLAGS)
4464DEFINE GCC49_ASM_FLAGS               = DEF(GCC48_ASM_FLAGS)
4465DEFINE GCC49_ARM_ASM_FLAGS           = DEF(GCC48_ARM_ASM_FLAGS)
4466DEFINE GCC49_AARCH64_ASM_FLAGS       = DEF(GCC48_AARCH64_ASM_FLAGS)
4467DEFINE GCC49_ARM_CC_FLAGS            = DEF(GCC48_ARM_CC_FLAGS)
4468DEFINE GCC49_ARM_CC_XIPFLAGS         = DEF(GCC48_ARM_CC_XIPFLAGS)
4469DEFINE GCC49_AARCH64_CC_FLAGS        = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC44_ALL_CC_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -save-temps
4470DEFINE GCC49_AARCH64_CC_XIPFLAGS     = DEF(GCC48_AARCH64_CC_XIPFLAGS)
4471DEFINE GCC49_ARM_DLINK_FLAGS         = DEF(GCC48_ARM_DLINK_FLAGS)
4472DEFINE GCC49_ARM_DLINK2_FLAGS        = DEF(GCC48_ARM_DLINK2_FLAGS)
4473DEFINE GCC49_AARCH64_DLINK_FLAGS     = DEF(GCC48_AARCH64_DLINK_FLAGS)
4474DEFINE GCC49_AARCH64_DLINK2_FLAGS    = DEF(GCC48_AARCH64_DLINK2_FLAGS)
4475DEFINE GCC49_ARM_ASLDLINK_FLAGS      = DEF(GCC48_ARM_ASLDLINK_FLAGS)
4476DEFINE GCC49_AARCH64_ASLDLINK_FLAGS  = DEF(GCC48_AARCH64_ASLDLINK_FLAGS)
4477
4478DEFINE GCC5_IA32_CC_FLAGS            = DEF(GCC49_IA32_CC_FLAGS) -fno-builtin
4479DEFINE GCC5_X64_CC_FLAGS             = DEF(GCC49_X64_CC_FLAGS) -fno-builtin
4480DEFINE GCC5_IA32_X64_DLINK_COMMON    = DEF(GCC49_IA32_X64_DLINK_COMMON)
4481DEFINE GCC5_IA32_X64_ASLDLINK_FLAGS  = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS)
4482DEFINE GCC5_IA32_X64_DLINK_FLAGS     = DEF(GCC49_IA32_X64_DLINK_FLAGS)
4483DEFINE GCC5_IA32_DLINK2_FLAGS        = DEF(GCC49_IA32_DLINK2_FLAGS) -Wno-error
4484DEFINE GCC5_X64_DLINK_FLAGS          = DEF(GCC49_X64_DLINK_FLAGS)
4485DEFINE GCC5_X64_DLINK2_FLAGS         = DEF(GCC49_X64_DLINK2_FLAGS) -Wno-error
4486DEFINE GCC5_ASM_FLAGS                = DEF(GCC49_ASM_FLAGS)
4487DEFINE GCC5_ARM_ASM_FLAGS            = DEF(GCC49_ARM_ASM_FLAGS)
4488DEFINE GCC5_AARCH64_ASM_FLAGS        = DEF(GCC49_AARCH64_ASM_FLAGS)
4489DEFINE GCC5_ARM_CC_FLAGS             = DEF(GCC49_ARM_CC_FLAGS)
4490DEFINE GCC5_ARM_CC_XIPFLAGS          = DEF(GCC49_ARM_CC_XIPFLAGS)
4491DEFINE GCC5_AARCH64_CC_FLAGS         = DEF(GCC49_AARCH64_CC_FLAGS)
4492DEFINE GCC5_AARCH64_CC_XIPFLAGS      = DEF(GCC49_AARCH64_CC_XIPFLAGS)
4493DEFINE GCC5_ARM_DLINK_FLAGS          = DEF(GCC49_ARM_DLINK_FLAGS)
4494DEFINE GCC5_ARM_DLINK2_FLAGS         = DEF(GCC49_ARM_DLINK2_FLAGS) -Wno-error
4495DEFINE GCC5_AARCH64_DLINK_FLAGS      = DEF(GCC49_AARCH64_DLINK_FLAGS)
4496DEFINE GCC5_AARCH64_DLINK2_FLAGS     = DEF(GCC49_AARCH64_DLINK2_FLAGS) -Wno-error
4497DEFINE GCC5_ARM_ASLDLINK_FLAGS       = DEF(GCC49_ARM_ASLDLINK_FLAGS)
4498DEFINE GCC5_AARCH64_ASLDLINK_FLAGS   = DEF(GCC49_AARCH64_ASLDLINK_FLAGS)
4499
4500####################################################################################
4501#
4502# Unix GCC And Intel Linux ACPI Compiler
4503#
4504####################################################################################
4505#   UNIXGCC         - UNIX GCC
4506#   ASL             - Intel Linux ACPI Source Language Compiler (iasl)
4507*_UNIXGCC_*_*_FAMILY               = GCC
4508*_UNIXGCC_*_*_BUILDRULEFAMILY      = GCCLD
4509
4510*_UNIXGCC_*_MAKE_PATH                    = make
4511*_UNIXGCC_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
4512
4513*_UNIXGCC_IA32_DLINK_FLAGS               = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
4514*_UNIXGCC_X64_DLINK_FLAGS                = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
4515*_UNIXGCC_IA32_ASLDLINK_FLAGS            = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
4516*_UNIXGCC_X64_ASLDLINK_FLAGS             = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
4517*_UNIXGCC_*_ASM_FLAGS                    = DEF(GCC_ASM_FLAGS)
4518*_UNIXGCC_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
4519*_UNIXGCC_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
4520*_UNIXGCC_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
4521*_UNIXGCC_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
4522*_UNIXGCC_*_APP_FLAGS                    =
4523*_UNIXGCC_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
4524*_UNIXGCC_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
4525
4526##################
4527# IA32 definitions
4528##################
4529*_UNIXGCC_IA32_OBJCOPY_PATH         = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
4530*_UNIXGCC_IA32_PP_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
4531*_UNIXGCC_IA32_CC_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
4532*_UNIXGCC_IA32_SLINK_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
4533*_UNIXGCC_IA32_DLINK_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
4534*_UNIXGCC_IA32_ASLPP_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
4535*_UNIXGCC_IA32_ASLCC_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
4536*_UNIXGCC_IA32_ASLDLINK_PATH        = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
4537*_UNIXGCC_IA32_ASM_PATH             = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
4538*_UNIXGCC_IA32_VFRPP_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
4539*_UNIXGCC_IA32_RC_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
4540
4541*_UNIXGCC_IA32_CC_FLAGS             = DEF(GCC_IA32_CC_FLAGS)
4542*_UNIXGCC_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
4543*_UNIXGCC_IA32_OBJCOPY_FLAGS        =
4544*_UNIXGCC_IA32_NASM_FLAGS           = -f win32
4545
4546##################
4547# X64 definitions
4548##################
4549*_UNIXGCC_X64_CC_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
4550*_UNIXGCC_X64_ASLCC_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
4551*_UNIXGCC_X64_SLINK_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
4552*_UNIXGCC_X64_DLINK_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
4553*_UNIXGCC_X64_ASLDLINK_PATH         = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
4554*_UNIXGCC_X64_ASM_PATH              = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
4555*_UNIXGCC_X64_PP_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
4556*_UNIXGCC_X64_ASLPP_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
4557*_UNIXGCC_X64_VFRPP_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
4558*_UNIXGCC_X64_RC_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
4559*_UNIXGCC_X64_OBJCOPY_PATH          = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
4560
4561*_UNIXGCC_X64_CC_FLAGS              = DEF(GCC_X64_CC_FLAGS)
4562*_UNIXGCC_X64_RC_FLAGS              = DEF(GCC_X64_RC_FLAGS)
4563*_UNIXGCC_X64_OBJCOPY_FLAGS         =
4564*_UNIXGCC_X64_NASM_FLAGS            = -f win64
4565
4566##################
4567# IPF definitions
4568##################
4569*_UNIXGCC_IPF_CC_PATH              = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
4570*_UNIXGCC_IPF_ASLCC_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
4571*_UNIXGCC_IPF_SLINK_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ar
4572*_UNIXGCC_IPF_DLINK_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
4573*_UNIXGCC_IPF_ASLDLINK_PATH        = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld
4574*_UNIXGCC_IPF_ASM_PATH             = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
4575*_UNIXGCC_IPF_PP_PATH              = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
4576*_UNIXGCC_IPF_ASLPP_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
4577*_UNIXGCC_IPF_VFRPP_PATH           = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc
4578*_UNIXGCC_IPF_OBJCOPY_PATH         = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
4579*_UNIXGCC_IPF_SYMRENAME_PATH       = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
4580*_UNIXGCC_IPF_RC_PATH              = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy
4581
4582*_UNIXGCC_IPF_CC_FLAGS             = DEF(GCC_IPF_CC_FLAGS)
4583*_UNIXGCC_IPF_DLINK_FLAGS          = DEF(GCC_IPF_DLINK_FLAGS)
4584*_UNIXGCC_IPF_OBJCOPY_FLAGS        = DEF(GCC_IPF_OBJCOPY_FLAGS)
4585*_UNIXGCC_IPF_SYMRENAME_FLAGS      = DEF(GCC_IPF_SYMRENAME_FLAGS)
4586*_UNIXGCC_IPF_RC_FLAGS             = DEF(GCC_IPF_RC_FLAGS)
4587
4588
4589####################################################################################
4590#
4591# GCC 4.4 - This configuration is used to compile under Linux to produce
4592#           PE/COFF binaries using GCC 4.4.
4593#
4594####################################################################################
4595*_GCC44_*_*_FAMILY               = GCC
4596
4597*_GCC44_*_MAKE_PATH                    = DEF(GCC44_IA32_PREFIX)make
4598*_GCC44_*_*_DLL                        = ENV(GCC44_DLL)
4599*_GCC44_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
4600
4601*_GCC44_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
4602*_GCC44_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
4603*_GCC44_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
4604*_GCC44_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
4605*_GCC44_*_APP_FLAGS                    = DEF(GCC_PP_FLAGS)
4606*_GCC44_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
4607*_GCC44_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
4608
4609##################
4610# GCC44 IA32 definitions
4611##################
4612*_GCC44_IA32_OBJCOPY_PATH         = DEF(GCC44_IA32_PREFIX)objcopy
4613*_GCC44_IA32_CC_PATH              = DEF(GCC44_IA32_PREFIX)gcc
4614*_GCC44_IA32_SLINK_PATH           = DEF(GCC44_IA32_PREFIX)ar
4615*_GCC44_IA32_DLINK_PATH           = DEF(GCC44_IA32_PREFIX)gcc
4616*_GCC44_IA32_ASLDLINK_PATH        = DEF(GCC44_IA32_PREFIX)gcc
4617*_GCC44_IA32_ASM_PATH             = DEF(GCC44_IA32_PREFIX)gcc
4618*_GCC44_IA32_PP_PATH              = DEF(GCC44_IA32_PREFIX)gcc
4619*_GCC44_IA32_VFRPP_PATH           = DEF(GCC44_IA32_PREFIX)gcc
4620*_GCC44_IA32_ASLCC_PATH           = DEF(GCC44_IA32_PREFIX)gcc
4621*_GCC44_IA32_ASLPP_PATH           = DEF(GCC44_IA32_PREFIX)gcc
4622*_GCC44_IA32_RC_PATH              = DEF(GCC44_IA32_PREFIX)objcopy
4623
4624*_GCC44_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
4625*_GCC44_IA32_ASLDLINK_FLAGS       = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
4626*_GCC44_IA32_ASM_FLAGS            = DEF(GCC44_ASM_FLAGS) -m32 --32 -march=i386
4627*_GCC44_IA32_DLINK_FLAGS          = DEF(GCC44_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
4628*_GCC44_IA32_DLINK2_FLAGS         = DEF(GCC44_IA32_DLINK2_FLAGS)
4629*_GCC44_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
4630*_GCC44_IA32_OBJCOPY_FLAGS        =
4631*_GCC44_IA32_NASM_FLAGS           = -f elf32
4632
4633  DEBUG_GCC44_IA32_CC_FLAGS       = DEF(GCC44_IA32_CC_FLAGS) -Os
4634RELEASE_GCC44_IA32_CC_FLAGS       = DEF(GCC44_IA32_CC_FLAGS) -Os
4635  NOOPT_GCC44_IA32_CC_FLAGS       = DEF(GCC44_IA32_CC_FLAGS) -O0
4636
4637##################
4638# GCC44 X64 definitions
4639##################
4640*_GCC44_X64_OBJCOPY_PATH         = DEF(GCC44_X64_PREFIX)objcopy
4641*_GCC44_X64_CC_PATH              = DEF(GCC44_X64_PREFIX)gcc
4642*_GCC44_X64_SLINK_PATH           = DEF(GCC44_X64_PREFIX)ar
4643*_GCC44_X64_DLINK_PATH           = DEF(GCC44_X64_PREFIX)gcc
4644*_GCC44_X64_ASLDLINK_PATH        = DEF(GCC44_X64_PREFIX)gcc
4645*_GCC44_X64_ASM_PATH             = DEF(GCC44_X64_PREFIX)gcc
4646*_GCC44_X64_PP_PATH              = DEF(GCC44_X64_PREFIX)gcc
4647*_GCC44_X64_VFRPP_PATH           = DEF(GCC44_X64_PREFIX)gcc
4648*_GCC44_X64_ASLCC_PATH           = DEF(GCC44_X64_PREFIX)gcc
4649*_GCC44_X64_ASLPP_PATH           = DEF(GCC44_X64_PREFIX)gcc
4650*_GCC44_X64_RC_PATH              = DEF(GCC44_X64_PREFIX)objcopy
4651
4652*_GCC44_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
4653*_GCC44_X64_ASLDLINK_FLAGS       = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
4654*_GCC44_X64_ASM_FLAGS            = DEF(GCC44_ASM_FLAGS) -m64 --64 -melf_x86_64
4655*_GCC44_X64_DLINK_FLAGS          = DEF(GCC44_X64_DLINK_FLAGS)
4656*_GCC44_X64_DLINK2_FLAGS         = DEF(GCC44_X64_DLINK2_FLAGS)
4657*_GCC44_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
4658*_GCC44_X64_OBJCOPY_FLAGS        =
4659*_GCC44_X64_NASM_FLAGS           = -f elf64
4660
4661  DEBUG_GCC44_X64_CC_FLAGS       = DEF(GCC44_X64_CC_FLAGS) -Os
4662RELEASE_GCC44_X64_CC_FLAGS       = DEF(GCC44_X64_CC_FLAGS) -Os
4663  NOOPT_GCC44_X64_CC_FLAGS       = DEF(GCC44_X64_CC_FLAGS) -O0
4664
4665####################################################################################
4666#
4667# GCC 4.5 - This configuration is used to compile under Linux to produce
4668#           PE/COFF binaries using GCC 4.5.
4669#
4670####################################################################################
4671*_GCC45_*_*_FAMILY               = GCC
4672
4673*_GCC45_*_MAKE_PATH                    = DEF(GCC45_IA32_PREFIX)make
4674*_GCC45_*_*_DLL                        = ENV(GCC45_DLL)
4675*_GCC45_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
4676
4677*_GCC45_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
4678*_GCC45_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
4679*_GCC45_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
4680*_GCC45_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
4681*_GCC45_*_APP_FLAGS                    =
4682*_GCC45_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
4683*_GCC45_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
4684
4685##################
4686# GCC45 IA32 definitions
4687##################
4688*_GCC45_IA32_OBJCOPY_PATH         = DEF(GCC45_IA32_PREFIX)objcopy
4689*_GCC45_IA32_CC_PATH              = DEF(GCC45_IA32_PREFIX)gcc
4690*_GCC45_IA32_SLINK_PATH           = DEF(GCC45_IA32_PREFIX)ar
4691*_GCC45_IA32_DLINK_PATH           = DEF(GCC45_IA32_PREFIX)gcc
4692*_GCC45_IA32_ASLDLINK_PATH        = DEF(GCC45_IA32_PREFIX)gcc
4693*_GCC45_IA32_ASM_PATH             = DEF(GCC45_IA32_PREFIX)gcc
4694*_GCC45_IA32_PP_PATH              = DEF(GCC45_IA32_PREFIX)gcc
4695*_GCC45_IA32_VFRPP_PATH           = DEF(GCC45_IA32_PREFIX)gcc
4696*_GCC45_IA32_ASLCC_PATH           = DEF(GCC45_IA32_PREFIX)gcc
4697*_GCC45_IA32_ASLPP_PATH           = DEF(GCC45_IA32_PREFIX)gcc
4698*_GCC45_IA32_RC_PATH              = DEF(GCC45_IA32_PREFIX)objcopy
4699
4700*_GCC45_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
4701*_GCC45_IA32_ASLDLINK_FLAGS       = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
4702*_GCC45_IA32_ASM_FLAGS            = DEF(GCC45_ASM_FLAGS) -m32 --32 -march=i386
4703*_GCC45_IA32_DLINK_FLAGS          = DEF(GCC45_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
4704*_GCC45_IA32_DLINK2_FLAGS         = DEF(GCC45_IA32_DLINK2_FLAGS)
4705*_GCC45_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
4706*_GCC45_IA32_OBJCOPY_FLAGS        =
4707*_GCC45_IA32_NASM_FLAGS           = -f elf32
4708
4709  DEBUG_GCC45_IA32_CC_FLAGS       = DEF(GCC45_IA32_CC_FLAGS) -Os
4710RELEASE_GCC45_IA32_CC_FLAGS       = DEF(GCC45_IA32_CC_FLAGS) -Os
4711  NOOPT_GCC45_IA32_CC_FLAGS       = DEF(GCC45_IA32_CC_FLAGS) -O0
4712
4713##################
4714# GCC45 X64 definitions
4715##################
4716*_GCC45_X64_OBJCOPY_PATH         = DEF(GCC45_X64_PREFIX)objcopy
4717*_GCC45_X64_CC_PATH              = DEF(GCC45_X64_PREFIX)gcc
4718*_GCC45_X64_SLINK_PATH           = DEF(GCC45_X64_PREFIX)ar
4719*_GCC45_X64_DLINK_PATH           = DEF(GCC45_X64_PREFIX)gcc
4720*_GCC45_X64_ASLDLINK_PATH        = DEF(GCC45_X64_PREFIX)gcc
4721*_GCC45_X64_ASM_PATH             = DEF(GCC45_X64_PREFIX)gcc
4722*_GCC45_X64_PP_PATH              = DEF(GCC45_X64_PREFIX)gcc
4723*_GCC45_X64_VFRPP_PATH           = DEF(GCC45_X64_PREFIX)gcc
4724*_GCC45_X64_ASLCC_PATH           = DEF(GCC45_X64_PREFIX)gcc
4725*_GCC45_X64_ASLPP_PATH           = DEF(GCC45_X64_PREFIX)gcc
4726*_GCC45_X64_RC_PATH              = DEF(GCC45_X64_PREFIX)objcopy
4727
4728*_GCC45_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
4729*_GCC45_X64_ASLDLINK_FLAGS       = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
4730*_GCC45_X64_ASM_FLAGS            = DEF(GCC45_ASM_FLAGS) -m64 --64 -melf_x86_64
4731*_GCC45_X64_DLINK_FLAGS          = DEF(GCC45_X64_DLINK_FLAGS)
4732*_GCC45_X64_DLINK2_FLAGS         = DEF(GCC45_X64_DLINK2_FLAGS)
4733*_GCC45_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
4734*_GCC45_X64_OBJCOPY_FLAGS        =
4735*_GCC45_X64_NASM_FLAGS           = -f elf64
4736
4737  DEBUG_GCC45_X64_CC_FLAGS       = DEF(GCC45_X64_CC_FLAGS) -Os
4738RELEASE_GCC45_X64_CC_FLAGS       = DEF(GCC45_X64_CC_FLAGS) -Os
4739  NOOPT_GCC45_X64_CC_FLAGS       = DEF(GCC45_X64_CC_FLAGS) -O0
4740
4741####################################################################################
4742#
4743# GCC 4.6 - This configuration is used to compile under Linux to produce
4744#           PE/COFF binaries using GCC 4.6.
4745#
4746####################################################################################
4747*_GCC46_*_*_FAMILY               = GCC
4748
4749*_GCC46_*_MAKE_PATH                    = DEF(GCC46_IA32_PREFIX)make
4750*_GCC46_*_*_DLL                        = ENV(GCC46_DLL)
4751*_GCC46_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
4752*_GCC46_*_DTC_PATH                     = DEF(DTC_BIN)
4753
4754*_GCC46_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
4755*_GCC46_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
4756*_GCC46_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
4757*_GCC46_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
4758*_GCC46_*_APP_FLAGS                    =
4759*_GCC46_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
4760*_GCC46_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
4761
4762##################
4763# GCC46 IA32 definitions
4764##################
4765*_GCC46_IA32_OBJCOPY_PATH         = DEF(GCC46_IA32_PREFIX)objcopy
4766*_GCC46_IA32_CC_PATH              = DEF(GCC46_IA32_PREFIX)gcc
4767*_GCC46_IA32_SLINK_PATH           = DEF(GCC46_IA32_PREFIX)ar
4768*_GCC46_IA32_DLINK_PATH           = DEF(GCC46_IA32_PREFIX)gcc
4769*_GCC46_IA32_ASLDLINK_PATH        = DEF(GCC46_IA32_PREFIX)gcc
4770*_GCC46_IA32_ASM_PATH             = DEF(GCC46_IA32_PREFIX)gcc
4771*_GCC46_IA32_PP_PATH              = DEF(GCC46_IA32_PREFIX)gcc
4772*_GCC46_IA32_VFRPP_PATH           = DEF(GCC46_IA32_PREFIX)gcc
4773*_GCC46_IA32_ASLCC_PATH           = DEF(GCC46_IA32_PREFIX)gcc
4774*_GCC46_IA32_ASLPP_PATH           = DEF(GCC46_IA32_PREFIX)gcc
4775*_GCC46_IA32_RC_PATH              = DEF(GCC46_IA32_PREFIX)objcopy
4776
4777*_GCC46_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
4778*_GCC46_IA32_ASLDLINK_FLAGS       = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
4779*_GCC46_IA32_ASM_FLAGS            = DEF(GCC46_ASM_FLAGS) -m32 -march=i386
4780*_GCC46_IA32_DLINK_FLAGS          = DEF(GCC46_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
4781*_GCC46_IA32_DLINK2_FLAGS         = DEF(GCC46_IA32_DLINK2_FLAGS)
4782*_GCC46_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
4783*_GCC46_IA32_OBJCOPY_FLAGS        =
4784*_GCC46_IA32_NASM_FLAGS           = -f elf32
4785
4786  DEBUG_GCC46_IA32_CC_FLAGS       = DEF(GCC46_IA32_CC_FLAGS) -Os
4787RELEASE_GCC46_IA32_CC_FLAGS       = DEF(GCC46_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
4788  NOOPT_GCC46_IA32_CC_FLAGS       = DEF(GCC46_IA32_CC_FLAGS) -O0
4789
4790##################
4791# GCC46 X64 definitions
4792##################
4793*_GCC46_X64_OBJCOPY_PATH         = DEF(GCC46_X64_PREFIX)objcopy
4794*_GCC46_X64_CC_PATH              = DEF(GCC46_X64_PREFIX)gcc
4795*_GCC46_X64_SLINK_PATH           = DEF(GCC46_X64_PREFIX)ar
4796*_GCC46_X64_DLINK_PATH           = DEF(GCC46_X64_PREFIX)gcc
4797*_GCC46_X64_ASLDLINK_PATH        = DEF(GCC46_X64_PREFIX)gcc
4798*_GCC46_X64_ASM_PATH             = DEF(GCC46_X64_PREFIX)gcc
4799*_GCC46_X64_PP_PATH              = DEF(GCC46_X64_PREFIX)gcc
4800*_GCC46_X64_VFRPP_PATH           = DEF(GCC46_X64_PREFIX)gcc
4801*_GCC46_X64_ASLCC_PATH           = DEF(GCC46_X64_PREFIX)gcc
4802*_GCC46_X64_ASLPP_PATH           = DEF(GCC46_X64_PREFIX)gcc
4803*_GCC46_X64_RC_PATH              = DEF(GCC46_X64_PREFIX)objcopy
4804
4805*_GCC46_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
4806*_GCC46_X64_ASLDLINK_FLAGS       = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
4807*_GCC46_X64_ASM_FLAGS            = DEF(GCC46_ASM_FLAGS) -m64 -melf_x86_64
4808*_GCC46_X64_DLINK_FLAGS          = DEF(GCC46_X64_DLINK_FLAGS)
4809*_GCC46_X64_DLINK2_FLAGS         = DEF(GCC46_X64_DLINK2_FLAGS)
4810*_GCC46_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
4811*_GCC46_X64_OBJCOPY_FLAGS        =
4812*_GCC46_X64_NASM_FLAGS           = -f elf64
4813
4814  DEBUG_GCC46_X64_CC_FLAGS       = DEF(GCC46_X64_CC_FLAGS) -Os
4815RELEASE_GCC46_X64_CC_FLAGS       = DEF(GCC46_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
4816  NOOPT_GCC46_X64_CC_FLAGS       = DEF(GCC46_X64_CC_FLAGS) -O0
4817
4818##################
4819# GCC46 ARM definitions
4820##################
4821*_GCC46_ARM_OBJCOPY_PATH         = echo
4822*_GCC46_ARM_CC_PATH              = ENV(GCC46_ARM_PREFIX)gcc
4823*_GCC46_ARM_SLINK_PATH           = ENV(GCC46_ARM_PREFIX)ar
4824*_GCC46_ARM_DLINK_PATH           = ENV(GCC46_ARM_PREFIX)gcc
4825*_GCC46_ARM_ASLDLINK_PATH        = ENV(GCC46_ARM_PREFIX)gcc
4826*_GCC46_ARM_ASM_PATH             = ENV(GCC46_ARM_PREFIX)gcc
4827*_GCC46_ARM_PP_PATH              = ENV(GCC46_ARM_PREFIX)gcc
4828*_GCC46_ARM_VFRPP_PATH           = ENV(GCC46_ARM_PREFIX)gcc
4829*_GCC46_ARM_ASLCC_PATH           = ENV(GCC46_ARM_PREFIX)gcc
4830*_GCC46_ARM_ASLPP_PATH           = ENV(GCC46_ARM_PREFIX)gcc
4831*_GCC46_ARM_RC_PATH              = ENV(GCC46_ARM_PREFIX)objcopy
4832
4833*_GCC46_ARM_ARCHCC_FLAGS         =
4834*_GCC46_ARM_PLATFORM_FLAGS       = -march=armv7-a
4835
4836*_GCC46_ARM_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS)
4837*_GCC46_ARM_ASLDLINK_FLAGS       = DEF(GCC46_ARM_ASLDLINK_FLAGS)
4838*_GCC46_ARM_ASM_FLAGS            = DEF(GCC46_ARM_ASM_FLAGS)
4839*_GCC46_ARM_DLINK_FLAGS          = DEF(GCC46_ARM_DLINK_FLAGS)
4840*_GCC46_ARM_DLINK2_FLAGS         = DEF(GCC46_ARM_DLINK2_FLAGS)
4841*_GCC46_ARM_DTCPP_FLAGS          = DEF(GCC_DTCPP_FLAGS)
4842*_GCC46_ARM_PLATFORM_FLAGS       = -march=armv7-a
4843*_GCC46_ARM_PP_FLAGS             = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
4844*_GCC46_ARM_RC_FLAGS             = DEF(GCC_ARM_RC_FLAGS)
4845*_GCC46_ARM_VFRPP_FLAGS          = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
4846*_GCC46_ARM_CC_XIPFLAGS          = DEF(GCC46_ARM_CC_XIPFLAGS)
4847
4848  DEBUG_GCC46_ARM_CC_FLAGS       = DEF(GCC46_ARM_CC_FLAGS) -O0
4849RELEASE_GCC46_ARM_CC_FLAGS       = DEF(GCC46_ARM_CC_FLAGS) -Wno-unused-but-set-variable
4850  NOOPT_GCC46_ARM_CC_FLAGS       = DEF(GCC46_ARM_CC_FLAGS) -O0
4851
4852####################################################################################
4853#
4854# GCC 4.7 - This configuration is used to compile under Linux to produce
4855#           PE/COFF binaries using GCC 4.7.
4856#
4857####################################################################################
4858*_GCC47_*_*_FAMILY               = GCC
4859
4860*_GCC47_*_MAKE_PATH                    = DEF(GCC47_IA32_PREFIX)make
4861*_GCC47_*_*_DLL                        = ENV(GCC47_DLL)
4862*_GCC47_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
4863*_GCC47_*_DTC_PATH                     = DEF(DTC_BIN)
4864
4865*_GCC47_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
4866*_GCC47_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
4867*_GCC47_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
4868*_GCC47_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
4869*_GCC47_*_APP_FLAGS                    =
4870*_GCC47_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
4871*_GCC47_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
4872
4873##################
4874# GCC47 IA32 definitions
4875##################
4876*_GCC47_IA32_OBJCOPY_PATH         = DEF(GCC47_IA32_PREFIX)objcopy
4877*_GCC47_IA32_CC_PATH              = DEF(GCC47_IA32_PREFIX)gcc
4878*_GCC47_IA32_SLINK_PATH           = DEF(GCC47_IA32_PREFIX)ar
4879*_GCC47_IA32_DLINK_PATH           = DEF(GCC47_IA32_PREFIX)gcc
4880*_GCC47_IA32_ASLDLINK_PATH        = DEF(GCC47_IA32_PREFIX)gcc
4881*_GCC47_IA32_ASM_PATH             = DEF(GCC47_IA32_PREFIX)gcc
4882*_GCC47_IA32_PP_PATH              = DEF(GCC47_IA32_PREFIX)gcc
4883*_GCC47_IA32_VFRPP_PATH           = DEF(GCC47_IA32_PREFIX)gcc
4884*_GCC47_IA32_ASLCC_PATH           = DEF(GCC47_IA32_PREFIX)gcc
4885*_GCC47_IA32_ASLPP_PATH           = DEF(GCC47_IA32_PREFIX)gcc
4886*_GCC47_IA32_RC_PATH              = DEF(GCC47_IA32_PREFIX)objcopy
4887
4888*_GCC47_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
4889*_GCC47_IA32_ASLDLINK_FLAGS       = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
4890*_GCC47_IA32_ASM_FLAGS            = DEF(GCC47_ASM_FLAGS) -m32 -march=i386
4891*_GCC47_IA32_DLINK_FLAGS          = DEF(GCC47_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
4892*_GCC47_IA32_DLINK2_FLAGS         = DEF(GCC47_IA32_DLINK2_FLAGS)
4893*_GCC47_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
4894*_GCC47_IA32_OBJCOPY_FLAGS        =
4895*_GCC47_IA32_NASM_FLAGS           = -f elf32
4896
4897  DEBUG_GCC47_IA32_CC_FLAGS       = DEF(GCC47_IA32_CC_FLAGS) -Os
4898RELEASE_GCC47_IA32_CC_FLAGS       = DEF(GCC47_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
4899  NOOPT_GCC47_IA32_CC_FLAGS       = DEF(GCC47_IA32_CC_FLAGS) -O0
4900
4901##################
4902# GCC47 X64 definitions
4903##################
4904*_GCC47_X64_OBJCOPY_PATH         = DEF(GCC47_X64_PREFIX)objcopy
4905*_GCC47_X64_CC_PATH              = DEF(GCC47_X64_PREFIX)gcc
4906*_GCC47_X64_SLINK_PATH           = DEF(GCC47_X64_PREFIX)ar
4907*_GCC47_X64_DLINK_PATH           = DEF(GCC47_X64_PREFIX)gcc
4908*_GCC47_X64_ASLDLINK_PATH        = DEF(GCC47_X64_PREFIX)gcc
4909*_GCC47_X64_ASM_PATH             = DEF(GCC47_X64_PREFIX)gcc
4910*_GCC47_X64_PP_PATH              = DEF(GCC47_X64_PREFIX)gcc
4911*_GCC47_X64_VFRPP_PATH           = DEF(GCC47_X64_PREFIX)gcc
4912*_GCC47_X64_ASLCC_PATH           = DEF(GCC47_X64_PREFIX)gcc
4913*_GCC47_X64_ASLPP_PATH           = DEF(GCC47_X64_PREFIX)gcc
4914*_GCC47_X64_RC_PATH              = DEF(GCC47_X64_PREFIX)objcopy
4915
4916*_GCC47_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
4917*_GCC47_X64_ASLDLINK_FLAGS       = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
4918*_GCC47_X64_ASM_FLAGS            = DEF(GCC47_ASM_FLAGS) -m64
4919*_GCC47_X64_DLINK_FLAGS          = DEF(GCC47_X64_DLINK_FLAGS)
4920*_GCC47_X64_DLINK2_FLAGS         = DEF(GCC47_X64_DLINK2_FLAGS)
4921*_GCC47_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
4922*_GCC47_X64_OBJCOPY_FLAGS        =
4923*_GCC47_X64_NASM_FLAGS           = -f elf64
4924
4925  DEBUG_GCC47_X64_CC_FLAGS       = DEF(GCC47_X64_CC_FLAGS) -Os
4926RELEASE_GCC47_X64_CC_FLAGS       = DEF(GCC47_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
4927  NOOPT_GCC47_X64_CC_FLAGS       = DEF(GCC47_X64_CC_FLAGS) -O0
4928
4929##################
4930# GCC47 ARM definitions
4931##################
4932*_GCC47_ARM_CC_PATH              = ENV(GCC47_ARM_PREFIX)gcc
4933*_GCC47_ARM_SLINK_PATH           = ENV(GCC47_ARM_PREFIX)ar
4934*_GCC47_ARM_DLINK_PATH           = ENV(GCC47_ARM_PREFIX)gcc
4935*_GCC47_ARM_ASLDLINK_PATH        = ENV(GCC47_ARM_PREFIX)gcc
4936*_GCC47_ARM_ASM_PATH             = ENV(GCC47_ARM_PREFIX)gcc
4937*_GCC47_ARM_PP_PATH              = ENV(GCC47_ARM_PREFIX)gcc
4938*_GCC47_ARM_VFRPP_PATH           = ENV(GCC47_ARM_PREFIX)gcc
4939*_GCC47_ARM_ASLCC_PATH           = ENV(GCC47_ARM_PREFIX)gcc
4940*_GCC47_ARM_ASLPP_PATH           = ENV(GCC47_ARM_PREFIX)gcc
4941*_GCC47_ARM_RC_PATH              = ENV(GCC47_ARM_PREFIX)objcopy
4942
4943*_GCC47_ARM_ARCHCC_FLAGS         =
4944*_GCC47_ARM_PLATFORM_FLAGS       = -march=armv7-a
4945
4946*_GCC47_ARM_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS)
4947*_GCC47_ARM_ASLDLINK_FLAGS       = DEF(GCC47_ARM_ASLDLINK_FLAGS)
4948*_GCC47_ARM_ASM_FLAGS            = DEF(GCC47_ARM_ASM_FLAGS)
4949*_GCC47_ARM_DLINK_FLAGS          = DEF(GCC47_ARM_DLINK_FLAGS)
4950*_GCC47_ARM_DLINK2_FLAGS         = DEF(GCC47_ARM_DLINK2_FLAGS)
4951*_GCC47_ARM_DTCPP_FLAGS          = DEF(GCC_DTCPP_FLAGS)
4952*_GCC47_ARM_PLATFORM_FLAGS       = -march=armv7-a
4953*_GCC47_ARM_PP_FLAGS             = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
4954*_GCC47_ARM_RC_FLAGS             = DEF(GCC_ARM_RC_FLAGS)
4955*_GCC47_ARM_VFRPP_FLAGS          = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
4956*_GCC47_ARM_CC_XIPFLAGS          = DEF(GCC47_ARM_CC_XIPFLAGS)
4957
4958  DEBUG_GCC47_ARM_CC_FLAGS       = DEF(GCC47_ARM_CC_FLAGS) -O0
4959RELEASE_GCC47_ARM_CC_FLAGS       = DEF(GCC47_ARM_CC_FLAGS) -Wno-unused-but-set-variable
4960  NOOPT_GCC47_ARM_CC_FLAGS       = DEF(GCC47_ARM_CC_FLAGS) -O0
4961
4962##################
4963# GCC47 AARCH64 definitions
4964##################
4965*_GCC47_AARCH64_CC_PATH          = ENV(GCC47_AARCH64_PREFIX)gcc
4966*_GCC47_AARCH64_SLINK_PATH       = ENV(GCC47_AARCH64_PREFIX)ar
4967*_GCC47_AARCH64_DLINK_PATH       = ENV(GCC47_AARCH64_PREFIX)gcc
4968*_GCC47_AARCH64_ASLDLINK_PATH    = ENV(GCC47_AARCH64_PREFIX)gcc
4969*_GCC47_AARCH64_ASM_PATH         = ENV(GCC47_AARCH64_PREFIX)gcc
4970*_GCC47_AARCH64_PP_PATH          = ENV(GCC47_AARCH64_PREFIX)gcc
4971*_GCC47_AARCH64_VFRPP_PATH       = ENV(GCC47_AARCH64_PREFIX)gcc
4972*_GCC47_AARCH64_ASLCC_PATH       = ENV(GCC47_AARCH64_PREFIX)gcc
4973*_GCC47_AARCH64_ASLPP_PATH       = ENV(GCC47_AARCH64_PREFIX)gcc
4974*_GCC47_AARCH64_RC_PATH          = ENV(GCC47_AARCH64_PREFIX)objcopy
4975
4976*_GCC47_AARCH64_ASLCC_FLAGS      = DEF(GCC_ASLCC_FLAGS)
4977*_GCC47_AARCH64_ASLDLINK_FLAGS   = DEF(GCC47_AARCH64_ASLDLINK_FLAGS)
4978*_GCC47_AARCH64_ASM_FLAGS        = DEF(GCC47_AARCH64_ASM_FLAGS)
4979*_GCC47_AARCH64_DLINK_FLAGS      = DEF(GCC47_AARCH64_DLINK_FLAGS)
4980*_GCC47_AARCH64_DLINK2_FLAGS     = DEF(GCC47_AARCH64_DLINK2_FLAGS)
4981*_GCC47_AARCH64_DTCPP_FLAGS      = DEF(GCC_DTCPP_FLAGS)
4982*_GCC47_AARCH64_PLATFORM_FLAGS   =
4983*_GCC47_AARCH64_PP_FLAGS         = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
4984*_GCC47_AARCH64_RC_FLAGS         = DEF(GCC_AARCH64_RC_FLAGS)
4985*_GCC47_AARCH64_VFRPP_FLAGS      = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
4986*_GCC47_AARCH64_CC_XIPFLAGS      = DEF(GCC47_AARCH64_CC_XIPFLAGS)
4987
4988  DEBUG_GCC47_AARCH64_CC_FLAGS   = DEF(GCC47_AARCH64_CC_FLAGS) -O0
4989RELEASE_GCC47_AARCH64_CC_FLAGS   = DEF(GCC47_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable -fomit-frame-pointer
4990  NOOPT_GCC47_AARCH64_CC_FLAGS   = DEF(GCC47_AARCH64_CC_FLAGS) -O0
4991
4992####################################################################################
4993#
4994# GCC 4.8 - This configuration is used to compile under Linux to produce
4995#           PE/COFF binaries using GCC 4.8.
4996#
4997####################################################################################
4998*_GCC48_*_*_FAMILY               = GCC
4999
5000*_GCC48_*_MAKE_PATH                    = DEF(GCC48_IA32_PREFIX)make
5001*_GCC48_*_*_DLL                        = ENV(GCC48_DLL)
5002*_GCC48_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
5003*_GCC48_*_DTC_PATH                     = DEF(DTC_BIN)
5004
5005*_GCC48_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
5006*_GCC48_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
5007*_GCC48_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
5008*_GCC48_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
5009*_GCC48_*_APP_FLAGS                    =
5010*_GCC48_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
5011*_GCC48_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
5012
5013##################
5014# GCC48 IA32 definitions
5015##################
5016*_GCC48_IA32_OBJCOPY_PATH         = DEF(GCC48_IA32_PREFIX)objcopy
5017*_GCC48_IA32_CC_PATH              = DEF(GCC48_IA32_PREFIX)gcc
5018*_GCC48_IA32_SLINK_PATH           = DEF(GCC48_IA32_PREFIX)ar
5019*_GCC48_IA32_DLINK_PATH           = DEF(GCC48_IA32_PREFIX)gcc
5020*_GCC48_IA32_ASLDLINK_PATH        = DEF(GCC48_IA32_PREFIX)gcc
5021*_GCC48_IA32_ASM_PATH             = DEF(GCC48_IA32_PREFIX)gcc
5022*_GCC48_IA32_PP_PATH              = DEF(GCC48_IA32_PREFIX)gcc
5023*_GCC48_IA32_VFRPP_PATH           = DEF(GCC48_IA32_PREFIX)gcc
5024*_GCC48_IA32_ASLCC_PATH           = DEF(GCC48_IA32_PREFIX)gcc
5025*_GCC48_IA32_ASLPP_PATH           = DEF(GCC48_IA32_PREFIX)gcc
5026*_GCC48_IA32_RC_PATH              = DEF(GCC48_IA32_PREFIX)objcopy
5027
5028*_GCC48_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
5029*_GCC48_IA32_ASLDLINK_FLAGS       = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
5030*_GCC48_IA32_ASM_FLAGS            = DEF(GCC48_ASM_FLAGS) -m32 -march=i386
5031*_GCC48_IA32_DLINK_FLAGS          = DEF(GCC48_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
5032*_GCC48_IA32_DLINK2_FLAGS         = DEF(GCC48_IA32_DLINK2_FLAGS)
5033*_GCC48_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
5034*_GCC48_IA32_OBJCOPY_FLAGS        =
5035*_GCC48_IA32_NASM_FLAGS           = -f elf32
5036
5037  DEBUG_GCC48_IA32_CC_FLAGS       = DEF(GCC48_IA32_CC_FLAGS) -Os
5038RELEASE_GCC48_IA32_CC_FLAGS       = DEF(GCC48_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
5039  NOOPT_GCC48_IA32_CC_FLAGS       = DEF(GCC48_IA32_CC_FLAGS) -O0
5040
5041##################
5042# GCC48 X64 definitions
5043##################
5044*_GCC48_X64_OBJCOPY_PATH         = DEF(GCC48_X64_PREFIX)objcopy
5045*_GCC48_X64_CC_PATH              = DEF(GCC48_X64_PREFIX)gcc
5046*_GCC48_X64_SLINK_PATH           = DEF(GCC48_X64_PREFIX)ar
5047*_GCC48_X64_DLINK_PATH           = DEF(GCC48_X64_PREFIX)gcc
5048*_GCC48_X64_ASLDLINK_PATH        = DEF(GCC48_X64_PREFIX)gcc
5049*_GCC48_X64_ASM_PATH             = DEF(GCC48_X64_PREFIX)gcc
5050*_GCC48_X64_PP_PATH              = DEF(GCC48_X64_PREFIX)gcc
5051*_GCC48_X64_VFRPP_PATH           = DEF(GCC48_X64_PREFIX)gcc
5052*_GCC48_X64_ASLCC_PATH           = DEF(GCC48_X64_PREFIX)gcc
5053*_GCC48_X64_ASLPP_PATH           = DEF(GCC48_X64_PREFIX)gcc
5054*_GCC48_X64_RC_PATH              = DEF(GCC48_X64_PREFIX)objcopy
5055
5056*_GCC48_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
5057*_GCC48_X64_ASLDLINK_FLAGS       = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
5058*_GCC48_X64_ASM_FLAGS            = DEF(GCC48_ASM_FLAGS) -m64
5059*_GCC48_X64_DLINK_FLAGS          = DEF(GCC48_X64_DLINK_FLAGS)
5060*_GCC48_X64_DLINK2_FLAGS         = DEF(GCC48_X64_DLINK2_FLAGS)
5061*_GCC48_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
5062*_GCC48_X64_OBJCOPY_FLAGS        =
5063*_GCC48_X64_NASM_FLAGS           = -f elf64
5064
5065  DEBUG_GCC48_X64_CC_FLAGS       = DEF(GCC48_X64_CC_FLAGS) -Os
5066RELEASE_GCC48_X64_CC_FLAGS       = DEF(GCC48_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
5067  NOOPT_GCC48_X64_CC_FLAGS       = DEF(GCC48_X64_CC_FLAGS) -O0
5068
5069##################
5070# GCC48 ARM definitions
5071##################
5072*_GCC48_ARM_CC_PATH              = ENV(GCC48_ARM_PREFIX)gcc
5073*_GCC48_ARM_SLINK_PATH           = ENV(GCC48_ARM_PREFIX)ar
5074*_GCC48_ARM_DLINK_PATH           = ENV(GCC48_ARM_PREFIX)gcc
5075*_GCC48_ARM_ASLDLINK_PATH        = ENV(GCC48_ARM_PREFIX)gcc
5076*_GCC48_ARM_ASM_PATH             = ENV(GCC48_ARM_PREFIX)gcc
5077*_GCC48_ARM_PP_PATH              = ENV(GCC48_ARM_PREFIX)gcc
5078*_GCC48_ARM_VFRPP_PATH           = ENV(GCC48_ARM_PREFIX)gcc
5079*_GCC48_ARM_ASLCC_PATH           = ENV(GCC48_ARM_PREFIX)gcc
5080*_GCC48_ARM_ASLPP_PATH           = ENV(GCC48_ARM_PREFIX)gcc
5081*_GCC48_ARM_RC_PATH              = ENV(GCC48_ARM_PREFIX)objcopy
5082
5083*_GCC48_ARM_ARCHCC_FLAGS         = -mthumb
5084*_GCC48_ARM_PLATFORM_FLAGS       = -march=armv7-a
5085
5086*_GCC48_ARM_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS)
5087*_GCC48_ARM_ASLDLINK_FLAGS       = DEF(GCC48_ARM_ASLDLINK_FLAGS)
5088*_GCC48_ARM_ASM_FLAGS            = DEF(GCC48_ARM_ASM_FLAGS)
5089*_GCC48_ARM_DLINK_FLAGS          = DEF(GCC48_ARM_DLINK_FLAGS)
5090*_GCC48_ARM_DLINK2_FLAGS         = DEF(GCC48_ARM_DLINK2_FLAGS)
5091*_GCC48_ARM_DTCPP_FLAGS          = DEF(GCC_DTCPP_FLAGS)
5092*_GCC48_ARM_PLATFORM_FLAGS       = -march=armv7-a
5093*_GCC48_ARM_PP_FLAGS             = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
5094*_GCC48_ARM_RC_FLAGS             = DEF(GCC_ARM_RC_FLAGS)
5095*_GCC48_ARM_VFRPP_FLAGS          = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
5096*_GCC48_ARM_CC_XIPFLAGS          = DEF(GCC48_ARM_CC_XIPFLAGS)
5097
5098  DEBUG_GCC48_ARM_CC_FLAGS       = DEF(GCC48_ARM_CC_FLAGS) -O0
5099RELEASE_GCC48_ARM_CC_FLAGS       = DEF(GCC48_ARM_CC_FLAGS) -Wno-unused-but-set-variable
5100  NOOPT_GCC48_ARM_CC_FLAGS       = DEF(GCC48_ARM_CC_FLAGS) -O0
5101
5102##################
5103# GCC48 AARCH64 definitions
5104##################
5105*_GCC48_AARCH64_CC_PATH          = ENV(GCC48_AARCH64_PREFIX)gcc
5106*_GCC48_AARCH64_SLINK_PATH       = ENV(GCC48_AARCH64_PREFIX)ar
5107*_GCC48_AARCH64_DLINK_PATH       = ENV(GCC48_AARCH64_PREFIX)gcc
5108*_GCC48_AARCH64_ASLDLINK_PATH    = ENV(GCC48_AARCH64_PREFIX)gcc
5109*_GCC48_AARCH64_ASM_PATH         = ENV(GCC48_AARCH64_PREFIX)gcc
5110*_GCC48_AARCH64_PP_PATH          = ENV(GCC48_AARCH64_PREFIX)gcc
5111*_GCC48_AARCH64_VFRPP_PATH       = ENV(GCC48_AARCH64_PREFIX)gcc
5112*_GCC48_AARCH64_ASLCC_PATH       = ENV(GCC48_AARCH64_PREFIX)gcc
5113*_GCC48_AARCH64_ASLPP_PATH       = ENV(GCC48_AARCH64_PREFIX)gcc
5114*_GCC48_AARCH64_RC_PATH          = ENV(GCC48_AARCH64_PREFIX)objcopy
5115
5116*_GCC48_AARCH64_ASLCC_FLAGS      = DEF(GCC_ASLCC_FLAGS)
5117*_GCC48_AARCH64_ASLDLINK_FLAGS   = DEF(GCC48_AARCH64_ASLDLINK_FLAGS)
5118*_GCC48_AARCH64_ASM_FLAGS        = DEF(GCC48_AARCH64_ASM_FLAGS)
5119*_GCC48_AARCH64_DLINK_FLAGS      = DEF(GCC48_AARCH64_DLINK_FLAGS)
5120*_GCC48_AARCH64_DLINK2_FLAGS     = DEF(GCC48_AARCH64_DLINK2_FLAGS)
5121*_GCC48_AARCH64_DTCPP_FLAGS      = DEF(GCC_DTCPP_FLAGS)
5122*_GCC48_AARCH64_PLATFORM_FLAGS   =
5123*_GCC48_AARCH64_PP_FLAGS         = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
5124*_GCC48_AARCH64_RC_FLAGS         = DEF(GCC_AARCH64_RC_FLAGS)
5125*_GCC48_AARCH64_VFRPP_FLAGS      = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
5126*_GCC48_AARCH64_CC_XIPFLAGS      = DEF(GCC48_AARCH64_CC_XIPFLAGS)
5127
5128  DEBUG_GCC48_AARCH64_CC_FLAGS   = DEF(GCC48_AARCH64_CC_FLAGS) -O0
5129RELEASE_GCC48_AARCH64_CC_FLAGS   = DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable -fomit-frame-pointer
5130  NOOPT_GCC48_AARCH64_CC_FLAGS   = DEF(GCC48_AARCH64_CC_FLAGS) -O0
5131
5132####################################################################################
5133#
5134# GCC 4.9 - This configuration is used to compile under Linux to produce
5135#           PE/COFF binaries using GCC 4.9.
5136#
5137####################################################################################
5138*_GCC49_*_*_FAMILY               = GCC
5139
5140*_GCC49_*_MAKE_PATH                    = DEF(GCC49_IA32_PREFIX)make
5141*_GCC49_*_*_DLL                        = ENV(GCC49_DLL)
5142*_GCC49_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
5143*_GCC49_*_DTC_PATH                     = DEF(DTC_BIN)
5144
5145*_GCC49_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
5146*_GCC49_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
5147*_GCC49_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
5148*_GCC49_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
5149*_GCC49_*_APP_FLAGS                    =
5150*_GCC49_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
5151*_GCC49_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
5152
5153##################
5154# GCC49 IA32 definitions
5155##################
5156*_GCC49_IA32_OBJCOPY_PATH         = DEF(GCC49_IA32_PREFIX)objcopy
5157*_GCC49_IA32_CC_PATH              = DEF(GCC49_IA32_PREFIX)gcc
5158*_GCC49_IA32_SLINK_PATH           = DEF(GCC49_IA32_PREFIX)ar
5159*_GCC49_IA32_DLINK_PATH           = DEF(GCC49_IA32_PREFIX)gcc
5160*_GCC49_IA32_ASLDLINK_PATH        = DEF(GCC49_IA32_PREFIX)gcc
5161*_GCC49_IA32_ASM_PATH             = DEF(GCC49_IA32_PREFIX)gcc
5162*_GCC49_IA32_PP_PATH              = DEF(GCC49_IA32_PREFIX)gcc
5163*_GCC49_IA32_VFRPP_PATH           = DEF(GCC49_IA32_PREFIX)gcc
5164*_GCC49_IA32_ASLCC_PATH           = DEF(GCC49_IA32_PREFIX)gcc
5165*_GCC49_IA32_ASLPP_PATH           = DEF(GCC49_IA32_PREFIX)gcc
5166*_GCC49_IA32_RC_PATH              = DEF(GCC49_IA32_PREFIX)objcopy
5167
5168*_GCC49_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
5169*_GCC49_IA32_ASLDLINK_FLAGS       = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
5170*_GCC49_IA32_ASM_FLAGS            = DEF(GCC49_ASM_FLAGS) -m32 -march=i386
5171*_GCC49_IA32_DLINK_FLAGS          = DEF(GCC49_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
5172*_GCC49_IA32_DLINK2_FLAGS         = DEF(GCC49_IA32_DLINK2_FLAGS)
5173*_GCC49_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
5174*_GCC49_IA32_OBJCOPY_FLAGS        =
5175*_GCC49_IA32_NASM_FLAGS           = -f elf32
5176
5177  DEBUG_GCC49_IA32_CC_FLAGS       = DEF(GCC49_IA32_CC_FLAGS) -Os
5178RELEASE_GCC49_IA32_CC_FLAGS       = DEF(GCC49_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
5179  NOOPT_GCC49_IA32_CC_FLAGS       = DEF(GCC49_IA32_CC_FLAGS) -O0
5180
5181##################
5182# GCC49 X64 definitions
5183##################
5184*_GCC49_X64_OBJCOPY_PATH         = DEF(GCC49_X64_PREFIX)objcopy
5185*_GCC49_X64_CC_PATH              = DEF(GCC49_X64_PREFIX)gcc
5186*_GCC49_X64_SLINK_PATH           = DEF(GCC49_X64_PREFIX)ar
5187*_GCC49_X64_DLINK_PATH           = DEF(GCC49_X64_PREFIX)gcc
5188*_GCC49_X64_ASLDLINK_PATH        = DEF(GCC49_X64_PREFIX)gcc
5189*_GCC49_X64_ASM_PATH             = DEF(GCC49_X64_PREFIX)gcc
5190*_GCC49_X64_PP_PATH              = DEF(GCC49_X64_PREFIX)gcc
5191*_GCC49_X64_VFRPP_PATH           = DEF(GCC49_X64_PREFIX)gcc
5192*_GCC49_X64_ASLCC_PATH           = DEF(GCC49_X64_PREFIX)gcc
5193*_GCC49_X64_ASLPP_PATH           = DEF(GCC49_X64_PREFIX)gcc
5194*_GCC49_X64_RC_PATH              = DEF(GCC49_X64_PREFIX)objcopy
5195
5196*_GCC49_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
5197*_GCC49_X64_ASLDLINK_FLAGS       = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
5198*_GCC49_X64_ASM_FLAGS            = DEF(GCC49_ASM_FLAGS) -m64
5199*_GCC49_X64_DLINK_FLAGS          = DEF(GCC49_X64_DLINK_FLAGS)
5200*_GCC49_X64_DLINK2_FLAGS         = DEF(GCC49_X64_DLINK2_FLAGS)
5201*_GCC49_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
5202*_GCC49_X64_OBJCOPY_FLAGS        =
5203*_GCC49_X64_NASM_FLAGS           = -f elf64
5204
5205  DEBUG_GCC49_X64_CC_FLAGS       = DEF(GCC49_X64_CC_FLAGS) -Os
5206RELEASE_GCC49_X64_CC_FLAGS       = DEF(GCC49_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
5207  NOOPT_GCC49_X64_CC_FLAGS       = DEF(GCC49_X64_CC_FLAGS) -O0
5208
5209##################
5210# GCC49 ARM definitions
5211##################
5212*_GCC49_ARM_CC_PATH              = ENV(GCC49_ARM_PREFIX)gcc
5213*_GCC49_ARM_SLINK_PATH           = ENV(GCC49_ARM_PREFIX)ar
5214*_GCC49_ARM_DLINK_PATH           = ENV(GCC49_ARM_PREFIX)gcc
5215*_GCC49_ARM_ASLDLINK_PATH        = ENV(GCC49_ARM_PREFIX)gcc
5216*_GCC49_ARM_ASM_PATH             = ENV(GCC49_ARM_PREFIX)gcc
5217*_GCC49_ARM_PP_PATH              = ENV(GCC49_ARM_PREFIX)gcc
5218*_GCC49_ARM_VFRPP_PATH           = ENV(GCC49_ARM_PREFIX)gcc
5219*_GCC49_ARM_ASLCC_PATH           = ENV(GCC49_ARM_PREFIX)gcc
5220*_GCC49_ARM_ASLPP_PATH           = ENV(GCC49_ARM_PREFIX)gcc
5221*_GCC49_ARM_RC_PATH              = ENV(GCC49_ARM_PREFIX)objcopy
5222
5223*_GCC49_ARM_ARCHCC_FLAGS         = -mthumb
5224*_GCC49_ARM_PLATFORM_FLAGS       = -march=armv7-a
5225
5226*_GCC49_ARM_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS)
5227*_GCC49_ARM_ASLDLINK_FLAGS       = DEF(GCC49_ARM_ASLDLINK_FLAGS)
5228*_GCC49_ARM_ASM_FLAGS            = DEF(GCC49_ARM_ASM_FLAGS)
5229*_GCC49_ARM_DLINK_FLAGS          = DEF(GCC49_ARM_DLINK_FLAGS)
5230*_GCC49_ARM_DLINK2_FLAGS         = DEF(GCC49_ARM_DLINK2_FLAGS)
5231*_GCC49_ARM_DTCPP_FLAGS          = DEF(GCC_DTCPP_FLAGS)
5232*_GCC49_ARM_PLATFORM_FLAGS       = -march=armv7-a
5233*_GCC49_ARM_PP_FLAGS             = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
5234*_GCC49_ARM_RC_FLAGS             = DEF(GCC_ARM_RC_FLAGS)
5235*_GCC49_ARM_VFRPP_FLAGS          = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
5236*_GCC49_ARM_CC_XIPFLAGS          = DEF(GCC49_ARM_CC_XIPFLAGS)
5237
5238  DEBUG_GCC49_ARM_CC_FLAGS       = DEF(GCC49_ARM_CC_FLAGS) -O0
5239RELEASE_GCC49_ARM_CC_FLAGS       = DEF(GCC49_ARM_CC_FLAGS) -Wno-unused-but-set-variable
5240  NOOPT_GCC49_ARM_CC_FLAGS       = DEF(GCC49_ARM_CC_FLAGS) -O0
5241
5242##################
5243# GCC49 AARCH64 definitions
5244##################
5245*_GCC49_AARCH64_CC_PATH          = ENV(GCC49_AARCH64_PREFIX)gcc
5246*_GCC49_AARCH64_SLINK_PATH       = ENV(GCC49_AARCH64_PREFIX)ar
5247*_GCC49_AARCH64_DLINK_PATH       = ENV(GCC49_AARCH64_PREFIX)gcc
5248*_GCC49_AARCH64_ASLDLINK_PATH    = ENV(GCC49_AARCH64_PREFIX)gcc
5249*_GCC49_AARCH64_ASM_PATH         = ENV(GCC49_AARCH64_PREFIX)gcc
5250*_GCC49_AARCH64_PP_PATH          = ENV(GCC49_AARCH64_PREFIX)gcc
5251*_GCC49_AARCH64_VFRPP_PATH       = ENV(GCC49_AARCH64_PREFIX)gcc
5252*_GCC49_AARCH64_ASLCC_PATH       = ENV(GCC49_AARCH64_PREFIX)gcc
5253*_GCC49_AARCH64_ASLPP_PATH       = ENV(GCC49_AARCH64_PREFIX)gcc
5254*_GCC49_AARCH64_RC_PATH          = ENV(GCC49_AARCH64_PREFIX)objcopy
5255
5256*_GCC49_AARCH64_ASLCC_FLAGS      = DEF(GCC_ASLCC_FLAGS)
5257*_GCC49_AARCH64_ASLDLINK_FLAGS   = DEF(GCC49_AARCH64_ASLDLINK_FLAGS)
5258*_GCC49_AARCH64_ASM_FLAGS        = DEF(GCC49_AARCH64_ASM_FLAGS)
5259*_GCC49_AARCH64_DLINK2_FLAGS     = DEF(GCC49_AARCH64_DLINK2_FLAGS)
5260*_GCC49_AARCH64_DTCPP_FLAGS      = DEF(GCC_DTCPP_FLAGS)
5261*_GCC49_AARCH64_PLATFORM_FLAGS   =
5262*_GCC49_AARCH64_PP_FLAGS         = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
5263*_GCC49_AARCH64_RC_FLAGS         = DEF(GCC_AARCH64_RC_FLAGS)
5264*_GCC49_AARCH64_VFRPP_FLAGS      = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
5265*_GCC49_AARCH64_CC_XIPFLAGS      = DEF(GCC49_AARCH64_CC_XIPFLAGS)
5266
5267  DEBUG_GCC49_AARCH64_CC_FLAGS     = DEF(GCC49_AARCH64_CC_FLAGS) -O0 -mcmodel=small
5268  DEBUG_GCC49_AARCH64_DLINK_FLAGS  = DEF(GCC49_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
5269  DEBUG_GCC49_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
5270
5271RELEASE_GCC49_AARCH64_CC_FLAGS     = DEF(GCC49_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable -mcmodel=tiny -fomit-frame-pointer
5272RELEASE_GCC49_AARCH64_DLINK_FLAGS  = DEF(GCC49_AARCH64_DLINK_FLAGS)
5273
5274  NOOPT_GCC49_AARCH64_CC_FLAGS     = DEF(GCC49_AARCH64_CC_FLAGS) -O0 -mcmodel=small
5275  NOOPT_GCC49_AARCH64_DLINK_FLAGS  = DEF(GCC49_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000 -O0
5276  NOOPT_GCC49_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20 -O0
5277
5278####################################################################################
5279#
5280# GCC 5 - This configuration is used to compile under Linux to produce
5281#         PE/COFF binaries using GCC 5
5282#
5283####################################################################################
5284*_GCC5_*_*_FAMILY                = GCC
5285
5286*_GCC5_*_MAKE_PATH               = DEF(GCC5_IA32_PREFIX)make
5287*_GCC5_*_*_DLL                   = ENV(GCC5_DLL)
5288*_GCC5_*_ASL_PATH                = DEF(UNIX_IASL_BIN)
5289*_GCC5_*_DTC_PATH                = DEF(DTC_BIN)
5290
5291*_GCC5_*_PP_FLAGS                = DEF(GCC_PP_FLAGS)
5292*_GCC5_*_ASLPP_FLAGS             = DEF(GCC_ASLPP_FLAGS)
5293*_GCC5_*_ASLCC_FLAGS             = DEF(GCC_ASLCC_FLAGS)
5294*_GCC5_*_VFRPP_FLAGS             = DEF(GCC_VFRPP_FLAGS)
5295*_GCC5_*_APP_FLAGS               =
5296*_GCC5_*_ASL_FLAGS               = DEF(IASL_FLAGS)
5297*_GCC5_*_ASL_OUTFLAGS            = DEF(IASL_OUTFLAGS)
5298
5299##################
5300# GCC5 IA32 definitions
5301##################
5302*_GCC5_IA32_OBJCOPY_PATH         = DEF(GCC5_IA32_PREFIX)objcopy
5303*_GCC5_IA32_CC_PATH              = DEF(GCC5_IA32_PREFIX)gcc
5304*_GCC5_IA32_SLINK_PATH           = DEF(GCC5_IA32_PREFIX)gcc-ar
5305*_GCC5_IA32_DLINK_PATH           = DEF(GCC5_IA32_PREFIX)gcc
5306*_GCC5_IA32_ASLDLINK_PATH        = DEF(GCC5_IA32_PREFIX)gcc
5307*_GCC5_IA32_ASM_PATH             = DEF(GCC5_IA32_PREFIX)gcc
5308*_GCC5_IA32_PP_PATH              = DEF(GCC5_IA32_PREFIX)gcc
5309*_GCC5_IA32_VFRPP_PATH           = DEF(GCC5_IA32_PREFIX)gcc
5310*_GCC5_IA32_ASLCC_PATH           = DEF(GCC5_IA32_PREFIX)gcc
5311*_GCC5_IA32_ASLPP_PATH           = DEF(GCC5_IA32_PREFIX)gcc
5312*_GCC5_IA32_RC_PATH              = DEF(GCC5_IA32_PREFIX)objcopy
5313
5314*_GCC5_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto
5315*_GCC5_IA32_ASLDLINK_FLAGS       = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
5316*_GCC5_IA32_ASM_FLAGS            = DEF(GCC5_ASM_FLAGS) -m32 -march=i386
5317*_GCC5_IA32_DLINK2_FLAGS         = DEF(GCC5_IA32_DLINK2_FLAGS)
5318*_GCC5_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
5319*_GCC5_IA32_OBJCOPY_FLAGS        =
5320*_GCC5_IA32_NASM_FLAGS           = -f elf32
5321
5322  DEBUG_GCC5_IA32_CC_FLAGS       = DEF(GCC5_IA32_CC_FLAGS) -flto -Os
5323  DEBUG_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,-m,elf_i386,--oformat=elf32-i386
5324
5325RELEASE_GCC5_IA32_CC_FLAGS       = DEF(GCC5_IA32_CC_FLAGS) -flto -Os -Wno-unused-but-set-variable
5326RELEASE_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,-m,elf_i386,--oformat=elf32-i386
5327
5328  NOOPT_GCC5_IA32_CC_FLAGS       = DEF(GCC5_IA32_CC_FLAGS) -O0
5329  NOOPT_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386 -O0
5330
5331##################
5332# GCC5 X64 definitions
5333##################
5334*_GCC5_X64_OBJCOPY_PATH          = DEF(GCC5_X64_PREFIX)objcopy
5335*_GCC5_X64_CC_PATH               = DEF(GCC5_X64_PREFIX)gcc
5336*_GCC5_X64_SLINK_PATH            = DEF(GCC5_X64_PREFIX)gcc-ar
5337*_GCC5_X64_DLINK_PATH            = DEF(GCC5_X64_PREFIX)gcc
5338*_GCC5_X64_ASLDLINK_PATH         = DEF(GCC5_X64_PREFIX)gcc
5339*_GCC5_X64_ASM_PATH              = DEF(GCC5_X64_PREFIX)gcc
5340*_GCC5_X64_PP_PATH               = DEF(GCC5_X64_PREFIX)gcc
5341*_GCC5_X64_VFRPP_PATH            = DEF(GCC5_X64_PREFIX)gcc
5342*_GCC5_X64_ASLCC_PATH            = DEF(GCC5_X64_PREFIX)gcc
5343*_GCC5_X64_ASLPP_PATH            = DEF(GCC5_X64_PREFIX)gcc
5344*_GCC5_X64_RC_PATH               = DEF(GCC5_X64_PREFIX)objcopy
5345
5346*_GCC5_X64_ASLCC_FLAGS           = DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto
5347*_GCC5_X64_ASLDLINK_FLAGS        = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
5348*_GCC5_X64_ASM_FLAGS             = DEF(GCC5_ASM_FLAGS) -m64
5349*_GCC5_X64_DLINK2_FLAGS          = DEF(GCC5_X64_DLINK2_FLAGS)
5350*_GCC5_X64_RC_FLAGS              = DEF(GCC_X64_RC_FLAGS)
5351*_GCC5_X64_OBJCOPY_FLAGS         =
5352*_GCC5_X64_NASM_FLAGS            = -f elf64
5353
5354  DEBUG_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -flto -DUSING_LTO -Os
5355  DEBUG_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -flto -Os
5356
5357RELEASE_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -flto -DUSING_LTO -Os -Wno-unused-but-set-variable
5358RELEASE_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -flto -Os
5359
5360  NOOPT_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -O0
5361  NOOPT_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -O0
5362
5363##################
5364# GCC5 ARM definitions
5365##################
5366*_GCC5_ARM_CC_PATH               = ENV(GCC5_ARM_PREFIX)gcc
5367*_GCC5_ARM_SLINK_PATH            = ENV(GCC5_ARM_PREFIX)gcc-ar
5368*_GCC5_ARM_DLINK_PATH            = ENV(GCC5_ARM_PREFIX)gcc
5369*_GCC5_ARM_ASLDLINK_PATH         = ENV(GCC5_ARM_PREFIX)gcc
5370*_GCC5_ARM_ASM_PATH              = ENV(GCC5_ARM_PREFIX)gcc
5371*_GCC5_ARM_PP_PATH               = ENV(GCC5_ARM_PREFIX)gcc
5372*_GCC5_ARM_VFRPP_PATH            = ENV(GCC5_ARM_PREFIX)gcc
5373*_GCC5_ARM_ASLCC_PATH            = ENV(GCC5_ARM_PREFIX)gcc
5374*_GCC5_ARM_ASLPP_PATH            = ENV(GCC5_ARM_PREFIX)gcc
5375*_GCC5_ARM_RC_PATH               = ENV(GCC5_ARM_PREFIX)objcopy
5376
5377*_GCC5_ARM_ARCHCC_FLAGS          = -mthumb
5378*_GCC5_ARM_ASLCC_FLAGS           = DEF(GCC_ASLCC_FLAGS)
5379*_GCC5_ARM_ASLDLINK_FLAGS        = DEF(GCC5_ARM_ASLDLINK_FLAGS)
5380*_GCC5_ARM_ASM_FLAGS             = DEF(GCC5_ARM_ASM_FLAGS)
5381*_GCC5_ARM_DLINK2_FLAGS          = DEF(GCC5_ARM_DLINK2_FLAGS)
5382*_GCC5_ARM_DTCPP_FLAGS           = DEF(GCC_DTCPP_FLAGS)
5383*_GCC5_ARM_PLATFORM_FLAGS        = -march=armv7-a
5384*_GCC5_ARM_PP_FLAGS              = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
5385*_GCC5_ARM_RC_FLAGS              = DEF(GCC_ARM_RC_FLAGS)
5386*_GCC5_ARM_VFRPP_FLAGS           = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
5387*_GCC5_ARM_CC_XIPFLAGS           = DEF(GCC5_ARM_CC_XIPFLAGS)
5388
5389  DEBUG_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -O0
5390  DEBUG_GCC5_ARM_DLINK_FLAGS     = DEF(GCC5_ARM_DLINK_FLAGS)
5391
5392RELEASE_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -flto -Wno-unused-but-set-variable
5393RELEASE_GCC5_ARM_DLINK_FLAGS     = DEF(GCC5_ARM_DLINK_FLAGS) -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
5394
5395  NOOPT_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -O0
5396  NOOPT_GCC5_ARM_DLINK_FLAGS     = DEF(GCC5_ARM_DLINK_FLAGS) -O0
5397
5398##################
5399# GCC5 AARCH64 definitions
5400##################
5401*_GCC5_AARCH64_CC_PATH           = ENV(GCC5_AARCH64_PREFIX)gcc
5402*_GCC5_AARCH64_SLINK_PATH        = ENV(GCC5_AARCH64_PREFIX)gcc-ar
5403*_GCC5_AARCH64_DLINK_PATH        = ENV(GCC5_AARCH64_PREFIX)gcc
5404*_GCC5_AARCH64_ASLDLINK_PATH     = ENV(GCC5_AARCH64_PREFIX)gcc
5405*_GCC5_AARCH64_ASM_PATH          = ENV(GCC5_AARCH64_PREFIX)gcc
5406*_GCC5_AARCH64_PP_PATH           = ENV(GCC5_AARCH64_PREFIX)gcc
5407*_GCC5_AARCH64_VFRPP_PATH        = ENV(GCC5_AARCH64_PREFIX)gcc
5408*_GCC5_AARCH64_ASLCC_PATH        = ENV(GCC5_AARCH64_PREFIX)gcc
5409*_GCC5_AARCH64_ASLPP_PATH        = ENV(GCC5_AARCH64_PREFIX)gcc
5410*_GCC5_AARCH64_RC_PATH           = ENV(GCC5_AARCH64_PREFIX)objcopy
5411
5412*_GCC5_AARCH64_ASLCC_FLAGS       = DEF(GCC_ASLCC_FLAGS)
5413*_GCC5_AARCH64_ASLDLINK_FLAGS    = DEF(GCC5_AARCH64_ASLDLINK_FLAGS)
5414*_GCC5_AARCH64_ASM_FLAGS         = DEF(GCC5_AARCH64_ASM_FLAGS)
5415*_GCC5_AARCH64_DLINK2_FLAGS      = DEF(GCC5_AARCH64_DLINK2_FLAGS)
5416*_GCC5_AARCH64_DTCPP_FLAGS       = DEF(GCC_DTCPP_FLAGS)
5417*_GCC5_AARCH64_PLATFORM_FLAGS    =
5418*_GCC5_AARCH64_PP_FLAGS          = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
5419*_GCC5_AARCH64_RC_FLAGS          = DEF(GCC_AARCH64_RC_FLAGS)
5420*_GCC5_AARCH64_VFRPP_FLAGS       = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
5421*_GCC5_AARCH64_CC_XIPFLAGS       = DEF(GCC5_AARCH64_CC_XIPFLAGS)
5422
5423  DEBUG_GCC5_AARCH64_CC_FLAGS    = DEF(GCC5_AARCH64_CC_FLAGS) -O0 -mcmodel=small
5424  DEBUG_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
5425  DEBUG_GCC5_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
5426
5427RELEASE_GCC5_AARCH64_CC_FLAGS    = DEF(GCC5_AARCH64_CC_FLAGS) -flto -Wno-unused-but-set-variable -mcmodel=tiny -fomit-frame-pointer
5428RELEASE_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
5429
5430  NOOPT_GCC5_AARCH64_CC_FLAGS    = DEF(GCC5_AARCH64_CC_FLAGS) -O0 -mcmodel=small
5431  NOOPT_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000 -O0
5432  NOOPT_GCC5_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20 -O0
5433
5434####################################################################################
5435#
5436# CLANG35   - This configuration is used to compile under Linux to produce
5437#             PE/COFF binaries using the clang compiler and assembler (v3.5 and up)
5438#             and GNU linker
5439#
5440####################################################################################
5441*_CLANG35_*_*_FAMILY             = GCC
5442
5443*_CLANG35_*_MAKE_PATH            = make
5444*_CLANG35_*_*_DLL                = ENV(CLANG35_DLL)
5445*_CLANG35_*_ASL_PATH             = DEF(UNIX_IASL_BIN)
5446*_CLANG35_*_DTC_PATH             = DEF(DTC_BIN)
5447
5448*_CLANG35_*_PP_FLAGS             = DEF(GCC_PP_FLAGS)
5449*_CLANG35_*_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS)
5450*_CLANG35_*_APP_FLAGS            =
5451*_CLANG35_*_ASL_FLAGS            = DEF(IASL_FLAGS)
5452*_CLANG35_*_ASL_OUTFLAGS         = DEF(IASL_OUTFLAGS)
5453*_CLANG35_*_DTCPP_FLAGS          = DEF(GCC_DTCPP_FLAGS)
5454
5455*_CLANG35_*_CC_PATH              = ENV(CLANG35_BIN)clang
5456*_CLANG35_*_ASM_PATH             = ENV(CLANG35_BIN)clang
5457*_CLANG35_*_PP_PATH              = ENV(CLANG35_BIN)clang
5458*_CLANG35_*_VFRPP_PATH           = ENV(CLANG35_BIN)clang
5459*_CLANG35_*_ASLCC_PATH           = ENV(CLANG35_BIN)clang
5460*_CLANG35_*_ASLPP_PATH           = ENV(CLANG35_BIN)clang
5461*_CLANG35_*_DLINK_PATH           = ENV(CLANG35_BIN)clang
5462*_CLANG35_*_ASLDLINK_PATH        = ENV(CLANG35_BIN)clang
5463
5464DEFINE CLANG35_ARM_TARGET        = -target arm-linux-gnueabihf
5465DEFINE CLANG35_AARCH64_TARGET    = -target aarch64-linux-gnu
5466
5467DEFINE CLANG35_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body
5468DEFINE CLANG35_ARM_CC_FLAGS      = DEF(GCC_ARM_CC_FLAGS) DEF(CLANG35_ARM_TARGET) DEF(CLANG35_WARNING_OVERRIDES)
5469DEFINE CLANG35_AARCH64_CC_FLAGS  = DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG35_AARCH64_TARGET) -mcmodel=small DEF(CLANG35_WARNING_OVERRIDES)
5470
5471##################
5472# CLANG35 ARM definitions
5473##################
5474*_CLANG35_ARM_SLINK_PATH         = ENV(CLANG35_ARM_PREFIX)ar
5475*_CLANG35_ARM_RC_PATH            = ENV(CLANG35_ARM_PREFIX)objcopy
5476
5477*_CLANG35_ARM_ASLCC_FLAGS        = DEF(GCC_ASLCC_FLAGS)
5478*_CLANG35_ARM_ASLDLINK_FLAGS     = DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_ASLDLINK_FLAGS)
5479*_CLANG35_ARM_ASM_FLAGS          = DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
5480*_CLANG35_ARM_DLINK_FLAGS        = DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_DLINK_FLAGS)
5481*_CLANG35_ARM_DLINK2_FLAGS       = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x220
5482*_CLANG35_ARM_PLATFORM_FLAGS     = -march=armv7-a
5483*_CLANG35_ARM_PP_FLAGS           = DEF(GCC_PP_FLAGS) DEF(CLANG35_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5484*_CLANG35_ARM_RC_FLAGS           = DEF(GCC_ARM_RC_FLAGS)
5485*_CLANG35_ARM_VFRPP_FLAGS        = DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5486*_CLANG35_ARM_ASLPP_FLAGS        = DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_ARM_TARGET)
5487*_CLANG35_ARM_CC_XIPFLAGS        = DEF(GCC_ARM_CC_XIPFLAGS)
5488
5489  DEBUG_CLANG35_ARM_CC_FLAGS     = DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
5490RELEASE_CLANG35_ARM_CC_FLAGS     = DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -Oz
5491
5492##################
5493# CLANG35 AARCH64 definitions
5494##################
5495*_CLANG35_AARCH64_SLINK_PATH     = ENV(CLANG35_AARCH64_PREFIX)ar
5496*_CLANG35_AARCH64_RC_PATH        = ENV(CLANG35_AARCH64_PREFIX)objcopy
5497
5498*_CLANG35_AARCH64_ASLCC_FLAGS    = DEF(GCC_ASLCC_FLAGS)
5499*_CLANG35_AARCH64_ASLDLINK_FLAGS = DEF(CLANG35_AARCH64_TARGET) DEF(GCC_AARCH64_ASLDLINK_FLAGS)
5500*_CLANG35_AARCH64_ASM_FLAGS      = DEF(GCC_ASM_FLAGS) DEF(CLANG35_AARCH64_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
5501*_CLANG35_AARCH64_DLINK_FLAGS    = DEF(CLANG35_AARCH64_TARGET) DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
5502*_CLANG35_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
5503*_CLANG35_AARCH64_DLINK2_FLAGS   = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x228
5504*_CLANG35_AARCH64_PLATFORM_FLAGS =
5505*_CLANG35_AARCH64_PP_FLAGS       = DEF(GCC_PP_FLAGS) DEF(CLANG35_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5506*_CLANG35_AARCH64_RC_FLAGS       = DEF(GCC_AARCH64_RC_FLAGS)
5507*_CLANG35_AARCH64_VFRPP_FLAGS    = DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5508*_CLANG35_AARCH64_ASLPP_FLAGS    = DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_AARCH64_TARGET)
5509*_CLANG35_AARCH64_CC_XIPFLAGS    = DEF(GCC_AARCH64_CC_XIPFLAGS)
5510
5511  DEBUG_CLANG35_AARCH64_CC_FLAGS = DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
5512RELEASE_CLANG35_AARCH64_CC_FLAGS = DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -Oz -fomit-frame-pointer
5513
5514####################################################################################
5515#
5516# Clang 3.8 - This configuration is used to compile under Linux to produce
5517#  PE/COFF binaries using LLVM/Clang 3.8 with Link Time Optimization enabled
5518#
5519####################################################################################
5520*_CLANG38_*_*_FAMILY                = GCC
5521*_CLANG38_*_MAKE_PATH               = make
5522*_CLANG38_*_*_DLL                   = ENV(CLANG38_DLL)
5523*_CLANG38_*_ASL_PATH                = DEF(UNIX_IASL_BIN)
5524*_CLANG38_*_DTC_PATH                = DEF(DTC_BIN)
5525
5526*_CLANG38_*_APP_FLAGS               =
5527*_CLANG38_*_ASL_FLAGS               = DEF(IASL_FLAGS)
5528*_CLANG38_*_ASL_OUTFLAGS            = DEF(IASL_OUTFLAGS)
5529
5530DEFINE CLANG38_IA32_PREFIX          = ENV(CLANG38_BIN)
5531DEFINE CLANG38_X64_PREFIX           = ENV(CLANG38_BIN)
5532
5533DEFINE CLANG38_IA32_TARGET          = -target i686-pc-linux-gnu
5534DEFINE CLANG38_X64_TARGET           = -target x86_64-pc-linux-gnu
5535
5536DEFINE CLANG38_WARNING_OVERRIDES    = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body  -Wno-varargs
5537DEFINE CLANG38_ALL_CC_FLAGS         = DEF(GCC44_ALL_CC_FLAGS) DEF(CLANG38_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-redeclaration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float  -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -funsigned-char -fno-ms-extensions -Wno-null-dereference -Wno-unknown-warning-option
5538
5539###########################
5540# CLANG38 IA32 definitions
5541###########################
5542*_CLANG38_IA32_OBJCOPY_PATH         = objcopy
5543*_CLANG38_IA32_CC_PATH              = DEF(CLANG38_IA32_PREFIX)clang
5544*_CLANG38_IA32_SLINK_PATH           = DEF(CLANG38_IA32_PREFIX)llvm-ar
5545*_CLANG38_IA32_DLINK_PATH           = DEF(CLANG38_IA32_PREFIX)clang
5546*_CLANG38_IA32_ASLDLINK_PATH        = DEF(CLANG38_IA32_PREFIX)clang
5547*_CLANG38_IA32_ASM_PATH             = DEF(CLANG38_IA32_PREFIX)clang
5548*_CLANG38_IA32_PP_PATH              = DEF(CLANG38_IA32_PREFIX)clang
5549*_CLANG38_IA32_VFRPP_PATH           = DEF(CLANG38_IA32_PREFIX)clang
5550*_CLANG38_IA32_ASLCC_PATH           = DEF(CLANG38_IA32_PREFIX)clang
5551*_CLANG38_IA32_ASLPP_PATH           = DEF(CLANG38_IA32_PREFIX)clang
5552*_CLANG38_IA32_RC_PATH              = objcopy
5553
5554*_CLANG38_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto DEF(CLANG38_IA32_TARGET)
5555*_CLANG38_IA32_ASLDLINK_FLAGS       = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
5556*_CLANG38_IA32_ASM_FLAGS            = DEF(GCC5_ASM_FLAGS) -m32 -march=i386 DEF(CLANG38_IA32_TARGET)
5557*_CLANG38_IA32_RC_FLAGS             = DEF(GCC_IA32_RC_FLAGS)
5558*_CLANG38_IA32_OBJCOPY_FLAGS        =
5559*_CLANG38_IA32_NASM_FLAGS           = -f elf32
5560*_CLANG38_IA32_PP_FLAGS             = DEF(GCC_PP_FLAGS) DEF(CLANG38_IA32_TARGET)
5561*_CLANG38_IA32_ASLPP_FLAGS          = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_IA32_TARGET)
5562*_CLANG38_IA32_VFRPP_FLAGS          = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_IA32_TARGET)
5563
5564DEBUG_CLANG38_IA32_CC_FLAGS         = DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz -flto -march=i586 DEF(CLANG38_IA32_TARGET) -g
5565DEBUG_CLANG38_IA32_DLINK_FLAGS      = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=elf32-i386
5566DEBUG_CLANG38_IA32_DLINK2_FLAGS     = DEF(GCC5_IA32_DLINK2_FLAGS) -O3
5567
5568RELEASE_CLANG38_IA32_CC_FLAGS       = DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz -flto -march=i586 DEF(CLANG38_IA32_TARGET)
5569RELEASE_CLANG38_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=elf32-i386
5570RELEASE_CLANG38_IA32_DLINK2_FLAGS   = DEF(GCC5_IA32_DLINK2_FLAGS) -O3
5571
5572NOOPT_CLANG38_IA32_CC_FLAGS         = DEF(CLANG38_ALL_CC_FLAGS) -m32 -O0 -march=i586 DEF(CLANG38_IA32_TARGET) -g
5573NOOPT_CLANG38_IA32_DLINK_FLAGS      = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-O0 -Wl,-melf_i386 -Wl,--oformat=elf32-i386
5574NOOPT_CLANG38_IA32_DLINK2_FLAGS     = DEF(GCC5_IA32_DLINK2_FLAGS) -O0
5575
5576##########################
5577# CLANG38 X64 definitions
5578##########################
5579*_CLANG38_X64_OBJCOPY_PATH         = objcopy
5580*_CLANG38_X64_CC_PATH              = DEF(CLANG38_X64_PREFIX)clang
5581*_CLANG38_X64_SLINK_PATH           = DEF(CLANG38_X64_PREFIX)llvm-ar
5582*_CLANG38_X64_DLINK_PATH           = DEF(CLANG38_X64_PREFIX)clang
5583*_CLANG38_X64_ASLDLINK_PATH        = DEF(CLANG38_X64_PREFIX)clang
5584*_CLANG38_X64_ASM_PATH             = DEF(CLANG38_X64_PREFIX)clang
5585*_CLANG38_X64_PP_PATH              = DEF(CLANG38_X64_PREFIX)clang
5586*_CLANG38_X64_VFRPP_PATH           = DEF(CLANG38_X64_PREFIX)clang
5587*_CLANG38_X64_ASLCC_PATH           = DEF(CLANG38_X64_PREFIX)clang
5588*_CLANG38_X64_ASLPP_PATH           = DEF(CLANG38_X64_PREFIX)clang
5589*_CLANG38_X64_RC_PATH              = objcopy
5590
5591*_CLANG38_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto DEF(CLANG38_X64_TARGET)
5592*_CLANG38_X64_ASLDLINK_FLAGS       = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
5593*_CLANG38_X64_ASM_FLAGS            = DEF(GCC5_ASM_FLAGS) -m64 DEF(CLANG38_X64_TARGET)
5594*_CLANG38_X64_RC_FLAGS             = DEF(GCC_X64_RC_FLAGS)
5595*_CLANG38_X64_OBJCOPY_FLAGS        =
5596*_CLANG38_X64_NASM_FLAGS           = -f elf64
5597*_CLANG38_X64_PP_FLAGS             = DEF(GCC_PP_FLAGS) DEF(CLANG38_X64_TARGET)
5598*_CLANG38_X64_ASLPP_FLAGS          = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_X64_TARGET)
5599*_CLANG38_X64_VFRPP_FLAGS          = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_X64_TARGET)
5600
5601DEBUG_CLANG38_X64_CC_FLAGS         = DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -fpie -Oz -flto DEF(CLANG38_X64_TARGET) -g
5602DEBUG_CLANG38_X64_DLINK_FLAGS      = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=elf64-x86-64 -Wl,-pie -mcmodel=small
5603DEBUG_CLANG38_X64_DLINK2_FLAGS     = DEF(GCC5_X64_DLINK2_FLAGS) -O3
5604
5605RELEASE_CLANG38_X64_CC_FLAGS       = DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -fpie -Oz -flto DEF(CLANG38_X64_TARGET)
5606RELEASE_CLANG38_X64_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=elf64-x86-64 -Wl,-pie -mcmodel=small
5607RELEASE_CLANG38_X64_DLINK2_FLAGS   = DEF(GCC5_X64_DLINK2_FLAGS) -O3
5608
5609NOOPT_CLANG38_X64_CC_FLAGS         = DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -fpie -O0 DEF(CLANG38_X64_TARGET) -g
5610NOOPT_CLANG38_X64_DLINK_FLAGS      = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-O0 -Wl,-melf_x86_64 -Wl,--oformat=elf64-x86-64 -Wl,-pie -mcmodel=small
5611NOOPT_CLANG38_X64_DLINK2_FLAGS     = DEF(GCC5_X64_DLINK2_FLAGS) -O0
5612
5613##################
5614# CLANG38 ARM definitions
5615##################
5616DEFINE CLANG38_ARM_TARGET        = -target arm-linux-gnueabihf
5617DEFINE CLANG38_ARM_CC_FLAGS      = DEF(GCC_ARM_CC_FLAGS) DEF(CLANG38_ARM_TARGET) DEF(CLANG38_WARNING_OVERRIDES) -mno-movt
5618DEFINE CLANG38_ARM_DLINK_FLAGS   = DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_DLINK_FLAGS)
5619
5620*_CLANG38_ARM_PP_FLAGS           = DEF(GCC_PP_FLAGS)
5621*_CLANG38_ARM_ASLCC_FLAGS        = DEF(GCC_ASLCC_FLAGS)
5622*_CLANG38_ARM_APP_FLAGS          =
5623*_CLANG38_ARM_ASL_FLAGS          = DEF(IASL_FLAGS)
5624*_CLANG38_ARM_ASL_OUTFLAGS       = DEF(IASL_OUTFLAGS)
5625*_CLANG38_ARM_DTCPP_FLAGS        = DEF(GCC_DTCPP_FLAGS)
5626
5627*_CLANG38_ARM_CC_PATH            = ENV(CLANG38_BIN)clang
5628*_CLANG38_ARM_ASM_PATH           = ENV(CLANG38_BIN)clang
5629*_CLANG38_ARM_PP_PATH            = ENV(CLANG38_BIN)clang
5630*_CLANG38_ARM_VFRPP_PATH         = ENV(CLANG38_BIN)clang
5631*_CLANG38_ARM_ASLCC_PATH         = ENV(CLANG38_BIN)clang
5632*_CLANG38_ARM_ASLPP_PATH         = ENV(CLANG38_BIN)clang
5633*_CLANG38_ARM_DLINK_PATH         = ENV(CLANG38_BIN)clang
5634*_CLANG38_ARM_ASLDLINK_PATH      = ENV(CLANG38_BIN)clang
5635
5636*_CLANG38_ARM_SLINK_PATH         = ENV(CLANG38_BIN)llvm-ar
5637*_CLANG38_ARM_RC_PATH            = ENV(CLANG38_ARM_PREFIX)objcopy
5638
5639*_CLANG38_ARM_ASLCC_FLAGS        = DEF(GCC_ASLCC_FLAGS) -fno-lto
5640*_CLANG38_ARM_ASLDLINK_FLAGS     = DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_ASLDLINK_FLAGS)
5641*_CLANG38_ARM_ASM_FLAGS          = DEF(GCC_ASM_FLAGS) DEF(CLANG38_ARM_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
5642*_CLANG38_ARM_DLINK2_FLAGS       = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x220
5643*_CLANG38_ARM_PLATFORM_FLAGS     = -march=armv7-a
5644*_CLANG38_ARM_PP_FLAGS           = DEF(GCC_PP_FLAGS) DEF(CLANG38_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5645*_CLANG38_ARM_RC_FLAGS           = DEF(GCC_ARM_RC_FLAGS)
5646*_CLANG38_ARM_VFRPP_FLAGS        = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5647*_CLANG38_ARM_ASLPP_FLAGS        = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_ARM_TARGET)
5648*_CLANG38_ARM_CC_XIPFLAGS        = DEF(GCC_ARM_CC_XIPFLAGS)
5649
5650  DEBUG_CLANG38_ARM_CC_FLAGS     = DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O1
5651  DEBUG_CLANG38_ARM_DLINK_FLAGS  = DEF(CLANG38_ARM_DLINK_FLAGS) -flto -Wl,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
5652  NOOPT_CLANG38_ARM_CC_FLAGS     = DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
5653  NOOPT_CLANG38_ARM_DLINK_FLAGS  = DEF(CLANG38_ARM_DLINK_FLAGS)
5654RELEASE_CLANG38_ARM_CC_FLAGS     = DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O3
5655RELEASE_CLANG38_ARM_DLINK_FLAGS  = DEF(CLANG38_ARM_DLINK_FLAGS) -flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
5656
5657##################
5658# CLANG38 AARCH64 definitions
5659##################
5660DEFINE CLANG38_AARCH64_TARGET    = -target aarch64-linux-gnu
5661DEFINE CLANG38_AARCH64_CC_FLAGS  = DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG38_AARCH64_TARGET) -mcmodel=small DEF(CLANG38_WARNING_OVERRIDES)
5662DEFINE CLANG38_AARCH64_DLINK_FLAGS  = DEF(CLANG38_AARCH64_TARGET) DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
5663
5664*_CLANG38_AARCH64_PP_FLAGS       = DEF(GCC_PP_FLAGS)
5665*_CLANG38_AARCH64_ASLCC_FLAGS    = DEF(GCC_ASLCC_FLAGS)
5666*_CLANG38_AARCH64_APP_FLAGS      =
5667*_CLANG38_AARCH64_ASL_FLAGS      = DEF(IASL_FLAGS)
5668*_CLANG38_AARCH64_ASL_OUTFLAGS   = DEF(IASL_OUTFLAGS)
5669*_CLANG38_AARCH64_DTCPP_FLAGS    = DEF(GCC_DTCPP_FLAGS)
5670
5671*_CLANG38_AARCH64_CC_PATH        = ENV(CLANG38_BIN)clang
5672*_CLANG38_AARCH64_ASM_PATH       = ENV(CLANG38_BIN)clang
5673*_CLANG38_AARCH64_PP_PATH        = ENV(CLANG38_BIN)clang
5674*_CLANG38_AARCH64_VFRPP_PATH     = ENV(CLANG38_BIN)clang
5675*_CLANG38_AARCH64_ASLCC_PATH     = ENV(CLANG38_BIN)clang
5676*_CLANG38_AARCH64_ASLPP_PATH     = ENV(CLANG38_BIN)clang
5677*_CLANG38_AARCH64_DLINK_PATH     = ENV(CLANG38_BIN)clang
5678*_CLANG38_AARCH64_ASLDLINK_PATH  = ENV(CLANG38_BIN)clang
5679
5680*_CLANG38_AARCH64_SLINK_PATH     = ENV(CLANG38_BIN)llvm-ar
5681*_CLANG38_AARCH64_RC_PATH        = ENV(CLANG38_AARCH64_PREFIX)objcopy
5682
5683*_CLANG38_AARCH64_ASLCC_FLAGS    = DEF(GCC_ASLCC_FLAGS) -fno-lto
5684*_CLANG38_AARCH64_ASLDLINK_FLAGS = DEF(CLANG38_AARCH64_TARGET) DEF(GCC_AARCH64_ASLDLINK_FLAGS)
5685*_CLANG38_AARCH64_ASM_FLAGS      = DEF(GCC_ASM_FLAGS) DEF(CLANG38_AARCH64_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
5686*_CLANG38_AARCH64_DLINK_FLAGS    = DEF(CLANG38_AARCH64_TARGET) DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
5687*_CLANG38_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
5688*_CLANG38_AARCH64_DLINK2_FLAGS   = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x228
5689*_CLANG38_AARCH64_PLATFORM_FLAGS =
5690*_CLANG38_AARCH64_PP_FLAGS       = DEF(GCC_PP_FLAGS) DEF(CLANG38_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5691*_CLANG38_AARCH64_RC_FLAGS       = DEF(GCC_AARCH64_RC_FLAGS)
5692*_CLANG38_AARCH64_VFRPP_FLAGS    = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
5693*_CLANG38_AARCH64_ASLPP_FLAGS    = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_AARCH64_TARGET)
5694*_CLANG38_AARCH64_CC_XIPFLAGS    = DEF(GCC_AARCH64_CC_XIPFLAGS)
5695
5696  DEBUG_CLANG38_AARCH64_CC_FLAGS    = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O1
5697  DEBUG_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
5698  NOOPT_CLANG38_AARCH64_CC_FLAGS    = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
5699  NOOPT_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS)
5700RELEASE_CLANG38_AARCH64_CC_FLAGS    = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O3
5701RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
5702
5703####################################################################################
5704#
5705# Cygwin GCC And Intel ACPI Compiler
5706#
5707####################################################################################
5708#   CYGGCC        - CygWin GCC
5709#   ASL           - Intel ACPI Source Language Compiler (iasl.exe)
5710*_CYGGCC_*_*_FAMILY              = GCC
5711*_CYGGCC_*_*_BUILDRULEFAMILY     = GCCLD
5712
5713*_CYGGCC_*_*_DLL                 = DEF(CYGWIN_BIN)
5714*_CYGGCC_*_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
5715*_CYGGCC_*_ASL_PATH              = DEF(DEFAULT_WIN_ASL_BIN)
5716
5717*_CYGGCC_IA32_DLINK_FLAGS               = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
5718*_CYGGCC_X64_DLINK_FLAGS                = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
5719*_CYGGCC_IA32_ASLDLINK_FLAGS            = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
5720*_CYGGCC_X64_ASLDLINK_FLAGS             = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
5721*_CYGGCC_*_MAKE_FLAGS                   = /nologo
5722*_CYGGCC_*_ASM_FLAGS                    = DEF(GCC_ASM_FLAGS)
5723*_CYGGCC_*_PP_FLAGS                     = DEF(GCC_PP_FLAGS)
5724*_CYGGCC_*_ASLPP_FLAGS                  = DEF(GCC_ASLPP_FLAGS)
5725*_CYGGCC_*_ASLCC_FLAGS                  = DEF(GCC_ASLCC_FLAGS)
5726*_CYGGCC_*_VFRPP_FLAGS                  = DEF(GCC_VFRPP_FLAGS)
5727*_CYGGCC_*_APP_FLAGS                    =
5728*_CYGGCC_*_ASL_FLAGS                    = DEF(DEFAULT_WIN_ASL_FLAGS)
5729*_CYGGCC_*_ASL_OUTFLAGS                 = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
5730
5731##################
5732# IA32 definitions
5733##################
5734*_CYGGCC_IA32_CC_PATH            = DEF(CYGWIN_BINIA32)gcc
5735*_CYGGCC_IA32_SLINK_PATH         = DEF(CYGWIN_BINIA32)ar
5736*_CYGGCC_IA32_DLINK_PATH         = DEF(CYGWIN_BINIA32)ld
5737*_CYGGCC_IA32_ASM_PATH           = DEF(CYGWIN_BINIA32)gcc
5738*_CYGGCC_IA32_PP_PATH            = DEF(CYGWIN_BINIA32)gcc
5739*_CYGGCC_IA32_APP_PATH           = DEF(CYGWIN_BINIA32)gcc
5740*_CYGGCC_IA32_VFRPP_PATH         = DEF(CYGWIN_BINIA32)gcc
5741*_CYGGCC_IA32_ASLCC_PATH         = DEF(CYGWIN_BINIA32)gcc
5742*_CYGGCC_IA32_ASLPP_PATH         = DEF(CYGWIN_BINIA32)gcc
5743*_CYGGCC_IA32_ASLDLINK_PATH      = DEF(CYGWIN_BINIA32)ld
5744*_CYGGCC_IA32_RC_PATH            = DEF(CYGWIN_BINIA32)objcopy
5745*_CYGGCC_IA32_OBJCOPY_PATH       = DEF(CYGWIN_BINIA32)objcopy
5746
5747*_CYGGCC_IA32_CC_FLAGS           = DEF(GCC_IA32_CC_FLAGS)
5748*_CYGGCC_IA32_RC_FLAGS           = DEF(GCC_IA32_RC_FLAGS)
5749*_CYGGCC_IA32_OBJCOPY_FLAGS      =
5750*_CYGGCC_IA32_NASM_FLAGS         = -f win32
5751
5752##################
5753# X64 definitions
5754##################
5755*_CYGGCC_X64_CC_PATH             = DEF(CYGWIN_BINX64)gcc
5756*_CYGGCC_X64_SLINK_PATH          = DEF(CYGWIN_BINX64)ar
5757*_CYGGCC_X64_DLINK_PATH          = DEF(CYGWIN_BINX64)ld
5758*_CYGGCC_X64_ASM_PATH            = DEF(CYGWIN_BINX64)gcc
5759*_CYGGCC_X64_PP_PATH             = DEF(CYGWIN_BINX64)gcc
5760*_CYGGCC_X64_APP_PATH            = DEF(CYGWIN_BINX64)gcc
5761*_CYGGCC_X64_VFRPP_PATH          = DEF(CYGWIN_BINX64)gcc
5762*_CYGGCC_X64_ASLCC_PATH          = DEF(CYGWIN_BINX64)gcc
5763*_CYGGCC_X64_ASLPP_PATH          = DEF(CYGWIN_BINX64)gcc
5764*_CYGGCC_X64_ASLDLINK_PATH       = DEF(CYGWIN_BINX64)ld
5765*_CYGGCC_X64_RC_PATH             = DEF(CYGWIN_BINX64)objcopy
5766*_CYGGCC_X64_OBJCOPY_PATH        = DEF(CYGWIN_BINX64)objcopy
5767
5768*_CYGGCC_X64_CC_FLAGS            = DEF(GCC_X64_CC_FLAGS)
5769*_CYGGCC_X64_RC_FLAGS            = DEF(GCC_X64_RC_FLAGS)
5770*_CYGGCC_X64_OBJCOPY_FLAGS       =
5771*_CYGGCC_X64_NASM_FLAGS          = -f win64
5772
5773##################
5774# IPF definitions
5775##################
5776*_CYGGCC_IPF_CC_PATH             = DEF(CYGWIN_BINIPF)gcc
5777*_CYGGCC_IPF_SLINK_PATH          = DEF(CYGWIN_BINIPF)ar
5778*_CYGGCC_IPF_DLINK_PATH          = DEF(CYGWIN_BINIPF)ld
5779*_CYGGCC_IPF_ASLDLINK_PATH       = DEF(CYGWIN_BINIPF)ld
5780*_CYGGCC_IPF_ASM_PATH            = DEF(CYGWIN_BINIPF)gcc
5781*_CYGGCC_IPF_PP_PATH             = DEF(CYGWIN_BINIPF)gcc
5782*_CYGGCC_IPF_VFRPP_PATH          = DEF(CYGWIN_BINIPF)gcc
5783*_CYGGCC_IPF_ASLCC_PATH          = DEF(CYGWIN_BINIPF)gcc
5784*_CYGGCC_IPF_ASLPP_PATH          = DEF(CYGWIN_BINIPF)gcc
5785*_CYGGCC_IPF_OBJCOPY_PATH        = DEF(CYGWIN_BINIPF)objcopy
5786*_CYGGCC_IPF_SYMRENAME_PATH      = DEF(CYGWIN_BINIPF)objcopy
5787*_CYGGCC_IPF_RC_PATH             = DEF(CYGWIN_BINIPF)objcopy
5788
5789*_CYGGCC_IPF_CC_FLAGS             = DEF(GCC_IPF_CC_FLAGS)
5790*_CYGGCC_IPF_DLINK_FLAGS          = DEF(GCC_IPF_DLINK_FLAGS)
5791*_CYGGCC_IPF_OBJCOPY_FLAGS        = DEF(GCC_IPF_OBJCOPY_FLAGS)
5792*_CYGGCC_IPF_SYMRENAME_FLAGS      = DEF(GCC_IPF_SYMRENAME_FLAGS)
5793*_CYGGCC_IPF_RC_FLAGS             = DEF(GCC_IPF_RC_FLAGS)
5794
5795##################
5796# EBC definitions
5797##################
5798*_CYGGCC_EBC_*_FAMILY      = INTEL
5799
5800*_CYGGCC_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe
5801*_CYGGCC_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe
5802*_CYGGCC_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe
5803*_CYGGCC_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe
5804*_CYGGCC_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe
5805*_CYGGCC_EBC_RC_PATH       = DEF(MS_VS_BIN)\rc.exe
5806
5807*_CYGGCC_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
5808*_CYGGCC_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC
5809*_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
5810
5811####################################################################################
5812#
5813# Cygwin GCC And Microsoft ACPI Compiler
5814#
5815####################################################################################
5816#   CYGGCCxASL        - CygWin GCC
5817#   ASL           - Microsoft ACPI Source Language Compiler (asl.exe)
5818*_CYGGCCxASL_*_*_FAMILY              = GCC
5819*_CYGGCCxASL_*_*_BUILDRULEFAMILY     = GCCLD
5820
5821*_CYGGCCxASL_*_*_DLL                 = DEF(CYGWIN_BIN)
5822*_CYGGCCxASL_*_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
5823
5824*_CYGGCCxASL_*_MAKE_FLAGS                 = /nologo
5825*_CYGGCCxASL_*_PP_FLAGS                   = -E -x assembler-with-cpp -include AutoGen.h
5826*_CYGGCCxASL_*_DLINK_FLAGS                = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20
5827*_CYGGCCxASL_*_ASM_FLAGS                  = -c -x assembler -imacros AutoGen.h
5828*_CYGGCCxASL_*_APP_FLAGS                  = -E -x assembler
5829*_CYGGCCxASL_*_VFRPP_FLAGS                = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
5830
5831##################
5832# ASL definitions
5833##################
5834*_CYGGCCxASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
5835*_CYGGCCxASL_*_ASL_FLAGS       =
5836*_CYGGCCxASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
5837*_CYGGCCxASL_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
5838*_CYGGCCxASL_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
5839*_CYGGCCxASL_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
5840
5841##################
5842# IA32 definitions
5843##################
5844*_CYGGCCxASL_IA32_CC_PATH            = DEF(CYGWIN_BINIA32)gcc
5845*_CYGGCCxASL_IA32_SLINK_PATH         = DEF(CYGWIN_BINIA32)ar
5846*_CYGGCCxASL_IA32_DLINK_PATH         = DEF(CYGWIN_BINIA32)ld
5847*_CYGGCCxASL_IA32_ASM_PATH           = DEF(CYGWIN_BINIA32)gcc
5848*_CYGGCCxASL_IA32_PP_PATH            = DEF(CYGWIN_BINIA32)gcc
5849*_CYGGCCxASL_IA32_APP_PATH           = DEF(CYGWIN_BINIA32)gcc
5850*_CYGGCCxASL_IA32_VFRPP_PATH         = DEF(CYGWIN_BINIA32)gcc
5851*_CYGGCCxASL_IA32_ASLCC_PATH         = DEF(CYGWIN_BINIA32)gcc
5852*_CYGGCCxASL_IA32_ASLPP_PATH         = DEF(CYGWIN_BINIA32)gcc
5853*_CYGGCCxASL_IA32_ASLDLINK_PATH      = DEF(CYGWIN_BINIA32)ld
5854*_CYGGCCxASL_IA32_RC_PATH            = DEF(CYGWIN_BINIA32)objcopy
5855
5856*_CYGGCCxASL_IA32_CC_FLAGS           = DEF(GCC_IA32_CC_FLAGS)
5857*_CYGGCCxASL_IA32_RC_FLAGS           = DEF(GCC_IA32_RC_FLAGS)
5858
5859##################
5860# X64 definitions
5861##################
5862*_CYGGCCxASL_X64_CC_PATH             = DEF(CYGWIN_BINX64)gcc
5863*_CYGGCCxASL_X64_SLINK_PATH          = DEF(CYGWIN_BINX64)ar
5864*_CYGGCCxASL_X64_DLINK_PATH          = DEF(CYGWIN_BINX64)ld
5865*_CYGGCCxASL_X64_ASM_PATH            = DEF(CYGWIN_BINX64)gcc
5866*_CYGGCCxASL_X64_PP_PATH             = DEF(CYGWIN_BINX64)gcc
5867*_CYGGCCxASL_X64_APP_PATH            = DEF(CYGWIN_BINX64)gcc
5868*_CYGGCCxASL_X64_VFRPP_PATH          = DEF(CYGWIN_BINX64)gcc
5869*_CYGGCCxASL_X64_ASLCC_PATH          = DEF(CYGWIN_BINX64)gcc
5870*_CYGGCCxASL_X64_ASLPP_PATH          = DEF(CYGWIN_BINX64)gcc
5871*_CYGGCCxASL_X64_ASLDLINK_PATH       = DEF(CYGWIN_BINX64)ld
5872*_CYGGCCxASL_X64_RC_PATH             = DEF(CYGWIN_BINX64)objcopy
5873
5874*_CYGGCCxASL_X64_CC_FLAGS            = DEF(GCC_X64_CC_FLAGS)
5875*_CYGGCCxASL_X64_RC_FLAGS            = DEF(GCC_X64_RC_FLAGS)
5876
5877##################
5878# IPF definitions
5879##################
5880*_CYGGCCxASL_IPF_CC_PATH             = DEF(CYGWIN_BINIPF)gcc
5881*_CYGGCCxASL_IPF_SLINK_PATH          = DEF(CYGWIN_BINIPF)ar
5882*_CYGGCCxASL_IPF_DLINK_PATH          = DEF(CYGWIN_BINIPF)ld
5883*_CYGGCCxASL_IPF_ASLDLINK_PATH       = DEF(CYGWIN_BINIPF)ld
5884*_CYGGCCxASL_IPF_ASM_PATH            = DEF(CYGWIN_BINIPF)gcc
5885*_CYGGCCxASL_IPF_PP_PATH             = DEF(CYGWIN_BINIPF)gcc
5886*_CYGGCCxASL_IPF_VFRPP_PATH          = DEF(CYGWIN_BINIPF)gcc
5887*_CYGGCCxASL_IPF_ASLCC_PATH          = DEF(CYGWIN_BINIPF)gcc
5888*_CYGGCCxASL_IPF_ASLPP_PATH          = DEF(CYGWIN_BINIPF)gcc
5889*_CYGGCCxASL_IPF_OBJCOPY_PATH        = DEF(CYGWIN_BINIPF)objcopy
5890*_CYGGCCxASL_IPF_SYMRENAME_PATH      = DEF(CYGWIN_BINIPF)objcopy
5891*_CYGGCCxASL_IPF_RC_PATH             = DEF(CYGWIN_BINIPF)objcopy
5892
5893*_CYGGCCxASL_IPF_CC_FLAGS             = DEF(GCC_IPF_CC_FLAGS)
5894*_CYGGCCxASL_IPF_DLINK_FLAGS          = DEF(GCC_IPF_DLINK_FLAGS)
5895*_CYGGCCxASL_IPF_OBJCOPY_FLAGS        = DEF(GCC_IPF_OBJCOPY_FLAGS)
5896*_CYGGCCxASL_IPF_SYMRENAME_FLAGS      = DEF(GCC_IPF_SYMRENAME_FLAGS)
5897*_CYGGCCxASL_IPF_RC_FLAGS             = DEF(GCC_IPF_RC_FLAGS)
5898
5899##################
5900# EBC definitions
5901##################
5902*_CYGGCCxASL_EBC_*_FAMILY      = INTEL
5903
5904*_CYGGCCxASL_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe
5905*_CYGGCCxASL_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe
5906*_CYGGCCxASL_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe
5907*_CYGGCCxASL_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe
5908*_CYGGCCxASL_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe
5909*_CYGGCCxASL_EBC_RC_PATH       = DEF(MS_VS_BIN)\rc.exe
5910
5911*_CYGGCCxASL_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
5912*_CYGGCCxASL_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC
5913*_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
5914
5915####################################################################################
5916#
5917# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
5918#           binaries.
5919#
5920####################################################################################
5921#   ELFGCC           - Linux ELF GCC
5922*_ELFGCC_*_*_FAMILY                 = GCC
5923*_ELFGCC_*_*_BUILDRULEFAMILY        = GCCLD
5924*_ELFGCC_*_MAKE_PATH                = make
5925
5926*_ELFGCC_*_PP_FLAGS                     = -E -x assembler-with-cpp -include AutoGen.h
5927*_ELFGCC_*_VFRPP_FLAGS                  = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
5928
5929##################
5930# ASL definitions
5931##################
5932*_ELFGCC_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
5933*_ELFGCC_*_ASL_FLAGS                    = DEF(IASL_FLAGS)
5934*_ELFGCC_*_ASL_OUTFLAGS                 = DEF(IASL_OUTFLAGS)
5935*_ELFGCC_*_ASLPP_FLAGS                  = -x c -E -include AutoGen.h
5936*_ELFGCC_*_ASLCC_FLAGS                  = -x c
5937*_ELFGCC_*_ASLDLINK_FLAGS               = DEF(GCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable
5938
5939##################
5940# IA32 definitions
5941##################
5942*_ELFGCC_IA32_OBJCOPY_PATH          = DEF(ELFGCC_BIN)/objcopy
5943*_ELFGCC_IA32_CC_PATH               = DEF(ELFGCC_BIN)/gcc
5944*_ELFGCC_IA32_SLINK_PATH            = DEF(ELFGCC_BIN)/ar
5945*_ELFGCC_IA32_DLINK_PATH            = DEF(ELFGCC_BIN)/ld
5946*_ELFGCC_IA32_ASM_PATH              = DEF(ELFGCC_BIN)/gcc
5947*_ELFGCC_IA32_PP_PATH               = DEF(ELFGCC_BIN)/gcc
5948*_ELFGCC_IA32_VFRPP_PATH            = DEF(ELFGCC_BIN)/gcc
5949*_ELFGCC_IA32_ASLCC_PATH            = DEF(ELFGCC_BIN)/gcc
5950*_ELFGCC_IA32_ASLPP_PATH            = DEF(ELFGCC_BIN)/gcc
5951*_ELFGCC_IA32_ASLDLINK_PATH         = DEF(ELFGCC_BIN)/ld
5952*_ELFGCC_IA32_RC_PATH               = DEF(ELFGCC_BIN)/objcopy
5953
5954*_ELFGCC_IA32_CC_FLAGS              = -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
5955*_ELFGCC_IA32_SLINK_FLAGS           =
5956*_ELFGCC_IA32_DLINK_FLAGS           = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5957#*_ELFGCC_IA32_DLINK_FLAGS          = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
5958*_ELFGCC_IA32_ASM_FLAGS             = -m32 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
5959*_ELFGCC_IA32_PP_FLAGS              = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5960*_ELFGCC_IA32_VFRPP_FLAGS           = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5961*_ELFGCC_IA32_RC_FLAGS              = DEF(GCC_IA32_RC_FLAGS)
5962*_ELFGCC_IA32_OBJCOPY_FLAGS         =
5963*_ELFGCC_IA32_NASM_FLAGS            = -f elf32
5964
5965##################
5966# X64 definitions
5967##################
5968*_ELFGCC_X64_CC_PATH               = DEF(ELFGCC_BIN)/gcc
5969*_ELFGCC_X64_ASLCC_PATH            = DEF(ELFGCC_BIN)/gcc
5970*_ELFGCC_X64_SLINK_PATH            = DEF(ELFGCC_BIN)/ar
5971*_ELFGCC_X64_DLINK_PATH            = DEF(ELFGCC_BIN)/ld
5972*_ELFGCC_X64_ASLDLINK_PATH         = DEF(ELFGCC_BIN)/ld
5973*_ELFGCC_X64_ASM_PATH              = DEF(ELFGCC_BIN)/gcc
5974*_ELFGCC_X64_PP_PATH               = DEF(ELFGCC_BIN)/gcc
5975*_ELFGCC_X64_ASLPP_PATH            = DEF(ELFGCC_BIN)/gcc
5976*_ELFGCC_X64_VFRPP_PATH            = DEF(ELFGCC_BIN)/gcc
5977*_ELFGCC_X64_RC_PATH               = DEF(ELFGCC_BIN)/objcopy
5978
5979*_ELFGCC_X64_CC_FLAGS              = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-address -Wno-array-bounds -include AutoGen.h -D_EFI_P64
5980*_ELFGCC_X64_DLINK_FLAGS           = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
5981*_ELFGCC_X64_SLINK_FLAGS           =
5982*_ELFGCC_X64_ASM_FLAGS             = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
5983*_ELFGCC_X64_PP_FLAGS              = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
5984*_ELFGCC_X64_VFRPP_FLAGS           = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
5985*_ELFGCC_X64_RC_FLAGS              = DEF(GCC_X64_RC_FLAGS)
5986*_ELFGCC_X64_NASM_FLAGS            = -f elf64
5987
5988##################
5989# IPF definitions
5990##################
5991*_ELFGCC_IPF_CC_PATH              = DEF(ELFGCC_BIN)/gcc
5992*_ELFGCC_IPF_ASLCC_PATH           = DEF(ELFGCC_BIN)/gcc
5993*_ELFGCC_IPF_SLINK_PATH           = DEF(ELFGCC_BIN)/ar
5994*_ELFGCC_IPF_DLINK_PATH           = DEF(ELFGCC_BIN)/ld
5995*_ELFGCC_IPF_ASLDLINK_PATH        = DEF(ELFGCC_BIN)/ld
5996*_ELFGCC_IPF_ASM_PATH             = DEF(ELFGCC_BIN)/gcc
5997*_ELFGCC_IPF_PP_PATH              = DEF(ELFGCC_BIN)/gcc
5998*_ELFGCC_IPF_ASLPP_PATH           = DEF(ELFGCC_BIN)/gcc
5999*_ELFGCC_IPF_VFRPP_PATH           = DEF(ELFGCC_BIN)/gcc
6000*_ELFGCC_IPF_RC_PATH              = DEF(ELFGCC_BIN)/objcopy
6001
6002*_ELFGCC_IPF_CC_FLAGS             = -Os -fshort-wchar -Wall -Werror -include AutoGen.h -D_EFI_P64
6003*_ELFGCC_IPF_DLINK_FLAGS          = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
6004*_ELFGCC_IPF_SLINK_FLAGS          =
6005*_ELFGCC_IPF_ASM_FLAGS            = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
6006*_ELFGCC_IPF_PP_FLAGS             = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
6007*_ELFGCC_IPF_VFRPP_FLAGS          = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
6008*_ELFGCC_IPF_RC_FLAGS             = DEF(GCC_IPF_RC_FLAGS)
6009
6010####################################################################################
6011#
6012# Intel(R) C++ Compiler Version 9.1
6013#
6014#   IPF  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032
6015#   ASL  - Intel ACPI Source Language Compiler
6016#
6017####################################################################################
6018#   ICC              - Intel C Compiler V9.1
6019*_ICC_*_*_FAMILY                    = INTEL
6020
6021*_ICC_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6022*_ICC_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6023
6024*_ICC_*_MAKE_FLAGS                       = /nologo
6025*_ICC_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6026*_ICC_*_APP_FLAGS                        = /nologo /E /TC
6027*_ICC_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6028
6029*_ICC_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6030
6031##################
6032# ASL definitions
6033##################
6034*_ICC_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
6035*_ICC_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
6036*_ICC_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
6037*_ICC_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6038*_ICC_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6039*_ICC_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6040
6041##################
6042# IA32 definitions
6043##################
6044*_ICC_IA32_CC_PATH                  = DEF(ICC_BIN32)\icl.exe
6045*_ICC_IA32_SLINK_PATH               = DEF(ICC_BIN32)\xilib.exe
6046# xilib.exe needs lib.exe from Visual Studio
6047*_ICC_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6048*_ICC_IA32_DLINK_PATH               = DEF(ICC_BIN32)\xilink.exe
6049*_ICC_IA32_PP_PATH                  = DEF(ICC_BIN32)\icl.exe
6050*_ICC_IA32_VFRPP_PATH               = DEF(ICC_BIN32)\icl.exe
6051*_ICC_IA32_APP_PATH                 = DEF(ICC_BIN32)\icl.exe
6052*_ICC_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6053*_ICC_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6054*_ICC_IA32_ASLCC_PATH               = DEF(ICC_BIN32)\icl.exe
6055*_ICC_IA32_ASLPP_PATH               = DEF(ICC_BIN32)\icl.exe
6056*_ICC_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32)\xilink.exe
6057
6058  DEBUG_ICC_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6059RELEASE_ICC_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6060NOOPT_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
6061
6062  DEBUG_ICC_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6063RELEASE_ICC_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6064NOOPT_ICC_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6065  DEBUG_ICC_IA32_NASM_FLAGS              = -Ox -f win32 -g
6066RELEASE_ICC_IA32_NASM_FLAGS              = -Ox -f win32
6067NOOPT_ICC_IA32_NASM_FLAGS                = -O0 -f win32 -g
6068
6069      *_ICC_IA32_SLINK_FLAGS             = /nologo
6070  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
6071RELEASE_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:.rdata=.data
6072NOOPT_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
6073
6074##################
6075# X64 definitions
6076##################
6077*_ICC_X64_CC_PATH                   = DEF(ICC_BINX64)\icl.exe
6078*_ICC_X64_SLINK_PATH                = DEF(ICC_BINX64)\xilib.exe
6079# xilib.exe needs lib.exe from Visual Studio
6080*_ICC_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6081*_ICC_X64_DLINK_PATH                = DEF(ICC_BINX64)\xilink.exe
6082*_ICC_X64_PP_PATH                   = DEF(ICC_BINX64)\icl.exe
6083*_ICC_X64_VFRPP_PATH                = DEF(ICC_BINX64)\icl.exe
6084*_ICC_X64_APP_PATH                  = DEF(ICC_BINX64)\icl.exe
6085*_ICC_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
6086*_ICC_X64_ASM_DLL                   = DEF(MS_VS_DLL)
6087*_ICC_X64_ASLCC_PATH                = DEF(ICC_BINX64)\icl.exe
6088*_ICC_X64_ASLPP_PATH                = DEF(ICC_BINX64)\icl.exe
6089*_ICC_X64_ASLDLINK_PATH             = DEF(ICC_BINX64)\xilink.exe
6090
6091  DEBUG_ICC_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
6092RELEASE_ICC_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
6093NOOPT_ICC_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
6094
6095  DEBUG_ICC_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
6096RELEASE_ICC_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
6097NOOPT_ICC_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
6098
6099  DEBUG_ICC_X64_NASM_FLAGS               = -Ox -f win64 -g
6100RELEASE_ICC_X64_NASM_FLAGS               = -Ox -f win64
6101NOOPT_ICC_X64_NASM_FLAGS                 = -O0 -f win64 -g
6102
6103  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
6104RELEASE_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:.rdata=.data
6105NOOPT_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
6106
6107      *_ICC_X64_SLINK_FLAGS              = /nologo /LTCG
6108
6109
6110##################
6111# IPF definitions
6112##################
6113*_ICC_IPF_CC_PATH                   = DEF(ICC_BIN64)\icl.exe
6114# icl.exe needs cl.exe from Visual Studio
6115*_ICC_IPF_CC_DLL                    = DEF(MS_VS_BIN)
6116*_ICC_IPF_SLINK_PATH                = DEF(ICC_BIN64)\xilib.exe
6117# xilib.exe needs lib.exe from Visual Studio
6118*_ICC_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
6119*_ICC_IPF_DLINK_PATH                = DEF(ICC_BIN64)\xilink.exe
6120*_ICC_IPF_PP_PATH                   = DEF(ICC_BIN64)\icl.exe
6121*_ICC_IPF_VFRPP_PATH                = DEF(ICC_BIN64)\icl.exe
6122*_ICC_IPF_APP_PATH                  = DEF(ICC_BIN64)\icl.exe
6123*_ICC_IPF_ASM_PATH                  = DEF(ICC_BIN64)\ias.exe
6124*_ICC_IPF_ASLCC_PATH                = DEF(ICC_BIN64)\icl.exe
6125*_ICC_IPF_ASLPP_PATH                = DEF(ICC_BIN64)\icl.exe
6126*_ICC_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64)\xilink.exe
6127
6128  DEBUG_ICC_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6129RELEASE_ICC_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
6130NOOPT_ICC_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6131
6132  DEBUG_ICC_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6133RELEASE_ICC_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
6134NOOPT_ICC_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6135
6136  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
6137RELEASE_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
6138NOOPT_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
6139
6140      *_ICC_IPF_SLINK_FLAGS              = /nologo
6141
6142##################
6143# EBC definitions
6144##################
6145*_ICC_EBC_*_FAMILY              = INTEL
6146
6147*_ICC_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
6148*_ICC_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe
6149*_ICC_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe
6150*_ICC_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe
6151*_ICC_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe
6152*_ICC_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe
6153
6154*_ICC_EBC_MAKE_FLAGS                 = /nologo
6155*_ICC_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
6156*_ICC_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
6157*_ICC_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6158*_ICC_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
6159*_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
6160
6161####################################################################################
6162#
6163# Intel(R) C++ Compiler Version 9.1
6164#
6165#   IPF  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032
6166#   ASL  - Microsoft ACPI Source Language Compiler
6167#
6168####################################################################################
6169#   ICCxASL              - Intel C Compiler V9.1
6170*_ICCxASL_*_*_FAMILY                    = INTEL
6171
6172*_ICCxASL_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6173*_ICCxASL_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6174
6175*_ICCxASL_*_MAKE_FLAGS                       = /nologo
6176*_ICCxASL_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6177*_ICCxASL_*_APP_FLAGS                        = /nologo /E /TC
6178*_ICCxASL_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6179
6180*_ICCxASL_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6181
6182##################
6183# ASL definitions
6184##################
6185*_ICCxASL_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
6186*_ICCxASL_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
6187*_ICCxASL_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
6188*_ICCxASL_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6189*_ICCxASL_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6190*_ICCxASL_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6191
6192##################
6193# IA32 definitions
6194##################
6195*_ICCxASL_IA32_CC_PATH                  = DEF(ICC_BIN32)\icl.exe
6196*_ICCxASL_IA32_SLINK_PATH               = DEF(ICC_BIN32)\xilib.exe
6197# xilib.exe needs lib.exe from Visual Studio
6198*_ICCxASL_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6199*_ICCxASL_IA32_DLINK_PATH               = DEF(ICC_BIN32)\xilink.exe
6200*_ICCxASL_IA32_PP_PATH                  = DEF(ICC_BIN32)\icl.exe
6201*_ICCxASL_IA32_VFRPP_PATH               = DEF(ICC_BIN32)\icl.exe
6202*_ICCxASL_IA32_APP_PATH                 = DEF(ICC_BIN32)\icl.exe
6203*_ICCxASL_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6204*_ICCxASL_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6205*_ICCxASL_IA32_ASLCC_PATH               = DEF(ICC_BIN32)\icl.exe
6206*_ICCxASL_IA32_ASLPP_PATH               = DEF(ICC_BIN32)\icl.exe
6207*_ICCxASL_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32)\xilink.exe
6208
6209  DEBUG_ICCxASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6210RELEASE_ICCxASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6211NOOPT_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
6212
6213  DEBUG_ICCxASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6214RELEASE_ICCxASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6215NOOPT_ICCxASL_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6216
6217  DEBUG_ICCxASL_IA32_NASM_FLAGS              = -Ox -f win32 -g
6218RELEASE_ICCxASL_IA32_NASM_FLAGS              = -Ox -f win32
6219NOOPT_ICCxASL_IA32_NASM_FLAGS                = -O0 -f win32 -g
6220
6221      *_ICCxASL_IA32_SLINK_FLAGS             = /nologo
6222  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
6223RELEASE_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:.rdata=.data
6224NOOPT_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
6225
6226##################
6227# X64 definitions
6228##################
6229*_ICCxASL_X64_CC_PATH                   = DEF(ICC_BINX64)\icl.exe
6230*_ICCxASL_X64_SLINK_PATH                = DEF(ICC_BINX64)\xilib.exe
6231# xilib.exe needs lib.exe from Visual Studio
6232*_ICCxASL_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6233*_ICCxASL_X64_DLINK_PATH                = DEF(ICC_BINX64)\xilink.exe
6234*_ICCxASL_X64_PP_PATH                   = DEF(ICC_BINX64)\icl.exe
6235*_ICCxASL_X64_VFRPP_PATH                = DEF(ICC_BINX64)\icl.exe
6236*_ICCxASL_X64_APP_PATH                  = DEF(ICC_BINX64)\icl.exe
6237*_ICCxASL_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
6238*_ICCxASL_X64_ASM_DLL                   = DEF(MS_VS_DLL)
6239*_ICCxASL_X64_ASLCC_PATH                = DEF(ICC_BINX64)\icl.exe
6240*_ICCxASL_X64_ASLPP_PATH                = DEF(ICC_BINX64)\icl.exe
6241*_ICCxASL_X64_ASLDLINK_PATH             = DEF(ICC_BINX64)\xilink.exe
6242
6243  DEBUG_ICCxASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
6244RELEASE_ICCxASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
6245NOOPT_ICCxASL_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
6246
6247  DEBUG_ICCxASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
6248RELEASE_ICCxASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
6249NOOPT_ICCxASL_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
6250
6251  DEBUG_ICCxASL_X64_NASM_FLAGS               = -Ox -f win64 -g
6252RELEASE_ICCxASL_X64_NASM_FLAGS               = -Ox -f win64
6253NOOPT_ICCxASL_X64_NASM_FLAGS                 = -O0 -f win64 -g
6254
6255  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
6256RELEASE_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:.rdata=.data
6257NOOPT_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
6258
6259      *_ICCxASL_X64_SLINK_FLAGS              = /nologo /LTCG
6260
6261
6262##################
6263# IPF definitions
6264##################
6265*_ICCxASL_IPF_CC_PATH                   = DEF(ICC_BIN64)\icl.exe
6266# icl.exe needs cl.exe from Visual Studio
6267*_ICCxASL_IPF_CC_DLL                    = DEF(MS_VS_BIN)
6268*_ICCxASL_IPF_SLINK_PATH                = DEF(ICC_BIN64)\xilib.exe
6269# xilib.exe needs lib.exe from Visual Studio
6270*_ICCxASL_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
6271*_ICCxASL_IPF_DLINK_PATH                = DEF(ICC_BIN64)\xilink.exe
6272*_ICCxASL_IPF_PP_PATH                   = DEF(ICC_BIN64)\icl.exe
6273*_ICCxASL_IPF_VFRPP_PATH                = DEF(ICC_BIN64)\icl.exe
6274*_ICCxASL_IPF_APP_PATH                  = DEF(ICC_BIN64)\icl.exe
6275*_ICCxASL_IPF_ASM_PATH                  = DEF(ICC_BIN64)\ias.exe
6276*_ICCxASL_IPF_ASLCC_PATH                = DEF(ICC_BIN64)\icl.exe
6277*_ICCxASL_IPF_ASLPP_PATH                = DEF(ICC_BIN64)\icl.exe
6278*_ICCxASL_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64)\xilink.exe
6279
6280  DEBUG_ICCxASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6281RELEASE_ICCxASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
6282NOOPT_ICCxASL_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6283
6284  DEBUG_ICCxASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6285RELEASE_ICCxASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
6286NOOPT_ICCxASL_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6287
6288  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
6289RELEASE_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
6290NOOPT_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
6291
6292      *_ICCxASL_IPF_SLINK_FLAGS              = /nologo
6293
6294##################
6295# EBC definitions
6296##################
6297*_ICCxASL_EBC_*_FAMILY              = INTEL
6298
6299*_ICCxASL_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
6300*_ICCxASL_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe
6301*_ICCxASL_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe
6302*_ICCxASL_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe
6303*_ICCxASL_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe
6304*_ICCxASL_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe
6305
6306*_ICCxASL_EBC_MAKE_FLAGS                 = /nologo
6307*_ICCxASL_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
6308*_ICCxASL_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
6309*_ICCxASL_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6310*_ICCxASL_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
6311*_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
6312
6313
6314####################################################################################
6315#
6316# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
6317#
6318#   ICCx86  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032
6319#   ASL  - Intel ACPI Source Language Compiler
6320#
6321####################################################################################
6322#   ICCx86              - Intel C Compiler V9.1
6323*_ICCx86_*_*_FAMILY                    = INTEL
6324
6325*_ICCx86_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6326*_ICCx86_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6327
6328*_ICCx86_*_MAKE_FLAGS                       = /nologo
6329*_ICCx86_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6330*_ICCx86_*_APP_FLAGS                        = /nologo /E /TC
6331*_ICCx86_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6332
6333*_ICCx86_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6334
6335##################
6336# ASL definitions
6337##################
6338*_ICCx86_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
6339*_ICCx86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
6340*_ICCx86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
6341*_ICCx86_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6342*_ICCx86_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6343*_ICCx86_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6344
6345##################
6346# IA32 definitions
6347##################
6348*_ICCx86_IA32_CC_PATH                  = DEF(ICC_BIN32x86)\icl.exe
6349*_ICCx86_IA32_SLINK_PATH               = DEF(ICC_BIN32x86)\xilib.exe
6350# xilib.exe needs lib.exe from Visual Studio
6351*_ICCx86_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6352*_ICCx86_IA32_DLINK_PATH               = DEF(ICC_BIN32x86)\xilink.exe
6353*_ICCx86_IA32_PP_PATH                  = DEF(ICC_BIN32x86)\icl.exe
6354*_ICCx86_IA32_VFRPP_PATH               = DEF(ICC_BIN32x86)\icl.exe
6355*_ICCx86_IA32_APP_PATH                 = DEF(ICC_BIN32x86)\icl.exe
6356*_ICCx86_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6357*_ICCx86_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6358*_ICCx86_IA32_ASLCC_PATH               = DEF(ICC_BIN32x86)\icl.exe
6359*_ICCx86_IA32_ASLPP_PATH               = DEF(ICC_BIN32x86)\icl.exe
6360*_ICCx86_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32x86)\xilink.exe
6361
6362  DEBUG_ICCx86_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6363RELEASE_ICCx86_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6364NOOPT_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
6365
6366  DEBUG_ICCx86_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6367RELEASE_ICCx86_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6368NOOPT_ICCx86_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6369
6370  DEBUG_ICCx86_IA32_NASM_FLAGS              = -Ox -f win32 -g
6371RELEASE_ICCx86_IA32_NASM_FLAGS              = -Ox -f win32
6372NOOPT_ICCx86_IA32_NASM_FLAGS                = -O0 -f win32 -g
6373
6374      *_ICCx86_IA32_SLINK_FLAGS             = /nologo
6375  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
6376RELEASE_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:.rdata=.data
6377NOOPT_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
6378
6379##################
6380# X64 definitions
6381##################
6382*_ICCx86_X64_CC_PATH                   = DEF(ICC_BINX64x86)\icl.exe
6383*_ICCx86_X64_SLINK_PATH                = DEF(ICC_BINX64x86)\xilib.exe
6384# xilib.exe needs lib.exe from Visual Studio
6385*_ICCx86_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6386*_ICCx86_X64_DLINK_PATH                = DEF(ICC_BINX64x86)\xilink.exe
6387*_ICCx86_X64_PP_PATH                   = DEF(ICC_BINX64x86)\icl.exe
6388*_ICCx86_X64_VFRPP_PATH                = DEF(ICC_BINX64x86)\icl.exe
6389*_ICCx86_X64_APP_PATH                  = DEF(ICC_BINX64x86)\icl.exe
6390*_ICCx86_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
6391*_ICCx86_X64_ASM_DLL                   = DEF(MS_VS_DLL)
6392*_ICCx86_X64_ASLCC_PATH                = DEF(ICC_BINX64x86)\icl.exe
6393*_ICCx86_X64_ASLPP_PATH                = DEF(ICC_BINX64x86)\icl.exe
6394*_ICCx86_X64_ASLDLINK_PATH             = DEF(ICC_BINX64x86)\xilink.exe
6395
6396  DEBUG_ICCx86_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
6397RELEASE_ICCx86_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
6398NOOPT_ICCx86_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
6399
6400  DEBUG_ICCx86_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
6401RELEASE_ICCx86_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
6402NOOPT_ICCx86_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
6403
6404  DEBUG_ICCx86_X64_NASM_FLAGS               = -Ox -f win64 -g
6405RELEASE_ICCx86_X64_NASM_FLAGS               = -Ox -f win64
6406NOOPT_ICCx86_X64_NASM_FLAGS                 = -O0 -f win64 -g
6407
6408  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
6409RELEASE_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:.rdata=.data
6410NOOPT_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
6411
6412      *_ICCx86_X64_SLINK_FLAGS              = /nologo /LTCG
6413
6414
6415##################
6416# IPF definitions
6417##################
6418*_ICCx86_IPF_CC_PATH                   = DEF(ICC_BIN64x86)\icl.exe
6419# icl.exe needs cl.exe from Visual Studio
6420*_ICCx86_IPF_CC_DLL                    = DEF(MS_VS_BIN)
6421*_ICCx86_IPF_SLINK_PATH                = DEF(ICC_BIN64x86)\xilib.exe
6422# xilib.exe needs lib.exe from Visual Studio
6423*_ICCx86_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
6424*_ICCx86_IPF_DLINK_PATH                = DEF(ICC_BIN64x86)\xilink.exe
6425*_ICCx86_IPF_PP_PATH                   = DEF(ICC_BIN64x86)\icl.exe
6426*_ICCx86_IPF_VFRPP_PATH                = DEF(ICC_BIN64x86)\icl.exe
6427*_ICCx86_IPF_APP_PATH                  = DEF(ICC_BIN64x86)\icl.exe
6428*_ICCx86_IPF_ASM_PATH                  = DEF(ICC_BIN64x86)\ias.exe
6429*_ICCx86_IPF_ASLCC_PATH                = DEF(ICC_BIN64x86)\icl.exe
6430*_ICCx86_IPF_ASLPP_PATH                = DEF(ICC_BIN64x86)\icl.exe
6431*_ICCx86_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64x86)\xilink.exe
6432
6433  DEBUG_ICCx86_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6434RELEASE_ICCx86_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
6435NOOPT_ICCx86_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6436
6437  DEBUG_ICCx86_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6438RELEASE_ICCx86_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
6439NOOPT_ICCx86_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6440
6441  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
6442RELEASE_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
6443NOOPT_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
6444
6445      *_ICCx86_IPF_SLINK_FLAGS              = /nologo
6446
6447##################
6448# EBC definitions
6449##################
6450*_ICCx86_EBC_*_FAMILY              = INTEL
6451
6452*_ICCx86_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
6453*_ICCx86_EBC_PP_PATH               = DEF(EBC_BINx86)\iec.exe
6454*_ICCx86_EBC_VFRPP_PATH            = DEF(EBC_BINx86)\iec.exe
6455*_ICCx86_EBC_CC_PATH               = DEF(EBC_BINx86)\iec.exe
6456*_ICCx86_EBC_SLINK_PATH            = DEF(EBC_BINx86)\link.exe
6457*_ICCx86_EBC_DLINK_PATH            = DEF(EBC_BINx86)\link.exe
6458
6459*_ICCx86_EBC_MAKE_FLAGS                 = /nologo
6460*_ICCx86_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
6461*_ICCx86_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
6462*_ICCx86_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6463*_ICCx86_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
6464*_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
6465
6466
6467####################################################################################
6468#
6469# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)
6470#
6471#   ICCx86xASL  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032
6472#   ASL  - Microsoft ACPI Source Language Compiler
6473#
6474####################################################################################
6475#   ICCx86xASL              - Intel C Compiler V9.1
6476*_ICCx86xASL_*_*_FAMILY                    = INTEL
6477
6478*_ICCx86xASL_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6479*_ICCx86xASL_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6480
6481*_ICCx86xASL_*_MAKE_FLAGS                       = /nologo
6482*_ICCx86xASL_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6483*_ICCx86xASL_*_APP_FLAGS                        = /nologo /E /TC
6484*_ICCx86xASL_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6485
6486*_ICCx86ASL_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6487
6488##################
6489# ASL definitions
6490##################
6491*_ICCx86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
6492*_ICCx86xASL_*_ASL_FLAGS       =
6493*_ICCx86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
6494*_ICCx86xASL_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6495*_ICCx86xASL_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6496*_ICCx86xASL_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6497
6498##################
6499# IA32 definitions
6500##################
6501*_ICCx86xASL_IA32_CC_PATH                  = DEF(ICC_BIN32x86)\icl.exe
6502*_ICCx86xASL_IA32_SLINK_PATH               = DEF(ICC_BIN32x86)\xilib.exe
6503# xilib.exe needs lib.exe from Visual Studio
6504*_ICCx86xASL_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6505*_ICCx86xASL_IA32_DLINK_PATH               = DEF(ICC_BIN32x86)\xilink.exe
6506*_ICCx86xASL_IA32_PP_PATH                  = DEF(ICC_BIN32x86)\icl.exe
6507*_ICCx86xASL_IA32_VFRPP_PATH               = DEF(ICC_BIN32x86)\icl.exe
6508*_ICCx86xASL_IA32_APP_PATH                 = DEF(ICC_BIN32x86)\icl.exe
6509*_ICCx86xASL_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6510*_ICCx86xASL_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6511*_ICCx86xASL_IA32_ASLCC_PATH               = DEF(ICC_BIN32x86)\icl.exe
6512*_ICCx86xASL_IA32_ASLPP_PATH               = DEF(ICC_BIN32x86)\icl.exe
6513*_ICCx86xASL_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32x86)\xilink.exe
6514
6515  DEBUG_ICCx86xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6516RELEASE_ICCx86xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6517NOOPT_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
6518
6519  DEBUG_ICCx86xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6520RELEASE_ICCx86xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6521NOOPT_ICCx86xASL_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6522
6523  DEBUG_ICCx86xASL_IA32_NASM_FLAGS              = -Ox -f win32 -g
6524RELEASE_ICCx86xASL_IA32_NASM_FLAGS              = -Ox -f win32
6525NOOPT_ICCx86xASL_IA32_NASM_FLAGS                = -O0 -f win32 -g
6526
6527      *_ICCx86xASL_IA32_SLINK_FLAGS             = /nologo
6528  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
6529RELEASE_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:.rdata=.data
6530NOOPT_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
6531
6532##################
6533# X64 definitions
6534##################
6535*_ICCx86xASL_X64_CC_PATH                   = DEF(ICC_BINX64x86)\icl.exe
6536*_ICCx86xASL_X64_SLINK_PATH                = DEF(ICC_BINX64x86)\xilib.exe
6537# xilib.exe needs lib.exe from Visual Studio
6538*_ICCx86xASL_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6539*_ICCx86xASL_X64_DLINK_PATH                = DEF(ICC_BINX64x86)\xilink.exe
6540*_ICCx86xASL_X64_PP_PATH                   = DEF(ICC_BINX64x86)\icl.exe
6541*_ICCx86xASL_X64_VFRPP_PATH                = DEF(ICC_BINX64x86)\icl.exe
6542*_ICCx86xASL_X64_APP_PATH                  = DEF(ICC_BINX64x86)\icl.exe
6543*_ICCx86xASL_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
6544*_ICCx86xASL_X64_ASM_DLL                   = DEF(MS_VS_DLL)
6545*_ICCx86xASL_X64_ASLCC_PATH                = DEF(ICC_BINX64x86)\icl.exe
6546*_ICCx86xASL_X64_ASLPP_PATH                = DEF(ICC_BINX64x86)\icl.exe
6547*_ICCx86xASL_X64_ASLDLINK_PATH             = DEF(ICC_BINX64x86)\xilink.exe
6548
6549  DEBUG_ICCx86xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
6550RELEASE_ICCx86xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
6551NOOPT_ICCx86xASL_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
6552
6553  DEBUG_ICCx86xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
6554RELEASE_ICCx86xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
6555NOOPT_ICCx86xASL_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
6556
6557  DEBUG_ICCx86xASL_X64_NASM_FLAGS               = -Ox -f win64 -g
6558RELEASE_ICCx86xASL_X64_NASM_FLAGS               = -Ox -f win64
6559NOOPT_ICCx86xASL_X64_NASM_FLAGS                 = -O0 -f win64 -g
6560
6561  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
6562RELEASE_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:.rdata=.data
6563NOOPT_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
6564
6565      *_ICCx86xASL_X64_SLINK_FLAGS              = /nologo /LTCG
6566
6567
6568##################
6569# IPF definitions
6570##################
6571*_ICCx86xASL_IPF_CC_PATH                   = DEF(ICC_BIN64x86)\icl.exe
6572# icl.exe needs cl.exe from Visual Studio
6573*_ICCx86xASL_IPF_CC_DLL                    = DEF(MS_VS_BIN)
6574*_ICCx86xASL_IPF_SLINK_PATH                = DEF(ICC_BIN64x86)\xilib.exe
6575# xilib.exe needs lib.exe from Visual Studio
6576*_ICCx86xASL_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
6577*_ICCx86xASL_IPF_DLINK_PATH                = DEF(ICC_BIN64x86)\xilink.exe
6578*_ICCx86xASL_IPF_PP_PATH                   = DEF(ICC_BIN64x86)\icl.exe
6579*_ICCx86xASL_IPF_VFRPP_PATH                = DEF(ICC_BIN64x86)\icl.exe
6580*_ICCx86xASL_IPF_APP_PATH                  = DEF(ICC_BIN64x86)\icl.exe
6581*_ICCx86xASL_IPF_ASM_PATH                  = DEF(ICC_BIN64x86)\ias.exe
6582*_ICCx86xASL_IPF_ASLCC_PATH                = DEF(ICC_BIN64x86)\icl.exe
6583*_ICCx86xASL_IPF_ASLPP_PATH                = DEF(ICC_BIN64x86)\icl.exe
6584*_ICCx86xASL_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64x86)\xilink.exe
6585
6586  DEBUG_ICCx86xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6587RELEASE_ICCx86xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF
6588NOOPT_ICCx86xASL_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi
6589
6590  DEBUG_ICCx86xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6591RELEASE_ICCx86xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
6592NOOPT_ICCx86xASL_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6593
6594  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
6595RELEASE_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
6596NOOPT_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
6597
6598      *_ICCx86xASL_IPF_SLINK_FLAGS              = /nologo
6599
6600##################
6601# EBC definitions
6602##################
6603*_ICCx86xASL_EBC_*_FAMILY              = INTEL
6604
6605*_ICCx86xASL_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
6606*_ICCx86xASL_EBC_PP_PATH               = DEF(EBC_BINx86)\iec.exe
6607*_ICCx86xASL_EBC_VFRPP_PATH            = DEF(EBC_BINx86)\iec.exe
6608*_ICCx86xASL_EBC_CC_PATH               = DEF(EBC_BINx86)\iec.exe
6609*_ICCx86xASL_EBC_SLINK_PATH            = DEF(EBC_BINx86)\link.exe
6610*_ICCx86xASL_EBC_DLINK_PATH            = DEF(EBC_BINx86)\link.exe
6611
6612*_ICCx86xASL_EBC_MAKE_FLAGS                 = /nologo
6613*_ICCx86xASL_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
6614*_ICCx86xASL_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
6615*_ICCx86xASL_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6616*_ICCx86xASL_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
6617*_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
6618
6619
6620####################################################################################
6621#
6622# Intel(R) C++ Compiler Version 11.1
6623#   IA32 - Intel(R) C++ Compiler for applications running on IA32         (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
6624#   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)
6625#   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)
6626#   ASL  - Intel ACPI Source Language Compiler
6627#
6628####################################################################################
6629#   ICC11            - Intel C Compiler V11.1
6630*_ICC11_*_*_FAMILY                    = INTEL
6631
6632*_ICC11_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6633*_ICC11_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6634
6635*_ICC11_*_MAKE_FLAGS                       = /nologo
6636*_ICC11_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6637*_ICC11_*_APP_FLAGS                        = /nologo /E /TC
6638*_ICC11_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6639
6640*_ICC11_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6641
6642##################
6643# ASL definitions
6644##################
6645*_ICC11_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
6646*_ICC11_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
6647*_ICC11_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
6648*_ICC11_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6649*_ICC11_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6650*_ICC11_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6651
6652##################
6653# IA32 definitions
6654##################
6655*_ICC11_IA32_CC_PATH                  = DEF(ICC11_BIN32)\icl.exe
6656*_ICC11_IA32_SLINK_PATH               = DEF(ICC11_BIN32)\xilib.exe
6657# xilib.exe needs lib.exe from Visual Studio
6658*_ICC11_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6659*_ICC11_IA32_DLINK_PATH               = DEF(ICC11_BIN32)\xilink.exe
6660*_ICC11_IA32_PP_PATH                  = DEF(ICC11_BIN32)\icl.exe
6661*_ICC11_IA32_VFRPP_PATH               = DEF(ICC11_BIN32)\icl.exe
6662*_ICC11_IA32_APP_PATH                 = DEF(ICC11_BIN32)\icl.exe
6663*_ICC11_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6664*_ICC11_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6665*_ICC11_IA32_ASLCC_PATH               = DEF(ICC11_BIN32)\icl.exe
6666*_ICC11_IA32_ASLPP_PATH               = DEF(ICC11_BIN32)\icl.exe
6667*_ICC11_IA32_ASLDLINK_PATH            = DEF(ICC11_BIN32)\xilink.exe
6668
6669  DEBUG_ICC11_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6670RELEASE_ICC11_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6671NOOPT_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
6672
6673  DEBUG_ICC11_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6674RELEASE_ICC11_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6675NOOPT_ICC11_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6676
6677  DEBUG_ICC11_IA32_NASM_FLAGS              = -Ox -f win32 -g
6678RELEASE_ICC11_IA32_NASM_FLAGS              = -Ox -f win32
6679NOOPT_ICC11_IA32_NASM_FLAGS                = -O0 -f win32 -g
6680
6681      *_ICC11_IA32_SLINK_FLAGS             = /nologo
6682  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
6683RELEASE_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:.rdata=.data
6684NOOPT_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
6685
6686##################
6687# X64 definitions
6688##################
6689*_ICC11_X64_CC_PATH                   = DEF(ICC11_BINX64)\icl.exe
6690*_ICC11_X64_SLINK_PATH                = DEF(ICC11_BINX64)\xilib.exe
6691# xilib.exe needs lib.exe from Visual Studio
6692*_ICC11_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6693*_ICC11_X64_DLINK_PATH                = DEF(ICC11_BINX64)\xilink.exe
6694*_ICC11_X64_PP_PATH                   = DEF(ICC11_BINX64)\icl.exe
6695*_ICC11_X64_VFRPP_PATH                = DEF(ICC11_BINX64)\icl.exe
6696*_ICC11_X64_APP_PATH                  = DEF(ICC11_BINX64)\icl.exe
6697*_ICC11_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
6698*_ICC11_X64_ASM_DLL                   = DEF(MS_VS_DLL)
6699*_ICC11_X64_ASLCC_PATH                = DEF(ICC11_BINX64)\icl.exe
6700*_ICC11_X64_ASLPP_PATH                = DEF(ICC11_BINX64)\icl.exe
6701*_ICC11_X64_ASLDLINK_PATH             = DEF(ICC11_BINX64)\xilink.exe
6702
6703  DEBUG_ICC11_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
6704RELEASE_ICC11_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
6705NOOPT_ICC11_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
6706
6707  DEBUG_ICC11_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
6708RELEASE_ICC11_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
6709NOOPT_ICC11_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
6710
6711  DEBUG_ICC11_X64_NASM_FLAGS               = -Ox -f win64 -g
6712RELEASE_ICC11_X64_NASM_FLAGS               = -Ox -f win64
6713NOOPT_ICC11_X64_NASM_FLAGS                 = -O0 -f win64 -g
6714
6715  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
6716RELEASE_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:.rdata=.data
6717NOOPT_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
6718
6719      *_ICC11_X64_SLINK_FLAGS              = /nologo /LTCG
6720
6721
6722##################
6723# IPF definitions
6724##################
6725*_ICC11_IPF_CC_PATH                   = DEF(ICC11_BIN64)\icl.exe
6726# icl.exe needs cl.exe from Visual Studio
6727*_ICC11_IPF_CC_DLL                    = DEF(MS_VS_BIN)
6728*_ICC11_IPF_SLINK_PATH                = DEF(ICC11_BIN64)\xilib.exe
6729# xilib.exe needs lib.exe from Visual Studio
6730*_ICC11_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
6731*_ICC11_IPF_DLINK_PATH                = DEF(ICC11_BIN64)\xilink.exe
6732*_ICC11_IPF_PP_PATH                   = DEF(ICC11_BIN64)\icl.exe
6733*_ICC11_IPF_VFRPP_PATH                = DEF(ICC11_BIN64)\icl.exe
6734*_ICC11_IPF_APP_PATH                  = DEF(ICC11_BIN64)\icl.exe
6735*_ICC11_IPF_ASM_PATH                  = DEF(ICC11_BIN64)\ias.exe
6736*_ICC11_IPF_ASLCC_PATH                = DEF(ICC11_BIN64)\icl.exe
6737*_ICC11_IPF_ASLPP_PATH                = DEF(ICC11_BIN64)\icl.exe
6738*_ICC11_IPF_ASLDLINK_PATH             = DEF(ICC11_BIN64)\xilink.exe
6739
6740  DEBUG_ICC11_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
6741RELEASE_ICC11_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
6742NOOPT_ICC11_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
6743
6744  DEBUG_ICC11_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6745RELEASE_ICC11_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
6746NOOPT_ICC11_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6747  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
6748RELEASE_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
6749NOOPT_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
6750
6751      *_ICC11_IPF_SLINK_FLAGS              = /nologo
6752
6753##################
6754# EBC definitions
6755##################
6756*_ICC11_EBC_*_FAMILY              = INTEL
6757
6758*_ICC11_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
6759*_ICC11_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe
6760*_ICC11_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe
6761*_ICC11_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe
6762*_ICC11_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe
6763*_ICC11_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe
6764
6765*_ICC11_EBC_MAKE_FLAGS                 = /nologo
6766*_ICC11_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
6767*_ICC11_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
6768*_ICC11_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6769*_ICC11_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
6770*_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
6771
6772####################################################################################
6773#
6774# Intel(R) C++ Compiler Version 11.1
6775#
6776#   IA32 - Intel(R) C++ Compiler for applications running on IA32         (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
6777#   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)
6778#   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)
6779#   ASL  - Microsoft ACPI Source Language Compiler
6780#
6781####################################################################################
6782#   ICC11xASL              - Intel C Compiler V11.1
6783*_ICC11xASL_*_*_FAMILY                    = INTEL
6784
6785*_ICC11xASL_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6786*_ICC11xASL_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6787
6788*_ICC11xASL_*_MAKE_FLAGS                       = /nologo
6789*_ICC11xASL_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6790*_ICC11xASL_*_APP_FLAGS                        = /nologo /E /TC
6791*_ICC11xASL_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6792
6793*_ICC11xASL_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6794
6795##################
6796# ASL definitions
6797##################
6798*_ICC11xASL_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
6799*_ICC11xASL_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
6800*_ICC11xASL_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
6801*_ICC11xASL_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6802*_ICC11xASL_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6803*_ICC11xASL_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6804
6805##################
6806# IA32 definitions
6807##################
6808*_ICC11xASL_IA32_CC_PATH                  = DEF(ICC11_BIN32)\icl.exe
6809*_ICC11xASL_IA32_SLINK_PATH               = DEF(ICC11_BIN32)\xilib.exe
6810# xilib.exe needs lib.exe from Visual Studio
6811*_ICC11xASL_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6812*_ICC11xASL_IA32_DLINK_PATH               = DEF(ICC11_BIN32)\xilink.exe
6813*_ICC11xASL_IA32_PP_PATH                  = DEF(ICC11_BIN32)\icl.exe
6814*_ICC11xASL_IA32_VFRPP_PATH               = DEF(ICC11_BIN32)\icl.exe
6815*_ICC11xASL_IA32_APP_PATH                 = DEF(ICC11_BIN32)\icl.exe
6816*_ICC11xASL_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6817*_ICC11xASL_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6818*_ICC11xASL_IA32_ASLCC_PATH               = DEF(ICC11_BIN32)\icl.exe
6819*_ICC11xASL_IA32_ASLPP_PATH               = DEF(ICC11_BIN32)\icl.exe
6820*_ICC11xASL_IA32_ASLDLINK_PATH            = DEF(ICC11_BIN32)\xilink.exe
6821
6822  DEBUG_ICC11xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6823RELEASE_ICC11xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6824NOOPT_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
6825
6826  DEBUG_ICC11xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6827RELEASE_ICC11xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6828NOOPT_ICC11xASL_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6829
6830  DEBUG_ICC11xASL_IA32_NASM_FLAGS              = -Ox -f win32 -g
6831RELEASE_ICC11xASL_IA32_NASM_FLAGS              = -Ox -f win32
6832NOOPT_ICC11xASL_IA32_NASM_FLAGS                = -O0 -f win32 -g
6833
6834      *_ICC11xASL_IA32_SLINK_FLAGS             = /nologo
6835  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
6836RELEASE_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:.rdata=.data
6837NOOPT_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
6838
6839##################
6840# X64 definitions
6841##################
6842*_ICC11xASL_X64_CC_PATH                   = DEF(ICC11_BINX64)\icl.exe
6843*_ICC11xASL_X64_SLINK_PATH                = DEF(ICC11_BINX64)\xilib.exe
6844# xilib.exe needs lib.exe from Visual Studio
6845*_ICC11xASL_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6846*_ICC11xASL_X64_DLINK_PATH                = DEF(ICC11_BINX64)\xilink.exe
6847*_ICC11xASL_X64_PP_PATH                   = DEF(ICC11_BINX64)\icl.exe
6848*_ICC11xASL_X64_VFRPP_PATH                = DEF(ICC11_BINX64)\icl.exe
6849*_ICC11xASL_X64_APP_PATH                  = DEF(ICC11_BINX64)\icl.exe
6850*_ICC11xASL_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
6851*_ICC11xASL_X64_ASM_DLL                   = DEF(MS_VS_DLL)
6852*_ICC11xASL_X64_ASLCC_PATH                = DEF(ICC11_BINX64)\icl.exe
6853*_ICC11xASL_X64_ASLPP_PATH                = DEF(ICC11_BINX64)\icl.exe
6854*_ICC11xASL_X64_ASLDLINK_PATH             = DEF(ICC11_BINX64)\xilink.exe
6855
6856  DEBUG_ICC11xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
6857RELEASE_ICC11xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
6858NOOPT_ICC11xASL_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
6859
6860  DEBUG_ICC11xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
6861RELEASE_ICC11xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
6862NOOPT_ICC11xASL_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
6863
6864  DEBUG_ICC11xASL_X64_NASM_FLAGS               = -Ox -f win64 -g
6865RELEASE_ICC11xASL_X64_NASM_FLAGS               = -Ox -f win64
6866NOOPT_ICC11xASL_X64_NASM_FLAGS                 = -O0 -f win64 -g
6867
6868  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
6869RELEASE_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:.rdata=.data
6870NOOPT_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
6871
6872      *_ICC11xASL_X64_SLINK_FLAGS              = /nologo /LTCG
6873
6874
6875##################
6876# IPF definitions
6877##################
6878*_ICC11xASL_IPF_CC_PATH                   = DEF(ICC11_BIN64)\icl.exe
6879# icl.exe needs cl.exe from Visual Studio
6880*_ICC11xASL_IPF_CC_DLL                    = DEF(MS_VS_BIN)
6881*_ICC11xASL_IPF_SLINK_PATH                = DEF(ICC11_BIN64)\xilib.exe
6882# xilib.exe needs lib.exe from Visual Studio
6883*_ICC11xASL_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
6884*_ICC11xASL_IPF_DLINK_PATH                = DEF(ICC11_BIN64)\xilink.exe
6885*_ICC11xASL_IPF_PP_PATH                   = DEF(ICC11_BIN64)\icl.exe
6886*_ICC11xASL_IPF_VFRPP_PATH                = DEF(ICC11_BIN64)\icl.exe
6887*_ICC11xASL_IPF_APP_PATH                  = DEF(ICC11_BIN64)\icl.exe
6888*_ICC11xASL_IPF_ASM_PATH                  = DEF(ICC11_BIN64)\ias.exe
6889*_ICC11xASL_IPF_ASLCC_PATH                = DEF(ICC11_BIN64)\icl.exe
6890*_ICC11xASL_IPF_ASLPP_PATH                = DEF(ICC11_BIN64)\icl.exe
6891*_ICC11xASL_IPF_ASLDLINK_PATH             = DEF(ICC11_BIN64)\xilink.exe
6892
6893  DEBUG_ICC11xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
6894RELEASE_ICC11xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
6895NOOPT_ICC11xASL_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
6896
6897  DEBUG_ICC11xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6898RELEASE_ICC11xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
6899NOOPT_ICC11xASL_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
6900
6901  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
6902RELEASE_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
6903NOOPT_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
6904
6905      *_ICC11xASL_IPF_SLINK_FLAGS              = /nologo
6906
6907##################
6908# EBC definitions
6909##################
6910*_ICC11xASL_EBC_*_FAMILY              = INTEL
6911
6912*_ICC11xASL_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
6913*_ICC11xASL_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe
6914*_ICC11xASL_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe
6915*_ICC11xASL_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe
6916*_ICC11xASL_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe
6917*_ICC11xASL_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe
6918
6919*_ICC11xASL_EBC_MAKE_FLAGS                 = /nologo
6920*_ICC11xASL_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
6921*_ICC11xASL_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
6922*_ICC11xASL_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6923*_ICC11xASL_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
6924*_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
6925
6926
6927####################################################################################
6928#
6929# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
6930#
6931#   IA32 - Intel(R) C++ Compiler for applications running on IA32         (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
6932#   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)
6933#   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)
6934#   ASL  - Intel ACPI Source Language Compiler
6935#
6936####################################################################################
6937#   ICC11x86              - Intel C Compiler V11.1
6938*_ICC11x86_*_*_FAMILY                    = INTEL
6939
6940*_ICC11x86_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
6941*_ICC11x86_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
6942
6943*_ICC11x86_*_MAKE_FLAGS                       = /nologo
6944*_ICC11x86_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
6945*_ICC11x86_*_APP_FLAGS                        = /nologo /E /TC
6946*_ICC11x86_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
6947
6948*_ICC11x86_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
6949
6950##################
6951# ASL definitions
6952##################
6953*_ICC11x86_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
6954*_ICC11x86_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
6955*_ICC11x86_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
6956*_ICC11x86_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
6957*_ICC11x86_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
6958*_ICC11x86_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
6959
6960##################
6961# IA32 definitions
6962##################
6963*_ICC11x86_IA32_CC_PATH                  = DEF(ICC11_BIN32x86)\icl.exe
6964*_ICC11x86_IA32_SLINK_PATH               = DEF(ICC11_BIN32x86)\xilib.exe
6965# xilib.exe needs lib.exe from Visual Studio
6966*_ICC11x86_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
6967*_ICC11x86_IA32_DLINK_PATH               = DEF(ICC11_BIN32x86)\xilink.exe
6968*_ICC11x86_IA32_PP_PATH                  = DEF(ICC11_BIN32x86)\icl.exe
6969*_ICC11x86_IA32_VFRPP_PATH               = DEF(ICC11_BIN32x86)\icl.exe
6970*_ICC11x86_IA32_APP_PATH                 = DEF(ICC11_BIN32x86)\icl.exe
6971*_ICC11x86_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
6972*_ICC11x86_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
6973*_ICC11x86_IA32_ASLCC_PATH               = DEF(ICC11_BIN32x86)\icl.exe
6974*_ICC11x86_IA32_ASLPP_PATH               = DEF(ICC11_BIN32x86)\icl.exe
6975*_ICC11x86_IA32_ASLDLINK_PATH            = DEF(ICC11_BIN32x86)\xilink.exe
6976
6977  DEBUG_ICC11x86_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
6978RELEASE_ICC11x86_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
6979NOOPT_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
6980  DEBUG_ICC11x86_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
6981RELEASE_ICC11x86_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
6982NOOPT_ICC11x86_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
6983  DEBUG_ICC11x86_IA32_NASM_FLAGS              = -Ox -f win32 -g
6984RELEASE_ICC11x86_IA32_NASM_FLAGS              = -Ox -f win32
6985NOOPT_ICC11x86_IA32_NASM_FLAGS                = -O0 -f win32 -g
6986      *_ICC11x86_IA32_SLINK_FLAGS             = /nologo
6987  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
6988RELEASE_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:.rdata=.data
6989NOOPT_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
6990
6991##################
6992# X64 definitions
6993##################
6994*_ICC11x86_X64_CC_PATH                   = DEF(ICC11_BINX64x86)\icl.exe
6995*_ICC11x86_X64_SLINK_PATH                = DEF(ICC11_BINX64x86)\xilib.exe
6996# xilib.exe needs lib.exe from Visual Studio
6997*_ICC11x86_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
6998*_ICC11x86_X64_DLINK_PATH                = DEF(ICC11_BINX64x86)\xilink.exe
6999*_ICC11x86_X64_PP_PATH                   = DEF(ICC11_BINX64x86)\icl.exe
7000*_ICC11x86_X64_VFRPP_PATH                = DEF(ICC11_BINX64x86)\icl.exe
7001*_ICC11x86_X64_APP_PATH                  = DEF(ICC11_BINX64x86)\icl.exe
7002*_ICC11x86_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
7003*_ICC11x86_X64_ASM_DLL                   = DEF(MS_VS_DLL)
7004*_ICC11x86_X64_ASLCC_PATH                = DEF(ICC11_BINX64x86)\icl.exe
7005*_ICC11x86_X64_ASLPP_PATH                = DEF(ICC11_BINX64x86)\icl.exe
7006*_ICC11x86_X64_ASLDLINK_PATH             = DEF(ICC11_BINX64x86)\xilink.exe
7007
7008  DEBUG_ICC11x86_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
7009RELEASE_ICC11x86_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
7010NOOPT_ICC11x86_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
7011  DEBUG_ICC11x86_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
7012RELEASE_ICC11x86_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
7013NOOPT_ICC11x86_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
7014  DEBUG_ICC11x86_X64_NASM_FLAGS               = -Ox -f win64 -g
7015RELEASE_ICC11x86_X64_NASM_FLAGS               = -Ox -f win64
7016NOOPT_ICC11x86_X64_NASM_FLAGS                 = -O0 -f win64 -g
7017  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
7018RELEASE_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:.rdata=.data
7019NOOPT_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
7020
7021      *_ICC11x86_X64_SLINK_FLAGS              = /nologo /LTCG
7022
7023
7024##################
7025# IPF definitions
7026##################
7027*_ICC11x86_IPF_CC_PATH                   = DEF(ICC11_BIN64x86)\icl.exe
7028# icl.exe needs cl.exe from Visual Studio
7029*_ICC11x86_IPF_CC_DLL                    = DEF(MS_VS_BIN)
7030*_ICC11x86_IPF_SLINK_PATH                = DEF(ICC11_BIN64x86)\xilib.exe
7031# xilib.exe needs lib.exe from Visual Studio
7032*_ICC11x86_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
7033*_ICC11x86_IPF_DLINK_PATH                = DEF(ICC11_BIN64x86)\xilink.exe
7034*_ICC11x86_IPF_PP_PATH                   = DEF(ICC11_BIN64x86)\icl.exe
7035*_ICC11x86_IPF_VFRPP_PATH                = DEF(ICC11_BIN64x86)\icl.exe
7036*_ICC11x86_IPF_APP_PATH                  = DEF(ICC11_BIN64x86)\icl.exe
7037*_ICC11x86_IPF_ASM_PATH                  = DEF(ICC11_BIN64x86)\ias.exe
7038*_ICC11x86_IPF_ASLCC_PATH                = DEF(ICC11_BIN64x86)\icl.exe
7039*_ICC11x86_IPF_ASLPP_PATH                = DEF(ICC11_BIN64x86)\icl.exe
7040*_ICC11x86_IPF_ASLDLINK_PATH             = DEF(ICC11_BIN64x86)\xilink.exe
7041
7042  DEBUG_ICC11x86_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
7043RELEASE_ICC11x86_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
7044NOOPT_ICC11x86_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
7045
7046  DEBUG_ICC11x86_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
7047RELEASE_ICC11x86_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
7048NOOPT_ICC11x86_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
7049  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
7050RELEASE_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
7051NOOPT_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
7052
7053      *_ICC11x86_IPF_SLINK_FLAGS              = /nologo
7054
7055##################
7056# EBC definitions
7057##################
7058*_ICC11x86_EBC_*_FAMILY              = INTEL
7059
7060*_ICC11x86_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
7061*_ICC11x86_EBC_PP_PATH               = DEF(EBC_BINx86)\iec.exe
7062*_ICC11x86_EBC_VFRPP_PATH            = DEF(EBC_BINx86)\iec.exe
7063*_ICC11x86_EBC_CC_PATH               = DEF(EBC_BINx86)\iec.exe
7064*_ICC11x86_EBC_SLINK_PATH            = DEF(EBC_BINx86)\link.exe
7065*_ICC11x86_EBC_DLINK_PATH            = DEF(EBC_BINx86)\link.exe
7066
7067*_ICC11x86_EBC_MAKE_FLAGS                 = /nologo
7068*_ICC11x86_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
7069*_ICC11x86_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
7070*_ICC11x86_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
7071*_ICC11x86_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
7072*_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
7073
7074
7075####################################################################################
7076#
7077# Intel(R) C++ Compiler Version 11.1 x86 (32-bit on 64-bit OS)
7078#
7079#   IA32 - Intel(R) C++ Compiler for applications running on IA32         (Version 11.1 Build 072 Package ID: w_cproc_p_11.1.072_ia32)
7080#   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)
7081#   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)
7082#   ASL  - Microsoft ACPI Source Language Compiler
7083#
7084####################################################################################
7085#   ICC11x86xASL              - Intel C Compiler V11.1
7086*_ICC11x86xASL_*_*_FAMILY                    = INTEL
7087
7088*_ICC11x86xASL_*_MAKE_PATH                   = DEF(MS_VS_BIN)\nmake.exe
7089*_ICC11x86xASL_*_RC_PATH                     = DEF(MS_VS_BIN)\rc.exe
7090
7091*_ICC11x86xASL_*_MAKE_FLAGS                       = /nologo
7092*_ICC11x86xASL_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
7093*_ICC11x86xASL_*_APP_FLAGS                        = /nologo /E /TC
7094*_ICC11x86xASL_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h
7095
7096*_ICC11x86xASL_*_ASM16_PATH      = DEF(MS_VS_BIN)\ml.exe
7097
7098##################
7099# ASL definitions
7100##################
7101*_ICC11x86xASL_*_ASL_PATH        = DEF(WIN_ASL_BIN)
7102*_ICC11x86xASL_*_ASL_FLAGS       =
7103*_ICC11x86xASL_*_ASL_OUTFLAGS    = DEF(MS_ASL_OUTFLAGS)
7104*_ICC11x86xASL_*_ASLCC_FLAGS     = DEF(ICC_WIN_ASLCC_FLAGS)
7105*_ICC11x86xASL_*_ASLPP_FLAGS     = DEF(ICC_WIN_ASLPP_FLAGS)
7106*_ICC11x86xASL_*_ASLDLINK_FLAGS  = DEF(ICC_WIN_ASLDLINK_FLAGS)
7107
7108##################
7109# IA32 definitions
7110##################
7111*_ICC11x86xASL_IA32_CC_PATH                  = DEF(ICC11_BIN32x86)\icl.exe
7112*_ICC11x86xASL_IA32_SLINK_PATH               = DEF(ICC11_BIN32x86)\xilib.exe
7113# xilib.exe needs lib.exe from Visual Studio
7114*_ICC11x86xASL_IA32_SLINK_DLL                = DEF(MS_VS_BIN)
7115*_ICC11x86xASL_IA32_DLINK_PATH               = DEF(ICC11_BIN32x86)\xilink.exe
7116*_ICC11x86xASL_IA32_PP_PATH                  = DEF(ICC11_BIN32x86)\icl.exe
7117*_ICC11x86xASL_IA32_VFRPP_PATH               = DEF(ICC11_BIN32x86)\icl.exe
7118*_ICC11x86xASL_IA32_APP_PATH                 = DEF(ICC11_BIN32x86)\icl.exe
7119*_ICC11x86xASL_IA32_ASM_PATH                 = DEF(MS_VS_BIN)\ml.exe
7120*_ICC11x86xASL_IA32_ASM_DLL                  = DEF(MS_VS_DLL)
7121*_ICC11x86xASL_IA32_ASLCC_PATH               = DEF(ICC11_BIN32x86)\icl.exe
7122*_ICC11x86xASL_IA32_ASLPP_PATH               = DEF(ICC11_BIN32x86)\icl.exe
7123*_ICC11x86xASL_IA32_ASLDLINK_PATH            = DEF(ICC11_BIN32x86)\xilink.exe
7124
7125  DEBUG_ICC11x86xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
7126RELEASE_ICC11x86xASL_IA32_CC_FLAGS                = /nologo /c /WX /W4 /Gy /Gs32768 /D UNICODE /O1b2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
7127NOOPT_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
7128
7129  DEBUG_ICC11x86xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi
7130RELEASE_ICC11x86xASL_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd
7131NOOPT_ICC11x86xASL_IA32_ASM_FLAGS                 = /nologo /c /WX /W3 /Zd /Zi
7132  DEBUG_ICC11x86xASL_IA32_NASM_FLAGS              = -Ox -f win32 -g
7133RELEASE_ICC11x86xASL_IA32_NASM_FLAGS              = -Ox -f win32
7134NOOPT_ICC11x86xASL_IA32_NASM_FLAGS                = -O0 -f win32 -g
7135      *_ICC11x86xASL_IA32_SLINK_FLAGS             = /nologo
7136  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
7137RELEASE_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:.rdata=.data
7138NOOPT_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
7139
7140##################
7141# X64 definitions
7142##################
7143*_ICC11x86xASL_X64_CC_PATH                   = DEF(ICC11_BINX64x86)\icl.exe
7144*_ICC11x86xASL_X64_SLINK_PATH                = DEF(ICC11_BINX64x86)\xilib.exe
7145# xilib.exe needs lib.exe from Visual Studio
7146*_ICC11x86xASL_X64_SLINK_DLL                 = DEF(MS_VS_BIN)
7147*_ICC11x86xASL_X64_DLINK_PATH                = DEF(ICC11_BINX64x86)\xilink.exe
7148*_ICC11x86xASL_X64_PP_PATH                   = DEF(ICC11_BINX64x86)\icl.exe
7149*_ICC11x86xASL_X64_VFRPP_PATH                = DEF(ICC11_BINX64x86)\icl.exe
7150*_ICC11x86xASL_X64_APP_PATH                  = DEF(ICC11_BINX64x86)\icl.exe
7151*_ICC11x86xASL_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe
7152*_ICC11x86xASL_X64_ASM_DLL                   = DEF(MS_VS_DLL)
7153*_ICC11x86xASL_X64_ASLCC_PATH                = DEF(ICC11_BINX64x86)\icl.exe
7154*_ICC11x86xASL_X64_ASLPP_PATH                = DEF(ICC11_BINX64x86)\icl.exe
7155*_ICC11x86xASL_X64_ASLDLINK_PATH             = DEF(ICC11_BINX64x86)\xilink.exe
7156
7157  DEBUG_ICC11x86xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
7158RELEASE_ICC11x86xASL_X64_CC_FLAGS                 = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
7159NOOPT_ICC11x86xASL_X64_CC_FLAGS                   = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF /Od
7160
7161  DEBUG_ICC11x86xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi
7162RELEASE_ICC11x86xASL_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd
7163NOOPT_ICC11x86xASL_X64_ASM_FLAGS                  = /nologo /c /WX /W3 /Cx /Zd /Zi
7164  DEBUG_ICC11x86xASL_X64_NASM_FLAGS               = -Ox -f win64 -g
7165RELEASE_ICC11x86xASL_X64_NASM_FLAGS               = -Ox -f win64
7166NOOPT_ICC11x86xASL_X64_NASM_FLAGS                 = -O0 -f win64 -g
7167
7168  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
7169RELEASE_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:.rdata=.data
7170NOOPT_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
7171
7172      *_ICC11x86xASL_X64_SLINK_FLAGS              = /nologo /LTCG
7173
7174
7175##################
7176# IPF definitions
7177##################
7178*_ICC11x86xASL_IPF_CC_PATH                   = DEF(ICC11_BIN64x86)\icl.exe
7179# icl.exe needs cl.exe from Visual Studio
7180*_ICC11x86xASL_IPF_CC_DLL                    = DEF(MS_VS_BIN)
7181*_ICC11x86xASL_IPF_SLINK_PATH                = DEF(ICC11_BIN64x86)\xilib.exe
7182# xilib.exe needs lib.exe from Visual Studio
7183*_ICC11x86xASL_IPF_SLINK_DLL                 = DEF(MS_VS_BIN);DEF(MS_VS_DLL)
7184*_ICC11x86xASL_IPF_DLINK_PATH                = DEF(ICC11_BIN64x86)\xilink.exe
7185*_ICC11x86xASL_IPF_PP_PATH                   = DEF(ICC11_BIN64x86)\icl.exe
7186*_ICC11x86xASL_IPF_VFRPP_PATH                = DEF(ICC11_BIN64x86)\icl.exe
7187*_ICC11x86xASL_IPF_APP_PATH                  = DEF(ICC11_BIN64x86)\icl.exe
7188*_ICC11x86xASL_IPF_ASM_PATH                  = DEF(ICC11_BIN64x86)\ias.exe
7189*_ICC11x86xASL_IPF_ASLCC_PATH                = DEF(ICC11_BIN64x86)\icl.exe
7190*_ICC11x86xASL_IPF_ASLPP_PATH                = DEF(ICC11_BIN64x86)\icl.exe
7191*_ICC11x86xASL_IPF_ASLDLINK_PATH             = DEF(ICC11_BIN64x86)\xilink.exe
7192
7193  DEBUG_ICC11x86xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
7194RELEASE_ICC11x86xASL_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding
7195NOOPT_ICC11x86xASL_IPF_CC_FLAGS                   = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Qfreestanding /Zi
7196  DEBUG_ICC11x86xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
7197RELEASE_ICC11x86xASL_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
7198NOOPT_ICC11x86xASL_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
7199  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
7200RELEASE_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
7201NOOPT_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
7202      *_ICC11x86xASL_IPF_SLINK_FLAGS              = /nologo
7203
7204##################
7205# EBC definitions
7206##################
7207*_ICC11x86xASL_EBC_*_FAMILY              = INTEL
7208
7209*_ICC11x86xASL_EBC_MAKE_PATH             = DEF(MS_VS_BIN)\nmake.exe
7210*_ICC11x86xASL_EBC_PP_PATH               = DEF(EBC_BINx86)\iec.exe
7211*_ICC11x86xASL_EBC_VFRPP_PATH            = DEF(EBC_BINx86)\iec.exe
7212*_ICC11x86xASL_EBC_CC_PATH               = DEF(EBC_BINx86)\iec.exe
7213*_ICC11x86xASL_EBC_SLINK_PATH            = DEF(EBC_BINx86)\link.exe
7214*_ICC11x86xASL_EBC_DLINK_PATH            = DEF(EBC_BINx86)\link.exe
7215
7216*_ICC11x86xASL_EBC_MAKE_FLAGS                 = /nologo
7217*_ICC11x86xASL_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
7218*_ICC11x86xASL_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
7219*_ICC11x86xASL_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
7220*_ICC11x86xASL_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
7221*_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
7222
7223
7224####################################################################################
7225#
7226# MYTOOLS
7227#   IA32 - Microsoft Visual Studio 2008 Team Suite
7228#   X64  - Microsoft Visual Studio 2008 Team Suite
7229#   IPF  - Microsoft Windows DDK 3790.1830
7230#   EBC  - Intel EFI Byte Code Compiler
7231#
7232####################################################################################
7233#   MYTOOLS          - Settings compatible with previous versions of tools_def.template
7234*_MYTOOLS_*_*_FAMILY                = MSFT
7235
7236##################
7237# ASL definitions
7238##################
7239*_MYTOOLS_*_ASL_PATH        = DEF(DEFAULT_WIN_ASL_BIN)
7240*_MYTOOLS_*_ASL_FLAGS       = DEF(DEFAULT_WIN_ASL_FLAGS)
7241*_MYTOOLS_*_ASL_OUTFLAGS    = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
7242*_MYTOOLS_*_ASLCC_FLAGS     = DEF(MSFT_ASLCC_FLAGS)
7243*_MYTOOLS_*_ASLPP_FLAGS     = DEF(MSFT_ASLPP_FLAGS)
7244*_MYTOOLS_*_ASLDLINK_FLAGS  = DEF(MSFT_ASLDLINK_FLAGS)
7245
7246
7247*_MYTOOLS_*_MAKE_FLAGS                   = /nologo
7248*_MYTOOLS_*_VFRPP_FLAGS                  = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
7249*_MYTOOLS_*_APP_FLAGS                    = /nologo /E /TC
7250*_MYTOOLS_*_PP_FLAGS                     = /nologo /E /TC /FIAutoGen.h
7251*_MYTOOLS_*_SLINK_FLAGS                  = /nologo /LTCG
7252
7253*_MYTOOLS_*_ASM16_PATH      = DEF(VS2008_BIN)\ml.exe
7254
7255##################
7256# IA32 definitions
7257##################
7258*_MYTOOLS_IA32_*_DLL                = DEF(VS2008_DLL)
7259
7260*_MYTOOLS_IA32_MAKE_PATH            = DEF(VS2008_BIN)\nmake.exe
7261*_MYTOOLS_IA32_CC_PATH              = DEF(VS2008_BIN)\cl.exe
7262*_MYTOOLS_IA32_SLINK_PATH           = DEF(VS2008_BIN)\lib.exe
7263*_MYTOOLS_IA32_DLINK_PATH           = DEF(VS2008_BIN)\link.exe
7264*_MYTOOLS_IA32_PP_PATH              = DEF(VS2008_BIN)\cl.exe
7265*_MYTOOLS_IA32_VFRPP_PATH           = DEF(VS2008_BIN)\cl.exe
7266*_MYTOOLS_IA32_APP_PATH             = DEF(VS2008_BIN)\cl.exe
7267*_MYTOOLS_IA32_ASM_PATH             = DEF(VS2008_BIN)\ml.exe
7268*_MYTOOLS_IA32_ASLCC_PATH           = DEF(VS2008_BIN)\cl.exe
7269*_MYTOOLS_IA32_ASLPP_PATH           = DEF(VS2008_BIN)\cl.exe
7270*_MYTOOLS_IA32_ASLDLINK_PATH        = DEF(VS2008_BIN)\link.exe
7271*_MYTOOLS_IA32_RC_PATH              = DEF(WINSDK_BIN)\rc.exe
7272
7273  DEBUG_MYTOOLS_IA32_CC_FLAGS            = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
7274RELEASE_MYTOOLS_IA32_CC_FLAGS            = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
7275NOOPT_MYTOOLS_IA32_CC_FLAGS              = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
7276  DEBUG_MYTOOLS_IA32_ASM_FLAGS           = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
7277RELEASE_MYTOOLS_IA32_ASM_FLAGS           = /nologo /c /WX /W3 /coff /Cx /Zd
7278NOOPT_MYTOOLS_IA32_ASM_FLAGS             = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
7279  DEBUG_MYTOOLS_IA32_NASM_FLAGS          = -Ox -f win32 -g
7280RELEASE_MYTOOLS_IA32_NASM_FLAGS          = -Ox -f win32
7281NOOPT_MYTOOLS_IA32_NASM_FLAGS            = -O0 -f win32 -g
7282  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
7283RELEASE_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:.rdata=.data /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
7284NOOPT_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
7285
7286##################
7287# x64 definitions
7288##################
7289*_MYTOOLS_X64_*_DLL                 = DEF(VS2008_DLL)
7290
7291*_MYTOOLS_X64_MAKE_PATH             = DEF(VS2008_BIN)\nmake.exe
7292*_MYTOOLS_X64_CC_PATH               = DEF(VS2008_BINX64)\cl.exe
7293*_MYTOOLS_X64_SLINK_PATH            = DEF(VS2008_BINX64)\lib.exe
7294*_MYTOOLS_X64_DLINK_PATH            = DEF(VS2008_BINX64)\link.exe
7295*_MYTOOLS_X64_PP_PATH               = DEF(VS2008_BINX64)\cl.exe
7296*_MYTOOLS_X64_VFRPP_PATH            = DEF(VS2008_BINX64)\cl.exe
7297*_MYTOOLS_X64_APP_PATH              = DEF(VS2008_BINX64)\cl.exe
7298*_MYTOOLS_X64_ASM_PATH              = DEF(VS2008_BINX64)\ml64.exe
7299*_MYTOOLS_X64_ASLCC_PATH            = DEF(VS2008_BINX64)\cl.exe
7300*_MYTOOLS_X64_ASLPP_PATH            = DEF(VS2008_BINX64)\cl.exe
7301*_MYTOOLS_X64_ASLDLINK_PATH         = DEF(VS2008_BINX64)\link.exe
7302*_MYTOOLS_X64_RC_PATH               = DEF(WINSDK_BIN)\rc.exe
7303
7304  DEBUG_MYTOOLS_X64_CC_FLAGS             = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
7305RELEASE_MYTOOLS_X64_CC_FLAGS             = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
7306NOOPT_MYTOOLS_X64_CC_FLAGS               = /nologo /c /WX /GS- /W4 /Gs32768 /Gy /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
7307  DEBUG_MYTOOLS_X64_ASM_FLAGS            = /nologo /c /WX /W3 /Cx /Zd /Zi
7308RELEASE_MYTOOLS_X64_ASM_FLAGS            = /nologo /c /WX /W3 /Cx /Zd
7309NOOPT_MYTOOLS_X64_ASM_FLAGS              = /nologo /c /WX /W3 /Cx /Zd /Zi
7310  DEBUG_MYTOOLS_X64_NASM_FLAGS           = -Ox -f win64 -g
7311RELEASE_MYTOOLS_X64_NASM_FLAGS           = -Ox -f win64
7312NOOPT_MYTOOLS_X64_NASM_FLAGS             = -O0 -f win64 -g
7313  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
7314RELEASE_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:.rdata=.data
7315NOOPT_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
7316
7317##################
7318# IPF definitions
7319##################
7320*_MYTOOLS_IPF_MAKE_PATH             = DEF(WINDDK_BIN32)\nmake.exe
7321*_MYTOOLS_IPF_CC_PATH               = DEF(WINDDK_BIN64)\cl.exe
7322*_MYTOOLS_IPF_SLINK_PATH            = DEF(WINDDK_BIN64)\lib.exe
7323*_MYTOOLS_IPF_DLINK_PATH            = DEF(WINDDK_BIN64)\link.exe
7324*_MYTOOLS_IPF_PP_PATH               = DEF(WINDDK_BIN64)\cl.exe
7325*_MYTOOLS_IPF_VFRPP_PATH            = DEF(WINDDK_BIN64)\cl.exe
7326*_MYTOOLS_IPF_APP_PATH              = DEF(WINDDK_BIN64)\cl.exe
7327*_MYTOOLS_IPF_ASM_PATH              = DEF(WINDDK_BIN64)\ias.exe
7328*_MYTOOLS_IPF_ASLCC_PATH            = DEF(WINDDK_BIN64)\cl.exe
7329*_MYTOOLS_IPF_ASLPP_PATH            = DEF(WINDDK_BIN64)\cl.exe
7330*_MYTOOLS_IPF_ASLDLINK_PATH         = DEF(WINDDK_BIN64)\link.exe
7331*_MYTOOLS_IPF_RC_PATH               = DEF(WINDDK_BIN32)\rc.exe
7332
7333      *_MYTOOLS_IPF_ASM_OUTPUT           = "-o "
7334  DEBUG_MYTOOLS_IPF_CC_FLAGS             = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi
7335RELEASE_MYTOOLS_IPF_CC_FLAGS             = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32
7336NOOPT_MYTOOLS_IPF_CC_FLAGS               = /nologo /c /WX /GS- /X /W4 /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi /Od
7337  DEBUG_MYTOOLS_IPF_ASM_FLAGS            = -N us -X explicit -M ilp64 -N so -W4 -d debug
7338RELEASE_MYTOOLS_IPF_ASM_FLAGS            = -N us -X explicit -M ilp64 -N so -W4
7339NOOPT_MYTOOLS_IPF_ASM_FLAGS              = -N us -X explicit -M ilp64 -N so -W4 -d debug
7340  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
7341RELEASE_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
7342NOOPT_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
7343      *_MYTOOLS_IPF_SLINK_FLAGS          = /nologo /LTCG
7344
7345##################
7346# EBC definitions
7347##################
7348*_MYTOOLS_EBC_*_FAMILY              = INTEL
7349
7350*_MYTOOLS_EBC_MAKE_PATH             = DEF(VS2005_BIN)\nmake.exe
7351*_MYTOOLS_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe
7352*_MYTOOLS_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe
7353*_MYTOOLS_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe
7354*_MYTOOLS_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe
7355*_MYTOOLS_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe
7356*_MYTOOLS_EBC_RC_PATH               = DEF(VS2005_BIN)\rc.exe
7357
7358*_MYTOOLS_EBC_MAKE_FLAGS                 = /nologo
7359*_MYTOOLS_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h
7360*_MYTOOLS_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
7361*_MYTOOLS_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
7362*_MYTOOLS_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC
7363*_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
7364
7365
7366####################################################################################
7367#
7368# Xcode Support for building on Mac OS X (Snow Leopard)
7369#
7370####################################################################################
7371#   XCODE32         - Xcode 3.2 Tools (Snow Leopard)
7372*_XCODE32_*_*_FAMILY            = GCC
7373*_XCODE32_*_*_BUILDRULEFAMILY   = XCODE
7374*_XCODE32_*_*_BUILDRULEORDER    = S s nasm
7375
7376
7377*_XCODE32_*_ASL_PATH          = /usr/bin/iasl
7378
7379*_XCODE32_*_MAKE_PATH        = make
7380
7381*_XCODE32_*_DSYMUTIL_PATH    = /usr/bin/dsymutil
7382
7383# This tool needs to be installed seperatly from Xcode 3.2
7384*_XCODE32_*_MTOC_PATH        = /usr/local/bin/mtoc
7385
7386  DEBUG_XCODE32_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
7387RELEASE_XCODE32_*_MTOC_FLAGS = -align 0x20
7388
7389##################
7390# IA32 definitions
7391##################
7392*_XCODE32_IA32_CC_PATH      = gcc
7393*_XCODE32_IA32_SLINK_PATH   = libtool
7394*_XCODE32_IA32_DLINK_PATH   = ld
7395*_XCODE32_IA32_ASM_PATH     = as
7396*_XCODE32_IA32_PP_PATH      = gcc
7397*_XCODE32_IA32_VFRPP_PATH   = gcc
7398*_XCODE32_IA32_ASL_PATH     = iasl
7399*_XCODE32_IA32_ASLCC_PATH   = gcc
7400*_XCODE32_IA32_ASLPP_PATH   = gcc
7401*_XCODE32_IA32_ASLDLINK_PATH  = ld
7402
7403  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
7404RELEASE_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
7405*_XCODE32_IA32_SLINK_FLAGS      = -static -o
7406  DEBUG_XCODE32_IA32_ASM_FLAGS  = -arch i386 -g
7407RELEASE_XCODE32_IA32_ASM_FLAGS  = -arch i386
7408*_XCODE32_IA32_NASM_FLAGS       = -f macho32
7409*_XCODE32_IA32_PP_FLAGS         = -arch i386 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
7410*_XCODE32_IA32_VFRPP_FLAGS      = -arch i386 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7411  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
7412RELEASE_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
7413
7414*_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
7415*_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
7416*_XCODE32_IA32_ASLPP_FLAGS      = -arch i386 -x c -E -include AutoGen.h
7417*_XCODE32_IA32_ASL_FLAGS        =
7418
7419##################
7420# X64 definitions - still a work in progress. This tool chain does not produce
7421# the correct ABI, it is just used to compile the code....
7422##################
7423*_XCODE32_X64_CC_PATH       = gcc
7424*_XCODE32_X64_SLINK_PATH    = libtool
7425*_XCODE32_X64_DLINK_PATH    = ld
7426*_XCODE32_X64_ASM_PATH      = as
7427*_XCODE32_X64_PP_PATH       = gcc
7428*_XCODE32_X64_VFRPP_PATH    = gcc
7429*_XCODE32_X64_ASL_PATH     = iasl
7430*_XCODE32_X64_ASLCC_PATH   = gcc
7431*_XCODE32_X64_ASLPP_PATH   = gcc
7432*_XCODE32_X64_ASLDLINK_PATH  = ld
7433
7434*_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
7435*_XCODE32_X64_SLINK_FLAGS      = -static -o
7436
7437  DEBUG_XCODE32_X64_ASM_FLAGS  = -arch x86_64 -g
7438RELEASE_XCODE32_X64_ASM_FLAGS  = -arch x86_64
7439*_XCODE32_X64_NASM_FLAGS       = -f macho64
7440*_XCODE32_X64_PP_FLAGS         = -arch x86_64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
7441*_XCODE32_X64_VFRPP_FLAGS      = -arch x86_64 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7442
7443  DEBUG_XCODE32_X64_CC_FLAGS   = -arch x86_64 -save-temps -g -O0 -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
7444RELEASE_XCODE32_X64_CC_FLAGS   = -arch x86_64 -Oz -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
7445
7446##################
7447# ARM definitions - (Assumes iPhone SDK installed on Snow Leopard)
7448##################
7449
7450*_XCODE32_ARM_ARCHCC_FLAGS    = -arch armv7 -march=armv7 -mthumb
7451*_XCODE32_ARM_ARCHASM_FLAGS   = -arch armv7
7452*_XCODE32_ARM_ARCHDLINK_FLAGS = -arch armv7
7453*_XCODE32_ARM_PLATFORM_FLAGS  =
7454
7455*_XCODE32_ARM_CC_PATH       = DEF(IPHONE_TOOLS)/usr/bin/gcc
7456*_XCODE32_ARM_SLINK_PATH    = DEF(IPHONE_TOOLS)/usr/bin/libtool
7457*_XCODE32_ARM_DLINK_PATH    = ld
7458*_XCODE32_ARM_ASM_PATH      = DEF(IPHONE_TOOLS)/usr/bin/as
7459*_XCODE32_ARM_PP_PATH       = DEF(IPHONE_TOOLS)/usr/bin/gcc
7460*_XCODE32_ARM_VFRPP_PATH    = DEF(IPHONE_TOOLS)/usr/bin/gcc
7461
7462  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
7463RELEASE_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
7464
7465*_XCODE32_ARM_SLINK_FLAGS      = -static -o
7466
7467  DEBUG_XCODE32_ARM_ASM_FLAGS  = $(ARCHASM_FLAGS) -g
7468RELEASE_XCODE32_ARM_ASM_FLAGS  = $(ARCHASM_FLAGS)
7469*_XCODE32_ARM_PP_FLAGS         = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
7470*_XCODE32_ARM_VFRPP_FLAGS      = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7471
7472  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
7473RELEASE_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
7474
7475
7476####################################################################################
7477#
7478# Clang Support for building on Mac OS X
7479#
7480####################################################################################
7481#   CLANG         - clang that produce Mach-O with EFI x86_64 ABI
7482*_XCLANG_*_*_FAMILY            = GCC
7483*_XCLANG_*_*_BUILDRULEFAMILY   = XCODE
7484*_XCLANG_*_*_BUILDRULEORDER    = S s nasm
7485
7486*_XCLANG_*_ASL_PATH          = /usr/bin/iasl
7487
7488*_XCLANG_*_MAKE_PATH        = make
7489*_XCLANG_*_DSYMUTIL_PATH    = /usr/bin/dsymutil
7490
7491      *_*_*_MTOC_PATH  = /usr/local/bin/mtoc
7492
7493  DEBUG_XCLANG_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
7494RELEASE_XCLANG_*_MTOC_FLAGS = -align 0x20
7495
7496
7497*_XCLANG_*_CC_PATH      = ENV(CLANG_BIN)clang
7498*_XCLANG_*_SLINK_PATH   = libtool
7499*_XCLANG_*_DLINK_PATH   = ld
7500*_XCLANG_*_ASM_PATH     = as
7501*_XCLANG_*_PP_PATH      = ENV(CLANG_BIN)clang
7502*_XCLANG_*_VFRPP_PATH   = ENV(CLANG_BIN)clang
7503*_XCLANG_*_ASL_PATH     = iasl
7504*_XCLANG_*_ASLCC_PATH   = ENV(CLANG_BIN)clang
7505*_XCLANG_*_ASLPP_PATH   = ENV(CLANG_BIN)clang
7506*_XCLANG_*_ASLDLINK_PATH  = ld
7507
7508####################
7509# IA-32 definitions
7510####################
7511  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
7512RELEASE_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
7513*_XCLANG_IA32_SLINK_FLAGS      = -static -o
7514  DEBUG_XCLANG_IA32_ASM_FLAGS  = -arch i386 -g
7515RELEASE_XCLANG_IA32_ASM_FLAGS  = -arch i386
7516*_XCLANG_IA32_NASM_FLAGS       = -f macho32
7517
7518  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
7519RELEASE_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
7520
7521
7522##################
7523# X64 definitions
7524##################
7525  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
7526RELEASE_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
7527*_XCLANG_X64_SLINK_FLAGS      = -static -o
7528  DEBUG_XCLANG_X64_ASM_FLAGS  = -arch x86_64 -g
7529RELEASE_XCLANG_X64_ASM_FLAGS  = -arch x86_64
7530*_XCLANG_X64_NASM_FLAGS       = -f macho64
7531*_XCLANG_*_PP_FLAGS         = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
7532*_XCLANG_*_VFRPP_FLAGS      = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7533
7534
7535  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
7536RELEASE_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
7537*_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
7538*_XCLANG_*_ASLDLINK_FLAGS   = -e _main -preload -segalign 0x20  -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
7539*_XCLANG_*_ASLPP_FLAGS      = -x c -E -include AutoGen.h
7540*_XCLANG_*_ASL_FLAGS        =
7541
7542#
7543# XCODE5 support
7544#
7545
7546*_XCODE5_*_*_FAMILY            = GCC
7547*_XCODE5_*_*_BUILDRULEFAMILY   = XCODE
7548*_XCODE5_*_*_BUILDRULEORDER    = S s nasm
7549
7550*_XCODE5_*_ASL_PATH          = /usr/bin/iasl
7551
7552*_XCODE5_*_MAKE_PATH        = make
7553*_XCODE5_*_DSYMUTIL_PATH    = /usr/bin/dsymutil
7554
7555  DEBUG_XCODE5_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
7556  NOOPT_XCODE5_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
7557RELEASE_XCODE5_*_MTOC_FLAGS = -align 0x20
7558
7559#
7560# use xcode-select to change Xcode version of command line tools
7561#
7562*_XCODE5_*_CC_PATH      = clang
7563*_XCODE5_*_SLINK_PATH   = libtool
7564*_XCODE5_*_DLINK_PATH   = ld
7565*_XCODE5_*_ASM_PATH     = as
7566*_XCODE5_*_PP_PATH      = clang
7567*_XCODE5_*_VFRPP_PATH   = clang
7568*_XCODE5_*_ASL_PATH     = iasl
7569*_XCODE5_*_ASLCC_PATH   = clang
7570*_XCODE5_*_ASLPP_PATH   = clang
7571*_XCODE5_*_ASLDLINK_PATH  = ld
7572
7573####################
7574# IA-32 definitions
7575####################
7576  DEBUG_XCODE5_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
7577  NOOPT_XCODE5_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
7578RELEASE_XCODE5_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
7579
7580*_XCODE5_IA32_SLINK_FLAGS      = -static -o
7581  DEBUG_XCODE5_IA32_ASM_FLAGS  = -arch i386 -g
7582  NOOPT_XCODE5_IA32_ASM_FLAGS  = -arch i386 -g
7583RELEASE_XCODE5_IA32_ASM_FLAGS  = -arch i386
7584      *_XCODE5_IA32_NASM_FLAGS = -f macho32
7585
7586
7587  DEBUG_XCODE5_IA32_CC_FLAGS   = -arch i386 -c -g -Os       -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
7588RELEASE_XCODE5_IA32_CC_FLAGS   = -arch i386 -c    -Os       -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
7589  NOOPT_XCODE5_IA32_CC_FLAGS   = -arch i386 -c -g -O0       -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
7590
7591
7592
7593##################
7594# X64 definitions
7595##################
7596  DEBUG_XCODE5_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
7597  NOOPT_XCODE5_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
7598RELEASE_XCODE5_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
7599
7600*_XCODE5_X64_SLINK_FLAGS      = -static -o
7601  DEBUG_XCODE5_X64_ASM_FLAGS  = -arch x86_64 -g
7602  NOOPT_XCODE5_X64_ASM_FLAGS  = -arch x86_64 -g
7603RELEASE_XCODE5_X64_ASM_FLAGS  = -arch x86_64
7604      *_XCODE5_X64_NASM_FLAGS = -f macho64
7605*_XCODE5_*_PP_FLAGS         = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
7606*_XCODE5_*_VFRPP_FLAGS      = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7607
7608
7609  DEBUG_XCODE5_X64_CC_FLAGS   = -target x86_64-pc-win32-macho -c -g -Os       -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
7610  NOOPT_XCODE5_X64_CC_FLAGS   = -target x86_64-pc-win32-macho -c -g -O0       -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
7611RELEASE_XCODE5_X64_CC_FLAGS   = -target x86_64-pc-win32-macho -c    -Os       -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
7612
7613*_XCODE5_*_ASLCC_FLAGS      = -x c -save-temps -g -O0 -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h
7614*_XCODE5_*_ASLDLINK_FLAGS   = -e _ReferenceAcpiTable -preload -segalign 0x20  -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
7615*_XCODE5_*_ASLPP_FLAGS      = -x c -E -include AutoGen.h
7616*_XCODE5_*_ASL_FLAGS        =
7617*_XCODE5_*_ASL_OUTFLAGS     = DEF(IASL_OUTFLAGS)
7618
7619####################################################################################
7620#
7621# RVCT Common
7622#
7623####################################################################################
7624
7625DEFINE RVCT_ALL_ASM_FLAGS   = --diag_suppress=1786 --diag_error=warning --apcs /interwork
7626DEFINE RVCT_ALL_CC_FLAGS    = --c90 --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --enum_is_int --preinclude AutoGen.h --diag_suppress=186,188,1,111,68 --diag_warning 167 --diag_error=warning --diag_style=ide --protect_stack
7627DEFINE RVCT_ALL_DLINK_FLAGS = --no_scanlib --no_exceptions --datacompressor off --strict --symbols --diag_style=ide --no_legacyalign --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align32.sct
7628
7629####################################################################################
7630#
7631# ARM RealView Tools - Windows
7632#
7633####################################################################################
7634#   RVCT         - Tools from ARM
7635
7636*_RVCT_*_*_FAMILY          = RVCT
7637
7638#
7639# Use default values, or override in DSC file
7640#
7641*_RVCT_ARM_ARCHCC_FLAGS    = --thumb --fpu=softvfp
7642*_RVCT_ARM_ARCHASM_FLAGS   =
7643*_RVCT_ARM_ARCHDLINK_FLAGS =
7644*_RVCT_ARM_PLATFORM_FLAGS  = --cpu 7-A
7645
7646  DEBUG_RVCT_ARM_DLINK_FLAGS     = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
7647RELEASE_RVCT_ARM_DLINK_FLAGS     = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
7648
7649
7650*_RVCT_ARM_ASM_FLAGS       = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
7651*_RVCT_ARM_PP_FLAGS        = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E --preinclude AutoGen.h
7652*_RVCT_ARM_VFRPP_FLAGS     = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E  -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7653*_RVCT_ARM_MAKE_PATH       = nmake /NOLOGO
7654*_RVCT_ARM_SLINK_FLAGS     = --partial -o
7655  DEBUG_RVCT_ARM_CC_FLAGS  = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
7656RELEASE_RVCT_ARM_CC_FLAGS  = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
7657
7658##################
7659# ARM definitions
7660##################
7661*_RVCT_ARM_CC_PATH         = ENV(RVCT_TOOLS_PATH)armcc
7662*_RVCT_ARM_SLINK_PATH      = ENV(RVCT_TOOLS_PATH)armlink
7663*_RVCT_ARM_DLINK_PATH      = ENV(RVCT_TOOLS_PATH)armlink
7664*_RVCT_ARM_ASM_PATH        = ENV(RVCT_TOOLS_PATH)armasm
7665*_RVCT_ARM_PP_PATH         = ENV(RVCT_TOOLS_PATH)armcc
7666*_RVCT_ARM_VFRPP_PATH      = ENV(RVCT_TOOLS_PATH)armcc
7667*_RVCT_ARM_FROMELF_PATH    = ENV(RVCT_TOOLS_PATH)fromelf
7668
7669####################################################################################
7670#
7671# ARM RealView Tools - Linux
7672#
7673####################################################################################
7674#   RVCTLINUX         - Tools from ARM in a Cygwin environment
7675*_RVCTLINUX_*_*_FAMILY               = RVCT
7676*_RVCTLINUX_*_*_BUILDRULEFAMILY      = RVCTLINUX
7677
7678*_RVCTLINUX_*_MAKE_PATH       = make
7679
7680#
7681# Use default values, or override in DSC file
7682#
7683*_RVCTLINUX_ARM_ARCHCC_FLAGS    = --thumb --fpu=softvfp
7684*_RVCTLINUX_ARM_ARCHASM_FLAGS   =
7685*_RVCTLINUX_ARM_ARCHDLINK_FLAGS =
7686*_RVCTLINUX_ARM_PLATFORM_FLAGS  = --cpu 7-A
7687
7688DEBUG_RVCTLINUX_ARM_DLINK_FLAGS     = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
7689RELEASE_RVCTLINUX_ARM_DLINK_FLAGS   = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
7690
7691*_RVCTLINUX_ARM_ASM_FLAGS       = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
7692*_RVCTLINUX_ARM_PP_FLAGS        = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
7693*_RVCTLINUX_ARM_VFRPP_FLAGS     = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E  -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
7694*_RVCTLINUX_ARM_SLINK_FLAGS     = --partial -o
7695  DEBUG_RVCTLINUX_ARM_CC_FLAGS  = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
7696RELEASE_RVCTLINUX_ARM_CC_FLAGS  = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
7697
7698##################
7699# ARM definitions
7700##################
7701*_RVCTLINUX_ARM_CC_PATH         = ENV(RVCT_TOOLS_PATH)armcc
7702*_RVCTLINUX_ARM_SLINK_PATH      = ENV(RVCT_TOOLS_PATH)armlink
7703*_RVCTLINUX_ARM_DLINK_PATH      = ENV(RVCT_TOOLS_PATH)armlink
7704*_RVCTLINUX_ARM_ASM_PATH        = ENV(RVCT_TOOLS_PATH)armasm
7705*_RVCTLINUX_ARM_PP_PATH         = ENV(RVCT_TOOLS_PATH)armcc
7706*_RVCTLINUX_ARM_VFRPP_PATH      = ENV(RVCT_TOOLS_PATH)armcc
7707*_RVCTLINUX_ARM_FROMELF_PATH    = ENV(RVCT_TOOLS_PATH)fromelf
7708
7709####################################################################################
7710#
7711# ARM RealView Tools - Cygwin
7712#
7713####################################################################################
7714#   ARMCYGWIN         - Tools from ARM in a Cygwin environment
7715
7716*_RVCTCYGWIN_*_*_FAMILY               = RVCT
7717*_RVCTCYGWIN_*_*_BUILDRULEFAMILY      = RVCTCYGWIN
7718
7719*_RVCTCYGWIN_ARM_CCPATH_FLAG         = ENV(RVCT_TOOLS_PATH)armcc
7720*_RVCTCYGWIN_ARM_SLINKPATH_FLAG      = ENV(RVCT_TOOLS_PATH)armlink
7721*_RVCTCYGWIN_ARM_DLINKPATH_FLAG      = ENV(RVCT_TOOLS_PATH)armlink
7722*_RVCTCYGWIN_ARM_ASMPATH_FLAG        = ENV(RVCT_TOOLS_PATH)armasm
7723*_RVCTCYGWIN_ARM_PPPATH_FLAG         = ENV(RVCT_TOOLS_PATH)armcc
7724*_RVCTCYGWIN_ARM_VFRPPPATH_FLAG      = ENV(RVCT_TOOLS_PATH)armcc
7725*_RVCTCYGWIN_ARM_FROMELFPATH_FLAG    = ENV(RVCT_TOOLS_PATH)fromelf
7726
7727#
7728# Use default values, or override in DSC file
7729#
7730*_RVCTCYGWIN_ARM_ARCHCC_FLAGS    = --thumb --fpu=softvfp
7731*_RVCTCYGWIN_ARM_ARCHASM_FLAGS   =
7732*_RVCTCYGWIN_ARM_ARCHDLINK_FLAGS =
7733*_RVCTCYGWIN_ARM_PLATFORM_FLAGS  = --cpu 7-A
7734
7735  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`
7736RELEASE_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`
7737
7738*_RVCTCYGWIN_ARM_ASM_FLAGS       = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
7739*_RVCTCYGWIN_ARM_PP_FLAGS        = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
7740*_RVCTCYGWIN_ARM_VFRPP_FLAGS     = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E  -DVFRCOMPILE --preinclude `cygpath -m $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h`
7741*_RVCTCYGWIN_ARM_MAKE_PATH       = make
7742*_RVCTCYGWIN_ARM_SLINK_FLAGS     = "$(SLINKPATH_FLAG)" --partial -o
7743  DEBUG_RVCTCYGWIN_ARM_CC_FLAGS  = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
7744RELEASE_RVCTCYGWIN_ARM_CC_FLAGS  = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
7745
7746##################
7747# ARM definitions
7748##################
7749*_RVCTCYGWIN_ARM_CC_PATH         = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7750*_RVCTCYGWIN_ARM_SLINK_PATH      = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7751*_RVCTCYGWIN_ARM_DLINK_PATH      = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7752*_RVCTCYGWIN_ARM_ASM_PATH        = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7753*_RVCTCYGWIN_ARM_PP_PATH         = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7754*_RVCTCYGWIN_ARM_VFRPP_PATH      = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7755*_RVCTCYGWIN_ARM_FROMELF_PATH    = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
7756
7757#################
7758# ASM 16 linker defintions
7759#################
7760*_*_*_ASMLINK_PATH                 = DEF(WINDDK_BIN16)\link16.exe
7761*_*_*_ASMLINK_FLAGS                = /nologo /tiny
7762
7763##################
7764# VfrCompiler definitions
7765##################
7766*_*_*_VFR_PATH                      = VfrCompile
7767*_*_*_VFR_FLAGS                     = -l -n
7768
7769##################
7770# OptionRom tool definitions
7771##################
7772*_*_*_OPTROM_PATH                   = EfiRom
7773*_*_*_OPTROM_FLAGS                  = -e
7774
7775##################
7776# GenFw tool definitions
7777##################
7778*_*_*_GENFW_PATH                   = GenFw
7779*_*_*_GENFW_FLAGS                  =
7780
7781##################
7782# Asl Compiler definitions
7783##################
7784*_*_*_ASLCC_FLAGS                  = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
7785*_*_*_ASLDLINK_FLAGS               = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
7786*_*_*_ASLPP_FLAGS                  = /nologo /EP /C
7787*_*_*_ASL_FLAGS                    =
7788
7789##################
7790# GenCrc32 tool definitions
7791##################
7792*_*_*_CRC32_PATH          = GenCrc32
7793*_*_*_CRC32_GUID          = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
7794
7795##################
7796# Rsa2048Sha256Sign tool definitions
7797#
7798# Notes: This tool defintion uses a test signing key for development purposes only.
7799#        The tool Rsa2048Sha256GenerateKeys can be used to generate a new private/public key
7800#        and the gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer PCD value.
7801#        A custom tool/script can be implemented using the new private/public key with
7802#        the Rsa2048Sha256Sign tool and this tool defintiion can be updated to use a
7803#        custom tool/script.
7804#
7805#   Generate new private/public key and gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer PCD value
7806#
7807#       Rsa2048Sha256GenerateKeys.py -o MyKey.pem --public-key-hash-c MyKey.pcd
7808#
7809#   Custom script example (MyRsa2048Sha256Sign.cmd):
7810#
7811#       Rsa2048Sha256Sign --private-key MyKey.pem %1 %2 %3 %4 %5 %6 %7 %8 %9
7812#
7813#   WARNING: Vendors that uses private keys are responsible for proper management and protection
7814#            of private keys.  Vendors may choose to use infrastructure such as signing servers
7815#            or signing portals to support the management and protection of private keys.
7816#
7817##################
7818*_*_*_RSA2048SHA256SIGN_PATH = Rsa2048Sha256Sign
7819*_*_*_RSA2048SHA256SIGN_GUID = A7717414-C616-4977-9420-844712A735BF
7820
7821##################
7822# LzmaCompress tool definitions
7823##################
7824*_*_*_LZMA_PATH          = LzmaCompress
7825*_*_*_LZMA_GUID          = EE4E5898-3914-4259-9D6E-DC7BD79403CF
7826
7827##################
7828# LzmaF86Compress tool definitions with converter for x86 code.
7829# It can improve the compression ratio if the input file is IA32 or X64 PE image.
7830# Notes: If X64 PE image is built based on GCC44, it may not get the better compression.
7831##################
7832*_*_*_LZMAF86_PATH         = LzmaF86Compress
7833*_*_*_LZMAF86_GUID         = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
7834
7835##################
7836# TianoCompress tool definitions
7837##################
7838*_*_*_TIANO_PATH         = TianoCompress
7839*_*_*_TIANO_GUID         = A31280AD-481E-41B6-95E8-127F4C984779
7840
7841##################
7842# BPDG tool definitions
7843##################
7844*_*_*_VPDTOOL_PATH         = BPDG
7845*_*_*_VPDTOOL_GUID         = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
7846
7847##################
7848# Pkcs7Sign tool definitions
7849##################
7850*_*_*_PKCS7SIGN_PATH       = Pkcs7Sign
7851*_*_*_PKCS7SIGN_GUID       = 4AAFD29D-68DF-49EE-8AA9-347D375665A7
7852
7853##################
7854# NASM tool definitions
7855##################
7856*_*_*_NASM_PATH                = ENV(NASM_PREFIX)nasm
7857# NASMB uses NASM produce a .bin from a .nasmb NASM source file
7858*_*_*_NASMB_FLAGS              = -f bin
7859
7860#################
7861# Build rule order
7862#################
7863*_*_*_*_BUILDRULEORDER = nasm asm Asm ASM S s
7864