darylm503 d711a4860a StdLib: Add directory access functions to PosixLib.
Update <dirent.h> and <sys/dirent.h> to latest version.
Enable the tempnam function.
Fix assignments within predicate expressions so that it is clear where assignment is intended and where comparison occurs.
Remove internal.h and DirFunctions.c with its non-portable opendir, closedir, and readdir functions.
Add modified versions of the NetBSD opendir, closedir, and readdir functions.
Fix the declaration of stat() to be standards compliant and consistent with code.

Clean up indentation and declarations of non-existent objects.


Signed-off-by: darylm503
Reviewed-by: lgrosenb
Reviewed-by: lpleahy
Reviewed-by: jljusten


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12649 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-02 19:24:19 +00:00

148 lines
3.7 KiB
INI

## @file
# Standard C library: Implementation for <stdio.h>.
#
# Copyright (c) 2010, 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.php.
# 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 = LibStdio
FILE_GUID = 7d2bd134-500d-4f42-aee2-26accfb6cb1d
MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
LIBRARY_CLASS = LibStdio
#
# VALID_ARCHITECTURES = IA32 X64 IPF
#
[Sources]
clrerr.c #
fclose.c #
fdopen.c #
feof.c #
ferror.c #
fflush.c #
fgetc.c #
fgetln.c #
fgetpos.c #
fgets.c #
fopen.c #
fprintf.c #
fputc.c #
fputs.c #
fread.c #
freopen.c #
fscanf.c #
fseek.c #
fsetpos.c #
ftell.c #
fwrite.c #
getc.c #
getchar.c #
gets.c #
perror.c #
printf.c #
putc.c #
putchar.c #
puts.c #
remove.c #
rewind.c #
scanf.c #
setbuf.c #
setvbuf.c #
sprintf.c #
sscanf.c #
tempnam.c #
tmpfile.c #
tmpnam.c #
ungetc.c #
vfprintf.c #
vfwprintf.c #
vprintf.c #
vsprintf.c #
snprintf.c
vsnprintf.c
fparseln.c
# Wide character functions
fgetwc.c #
fgetws.c #
fputwc.c #
fputws.c #
fwide.c #
fwprintf.c #
fwscanf.c #
getwc.c #
getwchar.c #
putwc.c #
putwchar.c #
swprintf.c #
swscanf.c #
ungetwc.c #
vfwscanf.c #
vswprintf.c #
vswscanf.c #
vwprintf.c #
vwscanf.c #
wprintf.c #
wscanf.c #
# Files internal to the implementation
fgetstr.c #
findfp.c #
flags.c #
fseeko.c #
ftello.c #
fvwrite.c #
fwalk.c #
gettemp.c #
makebuf.c #
mkstemp.c #
mktemp.c #
refill.c #
rget.c #
snprintf.c #
stdio.c #
vfscanf.c #
wbuf.c #
wsetup.c #
[Packages]
StdLib/StdLib.dec
StdLibPrivateInternalFiles/DoNotUse.dec
MdePkg/MdePkg.dec
ShellPkg/ShellPkg.dec
[LibraryClasses]
LibC
LibCType
LibGdtoa
LibLocale
LibStdLib
LibString
LibTime
LibUefi
LibWchar
################################################################
#
# 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]
GCC:*_*_*_CC_FLAGS = -fno-builtin -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-format