blob: 51e599f5e815a6dbbad9479d5e2039202ba89397 [file] [log] [blame]
jljusten07a756b2007-10-17 01:54:36 +00001#
2# Copyright (c) 2006-2007, Intel Corporation
3#
4# All rights reserved. This program and the accompanying materials
5# are licensed and made available under the terms and conditions of the BSD License
6# which accompanies this distribution. The full text of the license may be found at
7# http://opensource.org/licenses/bsd-license.php
8#
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11#
12
13IDENTIFIER = Default TOOL_CHAIN_CONF
14
15# common path macros
16DEFINE VSNET_BIN = C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin
17DEFINE VSNET_DLL = C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE
18
19DEFINE VSNET2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
20DEFINE VSNET2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
21
22DEFINE VS2005EXP_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
23DEFINE VS2005EXP_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
24
25DEFINE VS2005STD_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
26DEFINE VS2005STD_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
27
28DEFINE VS2005PRO_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
29DEFINE VS2005PRO_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
30DEFINE VS2005PRO_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
31
32DEFINE VS2005TEAMSUITE_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
33DEFINE VS2005TEAMSUITE_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
34DEFINE VS2005TEAMSUITE_BIN64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64
35DEFINE VS2005TEAMSUITE_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
36
37DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16
38DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86
39DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64
40DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86
41
42DEFINE ICC_BIN32 = C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin
43DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Bin
44DEFINE ICC_BIN64 = C:\Program Files\Intel\Compiler\C++\9.1\Itanium\Bin
45
46DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin
47
48DEFINE ELFGCC_BIN = /usr/bin
49
jljusten23473302007-10-29 08:01:12 +000050# Option 1: Hard coded full path to compiler suite
lhauchab928122008-01-03 21:01:44 +000051#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
52#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
lhauchfa7f89d2008-01-03 21:41:41 +000053#
jljusten23473302007-10-29 08:01:12 +000054# Option 2: Use an environment variable
55#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX)
56#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX)
lhauchfa7f89d2008-01-03 21:41:41 +000057#
jljusten23473302007-10-29 08:01:12 +000058# Option 3: Install the compiler suite into your default paths
59#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32-
60#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32-
lhauchfa7f89d2008-01-03 21:41:41 +000061#
62# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory
jljusten23473302007-10-29 08:01:12 +000063# Links needed: gcc, ar & ld
lhauchfa7f89d2008-01-03 21:41:41 +000064#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32
65#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64
66
67DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
68DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
jljusten07a756b2007-10-17 01:54:36 +000069
70DEFINE CYGWIN_BIN = c:/cygwin/bin
71DEFINE CYGWIN_BIN32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
72DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
73
74DEFINE ASL_BIN = C:\ASL
75
76####################################################################################
77#
78# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
jwang361c2c04d2007-12-25 09:15:38 +000079# priority:
jljusten07a756b2007-10-17 01:54:36 +000080# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
81# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
82# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
83# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
84# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
85# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
86# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
87# ******_*********_****_COMMANDTYPE_ATTRIBUTE
88# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
89# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
90# TARGET_*********_ARCH_***********_ATTRIBUTE
91# ******_*********_ARCH_***********_ATTRIBUTE
92# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
93# ******_TOOLCHAIN_****_***********_ATTRIBUTE
94# TARGET_*********_****_***********_ATTRIBUTE
95# ******_*********_****_***********_ATTRIBUTE (Lowest)
96#
97####################################################################################
98####################################################################################
99#
100# Supported Tool Chains
101# =====================
102# VS2003 - Microsoft Visual Studio .NET 2003
103# VS2005EXP* - Microsoft Visual Studio 2005 Express Edition
104# VS2005STD* - Microsoft Visual Studio 2005 Standard Edition
105# VS2005PRO - Microsoft Visual Studio 2005 Professional Edition
106# VS2005TEAMSUITE* - Microsoft Visual Studio 2005 Team Suite Edition
107# WINDDK3790x1830 - Microsoft Windows DDK 3790.1830
108# UINIXGCC - UNIX GCC
109# ELFGCC - Linux ELF GCC
110# CYGWINGCC - CygWin GCC
111# ICC - Intel C Compiler V9.1
112# MYTOOLS - Settings compatible with previous versions of tools_def.template
113#
114# * Commented out - All versions of VS2005 use the same standard install directory
115#
116####################################################################################
117####################################################################################
118#
119# Supported Tool Chain Family
120# ===========================
121# MSFT - Microsoft
122# GCC - GNU GCC
123# INTEL - INTEL
124
125####################################################################################
126#
127# Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
128#
129####################################################################################
130# VS2003 - Microsoft Visual Studio .NET 2003
131*_VS2003_*_*_FAMILY = MSFT
132
133##################
134# IA32 definitions
135##################
136*_VS2003_IA32_*_DLL = DEF(VSNET2003_DLL)
137
138*_VS2003_IA32_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe
139*_VS2003_IA32_CC_PATH = DEF(VSNET2003_BIN)\cl.exe
140*_VS2003_IA32_VFRPP_PATH = DEF(VSNET2003_BIN)\cl.exe
141*_VS2003_IA32_SLINK_PATH = DEF(VSNET2003_BIN)\lib.exe
142*_VS2003_IA32_DLINK_PATH = DEF(VSNET2003_BIN)\link.exe
143*_VS2003_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
144*_VS2003_IA32_APP_PATH = DEF(VSNET2003_BIN)\cl.exe
145*_VS2003_IA32_PP_PATH = DEF(VSNET2003_BIN)\cl.exe
146*_VS2003_IA32_ASM_PATH = DEF(VSNET2003_BIN)\ml.exe
147*_VS2003_IA32_PCH_PATH = DEF(VSNET2003_BIN)\cl.exe
148
149 *_VS2003_IA32_MAKE_FLAGS = /nologo
150 *_VS2003_IA32_APP_FLAGS = /nologo /E /TC
151 *_VS2003_IA32_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
152 *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
lgao44ee82542008-03-14 03:12:29 +0000153 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
154RELEASE_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX-
155 DEBUG_VS2003_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm
156RELEASE_VS2003_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC
lhauch7e6ae4d2007-11-28 01:20:03 +0000157 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
158RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
jljusten07a756b2007-10-17 01:54:36 +0000159 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
jwang3658ce61e2007-12-22 16:58:04 +0000160 DEBUG_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
161RELEASE_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000162
163####################################################################################
164#
165# Microsoft Visual Studio 2005
166#
167####################################################################################
168# VS2005PRO - Microsoft Visual Studio 2005 Professional Edition
169*_VS2005PRO_*_*_FAMILY = MSFT
170
171*_VS2005PRO_*_TIANO_PATH = TianoCompress.exe
172*_VS2005PRO_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
173
174*_VS2005PRO_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe
175*_VS2005PRO_*_MAKE_PATH = DEF(VS2005PRO_BIN)\nmake.exe
176
177*_VS2005PRO_*_MAKE_FLAGS = /nologo
178*_VS2005PRO_*_SLINK_FLAGS = /NOLOGO /LTCG
179*_VS2005PRO_*_APP_FLAGS = /nologo /E /TC
180*_VS2005PRO_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
181*_VS2005PRO_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
182##################
183# IA32 definitions
184##################
185*_VS2005PRO_IA32_*_DLL = DEF(VS2005PRO_DLL)
186
187*_VS2005PRO_IA32_CC_PATH = DEF(VS2005PRO_BIN)\cl.exe
188*_VS2005PRO_IA32_VFRPP_PATH = DEF(VS2005PRO_BIN)\cl.exe
189*_VS2005PRO_IA32_SLINK_PATH = DEF(VS2005PRO_BIN)\lib.exe
190*_VS2005PRO_IA32_DLINK_PATH = DEF(VS2005PRO_BIN)\link.exe
191*_VS2005PRO_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
192*_VS2005PRO_IA32_APP_PATH = DEF(VS2005PRO_BIN)\cl.exe
193*_VS2005PRO_IA32_PP_PATH = DEF(VS2005PRO_BIN)\cl.exe
194*_VS2005PRO_IA32_ASM_PATH = DEF(VS2005PRO_BIN)\ml.exe
195
lgao44ee82542008-03-14 03:12:29 +0000196 DEBUG_VS2005PRO_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
197RELEASE_VS2005PRO_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lhauch7e6ae4d2007-11-28 01:20:03 +0000198 DEBUG_VS2005PRO_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
199RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000200 DEBUG_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
201RELEASE_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000202 *_VS2005PRO_IA32_ASMLINK_FLAGS = /nologo /tiny
203
204##################
205# X64 definitions
206##################
207*_VS2005PRO_X64_*_DLL = DEF(VS2005PRO_DLL)
208
209*_VS2005PRO_X64_CC_PATH = DEF(VS2005PRO_BINX64)\cl.exe
210*_VS2005PRO_X64_PP_PATH = DEF(VS2005PRO_BINX64)\cl.exe
211*_VS2005PRO_X64_APP_PATH = DEF(VS2005PRO_BINX64)\cl.exe
212*_VS2005PRO_X64_VFRPP_PATH = DEF(VS2005PRO_BINX64)\cl.exe
213*_VS2005PRO_X64_ASM_PATH = DEF(VS2005PRO_BINX64)\ml64.exe
214*_VS2005PRO_X64_SLINK_PATH = DEF(VS2005PRO_BINX64)\lib.exe
215*_VS2005PRO_X64_DLINK_PATH = DEF(VS2005PRO_BINX64)\link.exe
216*_VS2005PRO_X64_ASMLINK_PATH = DEF(VS2005PRO_BINX64)\link.exe
217
lgao44ee82542008-03-14 03:12:29 +0000218 DEBUG_VS2005PRO_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
219RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lhauch7e6ae4d2007-11-28 01:20:03 +0000220 DEBUG_VS2005PRO_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
221RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000222 DEBUG_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
223RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000224
225####################################################################################
226# VS2005TEAMSUITE - Microsoft Visual Studio 2005 Team Suite Edition
227*_VS2005TEAMSUITE_*_*_FAMILY = MSFT
228
229*_VS2005TEAMSUITE_*_TIANO_PATH = TianoCompress.exe
230*_VS2005TEAMSUITE_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
231
232*_VS2005TEAMSUITE_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe
233*_VS2005TEAMSUITE_*_MAKE_PATH = DEF(VS2005TEAMSUITE_BIN)\nmake.exe
234
235
236*_VS2005TEAMSUITE_*_MAKE_FLAGS = /nologo
237*_VS2005TEAMSUITE_*_SLINK_FLAGS = /NOLOGO /LTCG
238*_VS2005TEAMSUITE_*_APP_FLAGS = /nologo /E /TC
239*_VS2005TEAMSUITE_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
240*_VS2005TEAMSUITE_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
241##################
242# IA32 definitions
243##################
244*_VS2005TEAMSUITE_IA32_*_DLL = DEF(VS2005TEAMSUITE_DLL)
245
246*_VS2005TEAMSUITE_IA32_MAKE_PATH = DEF(VS2005TEAMSUITE_BIN)\nmake.exe
247*_VS2005TEAMSUITE_IA32_CC_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
248*_VS2005TEAMSUITE_IA32_VFRPP_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
249*_VS2005TEAMSUITE_IA32_SLINK_PATH = DEF(VS2005TEAMSUITE_BIN)\lib.exe
250*_VS2005TEAMSUITE_IA32_DLINK_PATH = DEF(VS2005TEAMSUITE_BIN)\link.exe
251*_VS2005TEAMSUITE_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
252*_VS2005TEAMSUITE_IA32_APP_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
253*_VS2005TEAMSUITE_IA32_PP_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
254*_VS2005TEAMSUITE_IA32_ASM_PATH = DEF(VS2005TEAMSUITE_BIN)\ml.exe
255
256 *_VS2005TEAMSUITE_IA32_MAKE_FLAGS = /nologo
lgao44ee82542008-03-14 03:12:29 +0000257 DEBUG_VS2005TEAMSUITE_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
258RELEASE_VS2005TEAMSUITE_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lhauch7e6ae4d2007-11-28 01:20:03 +0000259 DEBUG_VS2005TEAMSUITE_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
260RELEASE_VS2005TEAMSUITE_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000261 DEBUG_VS2005TEAMSUITE_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
262RELEASE_VS2005TEAMSUITE_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000263 *_VS2005TEAMSUITE_IA32_ASMLINK_FLAGS= /nologo /tiny
264
265##################
266# X64 definitions
267##################
268*_VS2005TEAMSUITE_X64_*_DLL = DEF(VS2005TEAMSUITE_DLL)
269
270*_VS2005TEAMSUITE_X64_CC_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
271*_VS2005TEAMSUITE_X64_PP_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
272*_VS2005TEAMSUITE_X64_APP_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
273*_VS2005TEAMSUITE_X64_VFRPP_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
274*_VS2005TEAMSUITE_X64_ASM_PATH = DEF(VS2005TEAMSUITE_BINX64)\ml64.exe
275*_VS2005TEAMSUITE_X64_SLINK_PATH = DEF(VS2005TEAMSUITE_BINX64)\lib.exe
276*_VS2005TEAMSUITE_X64_DLINK_PATH = DEF(VS2005TEAMSUITE_BINX64)\link.exe
277
lgao44ee82542008-03-14 03:12:29 +0000278 DEBUG_VS2005TEAMSUITE_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
279RELEASE_VS2005TEAMSUITE_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
lhauch7e6ae4d2007-11-28 01:20:03 +0000280 DEBUG_VS2005TEAMSUITE_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
281RELEASE_VS2005TEAMSUITE_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000282 DEBUG_VS2005TEAMSUITE_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
283RELEASE_VS2005TEAMSUITE_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000284
285##################
286# IPF definitions
287##################
288*_VS2005TEAMSUITE_IPF_*_DLL = DEF(VS2005TEAMSUITE_DLL)
289
290*_VS2005TEAMSUITE_IPF_PP_PATH = DEF(VS2005TEAMSUITE_BIN64)\cl.exe
291*_VS2005TEAMSUITE_IPF_APP_PATH = DEF(VS2005TEAMSUITE_BIN64)\cl.exe
292*_VS2005TEAMSUITE_IPF_VFRPP_PATH = DEF(VS2005TEAMSUITE_BIN64)\cl.exe
293*_VS2005TEAMSUITE_IPF_CC_PATH = DEF(VS2005TEAMSUITE_BIN64)\cl.exe
294*_VS2005TEAMSUITE_IPF_ASM_PATH = DEF(VS2005TEAMSUITE_BIN64)\ias.exe
295*_VS2005TEAMSUITE_IPF_SLINK_PATH = DEF(VS2005TEAMSUITE_BIN64)\lib.exe
296*_VS2005TEAMSUITE_IPF_DLINK_PATH = DEF(VS2005TEAMSUITE_BIN64)\link.exe
297
lgao44ee82542008-03-14 03:12:29 +0000298 DEBUG_VS2005TEAMSUITE_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
299RELEASE_VS2005TEAMSUITE_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
jljusten07a756b2007-10-17 01:54:36 +0000300 DEBUG_VS2005TEAMSUITE_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
301RELEASE_VS2005TEAMSUITE_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
jwang3658ce61e2007-12-22 16:58:04 +0000302 DEBUG_VS2005TEAMSUITE_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
303RELEASE_VS2005TEAMSUITE_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEBUG_DIR)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
jljusten07a756b2007-10-17 01:54:36 +0000304
305####################################################################################
306#
307# Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
308#
309####################################################################################
310# WINDDK3790x1830 - Microsoft Windows DDK 3790.1830
311*_WINDDK3790x1830_*_*_FAMILY = MSFT
312
313*_WINDDK3790x1830_*_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
314*_WINDDK3790x1830_*_MAKE_FLAGS = /nologo
315
316*_WINDDK3790x1830_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
317*_WINDDK3790x1830_*_APP_FLAGS = /nologo /E /TC
318*_WINDDK3790x1830_*_SLINK_FLAGS = /nologo /LTCG
319*_WINDDK3790x1830_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
320
321##################
322# ASL definitions
323##################
324*_WINDDK3790x1830_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe
325
326##################
327# IA32 definitions
328##################
329*_WINDDK3790x1830_IA32_CC_PATH = DEF(WINDDK_BIN32)\cl.exe
330*_WINDDK3790x1830_IA32_SLINK_PATH = DEF(WINDDK_BIN32)\lib.exe
331*_WINDDK3790x1830_IA32_DLINK_PATH = DEF(WINDDK_BIN32)\link.exe
332*_WINDDK3790x1830_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
333*_WINDDK3790x1830_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe
334*_WINDDK3790x1830_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe
335*_WINDDK3790x1830_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe
336*_WINDDK3790x1830_IA32_PCH_PATH = DEF(WINDDK_BIN32)\cl.exe
337*_WINDDK3790x1830_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe
338
lgao44ee82542008-03-14 03:12:29 +0000339 DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
340RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
341 DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm
342RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC
lhauch7e6ae4d2007-11-28 01:20:03 +0000343 DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
344RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000345 DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
346RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000347 *_WINDDK3790x1830_IA32_ASMLINK_FLAGS = /nologo /tiny
348
349##################
350# x64 definitions
351##################
352*_WINDDK3790x1830_X64_CC_PATH = DEF(WINDDK_BINX64)\cl.exe
353*_WINDDK3790x1830_X64_SLINK_PATH = DEF(WINDDK_BINX64)\lib.exe
354*_WINDDK3790x1830_X64_DLINK_PATH = DEF(WINDDK_BINX64)\link.exe
355*_WINDDK3790x1830_X64_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
356*_WINDDK3790x1830_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe
357*_WINDDK3790x1830_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe
358*_WINDDK3790x1830_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe
359*_WINDDK3790x1830_X64_PCH_PATH = DEF(WINDDK_BINX64)\cl.exe
360*_WINDDK3790x1830_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
361
lgao44ee82542008-03-14 03:12:29 +0000362 DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
363RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
364 DEBUG_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm
365RELEASE_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC
lhauch7e6ae4d2007-11-28 01:20:03 +0000366 DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
367RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000368 DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
369RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000370
371##################
372# IPF definitions
373##################
374*_WINDDK3790x1830_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
375*_WINDDK3790x1830_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
376*_WINDDK3790x1830_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
377*_WINDDK3790x1830_IPF_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
378*_WINDDK3790x1830_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
379*_WINDDK3790x1830_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
380*_WINDDK3790x1830_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
381*_WINDDK3790x1830_IPF_PCH_PATH = DEF(WINDDK_BIN64)\cl.exe
382*_WINDDK3790x1830_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
383
lgao44ee82542008-03-14 03:12:29 +0000384 DEBUG_WINDDK3790x1830_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi
385RELEASE_WINDDK3790x1830_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32
386 DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi
387RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC
jljusten07a756b2007-10-17 01:54:36 +0000388 DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
389RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
jwang3658ce61e2007-12-22 16:58:04 +0000390 DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
391RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb
jljusten07a756b2007-10-17 01:54:36 +0000392
393##################
394# EBC definitions
395##################
396*_WINDDK3790x1830_EBC_*_FAMILY = INTEL
397
398*_WINDDK3790x1830_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
399*_WINDDK3790x1830_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
400*_WINDDK3790x1830_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
401*_WINDDK3790x1830_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
qwang12fd6e8b42008-06-05 01:43:26 +0000402*_WINDDK3790x1830_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
jljusten07a756b2007-10-17 01:54:36 +0000403
lhauch7e6ae4d2007-11-28 01:20:03 +0000404*_WINDDK3790x1830_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h
jljusten07a756b2007-10-17 01:54:36 +0000405*_WINDDK3790x1830_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
jwang3658ce61e2007-12-22 16:58:04 +0000406*_WINDDK3790x1830_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
jljusten07a756b2007-10-17 01:54:36 +0000407
408####################################################################################
409#
410# Unix GCC
411#
412####################################################################################
413# UINIXGCC - UINIX GCC
414*_UNIXGCC_*_*_FAMILY = GCC
415
lhauch5b4756e2008-03-13 20:46:42 +0000416*_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
jljusten8f5a1bc2007-10-29 23:17:12 +0000417*_UNIXGCC_*_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
jljusten07a756b2007-10-17 01:54:36 +0000418*_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
419*_UNIXGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h
jljusten23473302007-10-29 08:01:12 +0000420*_UNIXGCC_*_MAKE_PATH = make
jljusten07a756b2007-10-17 01:54:36 +0000421
422##################
423# IA32 definitions
424##################
lhauchab928122008-01-03 21:01:44 +0000425*_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc
426*_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ar
427*_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/ld
428*_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc
429*_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc
430*_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)/gcc
jljusten07a756b2007-10-17 01:54:36 +0000431
lhauch5b4756e2008-03-13 20:46:42 +0000432*_UNIXGCC_IA32_CC_FLAGS = -O2 -falign-functions -falign-jumps -falign-loops -freorder-blocks -freorder-blocks-and-partition -falign-labels -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h
jljusten07a756b2007-10-17 01:54:36 +0000433
434##################
435# X64 definitions
436##################
lhauchab928122008-01-03 21:01:44 +0000437*_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc
438*_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ar
439*_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/ld
440*_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc
441*_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc
442*_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)/gcc
jljusten07a756b2007-10-17 01:54:36 +0000443
jljusten23473302007-10-29 08:01:12 +0000444*_UNIXGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-address -Wno-array-bounds -c -include AutoGen.h -D_EFI_P64
jljusten07a756b2007-10-17 01:54:36 +0000445
446####################################################################################
447#
448# Cygwin GCC
449#
450####################################################################################
451# CYGWINGCC - CygWin GCC
452*_CYGWINGCC_*_*_FAMILY = GCC
453
454*_CYGWINGCC_*_*_DPATH = DEF(CYGWIN_BIN)
455*_CYGWINGCC_*_ASL_PATH = DEF(ASL_BIN)/iasl.exe
456*_CYGWINGCC_*_MAKE_PATH = DEF(VSNET2003_BIN)\nmake.exe
457
458*_CYGWINGCC_*_MAKE_FLAGS = /nologo
jwang3658ce61e2007-12-22 16:58:04 +0000459*_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20
jljusten07a756b2007-10-17 01:54:36 +0000460*_CYGWINGCC_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
461*_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
462*_CYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h
463
464##################
465# IA32 definitions
466##################
467*_CYGWINGCC_IA32_CC_PATH = DEF(CYGWIN_BIN32)/gcc
468*_CYGWINGCC_IA32_SLINK_PATH = DEF(CYGWIN_BIN32)/ar
469*_CYGWINGCC_IA32_DLINK_PATH = DEF(CYGWIN_BIN32)/ld
470*_CYGWINGCC_IA32_ASM_PATH = DEF(CYGWIN_BIN32)/gcc
471*_CYGWINGCC_IA32_PP_PATH = DEF(CYGWIN_BIN32)/gcc
472*_CYGWINGCC_IA32_VFRPP_PATH = DEF(CYGWIN_BIN32)/gcc
473
yshang18a0d1442007-11-06 05:30:16 +0000474*_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h
jljusten07a756b2007-10-17 01:54:36 +0000475
476##################
477# X64 definitions
478##################
479*_CYGWINGCC_X64_CC_PATH = DEF(CYGWIN_BINX64)/gcc
480*_CYGWINGCC_X64_SLINK_PATH = DEF(CYGWIN_BINX64)/ar
481*_CYGWINGCC_X64_DLINK_PATH = DEF(CYGWIN_BINX64)/ld
482*_CYGWINGCC_X64_ASM_PATH = DEF(CYGWIN_BINX64)/gcc
483*_CYGWINGCC_X64_PP_PATH = DEF(CYGWIN_BINX64)/gcc
484*_CYGWINGCC_X64_VFRPP_PATH = DEF(CYGWIN_BINX64)/gcc
485
yshang18a0d1442007-11-06 05:30:16 +0000486*_CYGWINGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -mno-red-zone -Wall -Werror -c -include AutoGen.h -D_EFI_P64
jljusten07a756b2007-10-17 01:54:36 +0000487
488####################################################################################
489#
490# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
491# binaries.
492#
493####################################################################################
494# ELFGCC - Linux ELF GCC
495*_ELFGCC_*_*_FAMILY = GCC
496
497*_ELFGCC_IA32_CC_PATH = DEF(ELFGCC_BIN)/gcc
498*_ELFGCC_IA32_SLINK_PATH = DEF(ELFGCC_BIN)/ar
499*_ELFGCC_IA32_DLINK_PATH = DEF(ELFGCC_BIN)/ld
eric_tian73aa7f02008-07-16 05:28:50 +0000500*_ELFGCC_IA32_DLINK2_PATH = DEF(ELFGCC_BIN)/ld
jljusten07a756b2007-10-17 01:54:36 +0000501*_ELFGCC_IA32_ASM_PATH = DEF(ELFGCC_BIN)/gcc
502*_ELFGCC_IA32_PP_PATH = DEF(ELFGCC_BIN)/gcc
503*_ELFGCC_IA32_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc
eric_tianed0b86b2008-06-30 05:50:49 +0000504*_ELFGCC_*_MAKE_PATH = make
jljusten07a756b2007-10-17 01:54:36 +0000505
506*_ELFGCC_IA32_CC_FLAGS = -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
eric_tian73aa7f02008-07-16 05:28:50 +0000507*_ELFGCC_*_DLINK_FLAGS = -melf_i386 -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
eric_tian865c7e12008-06-30 06:25:43 +0000508#*_ELFGCC_*_DLINK_FLAGS = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT)
eric_tianed0b86b2008-06-30 05:50:49 +0000509*_ELFGCC_*_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
jljusten07a756b2007-10-17 01:54:36 +0000510*_ELFGCC_*_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
511*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h
512
513
514####################################################################################
515#
516# Intel EFI Byte Code Compiler (Template)
517#
518####################################################################################
519# *_*_EBC_*_FAMILY = INTEL
520#
521# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
522# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
523# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe
524#
525# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
526# *_*_EBC_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
527# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h
jwang3658ce61e2007-12-22 16:58:04 +0000528# *_*_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
jljusten07a756b2007-10-17 01:54:36 +0000529#
530####################################################################################
531#
532# Intel ACPI Source Language Compiler (Template)
533#
534####################################################################################
535# *_*_*_ASL_FAMILY = INTEL
536#
537# *_*_*_ASL_PATH = C:\ASL\iasl.exe
538#
539####################################################################################
540#
541# Microsoft ACPI Source Language Compiler (Template)
542#
543####################################################################################
544# *_*_*_ASL_FAMILY = MSFT
545#
546# *_*_*_ASL_PATH = C:\ASL\iasl.exe
547#
548
549
550####################################################################################
551#
552# Intel(R) C++ Compiler Version 9.1
553#
554# IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
jwang361c2c04d2007-12-25 09:15:38 +0000555# ASL - Intel ACPI Source Language Compiler
jljusten07a756b2007-10-17 01:54:36 +0000556#
557####################################################################################
558# ICC - Intel C Compiler V9.1
559*_ICC_*_*_FAMILY = INTEL
560
561*_ICC_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe
jwang36f71c1d32007-12-24 02:51:41 +0000562*_ICC_*_MAKE_PATH = DEF(VS2005TEAMSUITE_BIN)\nmake.exe
jljusten07a756b2007-10-17 01:54:36 +0000563
564*_ICC_*_MAKE_FLAGS = /nologo
565*_ICC_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
566*_ICC_*_APP_FLAGS = /nologo /E /TC
567*_ICC_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
568
569##################
570# IA32 definitions
571##################
572*_ICC_IA32_PCH_PATH = DEF(ICC_BIN32)\icl.exe
573*_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe
574*_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe
575# xilib.exe needs lib.exe from Visual Studio
jwang3664cf8bc2007-12-12 03:50:49 +0000576*_ICC_IA32_SLINK_DLL = DEF(VS2005TEAMSUITE_BIN)
jljusten07a756b2007-10-17 01:54:36 +0000577*_ICC_IA32_DLINK_PATH = DEF(ICC_BIN32)\xilink.exe
578*_ICC_IA32_ASMLINK_PATH = DEF(ICC_BIN32)\xilink.exe
579*_ICC_IA32_PP_PATH = DEF(ICC_BIN32)\icl.exe
580*_ICC_IA32_VFRPP_PATH = DEF(ICC_BIN32)\icl.exe
581*_ICC_IA32_APP_PATH = DEF(ICC_BIN32)\icl.exe
jwang3664cf8bc2007-12-12 03:50:49 +0000582*_ICC_IA32_ASM_PATH = DEF(VS2005TEAMSUITE_BIN)\ml.exe
583*_ICC_IA32_ASM_DLL = DEF(VS2005TEAMSUITE_DLL)
jljusten07a756b2007-10-17 01:54:36 +0000584
lhauch7e6ae4d2007-11-28 01:20:03 +0000585 DEBUG_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm
586RELEASE_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF
587 DEBUG_ICC_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Yc /TC /Zi /Gm
588RELEASE_ICC_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Yc /TC
589 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi
590RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd
jljusten07a756b2007-10-17 01:54:36 +0000591 *_ICC_IA32_SLINK_FLAGS = /nologo
jwang3658ce61e2007-12-22 16:58:04 +0000592 DEBUG_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
593RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000594
595##################
596# X64 definitions
597##################
598*_ICC_X64_PCH_PATH = DEF(ICC_BINX64)\icl.exe
599*_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe
600*_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe
601# xilib.exe needs lib.exe from Visual Studio
jwang3664cf8bc2007-12-12 03:50:49 +0000602*_ICC_X64_SLINK_DLL = DEF(VS2005TEAMSUITE_BIN)
jljusten07a756b2007-10-17 01:54:36 +0000603*_ICC_X64_DLINK_PATH = DEF(ICC_BINX64)\xilink.exe
604*_ICC_X64_ASMLINK_PATH = DEF(ICC_BINX64)\xilink.exe
605*_ICC_X64_PP_PATH = DEF(ICC_BINX64)\icl.exe
606*_ICC_X64_VFRPP_PATH = DEF(ICC_BINX64)\icl.exe
607*_ICC_X64_APP_PATH = DEF(ICC_BINX64)\icl.exe
608*_ICC_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe
jwang3664cf8bc2007-12-12 03:50:49 +0000609*_ICC_X64_ASM_DLL = DEF(VS2005TEAMSUITE_DLL)
jljusten07a756b2007-10-17 01:54:36 +0000610
lhauch7e6ae4d2007-11-28 01:20:03 +0000611 DEBUG_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF
612RELEASE_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF
613 DEBUG_ICC_X64_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF
614RELEASE_ICC_X64_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF
615 DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
616RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000617 DEBUG_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
618RELEASE_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000619 *_ICC_X64_SLINK_FLAGS = /nologo /LTCG
620
621
622##################
623# IPF definitions
624##################
625*_ICC_IPF_CC_PATH = DEF(ICC_BIN64)\icl.exe
626# icl.exe needs cl.exe from Visual Studio
jwang3664cf8bc2007-12-12 03:50:49 +0000627*_ICC_IPF_CC_DLL = DEF(VS2005TEAMSUITE_BIN)
jljusten07a756b2007-10-17 01:54:36 +0000628*_ICC_IPF_SLINK_PATH = DEF(ICC_BIN64)\xilib.exe
629# xilib.exe needs lib.exe from Visual Studio
jwang3664cf8bc2007-12-12 03:50:49 +0000630*_ICC_IPF_SLINK_DLL = DEF(VS2005TEAMSUITE_BIN);DEF(VS2005TEAMSUITE_DLL)
jljusten07a756b2007-10-17 01:54:36 +0000631*_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe
632*_ICC_IPF_ASMLINK_PATH = DEF(ICC_BIN64)\xilink.exe
633*_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe
634*_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe
635
636*_ICC_IPF_PCH_PATH = DEF(ICC_BIN64)\icl.exe
637*_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe
638*_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe
639
lhauch7e6ae4d2007-11-28 01:20:03 +0000640 DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi
641RELEASE_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32
642 DEBUG_ICC_IPF_PCH_FLAGS = /nologo /c /WX /W4 /GX /Gy /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zi
643RELEASE_ICC_IPF_PCH_FLAGS = /nologo /c /WX /W4 /GX /Gy /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC
jljusten07a756b2007-10-17 01:54:36 +0000644 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
645RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
jwang3658ce61e2007-12-22 16:58:04 +0000646 DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /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
647RELEASE_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb
jljusten07a756b2007-10-17 01:54:36 +0000648 *_ICC_IPF_SLINK_FLAGS = /nologo
649
650####################################################################################
651#
652# MYTOOLS
653# IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker
654# X64 - Microsoft Windows DDK 3790.1830
655# IPF - Microsoft Windows DDK 3790.1830
656# EBC - Intel EFI Byte Code Compiler
657#
658####################################################################################
659# MYTOOLS - Settings compatible with previous versions of tools_def.template
660*_MYTOOLS_*_*_FAMILY = MSFT
661
662*_MYTOOLS_*_TIANO_PATH = TianoCompress.exe
663*_MYTOOLS_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
664
665*_MYTOOLS_*_ASL_PATH = DEF(ASL_BIN)\iasl.exe
666
lgao40a1d7bd2008-05-15 04:58:49 +0000667*_MYTOOLS_*_ASL_FLAGS =
jwang3604e031d2007-10-31 09:07:31 +0000668*_MYTOOLS_*_MAKE_FLAGS = /nologo
jljusten07a756b2007-10-17 01:54:36 +0000669*_MYTOOLS_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
jwang3604e031d2007-10-31 09:07:31 +0000670*_MYTOOLS_*_APP_FLAGS = /nologo /E /TC
671*_MYTOOLS_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
672*_MYTOOLS_*_SLINK_FLAGS = /nologo /LTCG
jljusten07a756b2007-10-17 01:54:36 +0000673
klu21f4dfdd2008-05-08 04:12:33 +0000674*_MYTOOLS_*_ASM16_PATH = DEF(VS2005TEAMSUITE_BIN)\ml.exe
675*_MYTOOLS_*_ASMLINK16_PATH = DEF(WINDDK_BIN16)\link.exe
676*_MYTOOLS_*_ASMLINK16_FLAGS = /nologo /tiny
klu2adf74fc2008-05-08 06:25:45 +0000677 DEBUG_MYTOOLS_*_ASM16_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
678RELEASE_MYTOOLS_*_ASM16_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
klu21f4dfdd2008-05-08 04:12:33 +0000679
jljusten07a756b2007-10-17 01:54:36 +0000680##################
681# IA32 definitions
682##################
jwang3604e031d2007-10-31 09:07:31 +0000683*_MYTOOLS_IA32_*_DLL = DEF(VS2005TEAMSUITE_DLL)
jljusten07a756b2007-10-17 01:54:36 +0000684
jwang3604e031d2007-10-31 09:07:31 +0000685*_MYTOOLS_IA32_MAKE_PATH = DEF(VS2005TEAMSUITE_BIN)\nmake.exe
686*_MYTOOLS_IA32_CC_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
687*_MYTOOLS_IA32_SLINK_PATH = DEF(VS2005TEAMSUITE_BIN)\lib.exe
688*_MYTOOLS_IA32_DLINK_PATH = DEF(VS2005TEAMSUITE_BIN)\link.exe
jljusten07a756b2007-10-17 01:54:36 +0000689*_MYTOOLS_IA32_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
jwang3604e031d2007-10-31 09:07:31 +0000690*_MYTOOLS_IA32_PP_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
691*_MYTOOLS_IA32_VFRPP_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
692*_MYTOOLS_IA32_APP_PATH = DEF(VS2005TEAMSUITE_BIN)\cl.exe
693*_MYTOOLS_IA32_ASM_PATH = DEF(VS2005TEAMSUITE_BIN)\ml.exe
jljusten07a756b2007-10-17 01:54:36 +0000694
lgao44ee82542008-03-14 03:12:29 +0000695 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
696RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lhauch7e6ae4d2007-11-28 01:20:03 +0000697 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi
698RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd
jljusten07a756b2007-10-17 01:54:36 +0000699 *_MYTOOLS_IA32_ASMLINK_FLAGS = /nologo /tiny
jwang3658ce61e2007-12-22 16:58:04 +0000700 DEBUG_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
701RELEASE_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
jljusten07a756b2007-10-17 01:54:36 +0000702
703##################
704# x64 definitions
705##################
jwang3604e031d2007-10-31 09:07:31 +0000706*_MYTOOLS_X64_*_DLL = DEF(VS2005TEAMSUITE_DLL)
jljusten07a756b2007-10-17 01:54:36 +0000707
jwang3604e031d2007-10-31 09:07:31 +0000708*_MYTOOLS_X64_MAKE_PATH = DEF(VS2005TEAMSUITE_BIN)\nmake.exe
709*_MYTOOLS_X64_CC_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
710*_MYTOOLS_X64_SLINK_PATH = DEF(VS2005TEAMSUITE_BINX64)\lib.exe
711*_MYTOOLS_X64_DLINK_PATH = DEF(VS2005TEAMSUITE_BINX64)\link.exe
712*_MYTOOLS_X64_PP_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
713*_MYTOOLS_X64_VFRPP_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
714*_MYTOOLS_X64_APP_PATH = DEF(VS2005TEAMSUITE_BINX64)\cl.exe
715*_MYTOOLS_X64_ASM_PATH = DEF(VS2005TEAMSUITE_BINX64)\ml64.exe
716
lgao44ee82542008-03-14 03:12:29 +0000717 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
718RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
lhauch7e6ae4d2007-11-28 01:20:03 +0000719 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
720RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
jwang3658ce61e2007-12-22 16:58:04 +0000721 DEBUG_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
722RELEASE_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
jljusten07a756b2007-10-17 01:54:36 +0000723
724##################
725# IPF definitions
726##################
727*_MYTOOLS_IPF_MAKE_PATH = DEF(WINDDK_BIN32)\nmake.exe
728*_MYTOOLS_IPF_CC_PATH = DEF(WINDDK_BIN64)\cl.exe
729*_MYTOOLS_IPF_SLINK_PATH = DEF(WINDDK_BIN64)\lib.exe
730*_MYTOOLS_IPF_DLINK_PATH = DEF(WINDDK_BIN64)\link.exe
731*_MYTOOLS_IPF_ASMLINK_PATH = DEF(WINDDK_BIN16)\link.exe
732*_MYTOOLS_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe
733*_MYTOOLS_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe
734*_MYTOOLS_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe
735*_MYTOOLS_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe
jljusten07a756b2007-10-17 01:54:36 +0000736
737 *_MYTOOLS_IPF_ASM_OUTPUT = "-o "
738
lgao44ee82542008-03-14 03:12:29 +0000739 DEBUG_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32 /Zi
740RELEASE_MYTOOLS_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gy /Ox /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zx /QIPF_fr32
jljusten07a756b2007-10-17 01:54:36 +0000741 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
742RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
jwang3658ce61e2007-12-22 16:58:04 +0000743 DEBUG_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb /DEBUG
744RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEBUG_DIR)/$(BASE_NAME).pdb
jljusten07a756b2007-10-17 01:54:36 +0000745 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
746
747##################
748# EBC definitions
749##################
750*_MYTOOLS_EBC_*_FAMILY = INTEL
751
jwang3604e031d2007-10-31 09:07:31 +0000752*_MYTOOLS_EBC_MAKE_PATH = DEF(VS2005TEAMSUITE_BIN)\nmake.exe
jljusten07a756b2007-10-17 01:54:36 +0000753*_MYTOOLS_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
jwang36c0577802008-05-15 03:00:04 +0000754*_MYTOOLS_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
jljusten07a756b2007-10-17 01:54:36 +0000755*_MYTOOLS_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
756*_MYTOOLS_EBC_SLINK_PATH = DEF(EBC_BIN)\link.exe
757*_MYTOOLS_EBC_DLINK_PATH = DEF(EBC_BIN)\link.exe
758
759*_MYTOOLS_EBC_MAKE_FLAGS = /nologo
760*_MYTOOLS_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
lhauch7e6ae4d2007-11-28 01:20:03 +0000761*_MYTOOLS_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h
jwang36c0577802008-05-15 03:00:04 +0000762*_MYTOOLS_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h
jljusten07a756b2007-10-17 01:54:36 +0000763*_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
jwang3658ce61e2007-12-22 16:58:04 +0000764*_MYTOOLS_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
jljusten07a756b2007-10-17 01:54:36 +0000765
lgao430962c72008-08-07 03:29:10 +0000766##################
767# VfrCompiler definitions
768##################
lgao4bdf37b32008-08-10 03:56:03 +0000769*_*_*_VFR_PATH = VfrCompile
lgao430962c72008-08-07 03:29:10 +0000770*_*_*_VFR_FLAGS = -l -n