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