Fix a bug about linked list manipulation in DegradeResource() in PCI bus driver.
[mirror_edk2.git] / BaseTools / Conf / tools_def.template
CommitLineData
07a756b9 1#\r
c6094890 2# Copyright (c) 2006-2009, Intel Corporation\r
fd171542 3# Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.\r
07a756b9 4#\r
5# All rights reserved. This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13\r
14IDENTIFIER = Default TOOL_CHAIN_CONF\r
15\r
16# common path macros\r
623471a3 17DEFINE VS2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\r
18DEFINE VS2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\r
07a756b9 19\r
623471a3 20DEFINE VS2005_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
21DEFINE VS2005_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\r
22DEFINE VS2005_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64\r
23DEFINE VS2005_BIN64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64\r
07a756b9 24\r
3b6c90a1 25DEFINE VS2005x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\bin\r
26DEFINE VS2005x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\r
27DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64\r
28DEFINE VS2005x86_BIN64 = DEF(VS2005x86_BIN)\x86_ia64\r
07a756b9 29\r
b303ea72
LG
30\r
31# These defines are needed for certain Microsoft Visual Studio tools that\r
32# are used by other toolchains. An example is that ICC on Windows normally\r
33# uses Microsoft's nmake.exe.\r
34\r
35# Some MS_VS_BIN options: DEF(VS2003_BIN), DEF(VS2005_BIN), DEF(VS2005x86_BIN)\r
36DEFINE MS_VS_BIN = DEF(VS2005_BIN)\r
37# Some MS_VS_DLL options: DEF(VS2003_DLL), DEF(VS2005_DLL), DEF(VS2005x86_DLL)\r
38DEFINE MS_VS_DLL = DEF(VS2005_DLL)\r
39\r
623471a3 40DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16\r
41DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86\r
42DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64\r
43DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86\r
07a756b9 44\r
3b6c90a1 45# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler \r
46# tool chains for the linker and nmake commands.\r
47# This configuration assumes a Windows 2003 Server DDK installation.\r
623471a3 48DEFINE ICC_VERSION = 9.1\r
3b6c90a1 49#DEFINE ICC_VERSION = 10.1.021\r
623471a3 50DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
51DEFINE ICC_ASM32 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
52DEFINE ICC_BIN32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
53DEFINE ICC_ASM32x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\IA32\Bin\r
3b6c90a1 54\r
623471a3 55DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
56DEFINE ICC_ASMX64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
57DEFINE ICC_BINX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
58DEFINE ICC_ASMX64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\EM64T\Bin\r
3b6c90a1 59\r
623471a3 60DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin\r
61DEFINE ICC_BIN64x86 = C:\Program Files (x86)\Intel\Compiler\C++\DEF(ICC_VERSION)\Itanium\Bin\r
3b6c90a1 62\r
623471a3 63DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin\r
64DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin\r
65\r
66DEFINE ELFGCC_BIN = /usr/bin\r
3b6c90a1 67\r
c6094890 68#\r
23473304 69# Option 1: Hard coded full path to compiler suite\r
726d5a8e 70DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/\r
71DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/\r
72DEFINE UNIXGCC_IPF_PETOOLS_PREFIX = /opt/tiano/ia64-pc-elf/ia64-pc-elf/bin/\r
fa7f89da 73#\r
23473304 74# Option 2: Use an environment variable\r
75#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)\r
76#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX)\r
fa7f89da 77#\r
23473304 78# Option 3: Install the compiler suite into your default paths\r
79#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-\r
80#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32-\r
fa7f89da 81#\r
82# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory\r
23473304 83# Links needed: gcc, ar & ld\r
726d5a8e 84#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32/\r
85#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64/\r
c6094890 86#\r
a440187f 87# Option 5: Install programs under user's home directory\r
c6094890 88#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32-\r
89#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/x64/bin/x86_64-pc-mingw32-\r
c6094890 90#\r
07a756b9 91\r
623471a3 92DEFINE CYGWIN_BIN = c:/cygwin/bin\r
b303ea72 93DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/\r
726d5a8e 94DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/\r
623471a3 95DEFINE CYGWIN_BINIPF = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-\r
96\r
e0d22735 97DEFINE UNIX_IASL_BIN = /usr/bin/iasl\r
98#DEFINE UNIX_IASL_BIN = $(HOME)/programs/iasl\r
623471a3 99DEFINE WIN_ASL_BIN_DIR = C:\ASL\r
100DEFINE WIN_IASL_BIN = DEF(WIN_ASL_BIN_DIR)\iasl.exe\r
101DEFINE WIN_ASL_BIN = DEF(WIN_ASL_BIN_DIR)\asl.exe\r
102\r
38d4998a
LG
103DEFINE IASL_OUTFLAGS = -p\r
104DEFINE MS_ASL_OUTFLAGS = /Fo=\r
3b6c90a1 105\r
3b6c90a1 106DEFINE MSFT_ASLPP_FLAGS = /nologo /EP /C\r
107DEFINE MSFT_ASLCC_FLAGS = /GL- /Y- /TC /Dmain=ReferenceAcpiTable\r
108DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE\r
109\r
110DEFINE ICC_WIN_ASLPP_FLAGS = /nologo /EP /C\r
111DEFINE ICC_WIN_ASLCC_FLAGS = /Y- /TC /WX- /Od /Dmain=ReferenceAcpiTable\r
112DEFINE ICC_WIN_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc\r
07a756b9 113\r
fd171542 114DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer\r
115DEFINE RVCT31_TOOLS_PATH = c:/Program Files/ARM/RVCT/Programs/3.1/761/win_32-pentium\r
116DEFINE RVCT31CYGWIN_TOOLS_PATH = /cygdrive/c/Program\ Files/ARM/RVCT/Programs/3.1/761/win_32-pentium\r
117\r
118# Update to the location of the gcc executables\r
119DEFINE ARMGCC_BIN = /\r
07a756b9 120\r
121####################################################################################\r
122#\r
123# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>\r
1c2c04df 124# priority:\r
07a756b9 125# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)\r
126# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE\r
127# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE\r
128# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE\r
129# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE\r
130# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE\r
131# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE\r
132# ******_*********_****_COMMANDTYPE_ATTRIBUTE\r
133# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE\r
134# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE\r
135# TARGET_*********_ARCH_***********_ATTRIBUTE\r
136# ******_*********_ARCH_***********_ATTRIBUTE\r
137# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE\r
138# ******_TOOLCHAIN_****_***********_ATTRIBUTE\r
139# TARGET_*********_****_***********_ATTRIBUTE\r
140# ******_*********_****_***********_ATTRIBUTE (Lowest)\r
141#\r
142####################################################################################\r
143####################################################################################\r
144#\r
145# Supported Tool Chains\r
146# =====================\r
3b6c90a1 147# VS2003 - win32 - Microsoft Visual Studio .NET 2003, Intel EBC, Intel ASL\r
3b6c90a1 148# VS2005 - win32 - Microsoft Visual Studio 2005 Team Suite Edition, Intel EBC, Intel ASL (also compatible with VS 2005 Express, Standard, and Pro)\r
149# DDK3790 - win32 - Microsoft Windows DDK 3790.1830, Intel EBC, Intel ASL\r
2a9aee6d 150# UNIXGCC - UNIX GCC, No EBC, Intel ASL\r
3b6c90a1 151# ELFGCC - Linux ELF GCC, No EBC, Intel ASL\r
152# CYGGCC - win32 - CygWin GCC, Intel EBC, Intel ASL\r
153# ICC - win32 - Intel C Compiler V9.1, Intel EBC, Intel ASL\r
154# MYTOOLS - win32 - VS2005 for IA32/X64, WINDDK 3790.1830 for IPF, Intel EBC, Intel ASL\r
155# VS2003xASL - win32 - Microsoft Visual Studio .NET 2003, Intel EBC, Microsoft ASL\r
156# VS2005xASL - win32 - Microsoft Visual Studio 2005 Team Suite Edition, Intel EBC, Microsoft ASL\r
157# DDK3790xASL - win32 - Microsoft Windows DDK 3790.1830, Intel EBC, Microsoft ASL\r
158# CYGGCCxASL - win32 - CygWin GCC, Intel EBC, Microsoft ASL\r
159# ICCxASL - win32 - Intel C Compiler V9.1, Intel EBC, Microsoft ASL\r
623471a3 160# VS2005x86 - win64 - Microsoft Visual Studio 2005 Team Suite Edition (x86), Intel EBC, Intel ASL (also compatible with VS 2005 Express, Standard, and Pro)\r
161# ICCx86 - win64 - Intel C Compiler V9.1 (x86), Intel EBC, Intel ASL\r
162# VS2005x86xASL - win64 - Microsoft Visual Studio 2005 Team Suite Edition (x86), Intel EBC, Microsoft ASL (also compatible with VS 2005 Express, Standard, and Pro)\r
163# ICCx86xASL - win64 - Intel C Compiler V9.1 (x86), Intel EBC, Microsoft ASL\r
164# CYGGCCx86 - win64 - CygWin GCC (x86), Intel EBC (x86), Intel ASL\r
165# CYGGCCx86xASL - win64 - CygWin GCC (x86), Intel EBC (x86), Microsoft ASL\r
07a756b9 166# * Commented out - All versions of VS2005 use the same standard install directory\r
167#\r
168####################################################################################\r
169####################################################################################\r
170#\r
171# Supported Tool Chain Family\r
172# ===========================\r
173# MSFT - Microsoft\r
174# GCC - GNU GCC\r
175# INTEL - INTEL\r
3b6c90a1 176####################################################################################\r
177####################################################################################\r
178#\r
179# Intel EFI Byte Code Compiler (Template)\r
180#\r
181####################################################################################\r
182# *_*_EBC_*_FAMILY = INTEL\r
183#\r
184# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe\r
185# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe\r
186# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe\r
187#\r
623471a3 188# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
189# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
190# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
191# *_*_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\r
3b6c90a1 192#\r
193####################################################################################\r
194#\r
195# Intel ACPI Source Language Compiler (Template)\r
196#\r
197####################################################################################\r
198# *_*_*_ASL_FAMILY = INTEL\r
199#\r
200# *_*_*_ASL_PATH = C:\ASL\iasl.exe\r
201#\r
202####################################################################################\r
203#\r
204# Microsoft ACPI Source Language Compiler (Template)\r
205#\r
206####################################################################################\r
207# *_*_*_ASL_FAMILY = MSFT\r
208#\r
209# *_*_*_ASL_PATH = C:\ASL\asl.exe\r
210#\r
211####################################################################################\r
212\r
07a756b9 213\r
214####################################################################################\r
215#\r
216# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)\r
3b6c90a1 217# And Intel ACPI Compiler\r
07a756b9 218#\r
219####################################################################################\r
3b6c90a1 220# VS2003 - Microsoft Visual Studio .NET 2003 and Intel ACPI Source Language Compiler (iasl.exe)\r
07a756b9 221*_VS2003_*_*_FAMILY = MSFT\r
222\r
3b6c90a1 223##################\r
224# ASL definitions\r
225##################\r
623471a3 226*_VS2003_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
227*_VS2003_*_ASL_FLAGS = \r
228*_VS2003_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
623471a3 229*_VS2003_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
230*_VS2003_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
231*_VS2003_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
3b6c90a1 232\r
07a756b9 233##################\r
234# IA32 definitions\r
235##################\r
623471a3 236*_VS2003_IA32_*_DLL = DEF(VS2003_DLL)\r
07a756b9 237\r
623471a3 238*_VS2003_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe\r
239*_VS2003_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe\r
240*_VS2003_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe\r
241*_VS2003_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe\r
242*_VS2003_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe\r
acae1bc3 243*_VS2003_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
623471a3 244*_VS2003_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe\r
245*_VS2003_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe\r
246*_VS2003_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe\r
247*_VS2003_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe\r
248*_VS2003_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe\r
249*_VS2003_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe\r
b303ea72 250*_VS2003_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe\r
07a756b9 251\r
3b6c90a1 252 *_VS2003_IA32_MAKE_FLAGS = /nologo\r
253 *_VS2003_IA32_APP_FLAGS = /nologo /E /TC\r
254 *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
255 *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
256 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
257RELEASE_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
258 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
259RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd\r
260 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG\r
b303ea72
LG
261 DEBUG_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
262RELEASE_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 263 *_VS2003_IA32_ASMLINK_FLAGS = /nologo /tiny\r
264\r
265##################\r
266# EBC definitions\r
267##################\r
268*_VS2003_EBC_*_FAMILY = INTEL\r
269\r
623471a3 270*_VS2003_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe\r
3b6c90a1 271*_VS2003_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
272*_VS2003_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
273*_VS2003_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
274*_VS2003_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
275*_VS2003_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
b303ea72 276*_VS2003_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe\r
3b6c90a1 277\r
278*_VS2003_EBC_MAKE_FLAGS = /nologo\r
279*_VS2003_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
280*_VS2003_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
281*_VS2003_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
282*_VS2003_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
283*_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\r
07a756b9 284\r
285####################################################################################\r
286#\r
3b6c90a1 287# Microsoft Visual Studio .NET 2003 and Microsoft ACPI compiler\r
07a756b9 288#\r
289####################################################################################\r
3b6c90a1 290# VS2003xASL - Microsoft Visual Studio .NET 2003 and Microsoft ACPI Source Language Compiler (asl.exe)\r
291*_VS2003xASL_*_*_FAMILY = MSFT\r
07a756b9 292\r
3b6c90a1 293##################\r
294# ASL definitions\r
295##################\r
623471a3 296*_VS2003xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)\r
38d4998a
LG
297*_VS2003xASL_*_ASL_FLAGS = \r
298*_VS2003xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)\r
623471a3 299*_VS2003xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
300*_VS2003xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
301*_VS2003xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
07a756b9 302\r
07a756b9 303##################\r
304# IA32 definitions\r
305##################\r
623471a3 306*_VS2003xASL_IA32_*_DLL = DEF(VS2003_DLL)\r
3b6c90a1 307\r
623471a3 308*_VS2003xASL_IA32_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe\r
309*_VS2003xASL_IA32_CC_PATH = DEF(VS2003_BIN)\cl.exe\r
310*_VS2003xASL_IA32_VFRPP_PATH = DEF(VS2003_BIN)\cl.exe\r
311*_VS2003xASL_IA32_SLINK_PATH = DEF(VS2003_BIN)\lib.exe\r
312*_VS2003xASL_IA32_DLINK_PATH = DEF(VS2003_BIN)\link.exe\r
3b6c90a1 313*_VS2003xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
623471a3 314*_VS2003xASL_IA32_APP_PATH = DEF(VS2003_BIN)\cl.exe\r
315*_VS2003xASL_IA32_PP_PATH = DEF(VS2003_BIN)\cl.exe\r
316*_VS2003xASL_IA32_ASM_PATH = DEF(VS2003_BIN)\ml.exe\r
317*_VS2003xASL_IA32_ASLCC_PATH = DEF(VS2003_BIN)\cl.exe\r
318*_VS2003xASL_IA32_ASLPP_PATH = DEF(VS2003_BIN)\cl.exe\r
319*_VS2003xASL_IA32_ASLDLINK_PATH = DEF(VS2003_BIN)\link.exe\r
b303ea72 320*_VS2003xASL_IA32_RC_PATH = DEF(VS2003_BIN)\rc.exe\r
3b6c90a1 321\r
322\r
323 *_VS2003xASL_IA32_MAKE_FLAGS = /nologo\r
324 *_VS2003xASL_IA32_APP_FLAGS = /nologo /E /TC\r
325 *_VS2003xASL_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
326 *_VS2003xASL_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
327 DEBUG_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
328RELEASE_VS2003xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
329 DEBUG_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
330RELEASE_VS2003xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd\r
331 *_VS2003xASL_IA32_SLINK_FLAGS = /nologo /LTCG\r
b303ea72
LG
332 DEBUG_VS2003xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
333RELEASE_VS2003xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 334 *_VS2003xASL_IA32_ASMLINK_FLAGS = /nologo /tiny\r
335\r
336##################\r
337# EBC definitions\r
338##################\r
339*_VS2003xASL_EBC_*_FAMILY = INTEL\r
340\r
623471a3 341*_VS2003xASL_EBC_MAKE_PATH = DEF(VS2003_BIN)\nmake.exe\r
3b6c90a1 342*_VS2003xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
343*_VS2003xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
344*_VS2003xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
345*_VS2003xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
346*_VS2003xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
b303ea72 347*_VS2003xASL_EBC_RC_PATH = DEF(VS2003_BIN)\rc.exe\r
3b6c90a1 348\r
349*_VS2003xASL_EBC_MAKE_FLAGS = /nologo\r
350*_VS2003xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
351*_VS2003xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
352*_VS2003xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
353*_VS2003xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
354*_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\r
355\r
356####################################################################################\r
357#\r
358# Microsoft Visual Studio 2005\r
359#\r
360# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
361# ASL - Intel ACPI Source Language Compiler\r
362####################################################################################\r
363# VS2005 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
623471a3 364*_VS2005_*_*_FAMILY = MSFT\r
07a756b9 365\r
623471a3 366*_VS2005_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
367*_VS2005_*_MAKE_FLAGS = /nologo\r
b303ea72 368*_VS2005_*_RC_PATH = DEF(VS2005_BIN)\rc.exe\r
a1c949f3 369\r
623471a3 370*_VS2005_*_SLINK_FLAGS = /NOLOGO /LTCG\r
371*_VS2005_*_APP_FLAGS = /nologo /E /TC\r
372*_VS2005_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
373*_VS2005_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
07a756b9 374\r
3b6c90a1 375##################\r
376# ASL definitions\r
377##################\r
623471a3 378*_VS2005_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
379*_VS2005_*_ASL_FLAGS = \r
380*_VS2005_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
623471a3 381*_VS2005_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
382*_VS2005_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
383*_VS2005_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
3b6c90a1 384\r
385##################\r
386# IA32 definitions\r
387##################\r
623471a3 388*_VS2005_IA32_*_DLL = DEF(VS2005_DLL)\r
389\r
390*_VS2005_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
391*_VS2005_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe\r
392*_VS2005_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe\r
393*_VS2005_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe\r
394*_VS2005_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe\r
395*_VS2005_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
396*_VS2005_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe\r
397*_VS2005_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe\r
398*_VS2005_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe\r
399*_VS2005_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe\r
400*_VS2005_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe\r
401*_VS2005_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe\r
402\r
403 *_VS2005_IA32_MAKE_FLAGS = /nologo\r
404 DEBUG_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
405RELEASE_VS2005_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
406 DEBUG_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
407RELEASE_VS2005_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd\r
b303ea72
LG
408 DEBUG_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
409RELEASE_VS2005_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
623471a3 410 *_VS2005_IA32_ASMLINK_FLAGS = /nologo /tiny\r
07a756b9 411\r
412##################\r
413# X64 definitions\r
414##################\r
3b6c90a1 415*_VS2005_X64_*_DLL = DEF(VS2005_DLL)\r
416\r
417*_VS2005_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe\r
418*_VS2005_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe\r
419*_VS2005_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe\r
420*_VS2005_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe\r
421*_VS2005_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe\r
422*_VS2005_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe\r
423*_VS2005_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
424*_VS2005_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe\r
425*_VS2005_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe\r
426*_VS2005_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
427\r
428\r
429 DEBUG_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
430RELEASE_VS2005_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
431 DEBUG_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
432RELEASE_VS2005_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
433 DEBUG_VS2005_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
434RELEASE_VS2005_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
07a756b9 435\r
3b6c90a1 436##################\r
437# IPF definitions\r
438##################\r
439*_VS2005_IPF_*_DLL = DEF(VS2005_DLL)\r
440\r
441*_VS2005_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe\r
442*_VS2005_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe\r
443*_VS2005_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe\r
444*_VS2005_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe\r
445*_VS2005_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe\r
446*_VS2005_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe\r
447*_VS2005_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe\r
448*_VS2005_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe\r
449*_VS2005_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe\r
450*_VS2005_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe\r
451\r
452 DEBUG_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
453RELEASE_VS2005_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
454 DEBUG_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
455RELEASE_VS2005_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
456 DEBUG_VS2005_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
457RELEASE_VS2005_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /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\r
07a756b9 458\r
3b6c90a1 459##################\r
460# EBC definitions\r
461##################\r
462*_VS2005_EBC_*_FAMILY = INTEL\r
463\r
464*_VS2005_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
465*_VS2005_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
466*_VS2005_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
467*_VS2005_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
468*_VS2005_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
469*_VS2005_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
470\r
471*_VS2005_EBC_MAKE_FLAGS = /nologo\r
472*_VS2005_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
473*_VS2005_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
474*_VS2005_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
475*_VS2005_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
476*_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\r
07a756b9 477\r
478####################################################################################\r
3b6c90a1 479#\r
480# Microsoft Visual Studio 2005\r
481#\r
482# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
483# ASL - Microsoft ACPI Source Language Compiler (asl.exe)\r
484####################################################################################\r
485# VS2005xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
486*_VS2005xASL_*_*_FAMILY = MSFT\r
487\r
488*_VS2005xASL_*_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
489*_VS2005xASL_*_MAKE_FLAG = /nologo\r
b303ea72 490*_VS2005xASL_*_RC_PATH = DEF(VS2005_BIN)\rc.exe\r
07a756b9 491\r
3b6c90a1 492*_VS2005xASL_*_SLINK_FLAGS = /NOLOGO /LTCG\r
493*_VS2005xASL_*_APP_FLAGS = /nologo /E /TC\r
494*_VS2005xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
495*_VS2005xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
07a756b9 496\r
3b6c90a1 497##################\r
498# ASL definitions\r
499##################\r
500*_VS2005xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)\r
38d4998a
LG
501*_VS2005xASL_*_ASL_FLAGS = \r
502*_VS2005xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)\r
3b6c90a1 503*_VS2005xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
504*_VS2005xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
505*_VS2005xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
07a756b9 506\r
07a756b9 507##################\r
508# IA32 definitions\r
509##################\r
3b6c90a1 510*_VS2005xASL_IA32_*_DLL = DEF(VS2005_DLL)\r
511\r
512*_VS2005xASL_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
513*_VS2005xASL_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe\r
514*_VS2005xASL_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe\r
515*_VS2005xASL_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe\r
516*_VS2005xASL_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe\r
517*_VS2005xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
518*_VS2005xASL_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe\r
519*_VS2005xASL_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe\r
520*_VS2005xASL_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe\r
521*_VS2005xASL_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe\r
522*_VS2005xASL_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe\r
523*_VS2005xASL_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe\r
524\r
525 *_VS2005xASL_IA32_MAKE_FLAGS = /nologo\r
526 DEBUG_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
527RELEASE_VS2005xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
528 DEBUG_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
529RELEASE_VS2005xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd\r
b303ea72
LG
530 DEBUG_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
531RELEASE_VS2005xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 532 *_VS2005xASL_IA32_ASMLINK_FLAGS= /nologo /tiny\r
07a756b9 533\r
534##################\r
535# X64 definitions\r
536##################\r
3b6c90a1 537*_VS2005xASL_X64_*_DLL = DEF(VS2005_DLL)\r
538\r
539*_VS2005xASL_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe\r
540*_VS2005xASL_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe\r
541*_VS2005xASL_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe\r
542*_VS2005xASL_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe\r
543*_VS2005xASL_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe\r
544*_VS2005xASL_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe\r
545*_VS2005xASL_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
546*_VS2005xASL_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe\r
547*_VS2005xASL_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe\r
548*_VS2005xASL_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
549\r
550\r
551 DEBUG_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
552RELEASE_VS2005xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
553 DEBUG_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
554RELEASE_VS2005xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
555 DEBUG_VS2005xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
556RELEASE_VS2005xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 557\r
558##################\r
559# IPF definitions\r
560##################\r
561*_VS2005xASL_IPF_*_DLL = DEF(VS2005_DLL)\r
562\r
563*_VS2005xASL_IPF_PP_PATH = DEF(VS2005_BIN64)\cl.exe\r
564*_VS2005xASL_IPF_APP_PATH = DEF(VS2005_BIN64)\cl.exe\r
565*_VS2005xASL_IPF_VFRPP_PATH = DEF(VS2005_BIN64)\cl.exe\r
566*_VS2005xASL_IPF_CC_PATH = DEF(VS2005_BIN64)\cl.exe\r
567*_VS2005xASL_IPF_ASM_PATH = DEF(VS2005_BIN64)\ias.exe\r
568*_VS2005xASL_IPF_SLINK_PATH = DEF(VS2005_BIN64)\lib.exe\r
569*_VS2005xASL_IPF_DLINK_PATH = DEF(VS2005_BIN64)\link.exe\r
570*_VS2005xASL_IPF_ASLCC_PATH = DEF(VS2005_BIN64)\cl.exe\r
571*_VS2005xASL_IPF_ASLPP_PATH = DEF(VS2005_BIN64)\cl.exe\r
572*_VS2005xASL_IPF_ASLDLINK_PATH = DEF(VS2005_BIN64)\link.exe\r
573\r
574 DEBUG_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
575RELEASE_VS2005xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
576 DEBUG_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
577RELEASE_VS2005xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
578 DEBUG_VS2005xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
579RELEASE_VS2005xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /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\r
07a756b9 580\r
3b6c90a1 581##################\r
582# EBC definitions\r
583##################\r
584*_VS2005xASL_EBC_*_FAMILY = INTEL\r
585\r
586*_VS2005xASL_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
587*_VS2005xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
588*_VS2005xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
589*_VS2005xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
590*_VS2005xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
591*_VS2005xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
592\r
593*_VS2005xASL_EBC_MAKE_FLAGS = /nologo\r
594*_VS2005xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
595*_VS2005xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
596*_VS2005xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
597*_VS2005xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
598*_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\r
a1c949f3 599\r
3b6c90a1 600####################################################################################\r
601#\r
602# Microsoft Visual Studio 2005 (x86)\r
603#\r
604# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
605# ASL - Intel ACPI Source Language Compiler\r
606####################################################################################\r
607# VS2005x86 - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
608*_VS2005x86_*_*_FAMILY = MSFT\r
07a756b9 609\r
3b6c90a1 610*_VS2005x86_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
611*_VS2005x86_*_MAKE_FLAGS = /nologo\r
b303ea72 612*_VS2005x86_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe\r
3b6c90a1 613\r
614*_VS2005x86_*_SLINK_FLAGS = /NOLOGO /LTCG\r
615*_VS2005x86_*_APP_FLAGS = /nologo /E /TC\r
616*_VS2005x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
617*_VS2005x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
618\r
619##################\r
620# ASL definitions\r
621##################\r
622*_VS2005x86_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
623*_VS2005x86_*_ASL_FLAGS = \r
624*_VS2005x86_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 625*_VS2005x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
626*_VS2005x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
627*_VS2005x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
628\r
629##################\r
630# IA32 definitions\r
631##################\r
632*_VS2005x86_IA32_*_DLL = DEF(VS2005x86_DLL)\r
633\r
634*_VS2005x86_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
635*_VS2005x86_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe\r
636*_VS2005x86_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
637*_VS2005x86_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe\r
638*_VS2005x86_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe\r
639*_VS2005x86_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
640*_VS2005x86_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
641*_VS2005x86_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
642*_VS2005x86_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe\r
643*_VS2005x86_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe\r
644*_VS2005x86_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
645*_VS2005x86_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe\r
646\r
647 *_VS2005x86_IA32_MAKE_FLAGS = /nologo\r
648 DEBUG_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
649RELEASE_VS2005x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
650 DEBUG_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
651RELEASE_VS2005x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd\r
b303ea72
LG
652 DEBUG_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
653RELEASE_VS2005x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 654 *_VS2005x86_IA32_ASMLINK_FLAGS= /nologo /tiny\r
655\r
656##################\r
657# X64 definitions\r
658##################\r
659*_VS2005x86_X64_*_DLL = DEF(VS2005x86_DLL)\r
660\r
661*_VS2005x86_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
662*_VS2005x86_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
663*_VS2005x86_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
664*_VS2005x86_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
665*_VS2005x86_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe\r
666*_VS2005x86_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe\r
667*_VS2005x86_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe\r
668*_VS2005x86_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
669*_VS2005x86_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
670*_VS2005x86_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe\r
671\r
672\r
673 DEBUG_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
674RELEASE_VS2005x86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
675 DEBUG_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
676RELEASE_VS2005x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
677 DEBUG_VS2005x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
678RELEASE_VS2005x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
07a756b9 679\r
680##################\r
681# IPF definitions\r
682##################\r
3b6c90a1 683*_VS2005x86_IPF_*_DLL = DEF(VS2005x86_DLL)\r
684\r
685*_VS2005x86_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
686*_VS2005x86_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
687*_VS2005x86_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
688*_VS2005x86_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
689*_VS2005x86_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe\r
690*_VS2005x86_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe\r
691*_VS2005x86_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe\r
692*_VS2005x86_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
693*_VS2005x86_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
694*_VS2005x86_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe\r
695\r
696 DEBUG_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
697RELEASE_VS2005x86_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
698 DEBUG_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
699RELEASE_VS2005x86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
700 DEBUG_VS2005x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
701RELEASE_VS2005x86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /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\r
3b6c90a1 702\r
703##################\r
704# EBC definitions\r
705##################\r
706*_VS2005x86_EBC_*_FAMILY = INTEL\r
707\r
708*_VS2005x86_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
709*_VS2005x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe\r
710*_VS2005x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe\r
711*_VS2005x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe\r
712*_VS2005x86_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe\r
713*_VS2005x86_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe\r
714\r
715*_VS2005x86_EBC_MAKE_FLAGS = /nologo\r
716*_VS2005x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
717*_VS2005x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
718*_VS2005x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
719*_VS2005x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
720*_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\r
721\r
722####################################################################################\r
723#\r
724# Microsoft Visual Studio 2005 (x86)\r
725#\r
726# VS2005 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite\r
727# ASL - Microsoft ACPI Source Language Compiler\r
728####################################################################################\r
729# VS2005x86xASL - Microsoft Visual Studio 2005 ALL Edition, including Standard, Professional, Express, TeamSuite\r
730*_VS2005x86xASL_*_*_FAMILY = MSFT\r
731\r
732*_VS2005x86xASL_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
733*_VS2005x86xASL_*_MAKE_FLAGS = /nologo\r
b303ea72 734*_VS2005x86xASL_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe\r
3b6c90a1 735\r
736*_VS2005x86xASL_*_SLINK_FLAGS = /NOLOGO /LTCG\r
737*_VS2005x86xASL_*_APP_FLAGS = /nologo /E /TC\r
738*_VS2005x86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
739*_VS2005x86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
740\r
741##################\r
742# ASL definitions\r
743##################\r
744*_VS2005x86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)\r
38d4998a
LG
745*_VS2005x86xASL_*_ASL_FLAGS = \r
746*_VS2005x86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)\r
3b6c90a1 747*_VS2005x86xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
748*_VS2005x86xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
749*_VS2005x86xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
750\r
751##################\r
752# IA32 definitions\r
753##################\r
754*_VS2005x86xASL_IA32_*_DLL = DEF(VS2005x86_DLL)\r
755\r
756*_VS2005x86xASL_IA32_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
757*_VS2005x86xASL_IA32_CC_PATH = DEF(VS2005x86_BIN)\cl.exe\r
758*_VS2005x86xASL_IA32_VFRPP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
759*_VS2005x86xASL_IA32_SLINK_PATH = DEF(VS2005x86_BIN)\lib.exe\r
760*_VS2005x86xASL_IA32_DLINK_PATH = DEF(VS2005x86_BIN)\link.exe\r
761*_VS2005x86xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
762*_VS2005x86xASL_IA32_APP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
763*_VS2005x86xASL_IA32_PP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
764*_VS2005x86xASL_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe\r
765*_VS2005x86xASL_IA32_ASLCC_PATH = DEF(VS2005x86_BIN)\cl.exe\r
766*_VS2005x86xASL_IA32_ASLPP_PATH = DEF(VS2005x86_BIN)\cl.exe\r
767*_VS2005x86xASL_IA32_ASLDLINK_PATH = DEF(VS2005x86_BIN)\link.exe\r
768\r
769 *_VS2005x86xASL_IA32_MAKE_FLAGS = /nologo\r
770 DEBUG_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
771RELEASE_VS2005x86xASL_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
772 DEBUG_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
773RELEASE_VS2005x86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd\r
b303ea72
LG
774 DEBUG_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
775RELEASE_VS2005x86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 776 *_VS2005x86xASL_IA32_ASMLINK_FLAGS= /nologo /tiny\r
07a756b9 777\r
3b6c90a1 778##################\r
779# X64 definitions\r
780##################\r
781*_VS2005x86xASL_X64_*_DLL = DEF(VS2005x86_DLL)\r
782\r
783*_VS2005x86xASL_X64_CC_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
784*_VS2005x86xASL_X64_PP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
785*_VS2005x86xASL_X64_APP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
786*_VS2005x86xASL_X64_VFRPP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
787*_VS2005x86xASL_X64_ASM_PATH = DEF(VS2005x86_BINX64)\ml64.exe\r
788*_VS2005x86xASL_X64_SLINK_PATH = DEF(VS2005x86_BINX64)\lib.exe\r
789*_VS2005x86xASL_X64_DLINK_PATH = DEF(VS2005x86_BINX64)\link.exe\r
790*_VS2005x86xASL_X64_ASLCC_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
791*_VS2005x86xASL_X64_ASLPP_PATH = DEF(VS2005x86_BINX64)\cl.exe\r
792*_VS2005x86xASL_X64_ASLDLINK_PATH = DEF(VS2005x86_BINX64)\link.exe\r
793\r
794\r
795 DEBUG_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
796RELEASE_VS2005x86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
797 DEBUG_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
798RELEASE_VS2005x86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
799 DEBUG_VS2005x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
800RELEASE_VS2005x86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
07a756b9 801\r
3b6c90a1 802##################\r
803# IPF definitions\r
804##################\r
805*_VS2005x86xASL_IPF_*_DLL = DEF(VS2005x86_DLL)\r
806\r
807*_VS2005x86xASL_IPF_PP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
808*_VS2005x86xASL_IPF_APP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
809*_VS2005x86xASL_IPF_VFRPP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
810*_VS2005x86xASL_IPF_CC_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
811*_VS2005x86xASL_IPF_ASM_PATH = DEF(VS2005x86_BIN64)\ias.exe\r
812*_VS2005x86xASL_IPF_SLINK_PATH = DEF(VS2005x86_BIN64)\lib.exe\r
813*_VS2005x86xASL_IPF_DLINK_PATH = DEF(VS2005x86_BIN64)\link.exe\r
814*_VS2005x86xASL_IPF_ASLCC_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
815*_VS2005x86xASL_IPF_ASLPP_PATH = DEF(VS2005x86_BIN64)\cl.exe\r
816*_VS2005x86xASL_IPF_ASLDLINK_PATH = DEF(VS2005x86_BIN64)\link.exe\r
817\r
818 DEBUG_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
819RELEASE_VS2005x86xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
820 DEBUG_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
821RELEASE_VS2005x86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
822 DEBUG_VS2005x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
823RELEASE_VS2005x86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /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\r
3b6c90a1 824\r
825##################\r
826# EBC definitions\r
827##################\r
828*_VS2005x86xASL_EBC_*_FAMILY = INTEL\r
829\r
830*_VS2005x86xASL_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
831*_VS2005x86xASL_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe\r
832*_VS2005x86xASL_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe\r
833*_VS2005x86xASL_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe\r
834*_VS2005x86xASL_EBC_SLINK_PATH = DEF(EBC_BINx86)\link.exe\r
835*_VS2005x86xASL_EBC_DLINK_PATH = DEF(EBC_BINx86)\link.exe\r
836\r
837*_VS2005x86xASL_EBC_MAKE_FLAGS = /nologo\r
838*_VS2005x86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
839*_VS2005x86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
840*_VS2005x86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
841*_VS2005x86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
842*_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\r
07a756b9 843\r
844####################################################################################\r
845#\r
846# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)\r
3b6c90a1 847# And Intel ACPI Compiler\r
07a756b9 848#\r
849####################################################################################\r
3b6c90a1 850# DDK3790 - Microsoft Windows DDK 3790.1830\r
851# ASL - Intel ACPI Source Language Compiler (iasl.exe)\r
852*_DDK3790_*_*_FAMILY = MSFT\r
07a756b9 853\r
3b6c90a1 854*_DDK3790_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe\r
855*_DDK3790_*_MAKE_FLAGS = /nologo\r
b303ea72 856*_DDK3790_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe\r
07a756b9 857\r
3b6c90a1 858*_DDK3790_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
859*_DDK3790_*_APP_FLAGS = /nologo /E /TC\r
860*_DDK3790_*_SLINK_FLAGS = /nologo /LTCG\r
861*_DDK3790_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
07a756b9 862\r
863##################\r
864# ASL definitions\r
865##################\r
3b6c90a1 866*_DDK3790_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
867*_DDK3790_*_ASL_FLAGS = \r
868*_DDK3790_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 869*_DDK3790_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
870*_DDK3790_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
871*_DDK3790_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
07a756b9 872\r
873##################\r
874# IA32 definitions\r
875##################\r
3b6c90a1 876*_DDK3790_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe\r
877*_DDK3790_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe\r
878*_DDK3790_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe\r
879*_DDK3790_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
880*_DDK3790_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
881*_DDK3790_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
882*_DDK3790_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
883*_DDK3790_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe\r
884*_DDK3790_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe\r
885*_DDK3790_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
886*_DDK3790_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe\r
887\r
888 DEBUG_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
889RELEASE_DDK3790_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
890 DEBUG_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
891RELEASE_DDK3790_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd\r
b303ea72
LG
892 DEBUG_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
893RELEASE_DDK3790_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 894 *_DDK3790_IA32_ASMLINK_FLAGS = /nologo /tiny\r
07a756b9 895\r
896##################\r
897# x64 definitions\r
898##################\r
3b6c90a1 899*_DDK3790_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe\r
900*_DDK3790_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe\r
901*_DDK3790_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe\r
902*_DDK3790_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
903*_DDK3790_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
904*_DDK3790_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
905*_DDK3790_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe\r
906*_DDK3790_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe\r
907*_DDK3790_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
908*_DDK3790_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe\r
909\r
910 DEBUG_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
911RELEASE_DDK3790_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
912 DEBUG_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
913RELEASE_DDK3790_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
914 DEBUG_DDK3790_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
915RELEASE_DDK3790_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
07a756b9 916\r
917##################\r
918# IPF definitions\r
919##################\r
3b6c90a1 920*_DDK3790_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe\r
921*_DDK3790_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe\r
922*_DDK3790_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe\r
923*_DDK3790_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
924*_DDK3790_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
925*_DDK3790_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
926*_DDK3790_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe\r
927*_DDK3790_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe\r
928*_DDK3790_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
929*_DDK3790_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe\r
930\r
931\r
932 DEBUG_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
933RELEASE_DDK3790_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
934 DEBUG_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
935RELEASE_DDK3790_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
936 DEBUG_DDK3790_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
937RELEASE_DDK3790_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /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\r
a1c949f3 938\r
3b6c90a1 939##################\r
940# EBC definitions\r
941##################\r
942*_DDK3790_EBC_*_FAMILY = INTEL\r
943\r
944*_DDK3790_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
945*_DDK3790_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
946*_DDK3790_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
947*_DDK3790_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
948*_DDK3790_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
07a756b9 949\r
3b6c90a1 950*_DDK3790_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
951*_DDK3790_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
952*_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\r
953\r
954####################################################################################\r
955#\r
956# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)\r
957# And Microsoft ACPI Compiler\r
958#\r
959####################################################################################\r
960# DDK3790xASL - Microsoft Windows DDK 3790.1830\r
961# ASL - Microsoft ACPI Source Language Compiler (asl.exe)\r
962*_DDK3790xASL_*_*_FAMILY = MSFT\r
963\r
964*_DDK3790xASL_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe\r
965*_DDK3790xASL_*_MAKE_FLAGS = /nologo\r
b303ea72 966*_DDK3790xASL_*_RC_PATH = DEF(WINDDK_BIN32)\rc.exe\r
3b6c90a1 967\r
968*_DDK3790xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
969*_DDK3790xASL_*_APP_FLAGS = /nologo /E /TC\r
970*_DDK3790xASL_*_SLINK_FLAGS = /nologo /LTCG\r
971*_DDK3790xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
972\r
973##################\r
974# ASL definitions\r
975##################\r
976*_DDK3790xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)\r
38d4998a
LG
977*_DDK3790xASL_*_ASL_FLAGS = \r
978*_DDK3790xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)\r
3b6c90a1 979*_DDK3790xASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
980*_DDK3790xASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
981*_DDK3790xASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
982\r
983##################\r
984# IA32 definitions\r
985##################\r
986*_DDK3790xASL_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe\r
987*_DDK3790xASL_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe\r
988*_DDK3790xASL_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe\r
989*_DDK3790xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
990*_DDK3790xASL_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
991*_DDK3790xASL_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
992*_DDK3790xASL_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
993*_DDK3790xASL_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe\r
994*_DDK3790xASL_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe\r
995*_DDK3790xASL_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe\r
996*_DDK3790xASL_IA32_ASLDLINK_PATH = DEF(WINDDK_BIN32)\link.exe\r
997\r
998 DEBUG_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
999RELEASE_DDK3790xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
1000 DEBUG_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
1001RELEASE_DDK3790xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd\r
b303ea72
LG
1002 DEBUG_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1003RELEASE_DDK3790xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1004 *_DDK3790xASL_IA32_ASMLINK_FLAGS = /nologo /tiny\r
1005\r
1006##################\r
1007# x64 definitions\r
1008##################\r
1009*_DDK3790xASL_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe\r
1010*_DDK3790xASL_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe\r
1011*_DDK3790xASL_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe\r
1012*_DDK3790xASL_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
1013*_DDK3790xASL_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
1014*_DDK3790xASL_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
1015*_DDK3790xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe\r
1016*_DDK3790xASL_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe\r
1017*_DDK3790xASL_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe\r
1018*_DDK3790xASL_X64_ASLDLINK_PATH = DEF(WINDDK_BINX64)\link.exe\r
1019\r
1020 DEBUG_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
1021RELEASE_DDK3790xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
1022 DEBUG_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
1023RELEASE_DDK3790xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
1024 DEBUG_DDK3790xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1025RELEASE_DDK3790xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1026\r
1027##################\r
1028# IPF definitions\r
1029##################\r
1030*_DDK3790xASL_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe\r
1031*_DDK3790xASL_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe\r
1032*_DDK3790xASL_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe\r
1033*_DDK3790xASL_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
1034*_DDK3790xASL_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
1035*_DDK3790xASL_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
1036*_DDK3790xASL_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe\r
1037*_DDK3790xASL_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe\r
1038*_DDK3790xASL_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
1039*_DDK3790xASL_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe\r
1040\r
1041\r
1042 DEBUG_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
1043RELEASE_DDK3790xASL_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
1044 DEBUG_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
1045RELEASE_DDK3790xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
1046 DEBUG_DDK3790xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
1047RELEASE_DDK3790xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /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\r
07a756b9 1048\r
1049##################\r
1050# EBC definitions\r
1051##################\r
3b6c90a1 1052*_DDK3790xASL_EBC_*_FAMILY = INTEL\r
1053\r
1054*_DDK3790xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1055*_DDK3790xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1056*_DDK3790xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1057*_DDK3790xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1058*_DDK3790xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
1059\r
1060*_DDK3790xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1061*_DDK3790xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1062*_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\r
07a756b9 1063\r
07a756b9 1064\r
3b6c90a1 1065####################################################################################\r
1066# GCC Common\r
1067####################################################################################\r
1068\r
1069*_*_*_OBJCOPY_PATH = echo\r
1070*_*_*_OBJCOPY_FLAGS = objcopy not needed for\r
1071*_*_*_SYMRENAME_PATH = echo\r
1072*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for\r
1073\r
1074DEFINE GCC_ALL_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h\r
b2f5a371 1075DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2\r
3b6c90a1 1076DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address\r
1077DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency\r
1078DEFINE GCC_IA32_X64_DLINK_COMMON = -nostdlib -s --pie --gc-sections\r
1079DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)\r
1080DEFINE 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\r
1081DEFINE 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\r
1082DEFINE GCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64\r
1083DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem\r
1084DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
1085DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
1086DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
07a756b9 1087\r
1088####################################################################################\r
1089#\r
3b6c90a1 1090# Unix GCC And Intel Linux ACPI Compiler\r
07a756b9 1091#\r
1092####################################################################################\r
3b6c90a1 1093# UNIXGCC - UNIX GCC\r
1094# ASL - Intel Linux ACPI Source Language Compiler (iasl)\r
07a756b9 1095*_UNIXGCC_*_*_FAMILY = GCC\r
3b6c90a1 1096*_UNIXGCC_*_MAKE_PATH = make\r
07a756b9 1097\r
c6094890 1098DEFINE UNIXGCC_DLINK_FLAGS_COMMON = -nostdlib -s --pie\r
3b6c90a1 1099*_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
c6094890 1100*_UNIXGCC_*_DLINK_FLAGS = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
8f5a1bcc 1101*_UNIXGCC_*_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
abf1c3e4 1102*_UNIXGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
07a756b9 1103\r
1104##################\r
3b6c90a1 1105# ASL definitions\r
07a756b9 1106##################\r
3b6c90a1 1107*_UNIXGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)\r
38d4998a
LG
1108*_UNIXGCC_*_ASL_FLAGS = \r
1109*_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1110*_UNIXGCC_*_ASLPP_FLAGS = -x c -E -P\r
1111*_UNIXGCC_*_ASLCC_FLAGS = -x c\r
1112*_UNIXGCC_*_ASLDLINK_FLAGS = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable\r
07a756b9 1113\r
3b6c90a1 1114##################\r
1115# IA32 definitions\r
1116##################\r
726d5a8e 1117*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc\r
1118*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc\r
1119*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar\r
1120*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld\r
1121*_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc\r
1122*_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc\r
1123*_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld\r
1124*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc\r
1125*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc\r
b303ea72 1126*_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)windres\r
3b6c90a1 1127\r
d4244a08 1128*_UNIXGCC_IA32_CC_FLAGS = -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition \r
b303ea72 1129*_UNIXGCC_IA32_RC_FLAGS = -J rc -O coff\r
07a756b9 1130\r
1131##################\r
1132# X64 definitions\r
1133##################\r
726d5a8e 1134*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc\r
1135*_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc\r
1136*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar\r
1137*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld\r
1138*_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld\r
1139*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc\r
1140*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc\r
1141*_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc\r
1142*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc\r
b303ea72 1143*_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)windres\r
3b6c90a1 1144\r
d4244a08 1145*_UNIXGCC_X64_CC_FLAGS = -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -mno-red-zone -Wno-address\r
b303ea72 1146*_UNIXGCC_X64_RC_FLAGS = -J rc -O coff\r
23473304 1147\r
3b6c90a1 1148##################\r
1149# IPF definitions\r
1150##################\r
726d5a8e 1151*_UNIXGCC_IPF_CC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc\r
1152*_UNIXGCC_IPF_ASLCC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc\r
1153*_UNIXGCC_IPF_SLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ar\r
1154*_UNIXGCC_IPF_DLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld\r
1155*_UNIXGCC_IPF_ASLDLINK_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)ld\r
1156*_UNIXGCC_IPF_ASM_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc\r
1157*_UNIXGCC_IPF_PP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc\r
1158*_UNIXGCC_IPF_ASLPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc\r
1159*_UNIXGCC_IPF_VFRPP_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)gcc\r
1160*_UNIXGCC_IPF_OBJCOPY_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy\r
1161*_UNIXGCC_IPF_SYMRENAME_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy\r
b303ea72 1162*_UNIXGCC_IPF_RC_PATH = DEF(UNIXGCC_IPF_PETOOLS_PREFIX)objcopy\r
3b6c90a1 1163\r
1164*_UNIXGCC_IPF_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -minline-int-divide-min-latency\r
1165*_UNIXGCC_IPF_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
1166*_UNIXGCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64\r
1167*_UNIXGCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem\r
b303ea72 1168*_UNIXGCC_IPF_RC_FLAGS = -I binary -O elf64-ia64 --rename-section .data=.hii\r
07a756b9 1169\r
1170####################################################################################\r
1171#\r
3b6c90a1 1172# Cygwin GCC And Intel ACPI Compiler\r
07a756b9 1173#\r
1174####################################################################################\r
3b6c90a1 1175# CYGGCC - CygWin GCC\r
1176# ASL - Intel ACPI Source Language Compiler (iasl.exe)\r
1177*_CYGGCC_*_*_FAMILY = GCC\r
07a756b9 1178\r
3b6c90a1 1179*_CYGGCC_*_*_DLL = DEF(CYGWIN_BIN)\r
b303ea72 1180*_CYGGCC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe\r
07a756b9 1181\r
3b6c90a1 1182*_CYGGCC_*_MAKE_FLAGS = /nologo\r
1183*_CYGGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h\r
1184*_CYGGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20\r
1185*_CYGGCC_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h\r
1186*_CYGGCC_*_APP_FLAGS = -E -x assembler\r
1187*_CYGGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
1188\r
1189##################\r
1190# ASL definitions\r
1191##################\r
1192*_CYGGCC_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
1193*_CYGGCC_*_ASL_FLAGS = \r
1194*_CYGGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1195*_CYGGCC_*_ASLPP_FLAGS = -x c -E -P\r
1196*_CYGGCC_*_ASLCC_FLAGS = -x c\r
3b6c90a1 1197*_CYGGCC_*_ASLDLINK_FLAGS = -nostdlib -s --pie --gc-sections --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)\r
07a756b9 1198\r
1199##################\r
1200# IA32 definitions\r
1201##################\r
b303ea72
LG
1202*_CYGGCC_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc\r
1203*_CYGGCC_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar\r
1204*_CYGGCC_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld\r
1205*_CYGGCC_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc\r
1206*_CYGGCC_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1207*_CYGGCC_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1208*_CYGGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1209*_CYGGCC_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc\r
1210*_CYGGCC_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1211*_CYGGCC_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld\r
1212*_CYGGCC_IA32_RC_PATH = DEF(CYGWIN_BINIA32)windres\r
3b6c90a1 1213\r
1214*_CYGGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h\r
b303ea72 1215*_CYGGCC_IA32_RC_FLAGS = -J rc -O coff\r
3b6c90a1 1216\r
1217##################\r
1218# X64 definitions\r
1219##################\r
726d5a8e 1220*_CYGGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc\r
1221*_CYGGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar\r
1222*_CYGGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld\r
1223*_CYGGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc\r
1224*_CYGGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc\r
1225*_CYGGCC_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc\r
1226*_CYGGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc\r
1227*_CYGGCC_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc\r
1228*_CYGGCC_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc\r
1229*_CYGGCC_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld\r
b303ea72 1230*_CYGGCC_X64_RC_PATH = DEF(CYGWIN_BINX64)windres\r
3b6c90a1 1231\r
1232*_CYGGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -mno-red-zone -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
b303ea72 1233*_CYGGCC_X64_RC_FLAGS = -J rc -O coff\r
07a756b9 1234\r
3b6c90a1 1235##################\r
1236# IPF definitions\r
1237##################\r
1238*_CYGGCC_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc\r
1239*_CYGGCC_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar\r
1240*_CYGGCC_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld\r
1241*_CYGGCC_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld\r
1242*_CYGGCC_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc\r
1243*_CYGGCC_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc\r
1244*_CYGGCC_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc\r
1245*_CYGGCC_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc\r
1246*_CYGGCC_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc\r
1247*_CYGGCC_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy\r
1248*_CYGGCC_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy\r
b303ea72 1249*_CYGGCC_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy\r
3b6c90a1 1250\r
1251*_CYGGCC_IPF_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -minline-int-divide-min-latency\r
1252*_CYGGCC_IPF_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
1253*_CYGGCC_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64\r
1254*_CYGGCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem\r
b303ea72 1255*_CYGGCC_IPF_RC_FLAGS = -I binary -O elf64-ia64 --rename-section .data=.hii\r
3b6c90a1 1256\r
1257##################\r
1258# EBC definitions\r
1259##################\r
1260*_CYGGCC_EBC_*_FAMILY = INTEL\r
1261\r
1262*_CYGGCC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1263*_CYGGCC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1264*_CYGGCC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1265*_CYGGCC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1266*_CYGGCC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
b303ea72 1267*_CYGGCC_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe\r
3b6c90a1 1268\r
1269*_CYGGCC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1270*_CYGGCC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1271*_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\r
1272\r
1273####################################################################################\r
1274#\r
1275# Cygwin GCC And Microsoft ACPI Compiler\r
1276#\r
1277####################################################################################\r
1278# CYGGCCxASL - CygWin GCC\r
1279# ASL - Microsoft ACPI Source Language Compiler (asl.exe)\r
1280*_CYGGCCxASL_*_*_FAMILY = GCC\r
1281\r
1282*_CYGGCCxASL_*_*_DLL = DEF(CYGWIN_BIN)\r
b303ea72 1283*_CYGGCCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe\r
3b6c90a1 1284\r
1285*_CYGGCCxASL_*_MAKE_FLAGS = /nologo\r
1286*_CYGGCCxASL_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h\r
1287*_CYGGCCxASL_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20\r
1288*_CYGGCCxASL_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h\r
1289*_CYGGCCxASL_*_APP_FLAGS = -E -x assembler\r
1290*_CYGGCCxASL_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
1291\r
1292##################\r
1293# ASL definitions\r
1294##################\r
1295*_CYGGCCxASL_*_ASL_PATH = DEF(WIN_ASL_BIN)\r
38d4998a
LG
1296*_CYGGCCxASL_*_ASL_FLAGS = \r
1297*_CYGGCCxASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)\r
3b6c90a1 1298*_CYGGCCxASL_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)\r
1299*_CYGGCCxASL_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)\r
1300*_CYGGCCxASL_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)\r
1301\r
1302##################\r
1303# IA32 definitions\r
1304##################\r
b303ea72
LG
1305*_CYGGCCxASL_IA32_CC_PATH = DEF(CYGWIN_BINIA32)gcc\r
1306*_CYGGCCxASL_IA32_SLINK_PATH = DEF(CYGWIN_BINIA32)ar\r
1307*_CYGGCCxASL_IA32_DLINK_PATH = DEF(CYGWIN_BINIA32)ld\r
1308*_CYGGCCxASL_IA32_ASM_PATH = DEF(CYGWIN_BINIA32)gcc\r
1309*_CYGGCCxASL_IA32_PP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1310*_CYGGCCxASL_IA32_APP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1311*_CYGGCCxASL_IA32_VFRPP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1312*_CYGGCCxASL_IA32_ASLCC_PATH = DEF(CYGWIN_BINIA32)gcc\r
1313*_CYGGCCxASL_IA32_ASLPP_PATH = DEF(CYGWIN_BINIA32)gcc\r
1314*_CYGGCCxASL_IA32_ASLDLINK_PATH = DEF(CYGWIN_BINIA32)ld\r
1315*_CYGGCCxASL_IA32_RC_PATH = DEF(CYGWIN_BINIA32)windres\r
3b6c90a1 1316\r
1317*_CYGGCCxASL_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h\r
b303ea72 1318*_CYGGCCxASL_IA32_RC_FLAGS = -J rc -O coff\r
07a756b9 1319\r
1320##################\r
1321# X64 definitions\r
1322##################\r
726d5a8e 1323*_CYGGCCxASL_X64_CC_PATH = DEF(CYGWIN_BINX64)gcc\r
1324*_CYGGCCxASL_X64_SLINK_PATH = DEF(CYGWIN_BINX64)ar\r
1325*_CYGGCCxASL_X64_DLINK_PATH = DEF(CYGWIN_BINX64)ld\r
1326*_CYGGCCxASL_X64_ASM_PATH = DEF(CYGWIN_BINX64)gcc\r
1327*_CYGGCCxASL_X64_PP_PATH = DEF(CYGWIN_BINX64)gcc\r
1328*_CYGGCCxASL_X64_APP_PATH = DEF(CYGWIN_BINX64)gcc\r
1329*_CYGGCCxASL_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)gcc\r
1330*_CYGGCCxASL_X64_ASLCC_PATH = DEF(CYGWIN_BINX64)gcc\r
1331*_CYGGCCxASL_X64_ASLPP_PATH = DEF(CYGWIN_BINX64)gcc\r
1332*_CYGGCCxASL_X64_ASLDLINK_PATH = DEF(CYGWIN_BINX64)ld\r
b303ea72 1333*_CYGGCCxASL_X64_RC_PATH = DEF(CYGWIN_BINX64)windres\r
3b6c90a1 1334\r
1335*_CYGGCCxASL_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -mno-red-zone -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
b303ea72 1336*_CYGGCCxASL_X64_RC_FLAGS = -J rc -O coff\r
3b6c90a1 1337\r
1338##################\r
1339# IPF definitions\r
1340##################\r
1341*_CYGGCCxASL_IPF_CC_PATH = DEF(CYGWIN_BINIPF)gcc\r
1342*_CYGGCCxASL_IPF_SLINK_PATH = DEF(CYGWIN_BINIPF)ar\r
1343*_CYGGCCxASL_IPF_DLINK_PATH = DEF(CYGWIN_BINIPF)ld\r
1344*_CYGGCCxASL_IPF_ASLDLINK_PATH = DEF(CYGWIN_BINIPF)ld\r
1345*_CYGGCCxASL_IPF_ASM_PATH = DEF(CYGWIN_BINIPF)gcc\r
1346*_CYGGCCxASL_IPF_PP_PATH = DEF(CYGWIN_BINIPF)gcc\r
1347*_CYGGCCxASL_IPF_VFRPP_PATH = DEF(CYGWIN_BINIPF)gcc\r
1348*_CYGGCCxASL_IPF_ASLCC_PATH = DEF(CYGWIN_BINIPF)gcc\r
1349*_CYGGCCxASL_IPF_ASLPP_PATH = DEF(CYGWIN_BINIPF)gcc\r
1350*_CYGGCCxASL_IPF_OBJCOPY_PATH = DEF(CYGWIN_BINIPF)objcopy\r
1351*_CYGGCCxASL_IPF_SYMRENAME_PATH = DEF(CYGWIN_BINIPF)objcopy\r
b303ea72 1352*_CYGGCCxASL_IPF_RC_PATH = DEF(CYGWIN_BINIPF)objcopy\r
3b6c90a1 1353\r
1354*_CYGGCCxASL_IPF_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h -minline-int-divide-min-latency\r
1355*_CYGGCCxASL_IPF_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll -static --entry $(IMAGE_ENTRY_POINT) --undefined $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
1356*_CYGGCCxASL_IPF_OBJCOPY_FLAGS = -I elf64-ia64-little -O efi-bsdrv-ia64\r
1357*_CYGGCCxASL_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem\r
b303ea72 1358*_CYGGCCxASL_IPF_RC_FLAGS = -I binary -O elf64-ia64 --rename-section .data=.hii\r
3b6c90a1 1359\r
1360##################\r
1361# EBC definitions\r
1362##################\r
1363*_CYGGCCxASL_EBC_*_FAMILY = INTEL\r
1364\r
1365*_CYGGCCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1366*_CYGGCCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1367*_CYGGCCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1368*_CYGGCCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1369*_CYGGCCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
b303ea72 1370*_CYGGCCxASL_EBC_RC_PATH = DEF(MS_VS_BIN)\rc.exe\r
07a756b9 1371\r
3b6c90a1 1372*_CYGGCCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1373*_CYGGCCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1374*_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\r
07a756b9 1375\r
1376####################################################################################\r
1377#\r
1378# Elf GCC - This configuration is used to compile on Linux boxes to produce elf\r
1379# binaries.\r
1380#\r
1381####################################################################################\r
1382# ELFGCC - Linux ELF GCC\r
1383*_ELFGCC_*_*_FAMILY = GCC\r
3b6c90a1 1384*_ELFGCC_*_MAKE_PATH = make\r
07a756b9 1385\r
3b6c90a1 1386*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h\r
1387*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
1388\r
1389##################\r
1390# ASL definitions\r
1391##################\r
1392*_ELFGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)\r
38d4998a
LG
1393*_ELFGCC_*_ASL_FLAGS = \r
1394*_ELFGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1395*_ELFGCC_*_ASLPP_FLAGS = -x c -E -P\r
1396*_ELFGCC_*_ASLCC_FLAGS = -x c\r
1397*_ELFGCC_*_ASLDLINK_FLAGS = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable\r
1398\r
1399##################\r
1400# IA32 definitions\r
1401##################\r
07a756b9 1402*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc\r
1403*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar\r
1404*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld\r
1405*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc\r
1406*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc\r
1407*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc\r
3b6c90a1 1408*_ELFGCC32_IA32_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc\r
1409*_ELFGCC32_IA32_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc\r
1410*_ELFGCC32_IA32_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld\r
b303ea72 1411*_ELFGCC_IA32_RC_PATH = DEF(ELFGCC_BIN)/objcopy\r
3b6c90a1 1412\r
1413*_ELFGCC_IA32_CC_FLAGS = -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings\r
1414*_ELFGCC_IA32_SLINK_FLAGS =\r
1415*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
1416#*_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
1417*_ELFGCC_IA32_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
1418*_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
1419*_ELFGCC_IA32_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
b303ea72 1420*_ELFGCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii\r
07a756b9 1421\r
3b6c90a1 1422##################\r
1423# X64 definitions\r
1424##################\r
1425*_ELFGCC_X64_CC_PATH = DEF(ELFGCC_BIN)/gcc\r
1426*_ELFGCC_X64_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc\r
1427*_ELFGCC_X64_SLINK_PATH = DEF(ELFGCC_BIN)/ar\r
1428*_ELFGCC_X64_DLINK_PATH = DEF(ELFGCC_BIN)/ld\r
1429*_ELFGCC_X64_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld\r
1430*_ELFGCC_X64_ASM_PATH = DEF(ELFGCC_BIN)/gcc\r
1431*_ELFGCC_X64_PP_PATH = DEF(ELFGCC_BIN)/gcc\r
1432*_ELFGCC_X64_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc\r
1433*_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc\r
b303ea72 1434*_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy\r
3b6c90a1 1435\r
1436*_ELFGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -Wno-array-bounds -c -include AutoGen.h -D_EFI_P64\r
1437*_ELFGCC_X64_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
1438*_ELFGCC_X64_SLINK_FLAGS =\r
1439*_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
1440*_ELFGCC_X64_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
1441*_ELFGCC_X64_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
b303ea72 1442*_ELFGCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii\r
07a756b9 1443\r
3b6c90a1 1444##################\r
1445# IPF definitions\r
1446##################\r
1447*_ELFGCC_IPF_CC_PATH = DEF(ELFGCC_BIN)/gcc\r
1448*_ELFGCC_IPF_ASLCC_PATH = DEF(ELFGCC_BIN)/gcc\r
1449*_ELFGCC_IPF_SLINK_PATH = DEF(ELFGCC_BIN)/ar\r
1450*_ELFGCC_IPF_DLINK_PATH = DEF(ELFGCC_BIN)/ld\r
1451*_ELFGCC_IPF_ASLDLINK_PATH = DEF(ELFGCC_BIN)/ld\r
1452*_ELFGCC_IPF_ASM_PATH = DEF(ELFGCC_BIN)/gcc\r
1453*_ELFGCC_IPF_PP_PATH = DEF(ELFGCC_BIN)/gcc\r
1454*_ELFGCC_IPF_ASLPP_PATH = DEF(ELFGCC_BIN)/gcc\r
1455*_ELFGCC_IPF_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc\r
b303ea72 1456*_ELFGCC_IPF_RC_PATH = DEF(ELFGCC_BIN)/objcopy\r
3b6c90a1 1457\r
1458*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
1459*_ELFGCC_IPF_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
1460*_ELFGCC_IPF_SLINK_FLAGS =\r
1461*_ELFGCC_IPF_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
1462*_ELFGCC_IPF_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
1463*_ELFGCC_IPF_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
b303ea72 1464*_ELFGCC_IPF_RC_FLAGS = -I binary -O elf64-ia64-little -B ia64 --rename-section .data=.hii\r
07a756b9 1465\r
1466####################################################################################\r
1467#\r
1468# Intel(R) C++ Compiler Version 9.1\r
1469#\r
1470# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032\r
1c2c04df 1471# ASL - Intel ACPI Source Language Compiler\r
07a756b9 1472#\r
1473####################################################################################\r
1474# ICC - Intel C Compiler V9.1\r
1475*_ICC_*_*_FAMILY = INTEL\r
1476\r
b303ea72
LG
1477*_ICC_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe\r
1478*_ICC_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe\r
07a756b9 1479\r
1480*_ICC_*_MAKE_FLAGS = /nologo\r
abf1c3e4 1481*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
07a756b9 1482*_ICC_*_APP_FLAGS = /nologo /E /TC\r
1483*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1484\r
3b6c90a1 1485##################\r
1486# ASL definitions\r
1487##################\r
1488*_ICC_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
1489*_ICC_*_ASL_FLAGS = \r
1490*_ICC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1491*_ICC_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)\r
1492*_ICC_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)\r
1493*_ICC_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
a1c949f3 1494\r
07a756b9 1495##################\r
1496# IA32 definitions\r
1497##################\r
07a756b9 1498*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe\r
1499*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe\r
1500# xilib.exe needs lib.exe from Visual Studio\r
b303ea72 1501*_ICC_IA32_SLINK_DLL = DEF(MS_VS_BIN)\r
07a756b9 1502*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe\r
0764e7ed 1503*_ICC_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
07a756b9 1504*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe\r
1505*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe\r
1506*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe\r
b303ea72
LG
1507*_ICC_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe\r
1508*_ICC_IA32_ASM_DLL = DEF(MS_VS_DLL)\r
a1c949f3
LG
1509*_ICC_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe\r
1510*_ICC_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe\r
1511*_ICC_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe\r
07a756b9 1512\r
7e6ae4d9 1513 DEBUG_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
1514RELEASE_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
7e6ae4d9 1515 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi\r
1516RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd\r
07a756b9 1517 *_ICC_IA32_SLINK_FLAGS = /nologo\r
b303ea72
LG
1518 DEBUG_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1519RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
0764e7ed 1520 *_ICC_IA32_ASMLINK_FLAGS = /nologo /tiny\r
07a756b9 1521\r
1522##################\r
1523# X64 definitions\r
1524##################\r
07a756b9 1525*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe\r
1526*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe\r
1527# xilib.exe needs lib.exe from Visual Studio\r
b303ea72 1528*_ICC_X64_SLINK_DLL = DEF(MS_VS_BIN)\r
07a756b9 1529*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe\r
07a756b9 1530*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe\r
1531*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe\r
1532*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe\r
1533*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe\r
b303ea72 1534*_ICC_X64_ASM_DLL = DEF(MS_VS_DLL)\r
a1c949f3
LG
1535*_ICC_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe\r
1536*_ICC_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe\r
1537*_ICC_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe\r
07a756b9 1538\r
7e6ae4d9 1539 DEBUG_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
1540RELEASE_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
7e6ae4d9 1541 DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
1542RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
1543 DEBUG_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1544RELEASE_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
07a756b9 1545 *_ICC_X64_SLINK_FLAGS = /nologo /LTCG\r
1546\r
1547\r
1548##################\r
1549# IPF definitions\r
1550##################\r
1551*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe\r
1552# icl.exe needs cl.exe from Visual Studio\r
b303ea72 1553*_ICC_IPF_CC_DLL = DEF(MS_VS_BIN)\r
07a756b9 1554*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe\r
1555# xilib.exe needs lib.exe from Visual Studio\r
b303ea72 1556*_ICC_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)\r
07a756b9 1557*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe\r
07a756b9 1558*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe\r
1559*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe\r
07a756b9 1560*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe\r
1561*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe\r
a1c949f3
LG
1562*_ICC_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe\r
1563*_ICC_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe\r
1564*_ICC_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe\r
07a756b9 1565\r
8e2978b4 1566 DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi\r
1567RELEASE_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF\r
07a756b9 1568 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
1569RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
b303ea72
LG
1570 DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
1571RELEASE_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
07a756b9 1572 *_ICC_IPF_SLINK_FLAGS = /nologo\r
1573\r
3b6c90a1 1574##################\r
1575# EBC definitions\r
1576##################\r
1577*_ICC_EBC_*_FAMILY = INTEL\r
1578\r
b303ea72 1579*_ICC_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe\r
3b6c90a1 1580*_ICC_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1581*_ICC_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
1582*_ICC_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1583*_ICC_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1584*_ICC_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1585\r
1586*_ICC_EBC_MAKE_FLAGS = /nologo\r
1587*_ICC_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1588*_ICC_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1589*_ICC_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1590*_ICC_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1591*_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\r
1592\r
1593####################################################################################\r
1594#\r
1595# Intel(R) C++ Compiler Version 9.1\r
1596#\r
1597# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032\r
1598# ASL - Microsoft ACPI Source Language Compiler\r
1599#\r
1600####################################################################################\r
1601# ICCxASL - Intel C Compiler V9.1\r
1602*_ICCxASL_*_*_FAMILY = INTEL\r
1603\r
b303ea72
LG
1604*_ICCxASL_*_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe\r
1605*_ICCxASL_*_RC_PATH = DEF(MS_VS_BIN)\rc.exe\r
3b6c90a1 1606\r
1607*_ICCxASL_*_MAKE_FLAGS = /nologo\r
1608*_ICCxASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1609*_ICCxASL_*_APP_FLAGS = /nologo /E /TC\r
1610*_ICCxASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1611\r
1612##################\r
1613# ASL definitions\r
1614##################\r
1615*_ICCxASL_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
1616*_ICCxASL_*_ASL_FLAGS =\r
1617*_ICCxASL_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1618*_ICCxASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)\r
1619*_ICCxASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)\r
1620*_ICCxASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
1621\r
1622##################\r
1623# IA32 definitions\r
1624##################\r
1625*_ICCxASL_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe\r
1626*_ICCxASL_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe\r
1627# xilib.exe needs lib.exe from Visual Studio\r
b303ea72 1628*_ICCxASL_IA32_SLINK_DLL = DEF(MS_VS_BIN)\r
3b6c90a1 1629*_ICCxASL_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe\r
1630*_ICCxASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
1631*_ICCxASL_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe\r
1632*_ICCxASL_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe\r
1633*_ICCxASL_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe\r
b303ea72
LG
1634*_ICCxASL_IA32_ASM_PATH = DEF(MS_VS_BIN)\ml.exe\r
1635*_ICCxASL_IA32_ASM_DLL = DEF(MS_VS_DLL)\r
3b6c90a1 1636*_ICCxASL_IA32_ASLCC_PATH = DEF(ICC_BIN32)\icl.exe\r
1637*_ICCxASL_IA32_ASLPP_PATH = DEF(ICC_BIN32)\icl.exe\r
1638*_ICCxASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32)\xilink.exe\r
1639\r
1640 DEBUG_ICCxASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
1641RELEASE_ICCxASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
1642 DEBUG_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi\r
1643RELEASE_ICCxASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd\r
1644 *_ICCxASL_IA32_SLINK_FLAGS = /nologo\r
b303ea72
LG
1645 DEBUG_ICCxASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1646RELEASE_ICCxASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1647 *_ICCxASL_IA32_ASMLINK_FLAGS = /nologo /tiny\r
1648\r
1649##################\r
1650# X64 definitions\r
1651##################\r
1652*_ICCxASL_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe\r
1653*_ICCxASL_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe\r
1654# xilib.exe needs lib.exe from Visual Studio\r
b303ea72 1655*_ICCxASL_X64_SLINK_DLL = DEF(MS_VS_BIN)\r
3b6c90a1 1656*_ICCxASL_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe\r
1657*_ICCxASL_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe\r
1658*_ICCxASL_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe\r
1659*_ICCxASL_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe\r
1660*_ICCxASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe\r
b303ea72 1661*_ICCxASL_X64_ASM_DLL = DEF(MS_VS_DLL)\r
3b6c90a1 1662*_ICCxASL_X64_ASLCC_PATH = DEF(ICC_BINX64)\icl.exe\r
1663*_ICCxASL_X64_ASLPP_PATH = DEF(ICC_BINX64)\icl.exe\r
1664*_ICCxASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64)\xilink.exe\r
1665\r
1666 DEBUG_ICCxASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
1667RELEASE_ICCxASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
1668 DEBUG_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
1669RELEASE_ICCxASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
1670 DEBUG_ICCxASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1671RELEASE_ICCxASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1672 *_ICCxASL_X64_SLINK_FLAGS = /nologo /LTCG\r
1673\r
1674\r
1675##################\r
1676# IPF definitions\r
1677##################\r
1678*_ICCxASL_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe\r
1679# icl.exe needs cl.exe from Visual Studio\r
b303ea72 1680*_ICCxASL_IPF_CC_DLL = DEF(MS_VS_BIN)\r
3b6c90a1 1681*_ICCxASL_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe\r
1682# xilib.exe needs lib.exe from Visual Studio\r
b303ea72 1683*_ICCxASL_IPF_SLINK_DLL = DEF(MS_VS_BIN);DEF(MS_VS_DLL)\r
3b6c90a1 1684*_ICCxASL_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe\r
1685*_ICCxASL_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe\r
1686*_ICCxASL_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe\r
1687*_ICCxASL_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe\r
1688*_ICCxASL_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe\r
1689*_ICCxASL_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe\r
1690*_ICCxASL_IPF_ASLPP_PATH = DEF(ICC_BIN64)\icl.exe\r
1691*_ICCxASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64)\xilink.exe\r
1692\r
8e2978b4 1693 DEBUG_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi\r
1694RELEASE_ICCxASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF\r
3b6c90a1 1695 DEBUG_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
1696RELEASE_ICCxASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
b303ea72
LG
1697 DEBUG_ICCxASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
1698RELEASE_ICCxASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
3b6c90a1 1699 *_ICCxASL_IPF_SLINK_FLAGS = /nologo\r
1700\r
1701##################\r
1702# EBC definitions\r
1703##################\r
1704*_ICCxASL_EBC_*_FAMILY = INTEL\r
1705\r
b303ea72 1706*_ICCxASL_EBC_MAKE_PATH = DEF(MS_VS_BIN)\nmake.exe\r
3b6c90a1 1707*_ICCxASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1708*_ICCxASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
1709*_ICCxASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1710*_ICCxASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1711*_ICCxASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1712\r
1713*_ICCxASL_EBC_MAKE_FLAGS = /nologo\r
1714*_ICCxASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1715*_ICCxASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1716*_ICCxASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1717*_ICCxASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1718*_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\r
1719\r
1720\r
1721####################################################################################\r
1722#\r
1723# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)\r
1724#\r
1725# ICCx86 - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032\r
1726# ASL - Intel ACPI Source Language Compiler\r
1727#\r
1728####################################################################################\r
1729# ICCx86 - Intel C Compiler V9.1\r
1730*_ICCx86_*_*_FAMILY = INTEL\r
1731\r
1732*_ICCx86_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
b303ea72 1733*_ICCx86_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe\r
3b6c90a1 1734\r
1735*_ICCx86_*_MAKE_FLAGS = /nologo\r
1736*_ICCx86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1737*_ICCx86_*_APP_FLAGS = /nologo /E /TC\r
1738*_ICCx86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1739\r
1740##################\r
1741# ASL definitions\r
1742##################\r
1743*_ICCx86_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
1744*_ICCx86_*_ASL_FLAGS =\r
1745*_ICCx86_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1746*_ICCx86_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)\r
1747*_ICCx86_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)\r
1748*_ICCx86_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
1749\r
1750##################\r
1751# IA32 definitions\r
1752##################\r
1753*_ICCx86_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1754*_ICCx86_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe\r
1755# xilib.exe needs lib.exe from Visual Studio\r
1756*_ICCx86_IA32_SLINK_DLL = DEF(VS2005x86_BIN)\r
1757*_ICCx86_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe\r
1758*_ICCx86_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
1759*_ICCx86_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1760*_ICCx86_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1761*_ICCx86_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1762*_ICCx86_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe\r
1763*_ICCx86_IA32_ASM_DLL = DEF(VS2005x86_DLL)\r
1764*_ICCx86_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1765*_ICCx86_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1766*_ICCx86_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe\r
1767\r
1768 DEBUG_ICCx86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
1769RELEASE_ICCx86_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
1770 DEBUG_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi\r
1771RELEASE_ICCx86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd\r
1772 *_ICCx86_IA32_SLINK_FLAGS = /nologo\r
b303ea72
LG
1773 DEBUG_ICCx86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1774RELEASE_ICCx86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1775 *_ICCx86_IA32_ASMLINK_FLAGS = /nologo /tiny\r
1776\r
1777##################\r
1778# X64 definitions\r
1779##################\r
1780*_ICCx86_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1781*_ICCx86_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe\r
1782# xilib.exe needs lib.exe from Visual Studio\r
1783*_ICCx86_X64_SLINK_DLL = DEF(VS2005x86_BIN)\r
1784*_ICCx86_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe\r
1785*_ICCx86_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1786*_ICCx86_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1787*_ICCx86_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1788*_ICCx86_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe\r
1789*_ICCx86_X64_ASM_DLL = DEF(VS2005x86_DLL)\r
1790*_ICCx86_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1791*_ICCx86_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1792*_ICCx86_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe\r
1793\r
1794 DEBUG_ICCx86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
1795RELEASE_ICCx86_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
1796 DEBUG_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
1797RELEASE_ICCx86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
1798 DEBUG_ICCx86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1799RELEASE_ICCx86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1800 *_ICCx86_X64_SLINK_FLAGS = /nologo /LTCG\r
1801\r
1802\r
1803##################\r
1804# IPF definitions\r
1805##################\r
1806*_ICCx86_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1807# icl.exe needs cl.exe from Visual Studio\r
1808*_ICCx86_IPF_CC_DLL = DEF(VS2005x86_BIN)\r
1809*_ICCx86_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe\r
1810# xilib.exe needs lib.exe from Visual Studio\r
1811*_ICCx86_IPF_SLINK_DLL = DEF(VS2005x86_BIN);DEF(VS2005x86_DLL)\r
1812*_ICCx86_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe\r
1813*_ICCx86_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1814*_ICCx86_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1815*_ICCx86_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1816*_ICCx86_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe\r
1817*_ICCx86_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1818*_ICCx86_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1819*_ICCx86_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe\r
1820\r
8e2978b4 1821 DEBUG_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi\r
1822RELEASE_ICCx86_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF\r
3b6c90a1 1823 DEBUG_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
1824RELEASE_ICCx86_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
b303ea72
LG
1825 DEBUG_ICCx86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
1826RELEASE_ICCx86_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
3b6c90a1 1827 *_ICCx86_IPF_SLINK_FLAGS = /nologo\r
1828\r
1829##################\r
1830# EBC definitions\r
1831##################\r
1832*_ICCx86_EBC_*_FAMILY = INTEL\r
1833\r
1834*_ICCx86_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
1835*_ICCx86_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1836*_ICCx86_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
1837*_ICCx86_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1838*_ICCx86_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1839*_ICCx86_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1840\r
1841*_ICCx86_EBC_MAKE_FLAGS = /nologo\r
1842*_ICCx86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1843*_ICCx86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1844*_ICCx86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1845*_ICCx86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1846*_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\r
1847\r
1848\r
1849####################################################################################\r
1850#\r
1851# Intel(R) C++ Compiler Version 9.1 x86 (32-bit on 64-bit OS)\r
1852#\r
1853# ICCx86xASL - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032\r
1854# ASL - Microsoft ACPI Source Language Compiler\r
1855#\r
1856####################################################################################\r
1857# ICCx86xASL - Intel C Compiler V9.1\r
1858*_ICCx86xASL_*_*_FAMILY = INTEL\r
1859\r
1860*_ICCx86xASL_*_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
b303ea72 1861*_ICCx86xASL_*_RC_PATH = DEF(VS2005x86_BIN)\rc.exe\r
3b6c90a1 1862\r
1863*_ICCx86xASL_*_MAKE_FLAGS = /nologo\r
1864*_ICCx86xASL_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1865*_ICCx86xASL_*_APP_FLAGS = /nologo /E /TC\r
1866*_ICCx86xASL_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1867\r
1868##################\r
1869# ASL definitions\r
1870##################\r
1871*_ICCx86xASL_*_ASL_PATH = DEF(WIN_ASL_BIN)\r
38d4998a
LG
1872*_ICCx86xASL_*_ASL_FLAGS =\r
1873*_ICCx86xASL_*_ASL_OUTFLAGS = DEF(MS_ASL_OUTFLAGS)\r
3b6c90a1 1874*_ICCx86xASL_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)\r
1875*_ICCx86xASL_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)\r
1876*_ICCx86xASL_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
1877\r
1878##################\r
1879# IA32 definitions\r
1880##################\r
1881*_ICCx86xASL_IA32_CC_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1882*_ICCx86xASL_IA32_SLINK_PATH = DEF(ICC_BIN32x86)\xilib.exe\r
1883# xilib.exe needs lib.exe from Visual Studio\r
1884*_ICCx86xASL_IA32_SLINK_DLL = DEF(VS2005x86_BIN)\r
1885*_ICCx86xASL_IA32_DLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe\r
1886*_ICCx86xASL_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
1887*_ICCx86xASL_IA32_PP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1888*_ICCx86xASL_IA32_VFRPP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1889*_ICCx86xASL_IA32_APP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1890*_ICCx86xASL_IA32_ASM_PATH = DEF(VS2005x86_BIN)\ml.exe\r
1891*_ICCx86xASL_IA32_ASM_DLL = DEF(VS2005x86_DLL)\r
1892*_ICCx86xASL_IA32_ASLCC_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1893*_ICCx86xASL_IA32_ASLPP_PATH = DEF(ICC_BIN32x86)\icl.exe\r
1894*_ICCx86xASL_IA32_ASLDLINK_PATH = DEF(ICC_BIN32x86)\xilink.exe\r
1895\r
1896 DEBUG_ICCx86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm\r
1897RELEASE_ICCx86xASL_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF\r
1898 DEBUG_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi\r
1899RELEASE_ICCx86xASL_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd\r
1900 *_ICCx86xASL_IA32_SLINK_FLAGS = /nologo\r
b303ea72
LG
1901 DEBUG_ICCx86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1902RELEASE_ICCx86xASL_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1903 *_ICCx86xASL_IA32_ASMLINK_FLAGS = /nologo /tiny\r
1904\r
1905##################\r
1906# X64 definitions\r
1907##################\r
1908*_ICCx86xASL_X64_CC_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1909*_ICCx86xASL_X64_SLINK_PATH = DEF(ICC_BINX64x86)\xilib.exe\r
1910# xilib.exe needs lib.exe from Visual Studio\r
1911*_ICCx86xASL_X64_SLINK_DLL = DEF(VS2005x86_BIN)\r
1912*_ICCx86xASL_X64_DLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe\r
1913*_ICCx86xASL_X64_PP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1914*_ICCx86xASL_X64_VFRPP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1915*_ICCx86xASL_X64_APP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1916*_ICCx86xASL_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe\r
1917*_ICCx86xASL_X64_ASM_DLL = DEF(VS2005x86_DLL)\r
1918*_ICCx86xASL_X64_ASLCC_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1919*_ICCx86xASL_X64_ASLPP_PATH = DEF(ICC_BINX64x86)\icl.exe\r
1920*_ICCx86xASL_X64_ASLDLINK_PATH = DEF(ICC_BINX64x86)\xilink.exe\r
1921\r
1922 DEBUG_ICCx86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
1923RELEASE_ICCx86xASL_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
1924 DEBUG_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
1925RELEASE_ICCx86xASL_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
1926 DEBUG_ICCx86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
1927RELEASE_ICCx86xASL_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
3b6c90a1 1928 *_ICCx86xASL_X64_SLINK_FLAGS = /nologo /LTCG\r
1929\r
1930\r
1931##################\r
1932# IPF definitions\r
1933##################\r
1934*_ICCx86xASL_IPF_CC_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1935# icl.exe needs cl.exe from Visual Studio\r
1936*_ICCx86xASL_IPF_CC_DLL = DEF(VS2005x86_BIN)\r
1937*_ICCx86xASL_IPF_SLINK_PATH = DEF(ICC_BIN64x86)\xilib.exe\r
1938# xilib.exe needs lib.exe from Visual Studio\r
1939*_ICCx86xASL_IPF_SLINK_DLL = DEF(VS2005x86_BIN);DEF(VS2005x86_DLL)\r
1940*_ICCx86xASL_IPF_DLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe\r
1941*_ICCx86xASL_IPF_PP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1942*_ICCx86xASL_IPF_VFRPP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1943*_ICCx86xASL_IPF_APP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1944*_ICCx86xASL_IPF_ASM_PATH = DEF(ICC_BIN64x86)\ias.exe\r
1945*_ICCx86xASL_IPF_ASLCC_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1946*_ICCx86xASL_IPF_ASLPP_PATH = DEF(ICC_BIN64x86)\icl.exe\r
1947*_ICCx86xASL_IPF_ASLDLINK_PATH = DEF(ICC_BIN64x86)\xilink.exe\r
1948\r
8e2978b4 1949 DEBUG_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF /Zi\r
1950RELEASE_ICCx86xASL_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /GF\r
3b6c90a1 1951 DEBUG_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
1952RELEASE_ICCx86xASL_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
b303ea72
LG
1953 DEBUG_ICCx86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
1954RELEASE_ICCx86xASL_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /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\r
3b6c90a1 1955 *_ICCx86xASL_IPF_SLINK_FLAGS = /nologo\r
1956\r
1957##################\r
1958# EBC definitions\r
1959##################\r
1960*_ICCx86xASL_EBC_*_FAMILY = INTEL\r
1961\r
1962*_ICCx86xASL_EBC_MAKE_PATH = DEF(VS2005x86_BIN)\nmake.exe\r
1963*_ICCx86xASL_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
1964*_ICCx86xASL_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
1965*_ICCx86xASL_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
1966*_ICCx86xASL_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
1967*_ICCx86xASL_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
1968\r
1969*_ICCx86xASL_EBC_MAKE_FLAGS = /nologo\r
1970*_ICCx86xASL_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1971*_ICCx86xASL_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
1972*_ICCx86xASL_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
1973*_ICCx86xASL_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
1974*_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\r
1975\r
1976\r
07a756b9 1977####################################################################################\r
1978#\r
1979# MYTOOLS\r
1980# IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker\r
1981# X64 - Microsoft Windows DDK 3790.1830\r
1982# IPF - Microsoft Windows DDK 3790.1830\r
1983# EBC - Intel EFI Byte Code Compiler\r
1984#\r
1985####################################################################################\r
1986# MYTOOLS - Settings compatible with previous versions of tools_def.template\r
1987*_MYTOOLS_*_*_FAMILY = MSFT\r
1988\r
3b6c90a1 1989##################\r
1990# ASL definitions\r
1991##################\r
1992*_MYTOOLS_*_ASL_PATH = DEF(WIN_IASL_BIN)\r
38d4998a
LG
1993*_MYTOOLS_*_ASL_FLAGS =\r
1994*_MYTOOLS_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
3b6c90a1 1995*_MYTOOLS_*_ASLCC_FLAGS = DEF(ICC_WIN_ASLCC_FLAGS)\r
1996*_MYTOOLS_*_ASLPP_FLAGS = DEF(ICC_WIN_ASLPP_FLAGS)\r
1997*_MYTOOLS_*_ASLDLINK_FLAGS = DEF(ICC_WIN_ASLDLINK_FLAGS)\r
1998\r
07a756b9 1999\r
04e031d0 2000*_MYTOOLS_*_MAKE_FLAGS = /nologo\r
abf1c3e4 2001*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
04e031d0 2002*_MYTOOLS_*_APP_FLAGS = /nologo /E /TC\r
2003*_MYTOOLS_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
2004*_MYTOOLS_*_SLINK_FLAGS = /nologo /LTCG\r
07a756b9 2005\r
2006##################\r
2007# IA32 definitions\r
2008##################\r
3b6c90a1 2009*_MYTOOLS_IA32_*_DLL = DEF(VS2005_DLL)\r
07a756b9 2010\r
3b6c90a1 2011*_MYTOOLS_IA32_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
2012*_MYTOOLS_IA32_CC_PATH = DEF(VS2005_BIN)\cl.exe\r
2013*_MYTOOLS_IA32_SLINK_PATH = DEF(VS2005_BIN)\lib.exe\r
2014*_MYTOOLS_IA32_DLINK_PATH = DEF(VS2005_BIN)\link.exe\r
acae1bc3 2015*_MYTOOLS_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
3b6c90a1 2016*_MYTOOLS_IA32_PP_PATH = DEF(VS2005_BIN)\cl.exe\r
2017*_MYTOOLS_IA32_VFRPP_PATH = DEF(VS2005_BIN)\cl.exe\r
2018*_MYTOOLS_IA32_APP_PATH = DEF(VS2005_BIN)\cl.exe\r
2019*_MYTOOLS_IA32_ASM_PATH = DEF(VS2005_BIN)\ml.exe\r
2020*_MYTOOLS_IA32_ASLCC_PATH = DEF(VS2005_BIN)\cl.exe\r
2021*_MYTOOLS_IA32_ASLPP_PATH = DEF(VS2005_BIN)\cl.exe\r
2022*_MYTOOLS_IA32_ASLDLINK_PATH = DEF(VS2005_BIN)\link.exe\r
b303ea72 2023*_MYTOOLS_IA32_RC_PATH = DEF(VS2005_BIN)\rc.exe\r
04e031d0 2024\r
f285eb16 2025 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
4ee8254a 2026RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
5edaeede 2027 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
2028RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd\r
b303ea72
LG
2029 DEBUG_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
2030RELEASE_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
0764e7ed 2031 *_MYTOOLS_IA32_ASMLINK_FLAGS = /nologo /tiny\r
07a756b9 2032\r
2033##################\r
2034# x64 definitions\r
2035##################\r
3b6c90a1 2036*_MYTOOLS_X64_*_DLL = DEF(VS2005_DLL)\r
2037\r
2038*_MYTOOLS_X64_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
2039*_MYTOOLS_X64_CC_PATH = DEF(VS2005_BINX64)\cl.exe\r
2040*_MYTOOLS_X64_SLINK_PATH = DEF(VS2005_BINX64)\lib.exe\r
2041*_MYTOOLS_X64_DLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
2042*_MYTOOLS_X64_PP_PATH = DEF(VS2005_BINX64)\cl.exe\r
2043*_MYTOOLS_X64_VFRPP_PATH = DEF(VS2005_BINX64)\cl.exe\r
2044*_MYTOOLS_X64_APP_PATH = DEF(VS2005_BINX64)\cl.exe\r
2045*_MYTOOLS_X64_ASM_PATH = DEF(VS2005_BINX64)\ml64.exe\r
2046*_MYTOOLS_X64_ASLCC_PATH = DEF(VS2005_BINX64)\cl.exe\r
2047*_MYTOOLS_X64_ASLPP_PATH = DEF(VS2005_BINX64)\cl.exe\r
2048*_MYTOOLS_X64_ASLDLINK_PATH = DEF(VS2005_BINX64)\link.exe\r
b303ea72 2049*_MYTOOLS_X64_RC_PATH = DEF(VS2005_BIN)\rc.exe\r
04e031d0 2050\r
f285eb16 2051 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
4ee8254a 2052RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
5edaeede 2053 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi\r
2054RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd\r
b303ea72
LG
2055 DEBUG_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
2056RELEASE_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
07a756b9 2057\r
2058##################\r
2059# IPF definitions\r
2060##################\r
2061*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe\r
2062*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe\r
2063*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe\r
2064*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe\r
07a756b9 2065*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
2066*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
2067*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
2068*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe\r
a1c949f3
LG
2069*_MYTOOLS_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe\r
2070*_MYTOOLS_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe\r
2071*_MYTOOLS_IPF_ASLDLINK_PATH = DEF(WINDDK_BIN64)\link.exe\r
b303ea72 2072*_MYTOOLS_IPF_RC_PATH = DEF(WINDDK_BIN32)\rc.exe\r
07a756b9 2073\r
b303ea72 2074 *_MYTOOLS_IPF_ASM_OUTPUT = "-o "\r
4ee8254a 2075 DEBUG_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi\r
f285eb16 2076RELEASE_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32\r
07a756b9 2077 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
2078RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4\r
b303ea72
LG
2079 DEBUG_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /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\r
2080RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /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\r
07a756b9 2081 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG\r
2082\r
2083##################\r
2084# EBC definitions\r
2085##################\r
2086*_MYTOOLS_EBC_*_FAMILY = INTEL\r
2087\r
3b6c90a1 2088*_MYTOOLS_EBC_MAKE_PATH = DEF(VS2005_BIN)\nmake.exe\r
07a756b9 2089*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe\r
c0577805 2090*_MYTOOLS_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe\r
07a756b9 2091*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe\r
2092*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe\r
2093*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe\r
b303ea72 2094*_MYTOOLS_EBC_RC_PATH = DEF(VS2005_BIN)\rc.exe\r
07a756b9 2095\r
2096*_MYTOOLS_EBC_MAKE_FLAGS = /nologo\r
2097*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h\r
1a974389 2098*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
abf1c3e4 2099*_MYTOOLS_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
07a756b9 2100*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC\r
f560de73 2101*_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\r
07a756b9 2102\r
fd171542 2103\r
2104####################################################################################\r
2105#\r
2106# Xcode Support for building on Mac OS X (Snow Leopard)\r
2107#\r
2108####################################################################################\r
2109# XCODE32 - Xcode 3.2 Tools (Snow Leopard)\r
2110*_XCODE32_*_*_FAMILY = GCC\r
2111*_XCODE32_*_*_BUILDRULEFAMILY = XCODE\r
2112\r
2113\r
2114*_XCODE32_*_ASL_PATH = /usr/bin/iasl\r
2115\r
2116*_XCODE32_*_MAKE_PATH = make\r
2117\r
2118# This tool needs to be installed seperatly from Xcode 3.2\r
2119*_XCODE32_*_MTOC_PATH = /Developer/usr/bin/mtoc\r
2120*_XCODE32_*_DSYMUTIL_PATH = /usr/bin/dsymutil\r
2121\r
2122 DEBUG_XCODE32_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll\r
2123RELEASE_XCODE32_*_MTOC_FLAGS = -align 0x20 \r
2124\r
2125##################\r
2126# IA32 definitions\r
2127##################\r
2128*_XCODE32_IA32_CC_PATH = gcc\r
2129*_XCODE32_IA32_SLINK_PATH = libtool\r
2130*_XCODE32_IA32_DLINK_PATH = ld\r
2131*_XCODE32_IA32_ASM_PATH = as\r
2132*_XCODE32_IA32_PP_PATH = gcc\r
2133*_XCODE32_IA32_VFRPP_PATH = gcc\r
2134*_XCODE32_IA32_ASL_PATH = iasl\r
2135*_XCODE32_IA32_ASLCC_PATH = gcc\r
2136*_XCODE32_IA32_ASLPP_PATH = gcc\r
2137*_XCODE32_IA32_ASLDLINK_PATH = ld\r
2138\r
2139 DEBUG_XCODE32_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -slow_stubs -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
2140RELEASE_XCODE32_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -slow_stubs -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
2141*_XCODE32_IA32_SLINK_FLAGS = -static -o\r
2142 DEBUG_XCODE32_IA32_ASM_FLAGS = -arch i386 -g\r
2143RELEASE_XCODE32_IA32_ASM_FLAGS = -arch i386 \r
2144*_XCODE32_IA32_PP_FLAGS = -arch i386 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
2145*_XCODE32_IA32_VFRPP_FLAGS = -arch i386 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
2146 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\r
2147RELEASE_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\r
2148\r
2149*_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\r
2150*_XCODE32_IA32_ASLDLINK_FLAGS = -arch i386 -e _main -preload -segalign 0x20 -slow_stubs -pie -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
2151*_XCODE32_IA32_ASLPP_FLAGS = -arch i386 -x c -E \r
2152*_XCODE32_IA32_ASL_FLAGS =\r
2153\r
2154##################\r
2155# X64 definitions - still a work in progress. This tool chain does not produce \r
2156# the correct ABI, it is just used to compile the code....\r
2157##################\r
2158*_XCODE32_X64_CC_PATH = gcc-4.2\r
2159*_XCODE32_X64_SLINK_PATH = libtool\r
2160*_XCODE32_X64_DLINK_PATH = ld\r
2161*_XCODE32_X64_ASM_PATH = as\r
2162*_XCODE32_X64_PP_PATH = gcc-4.2\r
2163*_XCODE32_X64_VFRPP_PATH = gcc-4.2\r
2164*_XCODE32_X64_ASL_PATH = iasl\r
2165*_XCODE32_X64_ASLCC_PATH = gcc\r
2166*_XCODE32_X64_ASLPP_PATH = gcc\r
2167*_XCODE32_X64_ASLDLINK_PATH = ld\r
2168\r
2169*_XCODE32_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -slow_stubs -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
2170*_XCODE32_X64_SLINK_FLAGS = -static -o\r
2171\r
2172 DEBUG_XCODE32_X64_ASM_FLAGS = -arch x86_64 -g\r
2173RELEASE_XCODE32_X64_ASM_FLAGS = -arch x86_64 \r
2174*_XCODE32_X64_PP_FLAGS = -arch x86_64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
2175*_XCODE32_X64_VFRPP_FLAGS = -arch x86_64 -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
2176\r
2177 DEBUG_XCODE32_X64_CC_FLAGS = -arch x86_64 -save-temps -g -O0 -combine -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -fomit-frame-pointer -static -c -include AutoGen.h -fno-stack-protector\r
2178RELEASE_XCODE32_X64_CC_FLAGS = -arch x86_64 -Oz -combine -mms-bitfields -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -fomit-frame-pointer -static -c -include AutoGen.h -fno-stack-protector\r
2179\r
2180##################\r
2181# ARM definitions - still a work in progress (Assumes iPhone SDK installed)\r
2182##################\r
2183\r
2184*_XCODE32_ARM_ARCHCC_FLAGS = -arch armv6 -march=armv6 -mthumb\r
2185*_XCODE32_ARM_ARCHASM_FLAGS = -arch armv6 \r
2186*_XCODE32_ARM_ARCHDLINK_FLAGS = -arch armv6 \r
2187*_XCODE32_ARM_PLATFORM_FLAGS =\r
2188*_XCODE32_ARM_INTRINSIC_FLAGS = CompilerIntrinsicsLib.lib\r
2189\r
2190*_XCODE32_ARM_CC_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc\r
2191*_XCODE32_ARM_SLINK_PATH = DEF(IPHONE_TOOLS)/usr/bin/libtool\r
2192*_XCODE32_ARM_DLINK_PATH = DEF(IPHONE_TOOLS)/usr/bin/ld\r
2193*_XCODE32_ARM_ASM_PATH = DEF(IPHONE_TOOLS)/usr/bin/as\r
2194*_XCODE32_ARM_PP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc\r
2195*_XCODE32_ARM_VFRPP_PATH = DEF(IPHONE_TOOLS)/usr/bin/gcc\r
2196\r
2197 DEBUG_XCODE32_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -slow_stubs -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map ENV(EDK_TOOLS_PATH)/Bin/Darwin-i386/ARM/DEBUG_XCODE32/$(INTRINSIC_FLAGS)\r
2198RELEASE_XCODE32_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -slow_stubs -pie -all_load -dead_strip -seg1addr 0x220 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map ENV(EDK_TOOLS_PATH)/Bin/Darwin-i386/ARM/RELEASE_XCODE32/$(INTRINSIC_FLAGS)\r
2199\r
2200*_XCODE32_ARM_SLINK_FLAGS = -static -o\r
2201\r
2202 DEBUG_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -g\r
2203RELEASE_XCODE32_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) \r
2204*_XCODE32_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
2205*_XCODE32_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
2206\r
2207 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 -mdynamic-no-pic -fno-stack-protector\r
2208RELEASE_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 -mdynamic-no-pic -fno-stack-protector\r
2209\r
2210\r
2211####################################################################################\r
2212#\r
2213# ARM Tools\r
2214#\r
2215####################################################################################\r
2216# RVCT31 - Tools from ARM\r
2217\r
2218*_RVCT31_*_*_FAMILY = RVCT\r
2219\r
2220#\r
2221# Use default values, or override in DSC file\r
2222#\r
2223*_RVCT31_ARM_ARCHCC_FLAGS = --thumb --cpu ARM1176JZF-S\r
2224*_RVCT31_ARM_ARCHASM_FLAGS = --cpu ARM1176JZF-S\r
2225*_RVCT31_ARM_ARCHDLINK_FLAGS = \r
2226*_RVCT31_ARM_PLATFORM_FLAGS =\r
2227*_RVCT31_ARM_INTRINSIC_FLAGS = CompilerIntrinsicsLib.lib\r
2228\r
2229 DEBUG_RVCT31_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map ENV(EDK_TOOLS_PATH)/Bin/Win32/ARM/DEBUG_RVCT31/$(INTRINSIC_FLAGS)\r
2230RELEASE_RVCT31_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map ENV(EDK_TOOLS_PATH)/Bin/Win32/ARM/RELEASE_RVCT31/$(INTRINSIC_FLAGS)\r
2231\r
2232\r
2233*_RVCT31_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) --apcs /interwork\r
2234*_RVCT31_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E\r
2235*_RVCT31_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
2236*_RVCT31_ARM_MAKE_PATH = nmake\r
2237*_RVCT31_ARM_SLINK_FLAGS = --partial -o\r
2238 DEBUG_RVCT31_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -c -g -O2 --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --enum_is_int --preinclude AutoGen.h --diag_warning 167\r
2239RELEASE_RVCT31_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -c --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --enum_is_int --preinclude AutoGen.h --diag_warning 167\r
2240\r
2241##################\r
2242# ARM definitions\r
2243##################\r
2244*_RVCT31_ARM_CC_PATH = DEF(RVCT31_TOOLS_PATH)/armcc\r
2245*_RVCT31_ARM_SLINK_PATH = DEF(RVCT31_TOOLS_PATH)/armlink\r
2246*_RVCT31_ARM_DLINK_PATH = DEF(RVCT31_TOOLS_PATH)/armlink\r
2247*_RVCT31_ARM_ASM_PATH = DEF(RVCT31_TOOLS_PATH)/armasm\r
2248*_RVCT31_ARM_PP_PATH = DEF(RVCT31_TOOLS_PATH)/armcc\r
2249*_RVCT31_ARM_VFRPP_PATH = DEF(RVCT31_TOOLS_PATH)/armcc\r
2250*_RVCT31_ARM_FROMELF_PATH = DEF(RVCT31_TOOLS_PATH)/fromelf\r
2251\r
2252####################################################################################\r
2253#\r
2254# ARM Tools & Cygwin\r
2255#\r
2256####################################################################################\r
2257# ARMCYGWIN - Tools from ARM in a Cygwin environment\r
2258\r
2259*_RVCT31CYGWIN_*_*_FAMILY = RVCT\r
2260*_RVCT31CYGWIN_*_*_BUILDRULEFAMILY = RVCTCYGWIN\r
2261\r
2262*_RVCT31CYGWIN_ARM_CCPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armcc\r
2263*_RVCT31CYGWIN_ARM_SLINKPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armlink\r
2264*_RVCT31CYGWIN_ARM_DLINKPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armlink\r
2265*_RVCT31CYGWIN_ARM_ASMPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armasm\r
2266*_RVCT31CYGWIN_ARM_PPPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armcc\r
2267*_RVCT31CYGWIN_ARM_VFRPPPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/armcc\r
2268*_RVCT31CYGWIN_ARM_FROMELFPATH_FLAG = DEF(RVCT31CYGWIN_TOOLS_PATH)/fromelf\r
2269\r
2270\r
2271#\r
2272# Use default values, or override in DSC file\r
2273#\r
2274*_RVCT31CYGWIN_ARM_ARCHCC_FLAGS = --thumb --cpu ARM1176JZF-S\r
2275*_RVCT31CYGWIN_ARM_ARCHASM_FLAGS = --cpu ARM1176JZF-S\r
2276*_RVCT31CYGWIN_ARM_ARCHDLINK_FLAGS = \r
2277*_RVCT31CYGWIN_ARM_PLATFORM_FLAGS =\r
2278*_RVCT31CYGWIN_ARM_INTRINSIC_FLAGS = CompilerIntrinsicsLib.lib\r
2279\r
2280 DEBUG_RVCT31CYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map` ENV(EDK_TOOLS_PATH)/Bin/CYGWIN_NT-5.1-i686/ARM/DEBUG_RVCT31CYGWIN/$(INTRINSIC_FLAGS)\r
2281RELEASE_RVCT31CYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --ro-base 0 --no_scanlib --reloc --no_exceptions --datacompressor off --strict --symbols --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map` ENV(EDK_TOOLS_PATH)/Bin/CYGWIN_NT-5.1-i686/ARM/DEBUG_RVCT31CYGWIN/$(INTRINSIC_FLAGS)\r
2282\r
2283*_RVCT31CYGWIN_ARM_ASM_FLAGS = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) --apcs /interwork\r
2284*_RVCT31CYGWIN_ARM_PP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E\r
2285*_RVCT31CYGWIN_ARM_VFRPP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude `cygpath -m $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h`\r
2286*_RVCT31CYGWIN_ARM_MAKE_PATH = make\r
2287*_RVCT31CYGWIN_ARM_SLINK_FLAGS = "$(SLINKPATH_FLAG)" --partial -o\r
2288 DEBUG_RVCT31CYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -c -g -O2 --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --preinclude AutoGen.h --diag_warning 167\r
2289RELEASE_RVCT31CYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --c90 -c --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --preinclude AutoGen.h --diag_warning 167\r
2290\r
2291##################\r
2292# ARM definitions\r
2293##################\r
2294*_RVCT31CYGWIN_ARM_CC_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2295*_RVCT31CYGWIN_ARM_SLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2296*_RVCT31CYGWIN_ARM_DLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2297*_RVCT31CYGWIN_ARM_ASM_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2298*_RVCT31CYGWIN_ARM_PP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2299*_RVCT31CYGWIN_ARM_VFRPP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2300*_RVCT31CYGWIN_ARM_FROMELF_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py\r
2301\r
2302####################################################################################\r
2303#\r
2304# ARM GCC (GCC 4.1.1, etc.)\r
2305#\r
2306####################################################################################\r
2307# ARMGCC - ARM version of the GCC cross compiler\r
2308\r
2309*_ARMGCC_*_*_FAMILY = GCC\r
2310*_ARMGCC_*_MAKE_PATH = make\r
2311\r
2312##################\r
2313# ASL definitions\r
2314##################\r
2315*_ARMGCC_*_ASL_PATH = DEF(UNIX_IASL_BIN)\r
2316*_ARMGCCC_*_ASL_FLAGS = \r
2317*_ARMGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)\r
2318*_ARMGCC_*_ASLPP_FLAGS = -x c -E -P\r
2319*_ARMGCC_*_ASLCC_FLAGS = -x c\r
2320*_ARMGCC_*_ASLDLINK_FLAGS = DEF(UNIXGCC_DLINK_FLAGS_COMMON) --entry _ReferenceAcpiTable\r
2321\r
2322##################\r
2323# ARM definitions\r
2324##################\r
2325\r
2326*_ARMGCC_ARM_ASLCC_PATH = DEF(ARMGCC_BIN)/arm-elf-gcc\r
2327*_ARMGCC_ARM_ASLDLINK_PATH = DEF(ARMGCC_BIN)/arm-elf-ld\r
2328*_ARMGCC_ARM_ASLPP_PATH = DEF(ARMGCC_BIN)/arm-elf-gcc\r
2329\r
2330*_ARMGCC_ARM_CC_PATH = DEF(ARMGCC_BIN)/arm-elf-gcc\r
2331*_ARMGCC_ARM_SLINK_PATH = DEF(ARMGCC_BIN)/arm-elf-ar\r
2332*_ARMGCC_ARM_DLINK_PATH = DEF(ARMGCC_BIN)/arm-elf-ld\r
2333*_ARMGCC_ARM_ASM_PATH = DEF(ARMGCC_BIN)/arm-elf-as\r
2334*_ARMGCC_ARM_PP_PATH = DEF(ARMGCC_BIN)/arm-elf-gcc\r
2335*_ARMGCC_ARM_VFRPP_PATH = DEF(ARMGCC_BIN)/arm-elf-gcc\r
2336\r
2337#\r
2338# Use default values, or override in DSC file\r
2339#\r
2340*_ARMGCC_ARM_ARCHCC_FLAGS = \r
2341*_ARMGCC_ARM_ARCHASM_FLAGS = \r
2342*_ARMGCC_ARM_ARCHDLINK_FLAGS = \r
2343*_ARMGCC_ARM_PLATFORM_FLAGS =\r
2344*_ARMGCC_ARM_INTRINSIC_FLAGS = CompilerIntrinsicsLib.lib\r
2345\r
2346 DEBUG_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -mlittle-endian -g\r
2347RELEASE_ARMGCC_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) -mlittle-endian\r
2348\r
2349*_ARMGCC_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
2350*_ARMGCC_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
2351\r
2352*_ARMGCC_ARM_MAKE_PATH = make\r
2353\r
2354*_ARMGCC_ARM_SLINK_FLAGS = -r\r
2355*_ARMGCC_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) --emit-relocs --oformat=elf32-littlearm -nostdlib -u $(IMAGE_ENTRY_POINT) -e $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
2356# --gc-sections\r
2357\r
2358 DEBUG_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mfpu=fpa -mlittle-endian -g -O2 -mabi=aapcs -mapcs -fno-short-enums -save-temps -combine -fsigned-char -fshort-wchar -fno-strict-aliasing -ffunction-sections -fdata-sections -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h\r
2359RELEASE_ARMGCC_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mfpu=fpa -mlittle-endian -O2 -mabi=aapcs -mapcs -fno-short-enums -save-temps -combine -fsigned-char -fshort-wchar -fno-strict-aliasing -ffunction-sections -fdata-sections -Wall -Werror -Wno-missing-braces -fomit-frame-pointer -c -include AutoGen.h\r
2360\r
2361\r
2362\r
2363\r
30962c77
LG
2364##################\r
2365# VfrCompiler definitions\r
2366##################\r
bdf37b3c 2367*_*_*_VFR_PATH = VfrCompile\r
30962c77 2368*_*_*_VFR_FLAGS = -l -n\r
a1c949f3 2369\r
15543340 2370##################\r
2371# OptionRom tool definitions\r
2372##################\r
2373*_*_*_OPTROM_PATH = EfiRom\r
2374*_*_*_OPTROM_FLAGS = -e\r
2375\r
a1c949f3
LG
2376##################\r
2377# Asl Compiler definitions\r
2378##################\r
dd1e6e11 2379*_*_*_ASLCC_FLAGS = /GL- /Y- /TC /Dmain=ReferenceAcpiTable\r
2ab2aad1 2380*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE\r
a1c949f3
LG
2381*_*_*_ASLPP_FLAGS = /nologo /EP /C\r
2382*_*_*_ASL_FLAGS =\r
abf1c3e4 2383\r
2895c506 2384##################\r
c470d831 2385# LzmaCompress tool definitions\r
2895c506 2386##################\r
c470d831 2387*_*_*_LZMA_PATH = LzmaCompress\r
2388*_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF\r
2389\r
2390##################\r
2391# TianoCompress tool definitions\r
2392##################\r
2393*_*_*_TIANO_PATH = TianoCompress\r
2394*_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779\r
3b6c90a1 2395\r