blob: d8704db90727e4e3a12752c94f4d5fe48605e55b [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301## @file
2# Standard C library: Miscelaneous implementations.
3#
4# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
5#
6# This program and the accompanying materials
7# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.
10#
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 = LibC
20 FILE_GUID = 695bec93-82ae-4c17-bdad-7f184f4e651d
21 MODULE_TYPE = UEFI_APPLICATION
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = LibC
24
25#
26# VALID_ARCHITECTURES = IA32 X64 IPF
27#
28
29[Sources]
30 Main/errno.c
31 Main/assert.c
32 Main/isinfd_ieee754.c
33 Main/isinff_ieee754.c
34 Main/isnand_ieee754.c
35 Main/isnanf_ieee754.c
36 Main/infinityf_ieee754.c
37 Main/Main.c
38 Main/HtoNtoH.c
39 Main/ByteSwap.c
40 Main/longjmp.c
41
42[Sources.IA32]
43 Main/x86flt_rounds.c
44 Main/Ia32/fpu_rmode.asm | MSFT
45 Main/Ia32/fpu_rmode.asm | INTEL
46 Main/Ia32/fpu_rmode.S | GCC
47 Main/Ia32/isinfl.c
48 Main/Ia32/isnanl.c
49
50 # Compiler helper (C RunTime) functions
51 CRT/Ia32/llmul.c | MSFT # __allmul
52 CRT/Ia32/llshl.c | MSFT # __allshl
53 CRT/Ia32/llshr.c | MSFT # __allshr
54 CRT/Ia32/ulldiv.c | MSFT # __aulldiv
55 CRT/Ia32/ullrem.c | MSFT # __aullrem
56 CRT/Ia32/ullshr.c | MSFT # __aullshr
57 CRT/Ia32/lldiv.c | MSFT # __alldiv
58 CRT/Ia32/llrem.c | MSFT # __allrem
59 CRT/Ia32/lldvrm.c | MSFT # __alldvrm
60 CRT/Ia32/ulldvrm.c | MSFT # __aulldvrm
61
62 CRT/Ia32/llmul.c | INTEL
63 CRT/Ia32/llshl.c | INTEL
64 CRT/Ia32/llshr.c | INTEL
65 CRT/Ia32/ulldiv.c | INTEL
66 CRT/Ia32/ullrem.c | INTEL
67 CRT/Ia32/ullshr.c | INTEL
68 CRT/Ia32/lldiv.c | INTEL
69 CRT/Ia32/llrem.c | INTEL
70 CRT/Ia32/lldvrm.c | INTEL
71 CRT/Ia32/ulldvrm.c | INTEL
72
73 CRT/Gcc.c | GCC
74
75[Sources.X64]
76 Main/x86flt_rounds.c
77 Main/X64/fpu_rmode.asm | MSFT
78 Main/X64/fpu_rmode.asm | INTEL
79 Main/X64/fpu_rmode.S | GCC
80 Main/X64/isinfl.c
81 Main/X64/isnanl.c
82
83[Sources.IPF]
84 Main/x86flt_rounds.c
85 Main/Ipf/FpuRmode.s
86
87[Sources.ARM]
88 Main/Arm/flt_rounds.c
89
90[Binaries.IA32]
91 LIB|Main/Ia32/ftol2.obj|*|MSFT
92
93[Packages]
94 StdLib/StdLib.dec
95 StdLibPrivateInternalFiles/DoNotUse.dec
96 MdePkg/MdePkg.dec
97 ShellPkg/ShellPkg.dec
98
99[LibraryClasses]
100 ShellCEntryLib
101 UefiLib
102 BaseLib
103 BaseMemoryLib
104 MemoryAllocationLib
105 LibStdLib
106 LibStdio
107 LibString
108 DevConsole
109
110################################################################
111#
112# The Build Options, below, are only used when building the C library.
113# DO NOT use them when building your application!
114# Nasty things could happen if you do.
115#
116[BuildOptions]
117 MSFT:*_*_IA32_CC_FLAGS = /GL-