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