Pull majority of flag settings into tools_def.txt and only leave custom flags for...
[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 EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm
60 RELEASE_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
62 RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /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 EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm
94 RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
96 RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /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 EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm /EHs-c- /GF
110 RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /DEFI32 /DDEBUG /Cx /Zd /Zi
112 RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /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 EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm
194 RELEASE_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
196 RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /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
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 EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm
210 RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /DEFI32 /DDEBUG /Cx /Zd /Zi
212 RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /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_ASM_EXT = .S
263 *_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
264
265 ####################################################################################
266 #
267 # CygWin GCC
268 #
269 ####################################################################################
270
271 *_CYGWINGCC_IA32_*_FAMILY = GCC
272
273 *_CYGWINGCC_IA32_CC_NAME = gcc
274 *_CYGWINGCC_IA32_SLINK_NAME = ar
275 *_CYGWINGCC_IA32_DLINK_NAME = ld
276 *_CYGWINGCC_IA32_ASM_NAME = gcc
277 *_CYGWINGCC_IA32_PP_NAME = gcc
278
279 *_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
280 *_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
281 *_CYGWINGCC_IA32_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
282 *_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
283
284 *_CYGWINGCC_IA32_ASM_EXT = .S
285 *_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
286
287 ####################################################################################
288 #
289 # Intel EFI Byte Code Compiler (Template)
290 #
291 ####################################################################################
292
293 *_*_EBC_*_FAMILY = INTEL
294 *_*_EBC_PP_NAME = iec.exe
295 *_*_EBC_CC_NAME = iec.exe
296 *_*_EBC_SLINK_NAME = link.exe
297 *_*_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
298 *_*_EBC_*_SPATH = C:\Program Files\Intel\EBC\Lib\EbcLib.lib
299
300 *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
301 *_*_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
302 *_*_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
303 *_*_EBC_DLINK_FLAGS = /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
304
305 ####################################################################################
306 #
307 # Intel ACPI Source Language Compiler (Template)
308 #
309 ####################################################################################
310
311 *_*_*_ASL_FAMILY = INTEL
312 *_*_*_ASL_NAME = iasl.exe
313 *_*_IA32_ASL_PATH = C:\ASL
314 *_*_X64_ASL_PATH = C:\ASL
315 *_*_IPF_ASL_PATH = C:\ASL
316 *_*_EBC_ASL_PATH = C:\ASL
317
318 ####################################################################################
319 #
320 # Microsoft ACPI Source Language Compiler (Template)
321 #
322 ####################################################################################
323
324
325
326
327 ####################################################################################
328 #
329 # MYTOOLS
330 # IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker
331 # X64 - Microsoft Windows DDK 3790.1830
332 # IPF - Microsoft Windows DDK 3790.1830
333 # EBC - Intel EFI Byte Code Compiler
334 # ASL - Intel ACPI Source Language COmpiler
335 #
336 ####################################################################################
337
338 ##################
339 # IA32 definitions
340 ##################
341 *_MYTOOLS_IA32_*_FAMILY = MSFT
342
343 *_MYTOOLS_IA32_CC_NAME = cl.exe
344 *_MYTOOLS_IA32_SLINK_NAME = lib.exe
345 *_MYTOOLS_IA32_DLINK_NAME = link.exe
346 *_MYTOOLS_IA32_ASMLINK_NAME = link.exe
347 *_MYTOOLS_IA32_PP_NAME = cl.exe
348 *_MYTOOLS_IA32_ASM_NAME = ml.exe
349 *_MYTOOLS_IA32_ASM_EXT = .asm
350
351 *_MYTOOLS_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
352 *_MYTOOLS_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
353 *_MYTOOLS_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
354
355 *_MYTOOLS_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
356 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm
357 RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D EFI_MONOSHELL /D EFI_S3_RESUME /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
358 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0 /Zi /DDEBUG
359 RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /DEFI32 /Cx /Zd /W0
360 *_MYTOOLS_IA32_SLINK_FLAGS = /nologo /LTCG
361 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
362 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
363
364 ##################
365 # x64 definitions
366 ##################
367 *_MYTOOLS_X64_*_FAMILY = MSFT
368
369 *_MYTOOLS_X64_CC_NAME = cl.exe
370 *_MYTOOLS_X64_SLINK_NAME = lib.exe
371 *_MYTOOLS_X64_DLINK_NAME = link.exe
372 *_MYTOOLS_X64_ASMLINK_NAME = link.exe
373 *_MYTOOLS_X64_PP_NAME = cl.exe
374
375 *_MYTOOLS_X64_SLINK_FLAGS = /nologo /LTCG
376
377 *_MYTOOLS_X64_ASM_NAME = ml64.exe
378 *_MYTOOLS_X64_ASM_EXT = .asm
379 *_MYTOOLS_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
380 *_MYTOOLS_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
381
382 *_MYTOOLS_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
383 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /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 /D EFI_DEBUG /Zi /Gm /EHs-c- /GF
384 RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D EFI_MONOSHELL /D EFI_S3_RESUME /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
385 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /DDEBUG /Cx /Zd /Zi
386 RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /DEFI32 /Cx /Zd
387 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
388 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
389
390 ##################
391 # IPF definitions
392 ##################
393 *_MYTOOLS_IPF_*_FAMILY = MSFT
394
395 *_MYTOOLS_IPF_PP_NAME = cl.exe
396 *_MYTOOLS_IPF_CC_NAME = cl.exe
397 *_MYTOOLS_IPF_SLINK_NAME = lib.exe
398 *_MYTOOLS_IPF_DLINK_NAME = link.exe
399
400 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
401
402 *_MYTOOLS_IPF_ASM_NAME = ias.exe
403 *_MYTOOLS_IPF_ASM_EXT = .s
404 *_MYTOOLS_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
405
406 *_MYTOOLS_IPF_PP_FLAGS = /nologo /P /TC
407 *_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
408 *_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
409 *_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
410
411 ##################
412 # EBC definitions
413 ##################
414 *_MYTOOLS_EBC_*_FAMILY = INTEL
415 *_MYTOOLS_EBC_PP_NAME = iec.exe
416 *_MYTOOLS_EBC_CC_NAME = iec.exe
417 *_MYTOOLS_EBC_DLINK_NAME = link.exe
418 *_MYTOOLS_EBC_SLINK_NAME = link.exe
419 *_MYTOOLS_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
420 *_MYTOOLS_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
421
422 *_MYTOOLS_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
423 *_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
424 *_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
425 *_MYTOOLS_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
426
427 ##################
428 # ASL definitions
429 ##################
430 *_MYTOOLS_*_ASL_FAMILY = INTEL
431 *_MYTOOLS_*_ASL_NAME = iasl.exe
432 *_MYTOOLS_IA32_ASL_PATH = C:\ASL
433 *_MYTOOLS_X64_ASL_PATH = C:\ASL
434 *_MYTOOLS_IPF_ASL_PATH = C:\ASL
435 *_MYTOOLS_EBC_ASL_PATH = C:\ASL