]> git.proxmox.com Git - mirror_edk2.git/blob - UnixPkg/Sec/SecMain.inf
Update the copyright notice format
[mirror_edk2.git] / UnixPkg / Sec / SecMain.inf
1 ## @file
2 # Entry Point of Unix Emulator
3 #
4 # Main executable file of Unix Emulator that loads PEI core after initialization finished.
5 # Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
6 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
7 #
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions of the BSD License
10 # which accompanies this distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = SecMain
21 FILE_GUID = f43be88c-8985-11db-8f78-0040d02b1835
22 MODULE_TYPE = USER_DEFINED
23 VERSION_STRING = 1.0
24 ENTRY_POINT = main
25
26 #
27 # The following information is for reference only and not required by the build tools.
28 #
29 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
30 #
31
32 [Sources]
33 UgaX11.c
34 UnixThunk.c
35 FwVol.c
36 SecMain.c
37 Gasket.c
38
39 [Sources.Ia32]
40 Ia32/Gasket.S
41 Ia32/Stack.S
42
43 [Packages]
44 MdePkg/MdePkg.dec
45 MdeModulePkg/MdeModulePkg.dec
46 UnixPkg/UnixPkg.dec
47
48 [LibraryClasses]
49 DebugLib
50 PcdLib
51 PrintLib
52 BaseMemoryLib
53 BaseLib
54 PeCoffLib
55 ReportStatusCodeLib
56
57
58 [Ppis]
59 gUnixPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED
60 gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED
61 gUnixFwhPpiGuid # PPI ALWAYS_PRODUCED
62 gPeiUnixAutoScanPpiGuid # PPI ALWAYS_PRODUCED
63 gPeiUnixThunkPpiGuid # PPI ALWAYS_PRODUCED
64 gEfiTemporaryRamSupportPpiGuid
65
66
67 [Pcd]
68 gEfiUnixPkgTokenSpaceGuid.PcdUnixBootMode
69 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume
70 gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySizeForSecMain
71 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize
72 gEfiUnixPkgTokenSpaceGuid.PcdUnixFdBaseAddress
73
74 [BuildOptions]
75 GCC:*_*_IA32_DLINK_FLAGS == -o $(BIN_DIR)/SecMain -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o -L/usr/X11R6/lib -lXext -lX11 /usr/lib/crtn.o
76 GCC:*_*_*_DLINK2_FLAGS == -lc
77 GCC:*_*_IA32_CC_FLAGS == -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -idirafter/usr/include -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
78 GCC:*_*_IA32_PP_FLAGS == -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
79 GCC:*_*_IA32_ASM_FLAGS == -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
80
81 #
82 # Need to do this link via gcc and not ld as the pathing to libraries changes from OS version to OS version
83 #
84 XCODE:*_*_IA32_DLINK_PATH == gcc
85 XCODE:*_*_IA32_DLINK_FLAGS == -arch i386 -o $(BIN_DIR)/SecMain -L/usr/X11R6/lib -lXext -lX11 -lIOKit -framework Carbon
86 XCODE:*_*_IA32_ASM_FLAGS == -arch i386 -g