1994-05-27 05:00:24 +00:00
|
|
|
# @(#)Makefile.inc 8.3 (Berkeley) 4/17/94
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
# stdio sources
|
2014-03-04 02:19:39 +00:00
|
|
|
.PATH: ${LIBC_SRCTOP}/stdio
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2009-03-04 03:38:51 +00:00
|
|
|
SRCS+= _flock_stub.c asprintf.c clrerr.c dprintf.c \
|
|
|
|
fclose.c fcloseall.c fdopen.c \
|
2006-04-22 15:09:15 +00:00
|
|
|
feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \
|
|
|
|
fgetwln.c fgetws.c \
|
2016-05-11 14:38:27 +00:00
|
|
|
fileno.c findfp.c flags.c fmemopen.c fopen.c \
|
|
|
|
fopencookie.c fprintf.c fpurge.c \
|
2013-01-30 14:59:26 +00:00
|
|
|
fputc.c fputs.c \
|
2002-08-13 11:56:02 +00:00
|
|
|
fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \
|
2002-09-23 12:40:06 +00:00
|
|
|
ftell.c funopen.c fvwrite.c fwalk.c fwide.c fwprintf.c fwscanf.c \
|
2009-02-28 06:00:58 +00:00
|
|
|
fwrite.c getc.c getchar.c getdelim.c getline.c \
|
2018-04-03 18:52:38 +00:00
|
|
|
gets.c gets_s.c getw.c getwc.c getwchar.c makebuf.c mktemp.c \
|
2013-02-27 19:50:46 +00:00
|
|
|
open_memstream.c open_wmemstream.c \
|
2008-06-29 21:52:40 +00:00
|
|
|
perror.c printf.c printf-pos.c putc.c putchar.c \
|
|
|
|
puts.c putw.c putwc.c putwchar.c \
|
2002-08-13 11:56:02 +00:00
|
|
|
refill.c remove.c rewind.c rget.c scanf.c setbuf.c setbuffer.c \
|
2002-09-23 12:40:06 +00:00
|
|
|
setvbuf.c snprintf.c sprintf.c sscanf.c stdio.c swprintf.c swscanf.c \
|
|
|
|
tempnam.c tmpfile.c \
|
2009-03-04 03:38:51 +00:00
|
|
|
tmpnam.c ungetc.c ungetwc.c vasprintf.c vdprintf.c vfprintf.c \
|
2003-01-10 04:35:08 +00:00
|
|
|
vfscanf.c \
|
2002-09-23 12:40:06 +00:00
|
|
|
vfwprintf.c vfwscanf.c vprintf.c vscanf.c vsnprintf.c vsprintf.c \
|
|
|
|
vsscanf.c \
|
|
|
|
vswprintf.c vswscanf.c vwprintf.c vwscanf.c wbuf.c wprintf.c wscanf.c \
|
|
|
|
wsetup.c
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2005-12-16 18:56:39 +00:00
|
|
|
SRCS+= xprintf.c xprintf_float.c xprintf_int.c xprintf_str.c
|
2006-01-25 12:45:24 +00:00
|
|
|
SRCS+= xprintf_errno.c xprintf_hexdump.c xprintf_quote.c
|
|
|
|
SRCS+= xprintf_time.c xprintf_vis.c
|
2005-12-16 18:56:39 +00:00
|
|
|
|
2014-03-04 02:19:39 +00:00
|
|
|
SYM_MAPS+= ${LIBC_SRCTOP}/stdio/Symbol.map
|
2006-03-13 01:15:01 +00:00
|
|
|
|
2004-07-16 06:06:09 +00:00
|
|
|
MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
|
|
|
|
flockfile.3 \
|
2016-05-11 14:38:27 +00:00
|
|
|
fopen.3 fopencookie.3 fputs.3 \
|
2009-02-28 06:00:58 +00:00
|
|
|
fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \
|
2013-02-27 19:50:46 +00:00
|
|
|
getline.3 getwc.3 mktemp.3 open_memstream.3 \
|
2012-05-23 17:13:30 +00:00
|
|
|
printf.3 printf_l.3 putc.3 putwc.3 remove.3 scanf.3 scanf_l.3 setbuf.3 \
|
|
|
|
stdio.3 tmpnam.3 \
|
2002-09-23 12:40:06 +00:00
|
|
|
ungetc.3 ungetwc.3 wprintf.3 wscanf.3
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2015-11-25 22:07:18 +00:00
|
|
|
MLINKS+=fclose.3 fcloseall.3 fclose.3 fdclose.3
|
2003-01-10 06:22:28 +00:00
|
|
|
MLINKS+=ferror.3 ferror_unlocked.3 \
|
|
|
|
ferror.3 clearerr.3 ferror.3 clearerr_unlocked.3 \
|
|
|
|
ferror.3 feof.3 ferror.3 feof_unlocked.3 \
|
|
|
|
ferror.3 fileno.3 ferror.3 fileno_unlocked.3
|
stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite
fflush_unlocked is currently desired in ports by sysutils/metalog, and
redefined as the locked fflush.
fputc_unlocked, fputs_unlocked, fread_unlocked, and fwrite_unlocked are
currently desired in ports by devel/elfutils, and redefined as the locked
fputs, fread, and fwrite respectively.
Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D23336
2020-01-30 03:31:16 +00:00
|
|
|
MLINKS+=fflush.3 fflush_unlocked.3 \
|
|
|
|
fflush.3 fpurge.3
|
1994-05-27 05:00:24 +00:00
|
|
|
MLINKS+=fgets.3 gets.3
|
2018-04-03 18:52:38 +00:00
|
|
|
MLINKS+=fgets.3 gets_s.3
|
2003-01-10 05:34:11 +00:00
|
|
|
MLINKS+=flockfile.3 ftrylockfile.3 flockfile.3 funlockfile.3
|
2013-01-30 14:59:26 +00:00
|
|
|
MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 fopen.3 fmemopen.3
|
stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite
fflush_unlocked is currently desired in ports by sysutils/metalog, and
redefined as the locked fflush.
fputc_unlocked, fputs_unlocked, fread_unlocked, and fwrite_unlocked are
currently desired in ports by devel/elfutils, and redefined as the locked
fputs, fread, and fwrite respectively.
Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D23336
2020-01-30 03:31:16 +00:00
|
|
|
MLINKS+=fputs.3 fputs_unlocked.3 \
|
|
|
|
fputs.3 puts.3
|
|
|
|
MLINKS+=fread.3 fread_unlocked.3 \
|
|
|
|
fread.3 fwrite.3 \
|
|
|
|
fread.3 fwrite_unlocked.3
|
1999-03-05 13:01:22 +00:00
|
|
|
MLINKS+=fseek.3 fgetpos.3 fseek.3 fseeko.3 fseek.3 fsetpos.3 fseek.3 ftell.3 \
|
|
|
|
fseek.3 ftello.3 fseek.3 rewind.3
|
1994-05-27 05:00:24 +00:00
|
|
|
MLINKS+=funopen.3 fropen.3 funopen.3 fwopen.3
|
2003-01-10 04:56:20 +00:00
|
|
|
MLINKS+=getc.3 fgetc.3 getc.3 getc_unlocked.3 getc.3 getchar.3 \
|
|
|
|
getc.3 getchar_unlocked.3 getc.3 getw.3
|
2009-02-28 06:00:58 +00:00
|
|
|
MLINKS+=getline.3 getdelim.3
|
2002-08-13 09:30:41 +00:00
|
|
|
MLINKS+=getwc.3 fgetwc.3 getwc.3 getwchar.3
|
2013-08-09 17:24:23 +00:00
|
|
|
MLINKS+=mktemp.3 mkdtemp.3 mktemp.3 mkstemp.3 mktemp.3 mkstemps.3 \
|
2019-07-29 19:02:16 +00:00
|
|
|
mktemp.3 mkostemp.3 mktemp.3 mkostemps.3 mktemp.3 mkostempsat.3
|
2013-02-27 19:50:46 +00:00
|
|
|
MLINKS+=open_memstream.3 open_wmemstream.3
|
2009-03-04 03:38:51 +00:00
|
|
|
MLINKS+=printf.3 asprintf.3 printf.3 dprintf.3 printf.3 fprintf.3 \
|
1997-10-21 08:41:15 +00:00
|
|
|
printf.3 snprintf.3 printf.3 sprintf.3 \
|
2009-03-04 03:38:51 +00:00
|
|
|
printf.3 vasprintf.3 printf.3 vdprintf.3 \
|
1994-05-27 05:00:24 +00:00
|
|
|
printf.3 vfprintf.3 printf.3 vprintf.3 printf.3 vsnprintf.3 \
|
1997-10-21 08:41:15 +00:00
|
|
|
printf.3 vsprintf.3
|
2012-05-23 17:13:30 +00:00
|
|
|
MLINKS+=printf_l.3 asprintf_l.3 printf_l.3 fprintf_l.3 printf_l.3 snprintf_l.3 \
|
|
|
|
printf_l.3 sprintf_l.3 printf_l.3 vasprintf_l.3 printf_l.3 vfprintf_l.3 \
|
|
|
|
printf_l.3 vprintf_l.3 printf_l.3 vsnprintf_l.3 printf_l.3 vsprintf_l.3
|
2003-01-10 04:56:20 +00:00
|
|
|
MLINKS+=putc.3 fputc.3 putc.3 putc_unlocked.3 putc.3 putchar.3 \
|
|
|
|
putc.3 putchar_unlocked.3 putc.3 putw.3
|
2002-08-13 09:30:41 +00:00
|
|
|
MLINKS+=putwc.3 fputwc.3 putwc.3 putwchar.3
|
1994-05-27 05:00:24 +00:00
|
|
|
MLINKS+=scanf.3 fscanf.3 scanf.3 sscanf.3 scanf.3 vfscanf.3 scanf.3 vscanf.3 \
|
|
|
|
scanf.3 vsscanf.3
|
2012-05-23 17:13:30 +00:00
|
|
|
MLINKS+=scanf_l.3 fscanf_l.3 scanf_l.3 sscanf_l.3 scanf_l.3 vfscanf_l.3 \
|
|
|
|
scanf_l.3 vscanf_l.3 scanf_l.3 vsscanf_l.3
|
1994-05-27 05:00:24 +00:00
|
|
|
MLINKS+=setbuf.3 setbuffer.3 setbuf.3 setlinebuf.3 setbuf.3 setvbuf.3
|
|
|
|
MLINKS+=tmpnam.3 tempnam.3 tmpnam.3 tmpfile.3
|
2002-09-21 13:00:30 +00:00
|
|
|
MLINKS+=wprintf.3 fwprintf.3 wprintf.3 swprintf.3 \
|
|
|
|
wprintf.3 vwprintf.3 wprintf.3 vfwprintf.3 wprintf.3 vswprintf.3
|
2002-09-23 12:40:06 +00:00
|
|
|
MLINKS+=wscanf.3 fwscanf.3 wscanf.3 swscanf.3 wscanf.3 vwscanf.3 \
|
|
|
|
wscanf.3 vswscanf.3 wscanf.3 vfwscanf.3
|