]> git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/Sec/SecMain.inf
Add release compiler option support.
[mirror_edk2.git] / Nt32Pkg / Sec / SecMain.inf
1 #/** @file
2 # Entry Point of NT32 Emulator
3 #
4 # Main executable file of NT32 Emulator that loads PEI core after initialization finished.
5 #
6 # Copyright (c) 2007, Intel Corporation
7 # All rights reserved. This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = SecMain
19 FILE_GUID = 4b837b03-6587-4d19-b82b-edfad836c0a0
20 MODULE_TYPE = USER_DEFINED
21 VERSION_STRING = 1.0
22 EDK_RELEASE_VERSION = 0x00020000
23 EFI_SPECIFICATION_VERSION = 0x00020000
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32
29 #
30
31 [Sources.common]
32 SecMain.h
33 WinNtThunk.c
34 FwVol.c
35 SecMain.c
36
37 [Packages]
38 MdePkg/MdePkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40 Nt32Pkg/Nt32Pkg.dec
41
42 [LibraryClasses]
43 DebugLib
44 PcdLib
45 PrintLib
46 BaseMemoryLib
47 BaseLib
48 PeCoffLib
49 ReportStatusCodeLib
50
51 [Guids]
52 gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED
53
54
55 [Ppis]
56 gNtPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED
57 gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED
58 gNtFwhPpiGuid # PPI ALWAYS_PRODUCED
59 gPeiNtAutoScanPpiGuid # PPI ALWAYS_PRODUCED
60 gPeiNtThunkPpiGuid # PPI ALWAYS_PRODUCED
61
62
63 [FixedPcd.common]
64 gEfiNt32PkgTokenSpaceGuid.PcdWinNtBootMode
65 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize
66 gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySizeForSecMain
67 gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume
68
69 [BuildOptions.common]
70 MSFT:*_*_IA32_DLINK_FLAGS = /out:"$(BIN_DIR)\SecMain.exe" /base:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib
71 MSFT:*_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
72