summaryrefslogtreecommitdiff
path: root/StdLib/LibC/LibC.inf
blob: 451b9b0e649957441876d6736a2bd18d183e00ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
## @file
#  Standard C library: Miscelaneous implementations.
#
#  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
#
#  This program and the accompanying materials
#  are licensed and made available under the terms and conditions of the BSD License
#  which accompanies this distribution. The full text of the license may be found at
#  http://opensource.org/licenses/bsd-license.
#
#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = LibC
  FILE_GUID                      = 695bec93-82ae-4c17-bdad-7f184f4e651d
  MODULE_TYPE                    = UEFI_APPLICATION
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = LibC

#
#  VALID_ARCHITECTURES           = IA32 X64 IPF
#

[Sources]
  Main/errno.c
  Main/assert.c
  Main/isinfd_ieee754.c
  Main/isinff_ieee754.c
  Main/isnand_ieee754.c
  Main/isnanf_ieee754.c
  Main/infinityf_ieee754.c
  Main/Main.c
  Main/HtoNtoH.c
  Main/ByteSwap.c
  Main/longjmp.c

[Sources.IA32]
  Main/x86flt_rounds.c
  Main/Ia32/fpu_rmode.asm | MSFT
  Main/Ia32/fpu_rmode.asm | INTEL
  Main/Ia32/fpu_rmode.S   | GCC
  Main/Ia32/isinfl.c
  Main/Ia32/isnanl.c

  # Compiler helper (C RunTime) functions
  CRT/Ia32/llmul.c          | MSFT    # __allmul
  CRT/Ia32/llshl.c          | MSFT    # __allshl
  CRT/Ia32/ulldiv.c         | MSFT    # __aulldiv
  CRT/Ia32/ullrem.c         | MSFT    # __aullrem
  CRT/Ia32/ullshr.c         | MSFT    # __aullshr
  CRT/Ia32/lldiv.c          | MSFT    # __alldiv
  CRT/Ia32/llrem.c          | MSFT    # __allrem
  CRT/Ia32/lldvrm.c         | MSFT    # __alldvrm
  CRT/Ia32/ulldvrm.c        | MSFT    # __aulldvrm

  CRT/Ia32/llmul.c          | INTEL
  CRT/Ia32/llshl.c          | INTEL
  CRT/Ia32/ulldiv.c         | INTEL
  CRT/Ia32/ullrem.c         | INTEL
  CRT/Ia32/ullshr.c         | INTEL
  CRT/Ia32/lldiv.c          | INTEL
  CRT/Ia32/llrem.c          | INTEL
  CRT/Ia32/lldvrm.c         | INTEL
  CRT/Ia32/ulldvrm.c        | INTEL

  CRT/Gcc.c                 | GCC

[Sources.X64]
  Main/x86flt_rounds.c
  Main/X64/fpu_rmode.asm  | MSFT
  Main/X64/fpu_rmode.asm  | INTEL
  Main/X64/fpu_rmode.S    | GCC
  Main/X64/isinfl.c
  Main/X64/isnanl.c

[Sources.IPF]
  Main/x86flt_rounds.c
  Main/Ipf/FpuRmode.s

[Sources.ARM]
  Main/Arm/flt_rounds.c

[Binaries.IA32]
  LIB|Main/Ia32/ftol2.obj|*|MSFT

[Packages]
  StdLib/StdLib.dec
  StdLibPrivateInternalFiles/DoNotUse.dec
  MdePkg/MdePkg.dec
  ShellPkg/ShellPkg.dec

[LibraryClasses]
  ShellCEntryLib
  UefiLib
  BaseLib
  BaseMemoryLib
  MemoryAllocationLib
  TimerLib
  LibStdLib
  LibStdio
  LibString
  DevConsole

################################################################
#
# The Build Options, below, are only used when building the C library.
# DO NOT use them when building your application!
# Nasty things could happen if you do.
#
[BuildOptions]
  MSFT:*_*_IA32_CC_FLAGS = /GL-