For building UnixPkg in CYGWIN, it should use gcc binded by CYGWIN but not the 4...
[mirror_edk2.git] / Tools / Conf / tools_def.template
1 #
2 # Copyright (c) 2006 - 2007 Intel Corporation. <BR>
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 # priorty:
19 # TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
20 # ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
21 # TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
22 # ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
23 # TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
24 # ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
25 # TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
26 # ******_*********_****_COMMANDTYPE_ATTRIBUTE
27 # TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
28 # ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
29 # TARGET_*********_ARCH_***********_ATTRIBUTE
30 # ******_*********_ARCH_***********_ATTRIBUTE
31 # TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
32 # ******_TOOLCHAIN_****_***********_ATTRIBUTE
33 # TARGET_*********_****_***********_ATTRIBUTE
34 # ******_*********_****_***********_ATTRIBUTE (Lowest)
35 #
36 ####################################################################################
37 ####################################################################################
38 #
39 # Supported Tool Chains
40 # =====================
41 # VS2003 - Microsoft Visual Studio .NET 2003
42 # VS2005EXP - Microsoft Visual Studio 2005 Express Edition
43 # VS2005STD - Microsoft Visual Studio 2005 Standard Edition
44 # VS2005PRO - Microsoft Visual Studio 2005 Professional Edition
45 # VS2005TEAMSUITE - Microsoft Visual Studio 2005 Team Suite Edition
46 # WINDDK3790x1830 - Microsoft Windows DDK 3790.1830
47 # UINIXGCC - UINIX GCC
48 # CYGWINGCC - CygWin GCC
49 # ICC - Intel C Compiler V9.1
50 # MYTOOLS - Settings compatible with previous versions of tools_def.template
51 #
52 ####################################################################################
53
54 ####################################################################################
55 #
56 # Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
57 #
58 ####################################################################################
59
60 *_VS2003_IA32_*_FAMILY = MSFT
61
62 *_VS2003_IA32_CC_NAME = cl.exe
63 *_VS2003_IA32_VFRPP_NAME = cl.exe
64 *_VS2003_IA32_SLINK_NAME = lib.exe
65 *_VS2003_IA32_DLINK_NAME = link.exe
66 *_VS2003_IA32_ASMLINK_NAME = link.exe
67 *_VS2003_IA32_APP_NAME = cl.exe
68 *_VS2003_IA32_PP_NAME = cl.exe
69 *_VS2003_IA32_ASM_NAME = ml.exe
70 *_VS2003_IA32_ASM_EXT = .asm
71 *_VS2003_IA32_PCH_NAME = cl.exe
72
73 ##################
74 # IA32 definitions
75 ##################
76 *_VS2003_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
77 *_VS2003_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
78
79 *_VS2003_IA32_APP_FLAGS = /nologo /P /TC
80 *_VS2003_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
81 *_VS2003_IA32_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
82 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
83 RELEASE_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
84 DEBUG_VS2003_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
85 RELEASE_VS2003_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
86 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
87 RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
88 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
89 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
90 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
91
92 ####################################################################################
93 #
94 # Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
95 #
96 ####################################################################################
97
98 *_WINDDK3790x1830_*_*_FAMILY = MSFT
99
100 *_WINDDK3790x1830_*_CC_NAME = cl.exe
101 *_WINDDK3790x1830_*_VFRPP_NAME = cl.exe
102 *_WINDDK3790x1830_*_SLINK_NAME = lib.exe
103 *_WINDDK3790x1830_*_DLINK_NAME = link.exe
104 *_WINDDK3790x1830_*_ASMLINK_NAME = link.exe
105 *_WINDDK3790x1830_*_PP_NAME = cl.exe
106 *_WINDDK3790x1830_*_APP_NAME = cl.exe
107 *_WINDDK3790x1830_*_PCH_NAME = cl.exe
108
109 *_WINDDK3790x1830_*_APP_FLAGS = /nologo /P /TC
110 *_WINDDK3790x1830_*_SLINK_FLAGS = /nologo /LTCG
111 *_WINDDK3790x1830_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
112 ##################
113 # IA32 definitions
114 ##################
115 *_WINDDK3790x1830_IA32_ASM_NAME = ml.exe
116 *_WINDDK3790x1830_IA32_ASM_EXT = .asm
117 *_WINDDK3790x1830_IA32_*_PATH = C:\WINDDK\3790.1830\bin\x86
118 *_WINDDK3790x1830_IA32_*_DPATH = C:\WINDDK\3790.1830\bin\x86
119 *_WINDDK3790x1830_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
120
121 *_WINDDK3790x1830_IA32_PP_FLAGS = /nologo /P /E /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
122 DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
123 RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
124 DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
125 RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
126 DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
127 RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
128 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
129 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
130 *_WINDDK3790x1830_IA32_ASMLINK_FLAGS = /link /nologo /tiny
131
132 ##################
133 # x64 definitions
134 ##################
135 *_WINDDK3790x1830_X64_ASM_NAME = ml64.exe
136 *_WINDDK3790x1830_X64_ASM_EXT = .asm
137 *_WINDDK3790x1830_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
138 *_WINDDK3790x1830_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
139
140 *_WINDDK3790x1830_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
141 DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF
142 RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
143 DEBUG_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm /EHs-c- /GF
144 RELEASE_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /EHs-c- /GF
145 DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
146 RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
147 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
148 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
149
150 ##################
151 # IPF definitions
152 ##################
153 *_WINDDK3790x1830_IPF_ASM_NAME = ias.exe
154 *_WINDDK3790x1830_IPF_ASM_EXT = .s
155 *_WINDDK3790x1830_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
156
157 *_WINDDK3790x1830_IPF_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
158 DEBUG_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi
159 RELEASE_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
160 DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi
161 RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
162 DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
163 RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
164 DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /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
165 RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
166
167 ##################
168 # EBC definitions
169 ##################
170 *_WINDDK3790x1830_EBC_*_FAMILY = INTEL
171 *_WINDDK3790x1830_EBC_PP_NAME = iec.exe
172 *_WINDDK3790x1830_EBC_CC_NAME = iec.exe
173 *_WINDDK3790x1830_EBC_DLINK_NAME = link.exe
174 *_WINDDK3790x1830_EBC_SLINK_NAME = link.exe
175 *_WINDDK3790x1830_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
176 *_WINDDK3790x1830_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
177
178 *_WINDDK3790x1830_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
179 *_WINDDK3790x1830_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
180 *_WINDDK3790x1830_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
181 *_WINDDK3790x1830_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
182
183 ##################
184 # ASL definitions
185 ##################
186 *_WINDDK3790x1830_*_ASL_FAMILY = INTEL
187 *_WINDDK3790x1830_*_ASL_NAME = iasl.exe
188 *_WINDDK3790x1830_*_ASL_PATH = C:\ASL
189
190 ####################################################################################
191 #
192 # Microsoft Visual Studio 2005 Express Edition (IA-32 Only, with no Link Time Code Generation)
193 #
194 ####################################################################################
195
196 ####################################################################################
197 #
198 # Microsoft Visual Studio 2005 Standard Edition (IA-32 Only, with no Link Time Code Generation)
199 #
200 ####################################################################################
201
202 ####################################################################################
203 #
204 # Microsoft Visual Studio 2005 Professional Edition (IA-32 and X64 Only, with Link Time Code Generation)
205 #
206 ####################################################################################
207
208 *_VS2005PRO_*_*_FAMILY = MSFT
209
210 *_VS2005PRO_*_CC_NAME = cl.exe
211 *_VS2005PRO_*_SLINK_NAME = lib.exe
212 *_VS2005PRO_*_DLINK_NAME = link.exe
213 *_VS2005PRO_*_ASMLINK_NAME = link.exe
214 *_VS2005PRO_*_PP_NAME = cl.exe
215 *_VS2005PRO_*_APP_NAME = cl.exe
216 *_VS2005PRO_*_VFRPP_NAME = cl.exe
217 *_VS2005PRO_*_PCH_NAME = cl.exe
218
219 *_VS2005PRO_*_SLINK_FLAGS = /NOLOGO /LTCG
220 *_VS2005PRO_*_APP_FLAGS = /nologo /P /TC
221 *_VS2005PRO_*_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
222 *_VS2005PRO_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
223
224 ##################
225 # IA32 definitions
226 ##################
227 *_VS2005PRO_IA32_ASM_NAME = ml.exe
228 *_VS2005PRO_IA32_ASM_EXT = .asm
229 *_VS2005PRO_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
230 *_VS2005PRO_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
231 *_VS2005PRO_IA32_ASM_PATH = C:\WINDDK\3790.1830\bin\x86
232 *_VS2005PRO_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
233
234 DEBUG_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
235 RELEASE_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
236 DEBUG_VS2005PRO_IA32_PCH_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
237 RELEASE_VS2005PRO_IA32_PCH_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
238 DEBUG_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
239 RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
240 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
241 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
242 *_VS2005PRO_IA32_ASMLINK_FLAGS = /link /nologo /tiny
243
244 ##################
245 # x64 definitions
246 ##################
247 *_VS2005PRO_X64_ASM_NAME = ml64.exe
248 *_VS2005PRO_X64_ASM_EXT = .asm
249 *_VS2005PRO_X64_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
250 *_VS2005PRO_X64_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\VC\bin\x86_amd64;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
251 *_VS2005PRO_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
252
253 DEBUG_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
254 RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
255 DEBUG_VS2005PRO_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
256 RELEASE_VS2005PRO_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
257 DEBUG_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
258 RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
259 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
260 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
261
262 ##################
263 # EBC definitions
264 ##################
265 *_VS2005PRO_EBC_*_FAMILY = INTEL
266 *_VS2005PRO_EBC_PP_NAME = iec.exe
267 *_VS2005PRO_EBC_CC_NAME = iec.exe
268 *_VS2005PRO_EBC_DLINK_NAME = link.exe
269 *_VS2005PRO_EBC_SLINK_NAME = link.exe
270 *_VS2005PRO_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
271 *_VS2005PRO_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
272
273 *_VS2005PRO_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
274 *_VS2005PRO_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
275 *_VS2005PRO_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
276 *_VS2005PRO_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
277
278 ##################
279 # ASL definitions
280 ##################
281 *_VS2005PRO_*_ASL_FAMILY = INTEL
282 *_VS2005PRO_*_ASL_NAME = iasl.exe
283 *_VS2005PRO_*_ASL_PATH = C:\ASL
284
285 ####################################################################################
286 #
287 # Microsoft Visual Studio 2005 Team Suite Edition (IA-32, X64, and Itanium, with Link Time Code Generation)
288 #
289 ####################################################################################
290
291
292 ####################################################################################
293 #
294 # MINGW32
295 #
296 # You can build a mingw32 toolchain by downloading the script package called
297 # x86-mingw32-build.sh from the mingw project home page. It will walk you through
298 # some options and explain what to do.
299 #
300 ####################################################################################
301
302 *_MINGW_*_*_FAMILY = GCC
303
304 *_MINGW_IA32_CC_NAME = gcc
305 *_MINGW_IA32_SLINK_NAME = ar
306 *_MINGW_IA32_DLINK_NAME = ld
307 *_MINGW_IA32_ASM_NAME = gcc
308 *_MINGW_IA32_PP_NAME = gcc
309 *_MINGW_IA32_VFRPP_NAME = gcc
310
311 *_MINGW_*_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
312 *_MINGW_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20
313 *_MINGW_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
314 *_MINGW_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
315 *_MINGW_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
316 *_MINGW_*_ASM_EXT = .S
317
318 *_MINGW_IA32_*_PATH = /opt/mingw/i386-mingw32/bin/
319
320 ####################################################################################
321 #
322 # Unix GCC
323 #
324 ####################################################################################
325
326 *_UNIXGCC_*_*_FAMILY = GCC
327 *_UNIXGCC_*_*_FAMILY = GCC
328
329 *_UNIXGCC_IA32_CC_NAME = gcc
330 *_UNIXGCC_IA32_SLINK_NAME = ar
331 *_UNIXGCC_IA32_DLINK_NAME = ld
332 *_UNIXGCC_IA32_ASM_NAME = gcc
333 *_UNIXGCC_IA32_PP_NAME = gcc
334 *_UNIXGCC_IA32_VFRPP_NAME = gcc
335
336 *_UNIXGCC_X64_CC_NAME = gcc
337 *_UNIXGCC_X64_SLINK_NAME = ar
338 *_UNIXGCC_X64_DLINK_NAME = ld
339 *_UNIXGCC_X64_ASM_NAME = gcc
340 *_UNIXGCC_X64_PP_NAME = gcc
341 *_UNIXGCC_X64_VFRPP_NAME = gcc
342
343 *_UNIXGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include ${DEST_DIR_DEBUG}/AutoGen.h
344 *_UNIXGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
345 *_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20
346 *_UNIXGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
347 *_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
348 *_UNIXGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
349 *_UNIXGCC_*_ASM_EXT = .S
350
351 *_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
352 *_UNIXGCC_X64_*_PATH = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
353
354
355 ####################################################################################
356 #
357 # Cygwin GCC
358 #
359 ####################################################################################
360
361 *_CYGWINGCC_X64_*_FAMILY = GCC
362 *_CYGWINGCC_IA32_*_FAMILY = GCC
363
364 *_CYGWINGCC_IA32_CC_NAME = gcc
365 *_CYGWINGCC_IA32_SLINK_NAME = ar
366 *_CYGWINGCC_IA32_DLINK_NAME = ld
367 *_CYGWINGCC_IA32_ASM_NAME = gcc
368 *_CYGWINGCC_IA32_PP_NAME = gcc
369 *_CYGWINGCC_IA32_VFRPP_NAME = gcc
370
371 *_CYGWINGCC_X64_CC_NAME = gcc
372 *_CYGWINGCC_X64_SLINK_NAME = ar
373 *_CYGWINGCC_X64_DLINK_NAME = ld
374 *_CYGWINGCC_X64_ASM_NAME = gcc
375 *_CYGWINGCC_X64_PP_NAME = gcc
376 *_CYGWINGCC_X64_VFRPP_NAME = gcc
377
378 *_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
379 *_CYGWINGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
380 *_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20
381 *_CYGWINGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
382 *_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
383 *_CYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
384 *_CYGWINGCC_*_ASM_EXT = .S
385
386 *_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
387 *_CYGWINGCC_X64_*_PATH = c:/Cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
388 *_CYGWINGCC_*_*_DPATH = c:/Cygwin/bin
389
390 ####################################################################################
391 #
392 # Elf GCC - This configuration is used to compile on Linux boxes to produce elf
393 # binaries.
394 #
395 ####################################################################################
396
397
398 *_ELFGCC_*_*_FAMILY = GCC
399
400 *_ELFGCC_IA32_CC_NAME = gcc
401 *_ELFGCC_IA32_SLINK_NAME = ar
402 *_ELFGCC_IA32_DLINK_NAME = ld
403 *_ELFGCC_IA32_ASM_NAME = gcc
404 *_ELFGCC_IA32_PP_NAME = gcc
405 *_ELFGCC_IA32_VFRPP_NAME = gcc
406
407 *_ELFGCC_IA32_CC_FLAGS = -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include ${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings
408 *_ELFGCC_*_DLINK_FLAGS = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT}
409 *_ELFGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=name
410 *_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
411 *_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
412 *_ELFGCC_*_ASM_EXT = .S
413
414 *_ELFGCC_IA32_*_PATH = /usr/bin
415
416 ####################################################################################
417 #
418 # UnixPkg CYGWIN GCC - This configuration is used to compile on CYGWIN environment for UnixPkg.
419 #
420 ####################################################################################
421
422
423 *_UNIXPKGCYGWINGCC_*_*_FAMILY = GCC
424
425 *_UNIXPKGCYGWINGCC_IA32_CC_NAME = gcc
426 *_UNIXPKGCYGWINGCC_IA32_SLINK_NAME = ar
427 *_UNIXPKGCYGWINGCC_IA32_DLINK_NAME = ld
428 *_UNIXPKGCYGWINGCC_IA32_ASM_NAME = gcc
429 *_UNIXPKGCYGWINGCC_IA32_PP_NAME = gcc
430 *_UNIXPKGCYGWINGCC_IA32_VFRPP_NAME = gcc
431
432 *_UNIXPKGCYGWINGCC_IA32_CC_FLAGS = -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include ${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings -IC:/cygwin/usr/X11R6/include
433 *_UNIXPKGCYGWINGCC_*_DLINK_FLAGS = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT}
434 *_UNIXPKGCYGWINGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
435 *_UNIXPKGCYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
436 *_UNIXPKGCYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
437 *_UNIXPKGCYGWINGCC_*_ASM_EXT = .S
438
439 *_UNIXPKGCYGWINGCC_IA32_*_PATH = C:/cygwin/bin
440
441 ####################################################################################
442 #
443 # Mixed x64 - This configuration is used to compile C code with gcc and assemble
444 # with the Microsoft assembler.
445 #
446 ####################################################################################
447
448 *_MIXED_X64_CC_FAMILY = GCC
449 *_MIXED_X64_SLINK_FAMILY = GCC
450 *_MIXED_X64_DLINK_FAMILY = GCC
451 *_MIXED_X64_ASM_FAMILY = MSFT
452 *_MIXED_X64_PP_FAMILY = MSFT
453
454 *_MIXED_X64_CC_NAME = gcc
455 *_MIXED_X64_SLINK_NAME = ar
456 *_MIXED_X64_DLINK_NAME = ld
457 *_MIXED_X64_ASM_NAME = gcc
458 *_MIXED_X64_PP_NAME = cl.exe
459
460 *_MIXED_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
461 *_MIXED_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20
462 *_MIXED_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
463
464 *_MIXED_X64_ASM_NAME = ml64.exe
465 *_MIXED_X64_ASM_PATH = C:/WINDDK/3790.1830/bin/win64/x86/amd64
466 *_MIXED_X64_CC_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
467 *_MIXED_X64_PP_PATH = C:/WINDDK/3790.1830/bin/win64/x86/amd64
468 *_MIXED_X64_SLINK_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
469 *_MIXED_X64_DLINK_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
470 *_MIXED_X64_ASMLINK_PATH = C:/WINDDK/3790.1830/bin/bin16/
471
472 DEBUG_MIXED_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
473 RELEASE_MIXED_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
474
475 ####################################################################################
476 #
477 # Intel EFI Byte Code Compiler (Template)
478 #
479 ####################################################################################
480 #
481 # *_*_EBC_*_FAMILY = INTEL
482 # *_*_EBC_PP_NAME = iec.exe
483 # *_*_EBC_CC_NAME = iec.exe
484 # *_*_EBC_SLINK_NAME = link.exe
485 # *_*_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
486 # *_*_EBC_*_SPATH = C:\Program Files\Intel\EBC\Lib\EbcLib.lib
487 #
488 # *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
489 # *_*_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
490 # *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
491 # *_*_EBC_DLINK_FLAGS = /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
492 #
493 ####################################################################################
494 #
495 # Intel ACPI Source Language Compiler (Template)
496 #
497 ####################################################################################
498 #
499 # *_*_*_ASL_FAMILY = INTEL
500 # *_*_*_ASL_NAME = iasl.exe
501 # *_*_*_ASL_PATH = C:\ASL
502 #
503 ####################################################################################
504 #
505 # Microsoft ACPI Source Language Compiler (Template)
506 #
507 ####################################################################################
508 #
509 # *_*_*_ASL_FAMILY = MSFT
510 # *_*_*_ASL_NAME = asl.exe
511 # *_*_*_ASL_PATH = C:\ASL
512 #
513
514
515 ####################################################################################
516 #
517 # Intel(R) C++ Compiler Version 9.1
518 #
519 # IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
520 # ASL - Intel ACPI Source Language COmpiler
521 #
522 ####################################################################################
523 *_ICC_*_*_FAMILY = MSFT
524
525 *_ICC_*_CC_NAME = cl.exe
526 *_ICC_*_SLINK_NAME = lib.exe
527 *_ICC_*_DLINK_NAME = link.exe
528 *_ICC_*_ASMLINK_NAME = link.exe
529 *_ICC_*_PP_NAME = cl.exe
530 *_ICC_*_VFRPP_NAME = cl.exe
531 *_ICC_*_APP_NAME = cl.exe
532 *_ICC_*_ASM_NAME = ml.exe
533
534 *_ICC_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
535 ##################
536 # IA32 definitions
537 ##################
538 *_ICC_IA32_PCH_NAME = cl.exe
539 *_ICC_IA32_ASM_EXT = .asm
540
541 *_ICC_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
542 *_ICC_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
543 *_ICC_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
544
545 *_ICC_IA32_APP_FLAGS = /nologo /P /TC
546 *_ICC_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
547 DEBUG_ICC_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 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
548 RELEASE_ICC_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 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
549 DEBUG_ICC_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 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
550 RELEASE_ICC_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 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
551 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
552 RELEASE_ICC_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
553 *_ICC_IA32_SLINK_FLAGS = /nologo /LTCG
554 DEBUG_ICC_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
555 RELEASE_ICC_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
556
557
558 ##################
559 # IPF definitions
560 ##################
561 *_ICC_IPF_*_FAMILY = INTEL
562
563 *_ICC_IPF_CC_NAME = icl.exe
564 *_ICC_IPF_SLINK_NAME = xilib.exe
565 *_ICC_IPF_DLINK_NAME = xilink.exe
566 *_ICC_IPF_ASMLINK_NAME = xilink.exe
567 *_ICC_IPF_PP_NAME = icl.exe
568 *_ICC_IPF_VFRPP_NAME = icl.exe
569
570 #*_ICC_IPF_PCH_NAME = icl.exe
571 *_ICC_IPF_APP_NAME = icl.exe
572 *_ICC_IPF_ASM_NAME = ias.exe
573 *_ICC_IPF_ASM_EXT = .s
574
575
576
577 *_ICC_IPF_*_PATH = C:\Program Files\Intel\Compiler\C++\9.1\Itanium\Bin
578
579 *_ICC_IPF_APP_FLAGS = /nologo /P /TC
580 *_ICC_IPF_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
581 DEBUG_ICC_IPF_CC_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Zi
582 RELEASE_ICC_IPF_CC_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
583 #DEBUG_ICC_IPF_PCH_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Yc /TC /Zi
584 #RELEASE_ICC_IPF_PCH_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Yc /TC
585 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
586 RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
587 DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /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
588 RELEASE_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
589 *_ICC_IPF_SLINK_FLAGS = /nologo /LTCG
590
591
592 ##################
593 # ASL definitions
594 ##################
595 *_ICC_*_ASL_FAMILY = INTEL
596 *_ICC_*_ASL_NAME = iasl.exe
597 *_ICC_*_ASL_PATH = C:\ASL
598
599 ####################################################################################
600 #
601 # MYTOOLS
602 # IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker
603 # X64 - Microsoft Windows DDK 3790.1830
604 # IPF - Microsoft Windows DDK 3790.1830
605 # EBC - Intel EFI Byte Code Compiler
606 # ASL - Intel ACPI Source Language COmpiler
607 #
608 ####################################################################################
609 *_MYTOOLS_*_*_FAMILY = MSFT
610
611 *_MYTOOLS_*_CC_NAME = cl.exe
612 *_MYTOOLS_*_SLINK_NAME = lib.exe
613 *_MYTOOLS_*_DLINK_NAME = link.exe
614 *_MYTOOLS_*_ASMLINK_NAME = link.exe
615 *_MYTOOLS_*_PP_NAME = cl.exe
616 *_MYTOOLS_*_VFRPP_NAME = cl.exe
617 *_MYTOOLS_*_APP_NAME = cl.exe
618 *_MYTOOLS_*_ASM_NAME = ml.exe
619
620 *_MYTOOLS_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
621 ##################
622 # IA32 definitions
623 ##################
624 *_MYTOOLS_IA32_PCH_NAME = cl.exe
625 *_MYTOOLS_IA32_ASM_EXT = .asm
626
627 *_MYTOOLS_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
628 *_MYTOOLS_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
629 *_MYTOOLS_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
630
631 *_MYTOOLS_IA32_APP_FLAGS = /nologo /P /TC
632 *_MYTOOLS_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
633 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
634 RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
635 DEBUG_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
636 RELEASE_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
637 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
638 RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
639 *_MYTOOLS_IA32_ASMLINK_FLAGS = /link /nologo /tiny
640 *_MYTOOLS_IA32_SLINK_FLAGS = /nologo /LTCG
641 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
642 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
643
644 ##################
645 # x64 definitions
646 ##################
647 *_MYTOOLS_X64_PCH_NAME = cl.exe
648 *_MYTOOLS_X64_ASM_NAME = ml64.exe
649 *_MYTOOLS_X64_ASM_EXT = .asm
650
651 *_MYTOOLS_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
652 *_MYTOOLS_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
653
654 *_MYTOOLS_X64_SLINK_FLAGS = /nologo /LTCG
655 *_MYTOOLS_X64_APP_FLAGS = /nologo /P /TC
656 *_MYTOOLS_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
657 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF
658 RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
659 DEBUG_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm /EHs-c- /GF
660 RELEASE_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /EHs-c- /GF
661 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
662 RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
663 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
664 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
665
666 ##################
667 # IPF definitions
668 ##################
669 *_MYTOOLS_IPF_PCH_NAME = cl.exe
670 *_MYTOOLS_IPF_ASM_NAME = ias.exe
671 *_MYTOOLS_IPF_ASM_EXT = .s
672
673 *_MYTOOLS_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
674
675 *_MYTOOLS_IPF_APP_FLAGS = /nologo /P /TC
676 *_MYTOOLS_IPF_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
677 DEBUG_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi
678 RELEASE_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
679 DEBUG_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi
680 RELEASE_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
681 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
682 RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
683 DEBUG_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /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
684 RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
685 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
686
687 ##################
688 # EBC definitions
689 ##################
690 *_MYTOOLS_EBC_*_FAMILY = INTEL
691 *_MYTOOLS_EBC_PP_NAME = iec.exe
692 *_MYTOOLS_EBC_CC_NAME = iec.exe
693 *_MYTOOLS_EBC_DLINK_NAME = link.exe
694 *_MYTOOLS_EBC_SLINK_NAME = link.exe
695
696 *_MYTOOLS_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
697 *_MYTOOLS_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
698
699 *_MYTOOLS_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
700 *_MYTOOLS_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
701 *_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
702 *_MYTOOLS_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
703
704 ##################
705 # ASL definitions
706 ##################
707 *_MYTOOLS_*_ASL_FAMILY = INTEL
708 *_MYTOOLS_*_ASL_NAME = iasl.exe
709 *_MYTOOLS_*_ASL_PATH = C:\ASL