Update GenSec tool to always create output file without check file content.
[efi/basetools/.git] / Conf / tools_def.template
1 #\r
2 #  Copyright (c) 2006-2007, Intel Corporation\r
3 #\r
4 #  All rights reserved. This program and the accompanying materials\r
5 #  are licensed and made available under the terms and conditions of the BSD License\r
6 #  which accompanies this distribution.  The full text of the license may be found at\r
7 #  http://opensource.org/licenses/bsd-license.php\r
8 #\r
9 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11 #\r
12 \r
13 IDENTIFIER = Default TOOL_CHAIN_CONF\r
14 \r
15 # common path macros\r
16 DEFINE VSNET_BIN = C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\r
17 DEFINE VSNET_DLL = C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\r
18 \r
19 DEFINE VSNET2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\r
20 DEFINE VSNET2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\r
21 \r
22 DEFINE VS2005EXP_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
23 DEFINE VS2005EXP_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\r
24 \r
25 DEFINE VS2005STD_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
26 DEFINE VS2005STD_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\r
27 \r
28 DEFINE VS2005PRO_BIN    = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
29 DEFINE VS2005PRO_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64\r
30 DEFINE VS2005PRO_DLL    = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\r
31 \r
32 DEFINE VS2005TEAMSUITE_BIN    = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
33 DEFINE VS2005TEAMSUITE_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64\r
34 DEFINE VS2005TEAMSUITE_BIN64  = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64\r
35 DEFINE VS2005TEAMSUITE_DLL    = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\r
36 \r
37 DEFINE WINDDK_BIN16   = C:\WINDDK\3790.1830\bin\bin16\r
38 DEFINE WINDDK_BIN32   = C:\WINDDK\3790.1830\bin\x86\r
39 DEFINE WINDDK_BINX64  = C:\WINDDK\3790.1830\bin\win64\x86\amd64\r
40 DEFINE WINDDK_BIN64   = C:\WINDDK\3790.1830\bin\win64\x86\r
41 \r
42 DEFINE ICC_BIN32  = C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin\r
43 DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Bin\r
44 DEFINE ICC_BIN64  = C:\Program Files\Intel\Compiler\C++\9.1\Itanium\Bin\r
45 \r
46 DEFINE EBC_BIN    = C:\Program Files\Intel\EBC\Bin\r
47 \r
48 DEFINE ELFGCC_BIN    = /usr/bin\r
49 \r
50 # Option 1: Hard coded full path to compiler suite\r
51 #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
52 #DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
53 #\r
54 # Option 2: Use an environment variable\r
55 #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)\r
56 #DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(X64_PETOOLS_PREFIX)\r
57 #\r
58 # Option 3: Install the compiler suite into your default paths\r
59 #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-\r
60 #DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = x86_64-pc-mingw32-\r
61 #\r
62 # Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory\r
63 # Links needed: gcc, ar & ld\r
64 #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32\r
65 #DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64\r
66 \r
67 DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
68 DEFINE UNIXGCC_X64_PETOOLS_PREFIX  = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
69 \r
70 DEFINE CYGWIN_BIN    = c:/cygwin/bin\r
71 DEFINE CYGWIN_BIN32  = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
72 DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
73 \r
74 DEFINE ASL_BIN = C:\ASL\r
75 \r
76 ####################################################################################\r
77 #\r
78 # format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>\r
79 # priority:\r
80 #         TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)\r
81 #         ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE\r
82 #         TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE\r
83 #         ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE\r
84 #         TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE\r
85 #         ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE\r
86 #         TARGET_*********_****_COMMANDTYPE_ATTRIBUTE\r
87 #         ******_*********_****_COMMANDTYPE_ATTRIBUTE\r
88 #         TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE\r
89 #         ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE\r
90 #         TARGET_*********_ARCH_***********_ATTRIBUTE\r
91 #         ******_*********_ARCH_***********_ATTRIBUTE\r
92 #         TARGET_TOOLCHAIN_****_***********_ATTRIBUTE\r
93 #         ******_TOOLCHAIN_****_***********_ATTRIBUTE\r
94 #         TARGET_*********_****_***********_ATTRIBUTE\r
95 #         ******_*********_****_***********_ATTRIBUTE (Lowest)\r
96 #\r
97 ####################################################################################\r
98 ####################################################################################\r
99 #\r
100 # Supported Tool Chains\r
101 # =====================\r
102 #   VS2003           - Microsoft Visual Studio .NET 2003\r
103 #   VS2005EXP*       - Microsoft Visual Studio 2005 Express Edition\r
104 #   VS2005STD*       - Microsoft Visual Studio 2005 Standard Edition\r
105 #   VS2005PRO        - Microsoft Visual Studio 2005 Professional Edition\r
106 #   VS2005TEAMSUITE* - Microsoft Visual Studio 2005 Team Suite Edition\r
107 #   WINDDK3790x1830  - Microsoft Windows DDK 3790.1830\r
108 #   UINIXGCC         - UNIX GCC\r
109 #   ELFGCC           - Linux ELF GCC\r
110 #   CYGWINGCC        - CygWin GCC\r
111 #   ICC              - Intel C Compiler V9.1\r
112 #   MYTOOLS          - Settings compatible with previous versions of tools_def.template\r
113 #\r
114 # * Commented out - All versions of VS2005 use the same standard install directory\r
115 #\r
116 ####################################################################################\r
117 ####################################################################################\r
118 #\r
119 # Supported Tool Chain Family\r
120 # ===========================\r
121 #   MSFT           - Microsoft\r
122 #   GCC            - GNU GCC\r
123 #   INTEL          - INTEL\r
124 \r
125 ####################################################################################\r
126 #\r
127 # Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)\r
128 #\r
129 ####################################################################################\r
130 #   VS2003           - Microsoft Visual Studio .NET 2003\r
131 *_VS2003_*_*_FAMILY                 = MSFT\r
132 \r
133 ##################\r
134 # IA32 definitions\r
135 ##################\r
136 *_VS2003_IA32_*_DLL                 = DEF(VSNET2003_DLL)\r
137 \r
138 *_VS2003_IA32_MAKE_PATH             = DEF(VSNET2003_BIN)\nmake.exe\r
139 *_VS2003_IA32_CC_PATH               = DEF(VSNET2003_BIN)\cl.exe\r
140 *_VS2003_IA32_VFRPP_PATH            = DEF(VSNET2003_BIN)\cl.exe\r
141 *_VS2003_IA32_SLINK_PATH            = DEF(VSNET2003_BIN)\lib.exe\r
142 *_VS2003_IA32_DLINK_PATH            = DEF(VSNET2003_BIN)\link.exe\r
143 *_VS2003_IA32_ASMLINK_PATH          = DEF(WINDDK_BIN16)\link16.exe\r
144 *_VS2003_IA32_APP_PATH              = DEF(VSNET2003_BIN)\cl.exe\r
145 *_VS2003_IA32_PP_PATH               = DEF(VSNET2003_BIN)\cl.exe\r
146 *_VS2003_IA32_ASM_PATH              = DEF(VSNET2003_BIN)\ml.exe\r
147 *_VS2003_IA32_PCH_PATH              = DEF(VSNET2003_BIN)\cl.exe\r
148 *_VS2003_IA32_ASLCC_PATH            = DEF(VSNET2003_BIN)\cl.exe\r
149 *_VS2003_IA32_ASLPP_PATH            = DEF(VSNET2003_BIN)\cl.exe\r
150 *_VS2003_IA32_ASLDLINK_PATH         = DEF(VSNET2003_BIN)\link.exe\r
151 \r
152 \r
153       *_VS2003_IA32_MAKE_FLAGS           = /nologo\r
154       *_VS2003_IA32_APP_FLAGS            = /nologo /E /TC\r
155       *_VS2003_IA32_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h\r
156       *_VS2003_IA32_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
157   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
158 RELEASE_VS2003_IA32_CC_FLAGS             = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
159   DEBUG_VS2003_IA32_PCH_FLAGS            = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm\r
160 RELEASE_VS2003_IA32_PCH_FLAGS            = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
161   DEBUG_VS2003_IA32_ASM_FLAGS            = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
162 RELEASE_VS2003_IA32_ASM_FLAGS            = /nologo /c /WX /W3 /coff /Cx /Zd\r
163       *_VS2003_IA32_SLINK_FLAGS          = /nologo /LTCG\r
164   DEBUG_VS2003_IA32_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
165 RELEASE_VS2003_IA32_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
166       *_VS2003_IA32_ASMLINK_FLAGS        = /nologo /tiny\r
167 \r
168 ####################################################################################\r
169 #\r
170 # Microsoft Visual Studio 2005\r
171 #\r
172 ####################################################################################\r
173 #   VS2005PRO           - Microsoft Visual Studio 2005 Professional Edition\r
174 *_VS2005PRO_*_*_FAMILY              = MSFT\r
175 \r
176 *_VS2005PRO_*_TIANO_PATH            = TianoCompress.exe\r
177 *_VS2005PRO_*_TIANO_GUID                 = A31280AD-481E-41B6-95E8-127F4C984779\r
178 \r
179 *_VS2005PRO_*_ASL_PATH              = DEF(ASL_BIN)\iasl.exe\r
180 *_VS2005PRO_*_MAKE_PATH             = DEF(VS2005PRO_BIN)\nmake.exe\r
181 \r
182 *_VS2005PRO_*_MAKE_FLAGS                 = /nologo\r
183 *_VS2005PRO_*_SLINK_FLAGS                = /NOLOGO /LTCG\r
184 *_VS2005PRO_*_APP_FLAGS                  = /nologo /E /TC\r
185 *_VS2005PRO_*_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
186 *_VS2005PRO_*_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
187 ##################\r
188 # IA32 definitions\r
189 ##################\r
190 *_VS2005PRO_IA32_*_DLL              = DEF(VS2005PRO_DLL)\r
191 \r
192 *_VS2005PRO_IA32_CC_PATH            = DEF(VS2005PRO_BIN)\cl.exe\r
193 *_VS2005PRO_IA32_VFRPP_PATH         = DEF(VS2005PRO_BIN)\cl.exe\r
194 *_VS2005PRO_IA32_SLINK_PATH         = DEF(VS2005PRO_BIN)\lib.exe\r
195 *_VS2005PRO_IA32_DLINK_PATH         = DEF(VS2005PRO_BIN)\link.exe\r
196 *_VS2005PRO_IA32_ASMLINK_PATH       = DEF(WINDDK_BIN16)\link16.exe\r
197 *_VS2005PRO_IA32_APP_PATH           = DEF(VS2005PRO_BIN)\cl.exe\r
198 *_VS2005PRO_IA32_PP_PATH            = DEF(VS2005PRO_BIN)\cl.exe\r
199 *_VS2005PRO_IA32_ASM_PATH           = DEF(VS2005PRO_BIN)\ml.exe\r
200 *_VS2005PRO_IA32_ASLCC_PATH         = DEF(VS2005PRO_BIN)\cl.exe\r
201 *_VS2005PRO_IA32_ASLPP_PATH         = DEF(VS2005PRO_BIN)\cl.exe\r
202 *_VS2005PRO_IA32_ASLDLINK_PATH      = DEF(VS2005PRO_BIN)\link.exe\r
203 \r
204 \r
205   DEBUG_VS2005PRO_IA32_CC_FLAGS          = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
206 RELEASE_VS2005PRO_IA32_CC_FLAGS          = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
207   DEBUG_VS2005PRO_IA32_ASM_FLAGS         = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
208 RELEASE_VS2005PRO_IA32_ASM_FLAGS         = /nologo /c /WX /W3 /Cx /coff /Zd\r
209   DEBUG_VS2005PRO_IA32_DLINK_FLAGS       = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
210 RELEASE_VS2005PRO_IA32_DLINK_FLAGS       = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
211       *_VS2005PRO_IA32_ASMLINK_FLAGS     = /nologo /tiny\r
212 \r
213 ##################\r
214 # X64 definitions\r
215 ##################\r
216 *_VS2005PRO_X64_*_DLL               = DEF(VS2005PRO_DLL)\r
217 \r
218 *_VS2005PRO_X64_CC_PATH             = DEF(VS2005PRO_BINX64)\cl.exe\r
219 *_VS2005PRO_X64_PP_PATH             = DEF(VS2005PRO_BINX64)\cl.exe\r
220 *_VS2005PRO_X64_APP_PATH            = DEF(VS2005PRO_BINX64)\cl.exe\r
221 *_VS2005PRO_X64_VFRPP_PATH          = DEF(VS2005PRO_BINX64)\cl.exe\r
222 *_VS2005PRO_X64_ASM_PATH            = DEF(VS2005PRO_BINX64)\ml64.exe\r
223 *_VS2005PRO_X64_SLINK_PATH          = DEF(VS2005PRO_BINX64)\lib.exe\r
224 *_VS2005PRO_X64_DLINK_PATH          = DEF(VS2005PRO_BINX64)\link.exe\r
225 *_VS2005PRO_X64_ASLCC_PATH          = DEF(VS2005PRO_BINX64)\cl.exe\r
226 *_VS2005PRO_X64_ASLPP_PATH          = DEF(VS2005PRO_BINX64)\cl.exe\r
227 *_VS2005PRO_X64_ASLDLINK_PATH       = DEF(VS2005PRO_BINX64)\link.exe\r
228 \r
229   DEBUG_VS2005PRO_X64_CC_FLAGS           = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
230 RELEASE_VS2005PRO_X64_CC_FLAGS           = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
231   DEBUG_VS2005PRO_X64_ASM_FLAGS          = /nologo /c /WX /W3 /Cx /Zd /Zi\r
232 RELEASE_VS2005PRO_X64_ASM_FLAGS          = /nologo /c /WX /W3 /Cx /Zd\r
233   DEBUG_VS2005PRO_X64_DLINK_FLAGS        = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
234 RELEASE_VS2005PRO_X64_DLINK_FLAGS        = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
235 \r
236 ####################################################################################\r
237 #   VS2005TEAMSUITE           - Microsoft Visual Studio 2005 Team Suite Edition\r
238 *_VS2005TEAMSUITE_*_*_FAMILY        = MSFT\r
239 \r
240 *_VS2005TEAMSUITE_*_TIANO_PATH      = TianoCompress.exe\r
241 *_VS2005TEAMSUITE_*_TIANO_GUID           = A31280AD-481E-41B6-95E8-127F4C984779\r
242 \r
243 *_VS2005TEAMSUITE_*_ASL_PATH        = DEF(ASL_BIN)\iasl.exe\r
244 *_VS2005TEAMSUITE_*_MAKE_PATH       = DEF(VS2005TEAMSUITE_BIN)\nmake.exe\r
245 \r
246 \r
247 *_VS2005TEAMSUITE_*_MAKE_FLAGS           = /nologo\r
248 *_VS2005TEAMSUITE_*_SLINK_FLAGS          = /NOLOGO /LTCG\r
249 *_VS2005TEAMSUITE_*_APP_FLAGS            = /nologo /E /TC\r
250 *_VS2005TEAMSUITE_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h\r
251 *_VS2005TEAMSUITE_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
252 ##################\r
253 # IA32 definitions\r
254 ##################\r
255 *_VS2005TEAMSUITE_IA32_*_DLL        = DEF(VS2005TEAMSUITE_DLL)\r
256 \r
257 *_VS2005TEAMSUITE_IA32_MAKE_PATH    = DEF(VS2005TEAMSUITE_BIN)\nmake.exe\r
258 *_VS2005TEAMSUITE_IA32_CC_PATH      = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
259 *_VS2005TEAMSUITE_IA32_VFRPP_PATH   = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
260 *_VS2005TEAMSUITE_IA32_SLINK_PATH   = DEF(VS2005TEAMSUITE_BIN)\lib.exe\r
261 *_VS2005TEAMSUITE_IA32_DLINK_PATH   = DEF(VS2005TEAMSUITE_BIN)\link.exe\r
262 *_VS2005TEAMSUITE_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
263 *_VS2005TEAMSUITE_IA32_APP_PATH     = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
264 *_VS2005TEAMSUITE_IA32_PP_PATH      = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
265 *_VS2005TEAMSUITE_IA32_ASM_PATH     = DEF(VS2005TEAMSUITE_BIN)\ml.exe\r
266 *_VS2005TEAMSUITE_IA32_ASLCC_PATH    = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
267 *_VS2005TEAMSUITE_IA32_ASLPP_PATH    = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
268 *_VS2005TEAMSUITE_IA32_ASLDLINK_PATH = DEF(VS2005TEAMSUITE_BIN)\link.exe\r
269 \r
270       *_VS2005TEAMSUITE_IA32_MAKE_FLAGS  = /nologo\r
271   DEBUG_VS2005TEAMSUITE_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
272 RELEASE_VS2005TEAMSUITE_IA32_CC_FLAGS    = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
273   DEBUG_VS2005TEAMSUITE_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd /Zi\r
274 RELEASE_VS2005TEAMSUITE_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /Cx /coff /Zd\r
275   DEBUG_VS2005TEAMSUITE_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
276 RELEASE_VS2005TEAMSUITE_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
277       *_VS2005TEAMSUITE_IA32_ASMLINK_FLAGS= /nologo /tiny\r
278 \r
279 ##################\r
280 # X64 definitions\r
281 ##################\r
282 *_VS2005TEAMSUITE_X64_*_DLL         = DEF(VS2005TEAMSUITE_DLL)\r
283 \r
284 *_VS2005TEAMSUITE_X64_CC_PATH       = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
285 *_VS2005TEAMSUITE_X64_PP_PATH       = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
286 *_VS2005TEAMSUITE_X64_APP_PATH      = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
287 *_VS2005TEAMSUITE_X64_VFRPP_PATH    = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
288 *_VS2005TEAMSUITE_X64_ASM_PATH      = DEF(VS2005TEAMSUITE_BINX64)\ml64.exe\r
289 *_VS2005TEAMSUITE_X64_SLINK_PATH    = DEF(VS2005TEAMSUITE_BINX64)\lib.exe\r
290 *_VS2005TEAMSUITE_X64_DLINK_PATH    = DEF(VS2005TEAMSUITE_BINX64)\link.exe\r
291 *_VS2005TEAMSUITE_X64_ASLCC_PATH    = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
292 *_VS2005TEAMSUITE_X64_ASLPP_PATH    = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
293 *_VS2005TEAMSUITE_X64_ASLDLINK_PATH = DEF(VS2005TEAMSUITE_BINX64)\link.exe\r
294 \r
295 \r
296   DEBUG_VS2005TEAMSUITE_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
297 RELEASE_VS2005TEAMSUITE_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
298   DEBUG_VS2005TEAMSUITE_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
299 RELEASE_VS2005TEAMSUITE_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
300   DEBUG_VS2005TEAMSUITE_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
301 RELEASE_VS2005TEAMSUITE_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
302 \r
303 ##################\r
304 # IPF definitions\r
305 ##################\r
306 *_VS2005TEAMSUITE_IPF_*_DLL         = DEF(VS2005TEAMSUITE_DLL)\r
307 \r
308 *_VS2005TEAMSUITE_IPF_PP_PATH       = DEF(VS2005TEAMSUITE_BIN64)\cl.exe\r
309 *_VS2005TEAMSUITE_IPF_APP_PATH      = DEF(VS2005TEAMSUITE_BIN64)\cl.exe\r
310 *_VS2005TEAMSUITE_IPF_VFRPP_PATH    = DEF(VS2005TEAMSUITE_BIN64)\cl.exe\r
311 *_VS2005TEAMSUITE_IPF_CC_PATH       = DEF(VS2005TEAMSUITE_BIN64)\cl.exe\r
312 *_VS2005TEAMSUITE_IPF_ASM_PATH      = DEF(VS2005TEAMSUITE_BIN64)\ias.exe\r
313 *_VS2005TEAMSUITE_IPF_SLINK_PATH    = DEF(VS2005TEAMSUITE_BIN64)\lib.exe\r
314 *_VS2005TEAMSUITE_IPF_DLINK_PATH    = DEF(VS2005TEAMSUITE_BIN64)\link.exe\r
315 *_VS2005TEAMSUITE_IPF_ASLCC_PATH    = DEF(VS2005TEAMSUITE_BIN64)\cl.exe\r
316 *_VS2005TEAMSUITE_IPF_ASLPP_PATH    = DEF(VS2005TEAMSUITE_BIN64)\cl.exe\r
317 *_VS2005TEAMSUITE_IPF_ASLDLINK_PATH = DEF(VS2005TEAMSUITE_BIN64)\link.exe\r
318 \r
319   DEBUG_VS2005TEAMSUITE_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
320 RELEASE_VS2005TEAMSUITE_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
321   DEBUG_VS2005TEAMSUITE_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
322 RELEASE_VS2005TEAMSUITE_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
323   DEBUG_VS2005TEAMSUITE_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /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
324 RELEASE_VS2005TEAMSUITE_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /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
325 \r
326 ####################################################################################\r
327 #\r
328 # Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)\r
329 #\r
330 ####################################################################################\r
331 #   WINDDK3790x1830  - Microsoft Windows DDK 3790.1830\r
332 *_WINDDK3790x1830_*_*_FAMILY        = MSFT\r
333 \r
334 *_WINDDK3790x1830_*_MAKE_PATH       = DEF(WINDDK_BIN32)\nmake.exe\r
335 *_WINDDK3790x1830_*_MAKE_FLAGS           = /nologo\r
336 \r
337 *_WINDDK3790x1830_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h\r
338 *_WINDDK3790x1830_*_APP_FLAGS            = /nologo /E /TC\r
339 *_WINDDK3790x1830_*_SLINK_FLAGS          = /nologo /LTCG\r
340 *_WINDDK3790x1830_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
341 \r
342 ##################\r
343 # ASL definitions\r
344 ##################\r
345 *_WINDDK3790x1830_*_ASL_PATH        = DEF(ASL_BIN)\iasl.exe\r
346 \r
347 ##################\r
348 # IA32 definitions\r
349 ##################\r
350 *_WINDDK3790x1830_IA32_CC_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
351 *_WINDDK3790x1830_IA32_SLINK_PATH   = DEF(WINDDK_BIN32)\lib.exe\r
352 *_WINDDK3790x1830_IA32_DLINK_PATH   = DEF(WINDDK_BIN32)\link.exe\r
353 *_WINDDK3790x1830_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe\r
354 *_WINDDK3790x1830_IA32_PP_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
355 *_WINDDK3790x1830_IA32_VFRPP_PATH   = DEF(WINDDK_BIN32)\cl.exe\r
356 *_WINDDK3790x1830_IA32_APP_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
357 *_WINDDK3790x1830_IA32_PCH_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
358 *_WINDDK3790x1830_IA32_ASM_PATH     = DEF(WINDDK_BIN32)\ml.exe\r
359 *_WINDDK3790x1830_IA32_ASLCC_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
360 *_WINDDK3790x1830_IA32_ASLPP_PATH     = DEF(WINDDK_BIN32)\cl.exe\r
361 *_WINDDK3790x1830_IA32_ASLDLINK_PATH  = DEF(WINDDK_BIN32)\link.exe\r
362 \r
363   DEBUG_WINDDK3790x1830_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
364 RELEASE_WINDDK3790x1830_IA32_CC_FLAGS    = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
365   DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS   = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm\r
366 RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS   = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
367   DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
368 RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS   = /nologo /c /WX /W3 /coff /Cx /Zd\r
369   DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
370 RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
371     *_WINDDK3790x1830_IA32_ASMLINK_FLAGS = /nologo /tiny\r
372 \r
373 ##################\r
374 # x64 definitions\r
375 ##################\r
376 *_WINDDK3790x1830_X64_CC_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
377 *_WINDDK3790x1830_X64_SLINK_PATH   = DEF(WINDDK_BINX64)\lib.exe\r
378 *_WINDDK3790x1830_X64_DLINK_PATH   = DEF(WINDDK_BINX64)\link.exe\r
379 *_WINDDK3790x1830_X64_PP_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
380 *_WINDDK3790x1830_X64_VFRPP_PATH   = DEF(WINDDK_BINX64)\cl.exe\r
381 *_WINDDK3790x1830_X64_APP_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
382 *_WINDDK3790x1830_X64_PCH_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
383 *_WINDDK3790x1830_X64_ASM_PATH     = DEF(WINDDK_BINX64)\ml64.exe\r
384 *_WINDDK3790x1830_X64_ASLCC_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
385 *_WINDDK3790x1830_X64_ASLPP_PATH     = DEF(WINDDK_BINX64)\cl.exe\r
386 *_WINDDK3790x1830_X64_ASLDLINK_PATH  = DEF(WINDDK_BINX64)\link.exe\r
387 \r
388   DEBUG_WINDDK3790x1830_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
389 RELEASE_WINDDK3790x1830_X64_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
390   DEBUG_WINDDK3790x1830_X64_PCH_FLAGS    = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm\r
391 RELEASE_WINDDK3790x1830_X64_PCH_FLAGS    = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
392   DEBUG_WINDDK3790x1830_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd /Zi\r
393 RELEASE_WINDDK3790x1830_X64_ASM_FLAGS    = /nologo /c /WX /W3 /Cx /Zd\r
394   DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
395 RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
396 \r
397 ##################\r
398 # IPF definitions\r
399 ##################\r
400 *_WINDDK3790x1830_IPF_CC_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
401 *_WINDDK3790x1830_IPF_SLINK_PATH   = DEF(WINDDK_BIN64)\lib.exe\r
402 *_WINDDK3790x1830_IPF_DLINK_PATH   = DEF(WINDDK_BIN64)\link.exe\r
403 *_WINDDK3790x1830_IPF_PP_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
404 *_WINDDK3790x1830_IPF_VFRPP_PATH   = DEF(WINDDK_BIN64)\cl.exe\r
405 *_WINDDK3790x1830_IPF_APP_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
406 *_WINDDK3790x1830_IPF_PCH_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
407 *_WINDDK3790x1830_IPF_ASM_PATH     = DEF(WINDDK_BIN64)\ias.exe\r
408 *_WINDDK3790x1830_IPF_ASLCC_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
409 *_WINDDK3790x1830_IPF_ASLPP_PATH     = DEF(WINDDK_BIN64)\cl.exe\r
410 *_WINDDK3790x1830_IPF_ASLDLINK_PATH  = DEF(WINDDK_BIN64)\link.exe\r
411 \r
412 \r
413   DEBUG_WINDDK3790x1830_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi\r
414 RELEASE_WINDDK3790x1830_IPF_CC_FLAGS     = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32\r
415   DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS    = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi\r
416 RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS    = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
417   DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
418 RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
419   DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /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
420 RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /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
421 \r
422 ##################\r
423 # EBC definitions\r
424 ##################\r
425 *_WINDDK3790x1830_EBC_*_FAMILY      = INTEL\r
426 \r
427 *_WINDDK3790x1830_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe\r
428 *_WINDDK3790x1830_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe\r
429 *_WINDDK3790x1830_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe\r
430 *_WINDDK3790x1830_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe\r
431 *_WINDDK3790x1830_EBC_VFRPP_PATH    = DEF(EBC_BIN)\iec.exe\r
432 \r
433 *_WINDDK3790x1830_EBC_CC_FLAGS           = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
434 *_WINDDK3790x1830_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC\r
435 *_WINDDK3790x1830_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
436 \r
437 ####################################################################################\r
438 #\r
439 # Unix GCC\r
440 #\r
441 ####################################################################################\r
442 #   UINIXGCC         - UINIX GCC\r
443 *_UNIXGCC_*_*_FAMILY               = GCC\r
444 \r
445 *_UNIXGCC_*_DLINK_FLAGS                  = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map\r
446 *_UNIXGCC_*_ASM_FLAGS                    = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
447 *_UNIXGCC_*_PP_FLAGS                     = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
448 *_UNIXGCC_*_VFRPP_FLAGS                  = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
449 *_UNIXGCC_*_MAKE_PATH                    = make\r
450 \r
451 ##################\r
452 # IA32 definitions\r
453 ##################\r
454 *_UNIXGCC_IA32_CC_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
455 *_UNIXGCC_IA32_SLINK_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ar\r
456 *_UNIXGCC_IA32_DLINK_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ld\r
457 *_UNIXGCC_IA32_ASM_PATH             = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
458 *_UNIXGCC_IA32_PP_PATH              = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
459 *_UNIXGCC_IA32_VFRPP_PATH           = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc\r
460 \r
461 *_UNIXGCC_IA32_CC_FLAGS                  = -O2 -falign-functions -falign-jumps -falign-loops -freorder-blocks -freorder-blocks-and-partition -falign-labels -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h\r
462 \r
463 ##################\r
464 # X64 definitions\r
465 ##################\r
466 *_UNIXGCC_X64_CC_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
467 *_UNIXGCC_X64_SLINK_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ar\r
468 *_UNIXGCC_X64_DLINK_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ld\r
469 *_UNIXGCC_X64_ASM_PATH              = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
470 *_UNIXGCC_X64_PP_PATH               = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
471 *_UNIXGCC_X64_VFRPP_PATH            = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc\r
472 \r
473 *_UNIXGCC_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
474 \r
475 ####################################################################################\r
476 #\r
477 # Cygwin GCC\r
478 #\r
479 ####################################################################################\r
480 #   CYGWINGCC        - CygWin GCC\r
481 *_CYGWINGCC_*_*_FAMILY              = GCC\r
482 \r
483 *_CYGWINGCC_*_*_DPATH               = DEF(CYGWIN_BIN)\r
484 *_CYGWINGCC_*_ASL_PATH              = DEF(ASL_BIN)/iasl.exe\r
485 *_CYGWINGCC_*_MAKE_PATH             = DEF(VSNET2003_BIN)\nmake.exe\r
486 \r
487 *_CYGWINGCC_*_MAKE_FLAGS                 = /nologo\r
488 *_CYGWINGCC_*_DLINK_FLAGS                = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20\r
489 *_CYGWINGCC_*_ASM_FLAGS                  = -c -x assembler -imacros AutoGen.h\r
490 *_CYGWINGCC_*_PP_FLAGS                   = -E -x assembler-with-cpp -include AutoGen.h\r
491 *_CYGWINGCC_*_APP_FLAGS                  = -E -x assembler\r
492 *_CYGWINGCC_*_VFRPP_FLAGS                = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h\r
493 \r
494 ##################\r
495 # IA32 definitions\r
496 ##################\r
497 *_CYGWINGCC_IA32_CC_PATH            = DEF(CYGWIN_BIN32)/gcc\r
498 *_CYGWINGCC_IA32_SLINK_PATH         = DEF(CYGWIN_BIN32)/ar\r
499 *_CYGWINGCC_IA32_DLINK_PATH         = DEF(CYGWIN_BIN32)/ld\r
500 *_CYGWINGCC_IA32_ASM_PATH           = DEF(CYGWIN_BIN32)/gcc\r
501 *_CYGWINGCC_IA32_PP_PATH            = DEF(CYGWIN_BIN32)/gcc\r
502 *_CYGWINGCC_IA32_APP_PATH           = DEF(CYGWIN_BIN32)/gcc\r
503 *_CYGWINGCC_IA32_VFRPP_PATH         = DEF(CYGWIN_BIN32)/gcc\r
504 \r
505 *_CYGWINGCC_IA32_CC_FLAGS           = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h\r
506 \r
507 ##################\r
508 # X64 definitions\r
509 ##################\r
510 *_CYGWINGCC_X64_CC_PATH             = DEF(CYGWIN_BINX64)/gcc\r
511 *_CYGWINGCC_X64_SLINK_PATH          = DEF(CYGWIN_BINX64)/ar\r
512 *_CYGWINGCC_X64_DLINK_PATH          = DEF(CYGWIN_BINX64)/ld\r
513 *_CYGWINGCC_X64_ASM_PATH            = DEF(CYGWIN_BINX64)/gcc\r
514 *_CYGWINGCC_X64_PP_PATH             = DEF(CYGWIN_BINX64)/gcc\r
515 *_CYGWINGCC_X64_APP_PATH            = DEF(CYGWIN_BINX64)/gcc\r
516 *_CYGWINGCC_X64_VFRPP_PATH          = DEF(CYGWIN_BINX64)/gcc\r
517 \r
518 *_CYGWINGCC_X64_CC_FLAGS            = -Os -fshort-wchar -fno-strict-aliasing -mno-red-zone -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
519 \r
520 ####################################################################################\r
521 #\r
522 # Elf GCC - This configuration is used to compile on Linux boxes to produce elf\r
523 #           binaries.\r
524 #\r
525 ####################################################################################\r
526 #   ELFGCC           - Linux ELF GCC\r
527 *_ELFGCC_*_*_FAMILY                 = GCC\r
528 \r
529 *_ELFGCC_IA32_CC_PATH               = DEF(ELFGCC_BIN)/gcc\r
530 *_ELFGCC_IA32_SLINK_PATH            = DEF(ELFGCC_BIN)/ar\r
531 *_ELFGCC_IA32_DLINK_PATH            = DEF(ELFGCC_BIN)/ld\r
532 *_ELFGCC_IA32_DLINK2_PATH           = DEF(ELFGCC_BIN)/ld\r
533 *_ELFGCC_IA32_ASM_PATH              = DEF(ELFGCC_BIN)/gcc\r
534 *_ELFGCC_IA32_PP_PATH               = DEF(ELFGCC_BIN)/gcc\r
535 *_ELFGCC_IA32_VFRPP_PATH            = DEF(ELFGCC_BIN)/gcc\r
536 *_ELFGCC_*_MAKE_PATH                    = make\r
537 \r
538 *_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
539 *_ELFGCC_*_DLINK_FLAGS                   = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
540 #*_ELFGCC_*_DLINK_FLAGS                   = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)\r
541 *_ELFGCC_*_ASM_FLAGS                     = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
542 *_ELFGCC_*_PP_FLAGS                      = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
543 *_ELFGCC_*_VFRPP_FLAGS                   = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h\r
544 \r
545 \r
546 ####################################################################################\r
547 #\r
548 # Intel EFI Byte Code Compiler (Template)\r
549 #\r
550 ####################################################################################\r
551 # *_*_EBC_*_FAMILY                   = INTEL\r
552 #\r
553 # *_*_EBC_PP_PATH                    = C:\Program Files\Intel\EBC\Bin\iec.exe\r
554 # *_*_EBC_CC_PATH                    = C:\Program Files\Intel\EBC\Bin\iec.exe\r
555 # *_*_EBC_SLINK_PATH                 = C:\Program Files\Intel\EBC\Bin\link.exe\r
556 #\r
557 # *_*_EBC_SLINK_FLAGS                     = /lib /NOLOGO /MACHINE:EBC\r
558 # *_*_EBC_PP_FLAGS                        = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
559 # *_*_EBC_CC_FLAGS                        = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
560 # *_*_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
561 #\r
562 ####################################################################################\r
563 #\r
564 # Intel ACPI Source Language Compiler (Template)\r
565 #\r
566 ####################################################################################\r
567 # *_*_*_ASL_FAMILY                   = INTEL\r
568 #\r
569 # *_*_*_ASL_PATH                     = C:\ASL\iasl.exe\r
570 #\r
571 ####################################################################################\r
572 #\r
573 # Microsoft ACPI Source Language Compiler (Template)\r
574 #\r
575 ####################################################################################\r
576 # *_*_*_ASL_FAMILY                   = MSFT\r
577 #\r
578 # *_*_*_ASL_PATH                     = C:\ASL\iasl.exe\r
579 #\r
580 \r
581 \r
582 ####################################################################################\r
583 #\r
584 # Intel(R) C++ Compiler Version 9.1\r
585 #\r
586 #   IPF  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032\r
587 #   ASL  - Intel ACPI Source Language Compiler\r
588 #\r
589 ####################################################################################\r
590 #   ICC              - Intel C Compiler V9.1\r
591 *_ICC_*_*_FAMILY                    = INTEL\r
592 \r
593 *_ICC_*_ASL_PATH                    = DEF(ASL_BIN)\iasl.exe\r
594 *_ICC_*_MAKE_PATH                   = DEF(VS2005TEAMSUITE_BIN)\nmake.exe\r
595 \r
596 *_ICC_*_MAKE_FLAGS                       = /nologo\r
597 *_ICC_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
598 *_ICC_*_APP_FLAGS                        = /nologo /E /TC\r
599 *_ICC_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h\r
600 \r
601 *_ICC_*_ASLCC_FLAGS                      = /Y- /TC /WX-\r
602 *_ICC_*_ASLDLINK_FLAGS                   = /NODEFAULTLIB /ENTRY:main /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libmmt /NODEFAULTLIB:libirc\r
603 *_ICC_*_ASLPP_FLAGS                      = /nologo /EP /C\r
604 \r
605 ##################\r
606 # IA32 definitions\r
607 ##################\r
608 *_ICC_IA32_PCH_PATH                 = DEF(ICC_BIN32)\icl.exe\r
609 *_ICC_IA32_CC_PATH                  = DEF(ICC_BIN32)\icl.exe\r
610 *_ICC_IA32_SLINK_PATH               = DEF(ICC_BIN32)\xilib.exe\r
611 # xilib.exe needs lib.exe from Visual Studio\r
612 *_ICC_IA32_SLINK_DLL                = DEF(VS2005TEAMSUITE_BIN)\r
613 *_ICC_IA32_DLINK_PATH               = DEF(ICC_BIN32)\xilink.exe\r
614 *_ICC_IA32_ASMLINK_PATH             = DEF(WINDDK_BIN16)\link16.exe\r
615 *_ICC_IA32_PP_PATH                  = DEF(ICC_BIN32)\icl.exe\r
616 *_ICC_IA32_VFRPP_PATH               = DEF(ICC_BIN32)\icl.exe\r
617 *_ICC_IA32_APP_PATH                 = DEF(ICC_BIN32)\icl.exe\r
618 *_ICC_IA32_ASM_PATH                 = DEF(VS2005TEAMSUITE_BIN)\ml.exe\r
619 *_ICC_IA32_ASM_DLL                  = DEF(VS2005TEAMSUITE_DLL)\r
620 *_ICC_IA32_ASLCC_PATH               = DEF(ICC_BIN32)\icl.exe\r
621 *_ICC_IA32_ASLPP_PATH               = DEF(ICC_BIN32)\icl.exe\r
622 *_ICC_IA32_ASLDLINK_PATH            = DEF(ICC_BIN32)\xilink.exe\r
623 \r
624   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
625 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
626   DEBUG_ICC_IA32_PCH_FLAGS               = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Yc /TC /Zi /Gm\r
627 RELEASE_ICC_IA32_PCH_FLAGS               = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Yc /TC\r
628   DEBUG_ICC_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd /Zi\r
629 RELEASE_ICC_IA32_ASM_FLAGS               = /nologo /c /WX /W3 /Zd\r
630       *_ICC_IA32_SLINK_FLAGS             = /nologo\r
631   DEBUG_ICC_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
632 RELEASE_ICC_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
633       *_ICC_IA32_ASMLINK_FLAGS           = /nologo /tiny\r
634 \r
635 ##################\r
636 # X64 definitions\r
637 ##################\r
638 *_ICC_X64_PCH_PATH                  = DEF(ICC_BINX64)\icl.exe\r
639 *_ICC_X64_CC_PATH                   = DEF(ICC_BINX64)\icl.exe\r
640 *_ICC_X64_SLINK_PATH                = DEF(ICC_BINX64)\xilib.exe\r
641 # xilib.exe needs lib.exe from Visual Studio\r
642 *_ICC_X64_SLINK_DLL                 = DEF(VS2005TEAMSUITE_BIN)\r
643 *_ICC_X64_DLINK_PATH                = DEF(ICC_BINX64)\xilink.exe\r
644 *_ICC_X64_PP_PATH                   = DEF(ICC_BINX64)\icl.exe\r
645 *_ICC_X64_VFRPP_PATH                = DEF(ICC_BINX64)\icl.exe\r
646 *_ICC_X64_APP_PATH                  = DEF(ICC_BINX64)\icl.exe\r
647 *_ICC_X64_ASM_PATH                  = DEF(WINDDK_BINX64)\ml64.exe\r
648 *_ICC_X64_ASM_DLL                   = DEF(VS2005TEAMSUITE_DLL)\r
649 *_ICC_X64_ASLCC_PATH                = DEF(ICC_BINX64)\icl.exe\r
650 *_ICC_X64_ASLPP_PATH                = DEF(ICC_BINX64)\icl.exe\r
651 *_ICC_X64_ASLDLINK_PATH             = DEF(ICC_BINX64)\xilink.exe\r
652 \r
653   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
654 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
655   DEBUG_ICC_X64_PCH_FLAGS                = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF\r
656 RELEASE_ICC_X64_PCH_FLAGS                = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF\r
657   DEBUG_ICC_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd /Zi\r
658 RELEASE_ICC_X64_ASM_FLAGS                = /nologo /c /WX /W3 /Cx /Zd\r
659   DEBUG_ICC_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
660 RELEASE_ICC_X64_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
661       *_ICC_X64_SLINK_FLAGS              = /nologo /LTCG\r
662 \r
663 \r
664 ##################\r
665 # IPF definitions\r
666 ##################\r
667 *_ICC_IPF_CC_PATH                   = DEF(ICC_BIN64)\icl.exe\r
668 # icl.exe needs cl.exe from Visual Studio\r
669 *_ICC_IPF_CC_DLL                    = DEF(VS2005TEAMSUITE_BIN)\r
670 *_ICC_IPF_SLINK_PATH                = DEF(ICC_BIN64)\xilib.exe\r
671 # xilib.exe needs lib.exe from Visual Studio\r
672 *_ICC_IPF_SLINK_DLL                 = DEF(VS2005TEAMSUITE_BIN);DEF(VS2005TEAMSUITE_DLL)\r
673 *_ICC_IPF_DLINK_PATH                = DEF(ICC_BIN64)\xilink.exe\r
674 *_ICC_IPF_PP_PATH                   = DEF(ICC_BIN64)\icl.exe\r
675 *_ICC_IPF_VFRPP_PATH                = DEF(ICC_BIN64)\icl.exe\r
676 *_ICC_IPF_PCH_PATH                  = DEF(ICC_BIN64)\icl.exe\r
677 *_ICC_IPF_APP_PATH                  = DEF(ICC_BIN64)\icl.exe\r
678 *_ICC_IPF_ASM_PATH                  = DEF(ICC_BIN64)\ias.exe\r
679 *_ICC_IPF_ASLCC_PATH                = DEF(ICC_BIN64)\icl.exe\r
680 *_ICC_IPF_ASLPP_PATH                = DEF(ICC_BIN64)\icl.exe\r
681 *_ICC_IPF_ASLDLINK_PATH             = DEF(ICC_BIN64)\xilink.exe\r
682 \r
683   DEBUG_ICC_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi\r
684 RELEASE_ICC_IPF_CC_FLAGS                 = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32\r
685   DEBUG_ICC_IPF_PCH_FLAGS                = /nologo /c /WX /W4 /GX /Gy /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zi\r
686 RELEASE_ICC_IPF_PCH_FLAGS                = /nologo /c /WX /W4 /GX /Gy /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC\r
687   DEBUG_ICC_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
688 RELEASE_ICC_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
689   DEBUG_ICC_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /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
690 RELEASE_ICC_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /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
691       *_ICC_IPF_SLINK_FLAGS              = /nologo\r
692 \r
693 ####################################################################################\r
694 #\r
695 # MYTOOLS\r
696 #   IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker\r
697 #   X64  - Microsoft Windows DDK 3790.1830\r
698 #   IPF  - Microsoft Windows DDK 3790.1830\r
699 #   EBC  - Intel EFI Byte Code Compiler\r
700 #\r
701 ####################################################################################\r
702 #   MYTOOLS          - Settings compatible with previous versions of tools_def.template\r
703 *_MYTOOLS_*_*_FAMILY                = MSFT\r
704 \r
705 *_MYTOOLS_*_TIANO_PATH              = TianoCompress.exe\r
706 *_MYTOOLS_*_TIANO_GUID                   = A31280AD-481E-41B6-95E8-127F4C984779\r
707 \r
708 *_MYTOOLS_*_ASL_PATH                = DEF(ASL_BIN)\iasl.exe\r
709 \r
710 *_MYTOOLS_*_MAKE_FLAGS                   = /nologo\r
711 *_MYTOOLS_*_VFRPP_FLAGS                  = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
712 *_MYTOOLS_*_APP_FLAGS                    = /nologo /E /TC\r
713 *_MYTOOLS_*_PP_FLAGS                     = /nologo /E /TC /FIAutoGen.h\r
714 *_MYTOOLS_*_SLINK_FLAGS                  = /nologo /LTCG\r
715 \r
716 *_MYTOOLS_*_ASM16_PATH            = DEF(VS2005TEAMSUITE_BIN)\ml.exe\r
717   DEBUG_MYTOOLS_*_ASM16_FLAGS     = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
718 RELEASE_MYTOOLS_*_ASM16_FLAGS     = /nologo /c /WX /W3 /coff /Cx /Zd\r
719 \r
720 ##################\r
721 # IA32 definitions\r
722 ##################\r
723 *_MYTOOLS_IA32_*_DLL                = DEF(VS2005TEAMSUITE_DLL)\r
724 \r
725 *_MYTOOLS_IA32_MAKE_PATH            = DEF(VS2005TEAMSUITE_BIN)\nmake.exe\r
726 *_MYTOOLS_IA32_CC_PATH              = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
727 *_MYTOOLS_IA32_SLINK_PATH           = DEF(VS2005TEAMSUITE_BIN)\lib.exe\r
728 *_MYTOOLS_IA32_DLINK_PATH           = DEF(VS2005TEAMSUITE_BIN)\link.exe\r
729 *_MYTOOLS_IA32_ASMLINK_PATH         = DEF(WINDDK_BIN16)\link16.exe\r
730 *_MYTOOLS_IA32_PP_PATH              = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
731 *_MYTOOLS_IA32_VFRPP_PATH           = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
732 *_MYTOOLS_IA32_APP_PATH             = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
733 *_MYTOOLS_IA32_ASM_PATH             = DEF(VS2005TEAMSUITE_BIN)\ml.exe\r
734 *_MYTOOLS_IA32_ASLCC_PATH           = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
735 *_MYTOOLS_IA32_ASLPP_PATH           = DEF(VS2005TEAMSUITE_BIN)\cl.exe\r
736 *_MYTOOLS_IA32_ASLDLINK_PATH        = DEF(VS2005TEAMSUITE_BIN)\link.exe\r
737 \r
738   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
739 RELEASE_MYTOOLS_IA32_CC_FLAGS            = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
740   DEBUG_MYTOOLS_IA32_ASM_FLAGS           = /nologo /c /WX /W3 /coff /Cx /Zd /Zi\r
741 RELEASE_MYTOOLS_IA32_ASM_FLAGS           = /nologo /c /WX /W3 /coff /Cx /Zd\r
742   DEBUG_MYTOOLS_IA32_DLINK_FLAGS         = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb\r
743 RELEASE_MYTOOLS_IA32_DLINK_FLAGS         = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /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
744       *_MYTOOLS_IA32_ASMLINK_FLAGS       = /nologo /tiny\r
745 \r
746 ##################\r
747 # x64 definitions\r
748 ##################\r
749 *_MYTOOLS_X64_*_DLL                 = DEF(VS2005TEAMSUITE_DLL)\r
750 \r
751 *_MYTOOLS_X64_MAKE_PATH             = DEF(VS2005TEAMSUITE_BIN)\nmake.exe\r
752 *_MYTOOLS_X64_CC_PATH               = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
753 *_MYTOOLS_X64_SLINK_PATH            = DEF(VS2005TEAMSUITE_BINX64)\lib.exe\r
754 *_MYTOOLS_X64_DLINK_PATH            = DEF(VS2005TEAMSUITE_BINX64)\link.exe\r
755 *_MYTOOLS_X64_PP_PATH               = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
756 *_MYTOOLS_X64_VFRPP_PATH            = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
757 *_MYTOOLS_X64_APP_PATH              = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
758 *_MYTOOLS_X64_ASM_PATH              = DEF(VS2005TEAMSUITE_BINX64)\ml64.exe\r
759 *_MYTOOLS_X64_ASLCC_PATH            = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
760 *_MYTOOLS_X64_ASLPP_PATH            = DEF(VS2005TEAMSUITE_BINX64)\cl.exe\r
761 *_MYTOOLS_X64_ASLDLINK_PATH         = DEF(VS2005TEAMSUITE_BINX64)\link.exe\r
762 \r
763   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
764 RELEASE_MYTOOLS_X64_CC_FLAGS             = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF\r
765   DEBUG_MYTOOLS_X64_ASM_FLAGS            = /nologo /c /WX /W3 /Cx /Zd /Zi\r
766 RELEASE_MYTOOLS_X64_ASM_FLAGS            = /nologo /c /WX /W3 /Cx /Zd\r
767   DEBUG_MYTOOLS_X64_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
768 RELEASE_MYTOOLS_X64_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
769 \r
770 ##################\r
771 # IPF definitions\r
772 ##################\r
773 *_MYTOOLS_IPF_MAKE_PATH             = DEF(WINDDK_BIN32)\nmake.exe\r
774 *_MYTOOLS_IPF_CC_PATH               = DEF(WINDDK_BIN64)\cl.exe\r
775 *_MYTOOLS_IPF_SLINK_PATH            = DEF(WINDDK_BIN64)\lib.exe\r
776 *_MYTOOLS_IPF_DLINK_PATH            = DEF(WINDDK_BIN64)\link.exe\r
777 *_MYTOOLS_IPF_PP_PATH               = DEF(WINDDK_BIN64)\cl.exe\r
778 *_MYTOOLS_IPF_VFRPP_PATH            = DEF(WINDDK_BIN64)\cl.exe\r
779 *_MYTOOLS_IPF_APP_PATH              = DEF(WINDDK_BIN64)\cl.exe\r
780 *_MYTOOLS_IPF_ASM_PATH              = DEF(WINDDK_BIN64)\ias.exe\r
781 *_MYTOOLS_IPF_ASLCC_PATH            = DEF(WINDDK_BIN64)\cl.exe\r
782 *_MYTOOLS_IPF_ASLPP_PATH            = DEF(WINDDK_BIN64)\cl.exe\r
783 *_MYTOOLS_IPF_ASLDLINK_PATH         = DEF(WINDDK_BIN64)\link.exe\r
784       *_MYTOOLS_IPF_ASM_OUTPUT           = "-o "\r
785 \r
786   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
787 RELEASE_MYTOOLS_IPF_CC_FLAGS             = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32\r
788   DEBUG_MYTOOLS_IPF_ASM_FLAGS            = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
789 RELEASE_MYTOOLS_IPF_ASM_FLAGS            = -N us -X explicit -M ilp64 -N so -W4\r
790   DEBUG_MYTOOLS_IPF_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /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
791 RELEASE_MYTOOLS_IPF_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /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
792       *_MYTOOLS_IPF_SLINK_FLAGS          = /nologo /LTCG\r
793 \r
794 ##################\r
795 # EBC definitions\r
796 ##################\r
797 *_MYTOOLS_EBC_*_FAMILY              = INTEL\r
798 \r
799 *_MYTOOLS_EBC_MAKE_PATH             = DEF(VS2005TEAMSUITE_BIN)\nmake.exe\r
800 *_MYTOOLS_EBC_PP_PATH               = DEF(EBC_BIN)\iec.exe\r
801 *_MYTOOLS_EBC_VFRPP_PATH            = DEF(EBC_BIN)\iec.exe\r
802 *_MYTOOLS_EBC_CC_PATH               = DEF(EBC_BIN)\iec.exe\r
803 *_MYTOOLS_EBC_SLINK_PATH            = DEF(EBC_BIN)\link.exe\r
804 *_MYTOOLS_EBC_DLINK_PATH            = DEF(EBC_BIN)\link.exe\r
805 \r
806 *_MYTOOLS_EBC_MAKE_FLAGS                 = /nologo\r
807 *_MYTOOLS_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
808 *_MYTOOLS_EBC_CC_FLAGS                   = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)\r
809 *_MYTOOLS_EBC_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h\r
810 *_MYTOOLS_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC\r
811 *_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
812 \r
813 ##################\r
814 # VfrCompiler definitions\r
815 ##################\r
816 *_*_*_VFR_PATH                      = VfrCompile\r
817 *_*_*_VFR_FLAGS                     = -l -n\r
818 \r
819 ##################\r
820 # Asl Compiler definitions\r
821 ##################\r
822 *_*_*_ASLCC_FLAGS                  = /GL- /Y- /TC\r
823 *_*_*_ASLDLINK_FLAGS               = /NODEFAULTLIB /ENTRY:main\r
824 *_*_*_ASLPP_FLAGS                  = /nologo /EP /C\r
825 *_*_*_ASL_FLAGS                    =\r
826 \r