1## @file
2#  Standard C library: Math Library.
3#
4#  Copyright (c) 2010, 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.php.
10#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13#
14##
15
16[Defines]
17  INF_VERSION                    = 0x00010005
18  BASE_NAME                      = LibMath
19  FILE_GUID                      = a9dc6f60-f861-47d1-8751-ecaae7d27291
20  MODULE_TYPE                    = UEFI_APPLICATION
21  VERSION_STRING                 = 1.0
22  LIBRARY_CLASS                  = LibMath
23
24#
25#  VALID_ARCHITECTURES           = IA32 X64 IPF
26#
27
28[Sources]
29  # ieee 754 specific
30  e_acos.c
31  e_asin.c
32  e_atan2.c
33  e_cosh.c
34  e_exp.c
35  e_sinh.c
36  e_log.c
37  e_log2.c
38  e_log10.c
39  e_pow.c
40  e_sqrt.c
41  e_fmod.c
42  e_rem_pio2.c
43
44  # kernel functions
45  k_cos.c
46  k_sin.c
47  k_tan.c
48  k_rem_pio2.c
49
50  # Simple, unadorned, functions
51  s_atan.c
52  s_cos.c
53  s_sin.c
54  s_tan.c
55  s_expm1.c
56  s_tanh.c
57  s_frexp.c
58  s_ldexp.c
59  s_scalbn.c
60  s_copysign.c
61  s_finite.c
62  s_infinity.c
63  s_modf.c
64  s_fabs.c
65  s_ceil.c
66  s_floor.c
67
68  # wrapper functions
69  w_acos.c
70  w_asin.c
71  w_atan2.c
72  w_cosh.c
73  w_sinh.c
74  w_exp.c
75  w_log.c
76  w_log2.c
77  w_log10.c
78  w_pow.c
79  w_sqrt.c
80  w_fmod.c
81
82[Packages]
83  StdLib/StdLib.dec
84  StdLibPrivateInternalFiles/DoNotUse.dec
85  MdePkg/MdePkg.dec
86
87[LibraryClasses]
88  LibC
89
90################################################################
91# The Build Options, below, are only used when building the C library.
92# DO NOT use them when building your application!
93# Nasty things could happen if you do.
94#
95# /Oi- is required for Microsoft VC++ to allow "intrinsic" functions to be
96# defined in this library.
97# /GL- is required so that LTCG generated references to functions in this library,
98# such as memcpy(), can be resolved.
99#
100[BuildOptions]
101  MSFT:*_*_*_CC_FLAGS     = /Oi- /GL-
102