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