]> git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/Sec/SecMain.inf
Changed customized build to USER_DEFINED
[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 # Copyright (c) 2007, Intel Corporation
6 #
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
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = SecMain
20 FILE_GUID = 4b837b03-6587-4d19-b82b-edfad836c0a0
21 MODULE_TYPE = USER_DEFINED
22 VERSION_STRING = 1.0
23 EDK_RELEASE_VERSION = 0x00020000
24 EFI_SPECIFICATION_VERSION = 0x00020000
25
26 #
27 # The following information is for reference only and not required by the build tools.
28 #
29 # VALID_ARCHITECTURES = IA32
30 #
31
32 [Sources.common]
33 OldDefinition.h
34 SecMain.h
35 WinNtThunk.c
36 FwVol.c
37 SecMain.c
38 SecMain_build.xml
39
40
41 [Includes]
42 $(WORKSPACE)/MdePkg/Include/Library
43
44 [Packages]
45 Nt32Pkg/Nt32Pkg.dec
46 MdeModulePkg/MdeModulePkg.dec
47 MdePkg/MdePkg.dec
48 IntelFrameworkPkg/IntelFrameworkPkg.dec
49
50 [LibraryClasses]
51 DebugLib
52 PcdLib
53 PrintLib
54 BaseMemoryLib
55 BaseLib
56 PeCoffLib
57
58
59 [Guids]
60 gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED
61
62
63 [Ppis]
64 gNtPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED
65 gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED
66 gNtFwhPpiGuid # PPI ALWAYS_PRODUCED
67 gPeiNtAutoScanPpiGuid # PPI ALWAYS_PRODUCED
68 gPeiNtThunkPpiGuid # PPI ALWAYS_PRODUCED
69
70
71 [PcdsFixedAtBuild.common]
72 PcdWinNtBootMode|gEfiNt32PkgTokenSpaceGuid
73
74
75 [PcdsDynamic.common]
76 #PcdWinNtMemorySizeForSecMain|gEfiNt32PkgTokenSpaceGuid
77 #PcdWinNtFirmwareVolume|gEfiNt32PkgTokenSpaceGuid
78
79 [BuildOptions.common]
80 MSFT:DEBUG_*_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
81 MSFT:DEBUG_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /Od /DSTRING_ARRAY_NAME=SecMainStrings /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
82