darylm503 53e1e5c647 Add device abstraction code for the UEFI Console and UEFI Shell-based file systems.
Make argv use narrow characters instead of wide characters.
Add setenv functionality.
Add poll() system call.
Change signal names into macros – required for standards compliance.  The enums were renamed and moved to sys/signal.h and the new macros reference the enums.
Added SIGBREAK, which is required for Python.
Modify stdio functions to fail cleanly when called with a NULL File Pointer argument.
Added <sys/cdefs.h> that just includes <sys/EfiCdefs.h>.  By adding this wrapper, we improve compatibility with *nix files which assume <sys/cdefs> exists.
Add <netdb.h>
Added macros for bcopy(), bcmp() and strsep().
Modify the clock() function so that it does not hang when running under an emulation environment such as NT32.
Move TM structure specific macros from the private tzfile.h into <time.h>
Add strncasecmp function.
Add strptime function.
Add gettimeofday function.
Add getcwd function.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11908 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28 02:34:10 +00:00

117 lines
3.1 KiB
INI

## @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-