6252c82a184a1b25e6fcb90ab5fcbe6425bd372f
[mirror_edk2.git] / Tools / Conf / tools_def.template
1 #
2 # Copyright (c) 2006, Intel Corporation
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12
13 IDENTIFIER = Default TOOL_CHAIN_CONF
14
15 ####################################################################################
16 #
17 # format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
18 #
19 ####################################################################################
20 ####################################################################################
21 #
22 # Supported Tool Chains
23 # =====================
24 # VS2003 - Microsoft Visual Studio .NET 2003
25 # VS2005EXP - Microsoft Visual Studio 2005 Express Edition
26 # VS2005STD - Microsoft Visual Studio 2005 Standard Edition
27 # VS2005PRO - Microsoft Visual Studio 2005 Professional Edition
28 # VS2005TEAMSUITE - Microsoft Visual Studio 2005 Team Suite Edition
29 # WINDDK3790x1830 - Microsoft Windows DDK 3790.1830
30 # UINIXGCC - UINIX GCC
31 # CYGWINGCC - CygWin GCC
32 # MYTOOLS - Settings compatible with previous versions of tools_def.template
33 #
34 ####################################################################################
35
36 ####################################################################################
37 #
38 # Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
39 #
40 ####################################################################################
41
42 *_VS2003_IA32_*_FAMILY = MSFT
43
44 *_VS2003_IA32_CC_NAME = cl.exe
45 *_VS2003_IA32_SLINK_NAME = lib.exe
46 *_VS2003_IA32_DLINK_NAME = link.exe
47 *_VS2003_IA32_ASMLINK_NAME = link.exe
48 *_VS2003_IA32_PP_NAME = cl.exe
49 *_VS2003_IA32_ASM_NAME = ml.exe
50 *_VS2003_IA32_ASM_EXT = .asm
51
52 ##################
53 # IA32 definitions
54 ##################
55 *_VS2003_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
56 *_VS2003_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
57
58 *_VS2003_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
59 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
60 RELEASE_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
61 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
62 RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
63 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
64 DEBUG_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
65 RELEASE_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
66
67 ####################################################################################
68 #
69 # Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
70 #
71 ####################################################################################
72
73 *_WINDDK3790x1830_*_*_FAMILY = MSFT
74
75 *_WINDDK3790x1830_*_CC_NAME = cl.exe
76 *_WINDDK3790x1830_*_SLINK_NAME = lib.exe
77 *_WINDDK3790x1830_*_DLINK_NAME = link.exe
78 *_WINDDK3790x1830_*_ASMLINK_NAME = link.exe
79 *_WINDDK3790x1830_*_PP_NAME = cl.exe
80
81 *_WINDDK3790x1830_*_SLINK_FLAGS = /nologo /LTCG
82
83 ##################
84 # IA32 definitions
85 ##################
86 *_WINDDK3790x1830_IA32_ASM_NAME = ml.exe
87 *_WINDDK3790x1830_IA32_ASM_EXT = .asm
88 *_WINDDK3790x1830_IA32_*_PATH = C:\WINDDK\3790.1830\bin\x86
89 *_WINDDK3790x1830_IA32_*_DPATH = C:\WINDDK\3790.1830\bin\x86
90 *_WINDDK3790x1830_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
91
92 *_WINDDK3790x1830_IA32_PP_FLAGS = /nologo /P /E /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
93 DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
94 RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
95 DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
96 RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
97 DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
98 RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
99
100 ##################
101 # x64 definitions
102 ##################
103 *_WINDDK3790x1830_X64_ASM_NAME = ml64.exe
104 *_WINDDK3790x1830_X64_ASM_EXT = .asm
105 *_WINDDK3790x1830_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
106 *_WINDDK3790x1830_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
107
108 *_WINDDK3790x1830_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
109 DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF
110 RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
111 DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
112 RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
113 DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
114 RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
115
116 ##################
117 # IPF definitions
118 ##################
119 *_WINDDK3790x1830_IPF_ASM_NAME = ias.exe
120 *_WINDDK3790x1830_IPF_ASM_EXT = .s
121 *_WINDDK3790x1830_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
122
123 *_WINDDK3790x1830_IPF_PP_FLAGS = /nologo /P /TC
124 *_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /D EFI64 /O1i /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
125 *_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
126 *_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /OPT:REF /IGNORE:4086 /MAP /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
127
128 ##################
129 # EBC definitions
130 ##################
131 *_WINDDK3790x1830_EBC_*_FAMILY = INTEL
132 *_WINDDK3790x1830_EBC_PP_NAME = iec.exe
133 *_WINDDK3790x1830_EBC_CC_NAME = iec.exe
134 *_WINDDK3790x1830_EBC_DLINK_NAME = link.exe
135 *_WINDDK3790x1830_EBC_SLINK_NAME = link.exe
136 *_WINDDK3790x1830_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
137 *_WINDDK3790x1830_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
138
139 *_WINDDK3790x1830_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
140 *_WINDDK3790x1830_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
141 *_WINDDK3790x1830_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
142 *_WINDDK3790x1830_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
143
144 ##################
145 # ASL definitions
146 ##################
147 *_WINDDK3790x1830_*_ASL_FAMILY = INTEL
148 *_WINDDK3790x1830_*_ASL_NAME = iasl.exe
149 *_WINDDK3790x1830_IA32_ASL_PATH = C:\ASL
150 *_WINDDK3790x1830_X64_ASL_PATH = C:\ASL
151 *_WINDDK3790x1830_IPF_ASL_PATH = C:\ASL
152 *_WINDDK3790x1830_EBC_ASL_PATH = C:\ASL
153
154 ####################################################################################
155 #
156 # Microsoft Visual Studio 2005 Express Edition (IA-32 Only, with no Link Time Code Generation)
157 #
158 ####################################################################################
159
160 ####################################################################################
161 #
162 # Microsoft Visual Studio 2005 Standard Edition (IA-32 Only, with no Link Time Code Generation)
163 #
164 ####################################################################################
165
166 ####################################################################################
167 #
168 # Microsoft Visual Studio 2005 Professional Edition (IA-32 and X64 Only, with Link Time Code Generation)
169 #
170 ####################################################################################
171
172 *_VS2005PRO_*_*_FAMILY = MSFT
173
174 *_VS2005PRO_*_CC_NAME = cl.exe
175 *_VS2005PRO_*_SLINK_NAME = lib.exe
176 *_VS2005PRO_*_DLINK_NAME = link.exe
177 *_VS2005PRO_*_ASMLINK_NAME = link.exe
178 *_VS2005PRO_*_PP_NAME = cl.exe
179
180 *_VS2005PRO_*_SLINK_FLAGS = /NOLOGO /LTCG
181 *_VS2005PRO_*_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
182
183 ##################
184 # IA32 definitions
185 ##################
186 *_VS2005PRO_IA32_ASM_NAME = ml.exe
187 *_VS2005PRO_IA32_ASM_EXT = .asm
188 *_VS2005PRO_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
189 *_VS2005PRO_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
190 *_VS2005PRO_IA32_ASM_PATH = C:\WINDDK\3790.1830\bin\x86
191 *_VS2005PRO_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
192
193 DEBUG_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
194 RELEASE_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192
195 DEBUG_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
196 RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
197 DEBUG_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
198 RELEASE_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
199
200 ##################
201 # x64 definitions
202 ##################
203 *_VS2005PRO_X64_ASM_NAME = ml64.exe
204 *_VS2005PRO_X64_ASM_EXT = .asm
205 *_VS2005PRO_X64_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
206 *_VS2005PRO_X64_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\VC\bin\x86_amd64;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
207 *_VS2005PRO_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
208
209 DEBUG_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Zi /Gm
210 RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
211 DEBUG_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
212 RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
213 DEBUG_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
214 RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
215
216 ##################
217 # EBC definitions
218 ##################
219 *_VS2005PRO_EBC_*_FAMILY = INTEL
220 *_VS2005PRO_EBC_PP_NAME = iec.exe
221 *_VS2005PRO_EBC_CC_NAME = iec.exe
222 *_VS2005PRO_EBC_DLINK_NAME = link.exe
223 *_VS2005PRO_EBC_SLINK_NAME = link.exe
224 *_VS2005PRO_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
225 *_VS2005PRO_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
226
227 *_VS2005PRO_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
228 *_VS2005PRO_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
229 *_VS2005PRO_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
230 *_VS2005PRO_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
231
232 ##################
233 # ASL definitions
234 ##################
235 *_VS2005PRO_*_ASL_FAMILY = INTEL
236 *_VS2005PRO_*_ASL_NAME = iasl.exe
237 *_VS2005PRO_IA32_ASL_PATH = C:\ASL
238 *_VS2005PRO_X64_ASL_PATH = C:\ASL
239 *_VS2005PRO_IPF_ASL_PATH = C:\ASL
240 *_VS2005PRO_EBC_ASL_PATH = C:\ASL
241
242 ####################################################################################
243 #
244 # Microsoft Visual Studio 2005 Team Suite Edition (IA-32, X64, and Itanium, with Link Time Code Generation)
245 #
246 ####################################################################################
247
248 ####################################################################################
249 #
250 # UNIX GCC
251 #
252 ####################################################################################
253
254 *_UNIXGCC_IA32_*_FAMILY = GCC
255
256 *_UNIXGCC_IA32_CC_NAME = gcc
257 *_UNIXGCC_IA32_SLINK_NAME = ar
258 *_UNIXGCC_IA32_DLINK_NAME = ld
259 *_UNIXGCC_IA32_ASM_NAME = gcc
260 *_UNIXGCC_IA32_PP_NAME = gcc
261
262 *_UNIXGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
263 *_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
264 *_UNIXGCC_IA32_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
265 *_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
266
267 *_UNIXGCC_IA32_ASM_EXT = .S
268 *_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
269
270 ####################################################################################
271 #
272 # CygWin GCC
273 #
274 ####################################################################################
275
276 *_CYGWINGCC_IA32_*_FAMILY = GCC
277
278 *_CYGWINGCC_IA32_CC_NAME = gcc
279 *_CYGWINGCC_IA32_SLINK_NAME = ar
280 *_CYGWINGCC_IA32_DLINK_NAME = ld
281 *_CYGWINGCC_IA32_ASM_NAME = gcc
282 *_CYGWINGCC_IA32_PP_NAME = gcc
283
284 *_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
285 *_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
286 *_CYGWINGCC_IA32_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
287 *_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
288
289 *_CYGWINGCC_IA32_ASM_EXT = .S
290 *_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
291 *_CYGWINGCC_IA32_*_DPATH = c:/Cygwin/bin
292
293 ####################################################################################
294 #
295 # Intel EFI Byte Code Compiler (Template)
296 #
297 ####################################################################################
298
299 *_*_EBC_*_FAMILY = INTEL
300 *_*_EBC_PP_NAME = iec.exe
301 *_*_EBC_CC_NAME = iec.exe
302 *_*_EBC_SLINK_NAME = link.exe
303 *_*_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
304 *_*_EBC_*_SPATH = C:\Program Files\Intel\EBC\Lib\EbcLib.lib
305
306 *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
307 *_*_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
308 *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
309 *_*_EBC_DLINK_FLAGS = /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
310
311 ####################################################################################
312 #
313 # Intel ACPI Source Language Compiler (Template)
314 #
315 ####################################################################################
316
317 *_*_*_ASL_FAMILY = INTEL
318 *_*_*_ASL_NAME = iasl.exe
319 *_*_IA32_ASL_PATH = C:\ASL
320 *_*_X64_ASL_PATH = C:\ASL
321 *_*_IPF_ASL_PATH = C:\ASL
322 *_*_EBC_ASL_PATH = C:\ASL
323
324 ####################################################################################
325 #
326 # Microsoft ACPI Source Language Compiler (Template)
327 #
328 ####################################################################################
329
330 *_*_*_ASL_FAMILY = MSFT
331 *_*_*_ASL_NAME = asl.exe
332 *_*_IA32_ASL_PATH = C:\ASL
333 *_*_X64_ASL_PATH = C:\ASL
334 *_*_IPF_ASL_PATH = C:\ASL
335 *_*_EBC_ASL_PATH = C:\ASL
336
337
338 ####################################################################################
339 #
340 # MYTOOLS
341 # IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker
342 # X64 - Microsoft Windows DDK 3790.1830
343 # IPF - Microsoft Windows DDK 3790.1830
344 # EBC - Intel EFI Byte Code Compiler
345 # ASL - Intel ACPI Source Language COmpiler
346 #
347 ####################################################################################
348
349 ##################
350 # IA32 definitions
351 ##################
352 *_MYTOOLS_IA32_*_FAMILY = MSFT
353
354 *_MYTOOLS_IA32_CC_NAME = cl.exe
355 *_MYTOOLS_IA32_SLINK_NAME = lib.exe
356 *_MYTOOLS_IA32_DLINK_NAME = link.exe
357 *_MYTOOLS_IA32_ASMLINK_NAME = link.exe
358 *_MYTOOLS_IA32_PP_NAME = cl.exe
359 *_MYTOOLS_IA32_ASM_NAME = ml.exe
360 *_MYTOOLS_IA32_ASM_EXT = .asm
361 *_MYTOOLS_IA32_PCH_NAME = cl.exe
362
363 *_MYTOOLS_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
364 *_MYTOOLS_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
365 *_MYTOOLS_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
366
367 *_MYTOOLS_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
368 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
369 RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
370 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
371 RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
372 *_MYTOOLS_IA32_SLINK_FLAGS = /nologo /LTCG
373 DEBUG_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
374 RELEASE_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
375 DEBUG_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /TC /Yc /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
376 RELEASE_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /TC /Yc /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
377
378 ##################
379 # x64 definitions
380 ##################
381 *_MYTOOLS_X64_*_FAMILY = MSFT
382
383 *_MYTOOLS_X64_CC_NAME = cl.exe
384 *_MYTOOLS_X64_SLINK_NAME = lib.exe
385 *_MYTOOLS_X64_DLINK_NAME = link.exe
386 *_MYTOOLS_X64_ASMLINK_NAME = link.exe
387 *_MYTOOLS_X64_PP_NAME = cl.exe
388 *_MYTOOLS_X64_PCH_NAME = cl.exe
389
390 *_MYTOOLS_X64_SLINK_FLAGS = /nologo /LTCG
391
392 *_MYTOOLS_X64_ASM_NAME = ml64.exe
393 *_MYTOOLS_X64_ASM_EXT = .asm
394 *_MYTOOLS_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
395 *_MYTOOLS_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
396
397 *_MYTOOLS_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
398 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
399 RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
400 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
401 RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
402 DEBUG_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
403 RELEASE_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
404 DEBUG_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF /TC /Yc /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
405 RELEASE_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DOLDSMM=1 /D EFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /TC /Yc /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
406
407 ##################
408 # IPF definitions
409 ##################
410 *_MYTOOLS_IPF_*_FAMILY = MSFT
411
412 *_MYTOOLS_IPF_PP_NAME = cl.exe
413 *_MYTOOLS_IPF_CC_NAME = cl.exe
414 *_MYTOOLS_IPF_SLINK_NAME = lib.exe
415 *_MYTOOLS_IPF_DLINK_NAME = link.exe
416 *_MYTOOLS_IPF_PCH_NAME = cl.exe
417
418 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
419
420 *_MYTOOLS_IPF_ASM_NAME = ias.exe
421 *_MYTOOLS_IPF_ASM_EXT = .s
422 *_MYTOOLS_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
423
424 *_MYTOOLS_IPF_PP_FLAGS = /nologo /P /TC
425 *_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /D EFI64 /O1i /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
426 *_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
427 *_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /OPT:REF /IGNORE:4086 /MAP /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
428 *_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /D EFI64 /O1i /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /TC /Yc /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch
429
430 ##################
431 # EBC definitions
432 ##################
433 *_MYTOOLS_EBC_*_FAMILY = INTEL
434 *_MYTOOLS_EBC_PP_NAME = iec.exe
435 *_MYTOOLS_EBC_CC_NAME = iec.exe
436 *_MYTOOLS_EBC_DLINK_NAME = link.exe
437 *_MYTOOLS_EBC_SLINK_NAME = link.exe
438 *_MYTOOLS_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
439 *_MYTOOLS_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
440
441 *_MYTOOLS_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
442 *_MYTOOLS_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
443 *_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
444 *_MYTOOLS_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
445
446 ##################
447 # ASL definitions
448 ##################
449 *_MYTOOLS_*_ASL_FAMILY = INTEL
450 *_MYTOOLS_*_ASL_NAME = iasl.exe
451 *_MYTOOLS_IA32_ASL_PATH = C:\ASL
452 *_MYTOOLS_X64_ASL_PATH = C:\ASL
453 *_MYTOOLS_IPF_ASL_PATH = C:\ASL
454 *_MYTOOLS_EBC_ASL_PATH = C:\ASL