Updating BaseTools Project Configuration templates to match working copies in edk2...
[people/mcb30/basetools.git] / Conf / tools_def.template
1 #\r
2 #  Copyright (c) 2006-2007, 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
8 #\r
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
13 IDENTIFIER = Default TOOL_CHAIN_CONF\r
14 \r
15 # common path macros\r
16 DEFINE VSNET_BIN = C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\r
17 DEFINE VSNET_DLL = C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\r
18 \r
19 DEFINE VSNET2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\r
20 DEFINE VSNET2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\r
21 \r
22 DEFINE VS2005EXP_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
23 DEFINE VS2005STD_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
24 DEFINE VS2005PRO_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
25 DEFINE VS2005TS_BIN  = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\r
26 \r
27 DEFINE WINDDK_BIN16   = C:\WINDDK\3790.1830\bin\bin16\r
28 DEFINE WINDDK_BIN32   = C:\WINDDK\3790.1830\bin\x86\r
29 DEFINE WINDDK_BINX64  = C:\WINDDK\3790.1830\bin\win64\x86\amd64\r
30 DEFINE WINDDK_BIN64   = C:\WINDDK\3790.1830\bin\win64\x86\r
31 \r
32 DEFINE ICC_BIN32  = C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin\r
33 DEFINE ICC_BINX64 = C:\Program Files\Intel\Compiler\C++\9.1\EM64T\Bin\r
34 DEFINE ICC_BIN64  = C:\Program Files\Intel\Compiler\C++\9.1\Itanium\Bin\r
35 DEFINE EBC_BIN    = C:\Program Files\Intel\EBC\Bin\r
36 \r
37 DEFINE ELFGCC_BIN    = /usr/bin\r
38 DEFINE PEGCC_BIN32   = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
39 DEFINE PEGCC_BINX64  = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
40 DEFINE CYGWIN_BIN    = c:/cygwin/bin\r
41 DEFINE CYGWIN_BIN32  = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
42 DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
43 \r
44 DEFINE ASL_BIN = C:\ASL\r
45 \r
46 ####################################################################################\r
47 #\r
48 # format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>\r
49 # priorty:\r
50 #         TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)\r
51 #         ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE\r
52 #         TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE\r
53 #         ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE\r
54 #         TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE\r
55 #         ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE\r
56 #         TARGET_*********_****_COMMANDTYPE_ATTRIBUTE\r
57 #         ******_*********_****_COMMANDTYPE_ATTRIBUTE\r
58 #         TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE\r
59 #         ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE\r
60 #         TARGET_*********_ARCH_***********_ATTRIBUTE\r
61 #         ******_*********_ARCH_***********_ATTRIBUTE\r
62 #         TARGET_TOOLCHAIN_****_***********_ATTRIBUTE\r
63 #         ******_TOOLCHAIN_****_***********_ATTRIBUTE\r
64 #         TARGET_*********_****_***********_ATTRIBUTE\r
65 #         ******_*********_****_***********_ATTRIBUTE (Lowest)\r
66 #\r
67 ####################################################################################\r
68 ####################################################################################\r
69 #\r
70 # Supported Tool Chains\r
71 # =====================\r
72 #   VS2003           - Microsoft Visual Studio .NET 2003\r
73 #   VS2005EXP*       - Microsoft Visual Studio 2005 Express Edition\r
74 #   VS2005STD*       - Microsoft Visual Studio 2005 Standard Edition\r
75 #   VS2005PRO        - Microsoft Visual Studio 2005 Professional Edition\r
76 #   VS2005TEAMSUITE* - Microsoft Visual Studio 2005 Team Suite Edition\r
77 #   WINDDK3790x1830  - Microsoft Windows DDK 3790.1830\r
78 #   UINIXGCC         - UNIX GCC\r
79 #   ELFGCC           - Linux ELF GCC\r
80 #   CYGWINGCC        - CygWin GCC\r
81 #   ICC              - Intel C Compiler V9.1\r
82 #   MYTOOLS          - Settings compatible with previous versions of tools_def.template\r
83 #\r
84 # * Commented out - All versions of VS2005 use the same standard install directory\r
85 #\r
86 ####################################################################################\r
87 ####################################################################################\r
88 #\r
89 # Supported Tool Chain Family\r
90 # ===========================\r
91 #   MSFT           - Microsoft\r
92 #   GCC            - GNU GCC\r
93 #   INTEL          - INTEL\r
94 \r
95 ####################################################################################\r
96 #\r
97 # Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)\r
98 #\r
99 ####################################################################################\r
100 #   VS2003           - Microsoft Visual Studio .NET 2003\r
101 *_VS2003_*_*_FAMILY                 = MSFT\r
102 \r
103 ##################\r
104 # IA32 definitions\r
105 ##################\r
106 *_VS2003_IA32_*_DLL                 = DEF(VSNET2003_DLL)\r
107 \r
108 *_VS2003_IA32_CC_PATH               = DEF(VSNET2003_BIN)\cl.exe\r
109 *_VS2003_IA32_VFRPP_PATH            = DEF(VSNET2003_BIN)\cl.exe\r
110 *_VS2003_IA32_SLINK_PATH            = DEF(VSNET2003_BIN)\lib.exe\r
111 *_VS2003_IA32_DLINK_PATH            = DEF(VSNET2003_BIN)\link.exe\r
112 *_VS2003_IA32_ASMLINK_PATH          = DEF(VSNET2003_BIN)\link.exe\r
113 *_VS2003_IA32_APP_PATH              = DEF(VSNET2003_BIN)\cl.exe\r
114 *_VS2003_IA32_PP_PATH               = DEF(VSNET2003_BIN)\cl.exe\r
115 *_VS2003_IA32_ASM_PATH              = DEF(VSNET2003_BIN)\ml.exe\r
116 *_VS2003_IA32_PCH_PATH              = DEF(VSNET2003_BIN)\cl.exe\r
117 \r
118 *_VS2003_IA32_APP_FLAGS                  = /nologo /E /TC\r
119 *_VS2003_IA32_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
120 *_VS2003_IA32_VFRPP_FLAGS                = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h\r
121 DEBUG_VS2003_IA32_CC_FLAGS               = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm\r
122 RELEASE_VS2003_IA32_CC_FLAGS             = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192\r
123 DEBUG_VS2003_IA32_PCH_FLAGS              = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm\r
124 RELEASE_VS2003_IA32_PCH_FLAGS            = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
125 DEBUG_VS2003_IA32_ASM_FLAGS              = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi\r
126 RELEASE_VS2003_IA32_ASM_FLAGS            = /nologo /W3 /WX /c /coff /Cx /Zd /W0\r
127 *_VS2003_IA32_SLINK_FLAGS                = /nologo /LTCG\r
128 DEBUG_VS2003_IA32_DLINK_FLAGS            = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
129 RELEASE_VS2003_IA32_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
130 \r
131 ####################################################################################\r
132 #\r
133 # Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)\r
134 #\r
135 ####################################################################################\r
136 #   WINDDK3790x1830  - Microsoft Windows DDK 3790.1830\r
137 *_WINDDK3790x1830_*_*_FAMILY        = MSFT\r
138 \r
139 *_WINDDK3790x1830_*_PP_FLAGS             = /nologo /E /TC /FIAutoGen.h\r
140 *_WINDDK3790x1830_*_APP_FLAGS            = /nologo /E /TC\r
141 *_WINDDK3790x1830_*_SLINK_FLAGS          = /nologo /LTCG\r
142 *_WINDDK3790x1830_*_VFRPP_FLAGS          = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h\r
143 \r
144 ##################\r
145 # ASL definitions\r
146 ##################\r
147 *_WINDDK3790x1830_*_ASL_PATH        = DEF(ASL_BIN)\iasl.exe\r
148 \r
149 ##################\r
150 # IA32 definitions\r
151 ##################\r
152 *_WINDDK3790x1830_IA32_CC_PATH         = DEF(WINDDK_BIN32)\cl.exe\r
153 *_WINDDK3790x1830_IA32_SLINK_PATH      = DEF(WINDDK_BIN32)\lib.exe\r
154 *_WINDDK3790x1830_IA32_DLINK_PATH      = DEF(WINDDK_BIN32)\link.exe\r
155 *_WINDDK3790x1830_IA32_ASMLINK_PATH    = DEF(WINDDK_BIN16)\link.exe\r
156 *_WINDDK3790x1830_IA32_PP_PATH         = DEF(WINDDK_BIN32)\cl.exe\r
157 *_WINDDK3790x1830_IA32_VFRPP_PATH      = DEF(WINDDK_BIN32)\cl.exe\r
158 *_WINDDK3790x1830_IA32_APP_PATH        = DEF(WINDDK_BIN32)\cl.exe\r
159 *_WINDDK3790x1830_IA32_PCH_PATH        = DEF(WINDDK_BIN32)\cl.exe\r
160 *_WINDDK3790x1830_IA32_ASM_PATH        = DEF(WINDDK_BIN32)\ml.exe\r
161 \r
162 DEBUG_WINDDK3790x1830_IA32_CC_FLAGS      = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm\r
163 RELEASE_WINDDK3790x1830_IA32_CC_FLAGS    = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192\r
164 DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS     = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm\r
165 RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS   = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
166 DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS     = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi\r
167 RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS   = /nologo /W3 /WX /c /coff /Cx /Zd /W0\r
168 DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS   = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
169 RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
170 *_WINDDK3790x1830_IA32_ASMLINK_FLAGS     = /link /nologo /tiny\r
171 \r
172 ##################\r
173 # x64 definitions\r
174 ##################\r
175 *_WINDDK3790x1830_IA32_CC_PATH         = DEF(WINDDK_BINX64)\cl.exe\r
176 *_WINDDK3790x1830_IA32_SLINK_PATH      = DEF(WINDDK_BINX64)\lib.exe\r
177 *_WINDDK3790x1830_IA32_DLINK_PATH      = DEF(WINDDK_BINX64)\link.exe\r
178 *_WINDDK3790x1830_IA32_ASMLINK_PATH    = DEF(WINDDK_BIN16)\link.exe\r
179 *_WINDDK3790x1830_IA32_PP_PATH         = DEF(WINDDK_BINX64)\cl.exe\r
180 *_WINDDK3790x1830_IA32_VFRPP_PATH      = DEF(WINDDK_BINX64)\cl.exe\r
181 *_WINDDK3790x1830_IA32_APP_PATH        = DEF(WINDDK_BINX64)\cl.exe\r
182 *_WINDDK3790x1830_IA32_PCH_PATH        = DEF(WINDDK_BINX64)\cl.exe\r
183 *_WINDDK3790x1830_IA32_ASM_PATH        = DEF(WINDDK_BINX64)\ml64.exe\r
184 \r
185 DEBUG_WINDDK3790x1830_X64_CC_FLAGS       = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /Zi /Gm /EHs-c- /GF\r
186 RELEASE_WINDDK3790x1830_X64_CC_FLAGS     = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GF\r
187 DEBUG_WINDDK3790x1830_X64_PCH_FLAGS      = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm /EHs-c- /GF\r
188 RELEASE_WINDDK3790x1830_X64_PCH_FLAGS    = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /EHs-c- /GF\r
189 DEBUG_WINDDK3790x1830_X64_ASM_FLAGS      = /nologo /W3 /WX /c /Cx /Zd /Zi\r
190 RELEASE_WINDDK3790x1830_X64_ASM_FLAGS    = /nologo /W3 /WX /c /Cx /Zd\r
191 DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS    = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
192 RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
193 \r
194 ##################\r
195 # IPF definitions\r
196 ##################\r
197 *_WINDDK3790x1830_IA32_CC_PATH         = DEF(WINDDK_BIN64)\cl.exe\r
198 *_WINDDK3790x1830_IA32_SLINK_PATH      = DEF(WINDDK_BIN64)\lib.exe\r
199 *_WINDDK3790x1830_IA32_DLINK_PATH      = DEF(WINDDK_BIN64)\link.exe\r
200 *_WINDDK3790x1830_IA32_ASMLINK_PATH    = DEF(WINDDK_BIN16)\link.exe\r
201 *_WINDDK3790x1830_IA32_PP_PATH         = DEF(WINDDK_BIN64)\cl.exe\r
202 *_WINDDK3790x1830_IA32_VFRPP_PATH      = DEF(WINDDK_BIN64)\cl.exe\r
203 *_WINDDK3790x1830_IA32_APP_PATH        = DEF(WINDDK_BIN64)\cl.exe\r
204 *_WINDDK3790x1830_IA32_PCH_PATH        = DEF(WINDDK_BIN64)\cl.exe\r
205 *_WINDDK3790x1830_IPF_ASM_PATH         = DEF(WINDDK_BIN64)\ias.exe\r
206 \r
207 DEBUG_WINDDK3790x1830_IPF_CC_FLAGS       = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h /Zi\r
208 RELEASE_WINDDK3790x1830_IPF_CC_FLAGS     = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h\r
209 DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS      = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi\r
210 RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS    = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Os /GL /X /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
211 DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS      = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
212 RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS    = -N us -X explicit -M ilp64 -N so -W4\r
213 DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS    = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG\r
214 RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb\r
215 \r
216 ##################\r
217 # EBC definitions\r
218 ##################\r
219 *_WINDDK3790x1830_EBC_*_FAMILY      = INTEL\r
220 \r
221 *_WINDDK3790x1830_EBC_PP_PATH       = DEF(EBC_BIN)\iec.exe\r
222 *_WINDDK3790x1830_EBC_CC_PATH       = DEF(EBC_BIN)\iec.exe\r
223 *_WINDDK3790x1830_EBC_DLINK_PATH    = DEF(EBC_BIN)\link.exe\r
224 *_WINDDK3790x1830_EBC_SLINK_PATH    = DEF(EBC_BIN)\link.exe\r
225 \r
226 *_WINDDK3790x1830_EBC_CC_FLAGS           = /nologo /c /W3 /WX /FIAutoGen.h\r
227 *_WINDDK3790x1830_EBC_SLINK_FLAGS        = /lib /NOLOGO /MACHINE:EBC\r
228 *_WINDDK3790x1830_EBC_DLINK_FLAGS        = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\r
229 \r
230 ####################################################################################\r
231 #\r
232 # Unix GCC\r
233 #\r
234 ####################################################################################\r
235 #   UINIXGCC         - UINIX GCC\r
236 *_UNIXGCC_*_*_FAMILY             = GCC\r
237 \r
238 *_UNIXGCC_*_DLINK_FLAGS                  = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(ENTRYPOINT) --file-alignment 0x20 --section-alignment 0x20\r
239 *_UNIXGCC_*_ASM_FLAGS                    = -c -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
240 *_UNIXGCC_*_PP_FLAGS                     = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
241 *_UNIXGCC_*_VFRPP_FLAGS                  = -x c -E -P -DVFRCOMPILE --include AutoGen.h\r
242 \r
243 ##################\r
244 # IA32 definitions\r
245 ##################\r
246 *_UNIXGCC_IA32_CC_PATH              = DEF(PEGCC_BIN32)/gcc\r
247 *_UNIXGCC_IA32_SLINK_PATH           = DEF(PEGCC_BIN32)/ar\r
248 *_UNIXGCC_IA32_DLINK_PATH           = DEF(PEGCC_BIN32)/ld\r
249 *_UNIXGCC_IA32_ASM_PATH             = DEF(PEGCC_BIN32)/gcc\r
250 *_UNIXGCC_IA32_PP_PATH              = DEF(PEGCC_BIN32)/gcc\r
251 *_UNIXGCC_IA32_VFRPP_PATH           = DEF(PEGCC_BIN32)/cc\r
252 \r
253 *_UNIXGCC_IA32_CC_FLAGS                  = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h\r
254 \r
255 ##################\r
256 # X64 definitions\r
257 ##################\r
258 *_UNIXGCC_X64_CC_PATH               = DEF(PEGCC_BINX64)/gcc\r
259 *_UNIXGCC_X64_SLINK_PATH            = DEF(PEGCC_BINX64)/ar\r
260 *_UNIXGCC_X64_DLINK_PATH            = DEF(PEGCC_BINX64)/ld\r
261 *_UNIXGCC_X64_ASM_PATH              = DEF(PEGCC_BINX64)/gcc\r
262 *_UNIXGCC_X64_PP_PATH               = DEF(PEGCC_BINX64)/gcc\r
263 *_UNIXGCC_X64_VFRPP_PATH            = DEF(PEGCC_BINX64)/gcc\r
264 \r
265 *_UNIXGCC_X64_CC_FLAGS                   = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h -D_EFI_P64\r
266 \r
267 ####################################################################################\r
268 #\r
269 # Cygwin GCC\r
270 #\r
271 ####################################################################################\r
272 #   CYGWINGCC        - CygWin GCC\r
273 *_CYGWINGCC_*_*_FAMILY           = GCC\r
274 \r
275 *_CYGWINGCC_*_*_DPATH               = DEF(CYGWIN_BIN)\r
276 *_CYGWINGCC_*_ASL_PATH              = DEF(ASL_BIN)/iasl.exe\r
277 \r
278 *_CYGWINGCC_*_DLINK_FLAGS                = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(ENTRYPOINT) --file-alignment 0x20 --section-alignment 0x20\r
279 *_CYGWINGCC_*_ASM_FLAGS                  = -c -imacros AutoGen.h\r
280 *_CYGWINGCC_*_PP_FLAGS                   = -E -x assembler-with-cpp -include AutoGen.h\r
281 *_CYGWINGCC_*_VFRPP_FLAGS                = -x c -E -P -DVFRCOMPILE --include AutoGen.h\r
282 \r
283 ##################\r
284 # IA32 definitions\r
285 ##################\r
286 *_CYGWINGCC_IA32_CC_PATH            = DEF(CYGWIN_BIN32)/gcc\r
287 *_CYGWINGCC_IA32_SLINK_PATH         = DEF(CYGWIN_BIN32)/ar\r
288 *_CYGWINGCC_IA32_DLINK_PATH         = DEF(CYGWIN_BIN32)/ld\r
289 *_CYGWINGCC_IA32_ASM_PATH           = DEF(CYGWIN_BIN32)/gcc\r
290 *_CYGWINGCC_IA32_PP_PATH            = DEF(CYGWIN_BIN32)/gcc\r
291 *_CYGWINGCC_IA32_VFRPP_PATH         = DEF(CYGWIN_BIN32)/gcc\r
292 \r
293 *_CYGWINGCC_IA32_CC_FLAGS                = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h\r
294 \r
295 ##################\r
296 # X64 definitions\r
297 ##################\r
298 *_CYGWINGCC_X64_CC_PATH             = DEF(CYGWIN_BINX64)/gcc\r
299 *_CYGWINGCC_X64_SLINK_PATH          = DEF(CYGWIN_BINX64)/ar\r
300 *_CYGWINGCC_X64_DLINK_PATH          = DEF(CYGWIN_BINX64)/ld\r
301 *_CYGWINGCC_X64_ASM_PATH            = DEF(CYGWIN_BINX64)/gcc\r
302 *_CYGWINGCC_X64_PP_PATH             = DEF(CYGWIN_BINX64)/gcc\r
303 *_CYGWINGCC_X64_VFRPP_PATH          = DEF(CYGWIN_BINX64)/gcc\r
304 \r
305 *_CYGWINGCC_X64_CC_FLAGS                 = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include AutoGen.h -D_EFI_P64\r
306 \r
307 ####################################################################################\r
308 #\r
309 # Elf GCC - This configuration is used to compile on Linux boxes to produce elf\r
310 #           binaries.\r
311 #\r
312 ####################################################################################\r
313 #   ELFGCC           - Linux ELF GCC\r
314 *_ELFGCC_*_*_FAMILY                 = GCC\r
315 \r
316 *_ELFGCC_IA32_CC_PATH               = DEF(ELFGCC_BIN)/gcc\r
317 *_ELFGCC_IA32_SLINK_PATH            = DEF(ELFGCC_BIN)/ar\r
318 *_ELFGCC_IA32_DLINK_PATH            = DEF(ELFGCC_BIN)/ld\r
319 *_ELFGCC_IA32_ASM_PATH              = DEF(ELFGCC_BIN)/gcc\r
320 *_ELFGCC_IA32_PP_PATH               = DEF(ELFGCC_BIN)/gcc\r
321 *_ELFGCC_IA32_VFRPP_PATH            = DEF(ELFGCC_BIN)/gcc\r
322 \r
323 *_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\r
324 *_ELFGCC_*_DLINK_FLAGS                   = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry $(ENTRYPOINT) -u $(ENTRYPOINT)\r
325 *_ELFGCC_*_ASM_FLAGS                     = -m32 -c -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r
326 *_ELFGCC_*_PP_FLAGS                      = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
327 *_ELFGCC_*_VFRPP_FLAGS                   = -x c -E -P -DVFRCOMPILE --include AutoGen.h\r
328 \r
329 \r
330 ####################################################################################\r
331 #\r
332 # Intel EFI Byte Code Compiler (Template)\r
333 #\r
334 ####################################################################################\r
335 # *_*_EBC_*_FAMILY                   = INTEL\r
336 #\r
337 # *_*_EBC_PP_PATH                    = D:\Intel\EBC\Bin\iec.exe\r
338 # *_*_EBC_CC_PATH                    = D:\Intel\EBC\Bin\iec.exe\r
339 # *_*_EBC_SLINK_PATH                 = D:\Intel\EBC\Bin\link.exe\r
340 #\r
341 # *_*_EBC_SLINK_FLAGS                     = /lib /NOLOGO /MACHINE:EBC\r
342 # *_*_EBC_PP_FLAGS                        = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
343 # *_*_EBC_CC_FLAGS                        = /nologo /FAcs /c /W3 /WX /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
344 # *_*_EBC_DLINK_FLAGS                     = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\r
345 #\r
346 ####################################################################################\r
347 #\r
348 # Intel ACPI Source Language Compiler (Template)\r
349 #\r
350 ####################################################################################\r
351 # *_*_*_ASL_FAMILY                   = INTEL\r
352 #\r
353 # *_*_*_ASL_PATH                     = C:\ASL\iasl.exe\r
354 #\r
355 ####################################################################################\r
356 #\r
357 # Microsoft ACPI Source Language Compiler (Template)\r
358 #\r
359 ####################################################################################\r
360 # *_*_*_ASL_FAMILY                   = MSFT\r
361 #\r
362 # *_*_*_ASL_PATH                     = C:\ASL\iasl.exe\r
363 #\r
364 \r
365 \r
366 ####################################################################################\r
367 #\r
368 # Intel(R) C++ Compiler Version 9.1\r
369 #\r
370 #   IPF  - Intel(R) C++ Compiler for Itanium(R)Version 9.1  Build 20060928 Package ID: W_CC_C_9.1.032\r
371 #   ASL  - Intel ACPI Source Language COmpiler\r
372 #\r
373 ####################################################################################\r
374 #   ICC              - Intel C Compiler V9.1\r
375 *_ICC_*_*_FAMILY                    = INTEL\r
376 \r
377 *_ICC_*_ASL_PATH                    = DEF(ASL_BIN)\iasl.exe\r
378 \r
379 *_ICC_*_VFRPP_FLAGS                      = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h\r
380 *_ICC_*_APP_FLAGS                        = /nologo /E /TC\r
381 *_ICC_*_PP_FLAGS                         = /nologo /E /TC /FIAutoGen.h\r
382 \r
383 ##################\r
384 # IA32 definitions\r
385 ##################\r
386 *_ICC_IA32_PCH_PATH                    = DEF(ICC_BIN32)\icl.exe\r
387 *_ICC_IA32_CC_PATH                     = DEF(ICC_BIN32)\icl.exe\r
388 *_ICC_IA32_SLINK_PATH                  = DEF(ICC_BIN32)\xilib.exe\r
389 *_ICC_IA32_DLINK_PATH                  = DEF(ICC_BIN32)\xilink.exe\r
390 *_ICC_IA32_ASMLINK_PATH                = DEF(ICC_BIN32)\xilink.exe\r
391 *_ICC_IA32_PP_PATH                     = DEF(ICC_BIN32)\icl.exe\r
392 *_ICC_IA32_VFRPP_PATH                  = DEF(ICC_BIN32)\icl.exe\r
393 *_ICC_IA32_APP_PATH                    = DEF(ICC_BIN32)\icl.exe\r
394 *_ICC_IA32_ASM_PATH                    = DEF(VSNET2003_BIN)\ml.exe\r
395 *_ICC_IA32_ASM_DLL                     = DEF(VSNET2003_DLL)\r
396 \r
397 DEBUG_ICC_IA32_CC_FLAGS                  = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm\r
398 RELEASE_ICC_IA32_CC_FLAGS                = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Gs8192\r
399 DEBUG_ICC_IA32_PCH_FLAGS                 = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Yc /TC /Zi /Gm\r
400 RELEASE_ICC_IA32_PCH_FLAGS               = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Yc /TC\r
401 DEBUG_ICC_IA32_ASM_FLAGS                 = /nologo /W3 /WX /c /Zd /W0 /Zi\r
402 RELEASE_ICC_IA32_ASM_FLAGS               = /nologo /W3 /WX /c /Zd /W0\r
403 *_ICC_IA32_SLINK_FLAGS                   = /nologo\r
404 DEBUG_ICC_IA32_DLINK_FLAGS               = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
405 RELEASE_ICC_IA32_DLINK_FLAGS             = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
406 \r
407 ##################\r
408 # X64 definitions\r
409 ##################\r
410 *_ICC_X64_PCH_PATH                    = DEF(ICC_BINX64)\icl.exe\r
411 *_ICC_X64_CC_PATH                     = DEF(ICC_BINX64)\icl.exe\r
412 *_ICC_X64_SLINK_PATH                  = DEF(ICC_BINX64)\xilib.exe\r
413 *_ICC_X64_DLINK_PATH                  = DEF(ICC_BINX64)\xilink.exe\r
414 *_ICC_X64_ASMLINK_PATH                = DEF(ICC_BINX64)\xilink.exe\r
415 *_ICC_X64_PP_PATH                     = DEF(ICC_BINX64)\icl.exe\r
416 *_ICC_X64_VFRPP_PATH                  = DEF(ICC_BINX64)\icl.exe\r
417 *_ICC_X64_APP_PATH                    = DEF(ICC_BINX64)\icl.exe\r
418 *_ICC_X64_ASM_PATH                    = DEF(WINDDK_BINX64)\ml64.exe\r
419 *_ICC_X64_ASM_DLL                     = DEF(VSNET2003_DLL)\r
420 \r
421 DEBUG_ICC_X64_CC_FLAGS               = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
422 RELEASE_ICC_X64_CC_FLAGS             = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
423 DEBUG_ICC_X64_PCH_FLAGS              = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF\r
424 RELEASE_ICC_X64_PCH_FLAGS            = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF\r
425 DEBUG_ICC_X64_ASM_FLAGS              = /nologo /W3 /WX /c /Cx /Zd /Zi\r
426 RELEASE_ICC_X64_ASM_FLAGS            = /nologo /W3 /WX /c /Cx /Zd\r
427 DEBUG_ICC_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
428 RELEASE_ICC_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
429 *_ICC_X64_SLINK_FLAGS                = /nologo /LTCG\r
430 \r
431 \r
432 ##################\r
433 # IPF definitions\r
434 ##################\r
435 *_ICC_IPF_CC_PATH                   = DEF(ICC_BIN64)\icl.exe\r
436 *_ICC_IPF_SLINK_PATH                = DEF(ICC_BIN64)\xilib.exe\r
437 *_ICC_IPF_DLINK_PATH                = DEF(ICC_BIN64)\xilink.exe\r
438 *_ICC_IPF_ASMLINK_PATH              = DEF(ICC_BIN64)\xilink.exe\r
439 *_ICC_IPF_PP_PATH                   = DEF(ICC_BIN64)\icl.exe\r
440 *_ICC_IPF_VFRPP_PATH                = DEF(ICC_BIN64)\icl.exe\r
441 \r
442 *_ICC_IPF_PCH_PATH                  = DEF(ICC_BIN64)\icl.exe\r
443 *_ICC_IPF_APP_PATH                  = DEF(ICC_BIN64)\icl.exe\r
444 *_ICC_IPF_ASM_PATH                  = DEF(ICC_BIN64)\ias.exe\r
445 \r
446 DEBUG_ICC_IPF_CC_FLAGS                   = /nologo /W4 /WX /GX /Gy /c /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi\r
447 RELEASE_ICC_IPF_CC_FLAGS                 = /nologo /W4 /WX /GX /Gy /c /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32\r
448 DEBUG_ICC_IPF_PCH_FLAGS                  = /nologo /W4 /WX /GX /Gy /c /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zi\r
449 RELEASE_ICC_IPF_PCH_FLAGS                = /nologo /W4 /WX /GX /Gy /c /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC\r
450 DEBUG_ICC_IPF_ASM_FLAGS                  = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32\r
451 RELEASE_ICC_IPF_ASM_FLAGS                = -N us -X explicit -M ilp64 -N so -W3 -F COFF32\r
452 DEBUG_ICC_IPF_DLINK_FLAGS                = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG\r
453 RELEASE_ICC_IPF_DLINK_FLAGS              = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb\r
454 *_ICC_IPF_SLINK_FLAGS                    = /nologo\r
455 \r
456 ####################################################################################\r
457 #\r
458 # MYTOOLS\r
459 #   IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker\r
460 #   X64  - Microsoft Windows DDK 3790.1830\r
461 #   IPF  - Microsoft Windows DDK 3790.1830\r
462 #   EBC  - Intel EFI Byte Code Compiler\r
463 #\r
464 ####################################################################################\r
465 #   MYTOOLS          - Settings compatible with previous versions of tools_def.template\r
466 *_MYTOOLS_*_*_FAMILY                = MSFT\r
467 \r
468 *_MYTOOLS_*_TIANO_PATH              = TianoCompress.exe\r
469 *_MYTOOLS_*_TIANO_GUID                   = A31280AD-481E-41B6-95E8-127F4C984779\r
470 \r
471 *_MYTOOLS_*_ASL_PATH                = DEF(ASL_BIN)\iasl.exe\r
472 \r
473 *_MYTOOLS_*_VFRPP_FLAGS                  = /nologo /E /TC /DVFRCOMPILE /FIAutoGen.h\r
474 \r
475 ##################\r
476 # IA32 definitions\r
477 ##################\r
478 *_MYTOOLS_IA32_*_DLL                = DEF(VSNET2003_DLL)\r
479 \r
480 *_MYTOOLS_IA32_CC_PATH              = DEF(VSNET2003_BIN)\cl.exe\r
481 *_MYTOOLS_IA32_SLINK_PATH           = DEF(VSNET2003_BIN)\lib.exe\r
482 *_MYTOOLS_IA32_DLINK_PATH           = DEF(VSNET2003_BIN)\link.exe\r
483 *_MYTOOLS_IA32_ASMLINK_PATH         = DEF(WINDDK_BIN16)\link.exe\r
484 *_MYTOOLS_IA32_PP_PATH              = DEF(VSNET2003_BIN)\cl.exe\r
485 *_MYTOOLS_IA32_VFRPP_PATH           = DEF(VSNET2003_BIN)\cl.exe\r
486 *_MYTOOLS_IA32_APP_PATH             = DEF(VSNET2003_BIN)\cl.exe\r
487 *_MYTOOLS_IA32_ASM_PATH             = DEF(VSNET2003_BIN)\ml.exe\r
488 *_MYTOOLS_IA32_PCH_PATH             = DEF(VSNET2003_BIN)\cl.exe\r
489 \r
490 *_MYTOOLS_IA32_APP_FLAGS                 = /nologo /E /TC\r
491 *_MYTOOLS_IA32_PP_FLAGS                  = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
492 DEBUG_MYTOOLS_IA32_CC_FLAGS              = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm\r
493 RELEASE_MYTOOLS_IA32_CC_FLAGS            = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192\r
494 DEBUG_MYTOOLS_IA32_PCH_FLAGS             = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm\r
495 RELEASE_MYTOOLS_IA32_PCH_FLAGS           = /nologo /W4 /WX /Gy /c /D UNICODE /O1ib2 /GL /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC\r
496 DEBUG_MYTOOLS_IA32_ASM_FLAGS             = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi\r
497 RELEASE_MYTOOLS_IA32_ASM_FLAGS           = /nologo /W3 /WX /c /coff /Cx /Zd /W0\r
498 *_MYTOOLS_IA32_ASMLINK_FLAGS             = /link /nologo /tiny\r
499 *_MYTOOLS_IA32_SLINK_FLAGS               = /nologo /LTCG\r
500 DEBUG_MYTOOLS_IA32_DLINK_FLAGS           = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb\r
501 RELEASE_MYTOOLS_IA32_DLINK_FLAGS         = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb\r
502 \r
503 ##################\r
504 # x64 definitions\r
505 ##################\r
506 *_MYTOOLS_X64_CC_PATH              = DEF(WINDDK_BINX64)\cl.exe\r
507 *_MYTOOLS_X64_SLINK_PATH           = DEF(WINDDK_BINX64)\lib.exe\r
508 *_MYTOOLS_X64_DLINK_PATH           = DEF(WINDDK_BINX64)\link.exe\r
509 *_MYTOOLS_X64_ASMLINK_PATH         = DEF(WINDDK_BIN16)\link.exe\r
510 *_MYTOOLS_X64_PP_PATH              = DEF(WINDDK_BINX64)\cl.exe\r
511 *_MYTOOLS_X64_VFRPP_PATH           = DEF(WINDDK_BINX64)\cl.exe\r
512 *_MYTOOLS_X64_APP_PATH             = DEF(WINDDK_BINX64)\cl.exe\r
513 *_MYTOOLS_X64_ASM_PATH             = DEF(WINDDK_BINX64)\ml64.exe\r
514 *_MYTOOLS_X64_PCH_PATH             = DEF(WINDDK_BINX64)\cl.exe\r
515 \r
516 *_MYTOOLS_X64_SLINK_FLAGS                = /nologo /LTCG\r
517 *_MYTOOLS_X64_APP_FLAGS                  = /nologo /E /TC\r
518 *_MYTOOLS_X64_PP_FLAGS                   = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
519 DEBUG_MYTOOLS_X64_CC_FLAGS               = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF\r
520 RELEASE_MYTOOLS_X64_CC_FLAGS             = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF\r
521 DEBUG_MYTOOLS_X64_PCH_FLAGS              = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF\r
522 RELEASE_MYTOOLS_X64_PCH_FLAGS            = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF\r
523 DEBUG_MYTOOLS_X64_ASM_FLAGS              = /nologo /W3 /WX /c /Cx /Zd /Zi\r
524 RELEASE_MYTOOLS_X64_ASM_FLAGS            = /nologo /W3 /WX /c /Cx /Zd\r
525 DEBUG_MYTOOLS_X64_DLINK_FLAGS            = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG\r
526 RELEASE_MYTOOLS_X64_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text\r
527 \r
528 ##################\r
529 # IPF definitions\r
530 ##################\r
531 *_MYTOOLS_IPF_CC_PATH              = DEF(WINDDK_BIN64)\cl.exe\r
532 *_MYTOOLS_IPF_SLINK_PATH           = DEF(WINDDK_BIN64)\lib.exe\r
533 *_MYTOOLS_IPF_DLINK_PATH           = DEF(WINDDK_BIN64)\link.exe\r
534 *_MYTOOLS_IPF_ASMLINK_PATH         = DEF(WINDDK_BIN16)\link.exe\r
535 *_MYTOOLS_IPF_PP_PATH              = DEF(WINDDK_BIN64)\cl.exe\r
536 *_MYTOOLS_IPF_VFRPP_PATH           = DEF(WINDDK_BIN64)\cl.exe\r
537 *_MYTOOLS_IPF_APP_PATH             = DEF(WINDDK_BIN64)\cl.exe\r
538 *_MYTOOLS_IPF_ASM_PATH             = DEF(WINDDK_BIN64)\ias.exe\r
539 *_MYTOOLS_IPF_PCH_PATH             = DEF(WINDDK_BIN64)\cl.exe\r
540 \r
541 *_MYTOOLS_IPF_ASM_OUTPUT                 = "-o "\r
542 \r
543 *_MYTOOLS_IPF_APP_FLAGS                  = /nologo /E /TC\r
544 *_MYTOOLS_IPF_PP_FLAGS                   = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
545 DEBUG_MYTOOLS_IPF_CC_FLAGS               = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Zx\r
546 RELEASE_MYTOOLS_IPF_CC_FLAGS             = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zx\r
547 DEBUG_MYTOOLS_IPF_PCH_FLAGS              = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Zx\r
548 RELEASE_MYTOOLS_IPF_PCH_FLAGS            = /GS- /nologo /W4 /WX /EHs-c- /Gy /c /Ox /GF /GL /X /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zx\r
549 DEBUG_MYTOOLS_IPF_ASM_FLAGS              = -N us -X explicit -M ilp64 -N so -W4 -d debug\r
550 RELEASE_MYTOOLS_IPF_ASM_FLAGS            = -N us -X explicit -M ilp64 -N so -W4\r
551 DEBUG_MYTOOLS_IPF_DLINK_FLAGS            = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG\r
552 RELEASE_MYTOOLS_IPF_DLINK_FLAGS          = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF /OPT:ICF=10 /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb\r
553 *_MYTOOLS_IPF_SLINK_FLAGS                = /nologo /LTCG\r
554 \r
555 ##################\r
556 # EBC definitions\r
557 ##################\r
558 *_MYTOOLS_EBC_*_FAMILY             = INTEL\r
559 \r
560 *_MYTOOLS_EBC_PP_PATH              = DEF(EBC_BIN)\iec.exe\r
561 *_MYTOOLS_EBC_CC_PATH              = DEF(EBC_BIN)\iec.exe\r
562 *_MYTOOLS_EBC_SLINK_PATH           = DEF(EBC_BIN)\link.exe\r
563 *_MYTOOLS_EBC_DLINK_PATH           = DEF(EBC_BIN)\link.exe\r
564 \r
565 *_MYTOOLS_EBC_PP_FLAGS                   = /nologo /E /TC /FIAutoGen.h\r
566 *_MYTOOLS_EBC_CC_FLAGS                   = /nologo /c /W3 /WX /FIAutoGen.h\r
567 *_MYTOOLS_EBC_SLINK_FLAGS                = /lib /NOLOGO /MACHINE:EBC\r
568 *_MYTOOLS_EBC_DLINK_FLAGS                = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(ENTRYPOINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER\r
569 \r