xref: /freebsd/lib/libc/stdio/Makefile.inc (revision 069ac18495ad8fde2748bc94b0f80a50250bb01d)
1
2# stdio sources
3.PATH: ${LIBC_SRCTOP}/stdio
4
5SRCS+=	_flock_stub.c asprintf.c clrerr.c dprintf.c \
6	fclose.c fcloseall.c fdopen.c \
7	feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \
8	fgetwln.c fgetws.c \
9	fileno.c findfp.c flags.c fmemopen.c fopen.c \
10	fopencookie.c fprintf.c fpurge.c \
11	fputc.c fputs.c \
12	fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \
13	ftell.c funopen.c fvwrite.c fwalk.c fwide.c fwprintf.c fwscanf.c \
14	fwrite.c getc.c getchar.c getdelim.c getline.c \
15	gets.c gets_s.c getw.c getwc.c getwchar.c makebuf.c mktemp.c \
16	open_memstream.c open_wmemstream.c \
17	perror.c printf.c printf-pos.c putc.c putchar.c \
18	puts.c putw.c putwc.c putwchar.c \
19	refill.c remove.c rewind.c rget.c scanf.c setbuf.c setbuffer.c \
20	setvbuf.c snprintf.c sprintf.c sscanf.c stdio.c swprintf.c swscanf.c \
21	tempnam.c tmpfile.c \
22	tmpnam.c ungetc.c ungetwc.c vasprintf.c vdprintf.c vfprintf.c \
23	vfscanf.c \
24	vfwprintf.c vfwscanf.c vprintf.c vscanf.c vsnprintf.c vsprintf.c \
25	vsscanf.c \
26	vswprintf.c vswscanf.c vwprintf.c vwscanf.c wbuf.c wprintf.c wscanf.c \
27	wsetup.c
28
29SRCS+=	xprintf.c xprintf_float.c xprintf_int.c xprintf_str.c
30SRCS+=	xprintf_errno.c xprintf_hexdump.c xprintf_quote.c
31SRCS+=	xprintf_time.c xprintf_vis.c
32
33SYM_MAPS+=	${LIBC_SRCTOP}/stdio/Symbol.map
34
35MAN+=	fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
36	flockfile.3 \
37	fopen.3 fopencookie.3 fputs.3 \
38	fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \
39	getline.3 getwc.3 mktemp.3 open_memstream.3 \
40	printf.3 printf_l.3 putc.3 putwc.3 remove.3 scanf.3 scanf_l.3 setbuf.3 \
41	stdio.3 tmpnam.3 \
42	ungetc.3 ungetwc.3 wprintf.3 wscanf.3
43
44MLINKS+=fclose.3 fcloseall.3 \
45	fclose.3 fdclose.3
46MLINKS+=ferror.3 ferror_unlocked.3 \
47	ferror.3 clearerr.3 \
48	ferror.3 clearerr_unlocked.3 \
49	ferror.3 feof.3 \
50	ferror.3 feof_unlocked.3 \
51	ferror.3 fileno.3 \
52	ferror.3 fileno_unlocked.3
53MLINKS+=fflush.3 fflush_unlocked.3 \
54	fflush.3 fpurge.3
55MLINKS+=fgets.3 gets.3
56MLINKS+=fgets.3 gets_s.3
57MLINKS+=flockfile.3 ftrylockfile.3 \
58	flockfile.3 funlockfile.3
59MLINKS+=fopen.3 fdopen.3 \
60	fopen.3 freopen.3 \
61	fopen.3 fmemopen.3
62MLINKS+=fputs.3 fputs_unlocked.3 \
63	fputs.3 puts.3
64MLINKS+=fread.3 fread_unlocked.3 \
65	fread.3 fwrite.3 \
66	fread.3 fwrite_unlocked.3
67MLINKS+=fseek.3 fgetpos.3 \
68	fseek.3 fseeko.3 \
69	fseek.3 fsetpos.3 \
70	fseek.3 ftell.3 \
71	fseek.3 ftello.3 \
72	fseek.3 rewind.3
73MLINKS+=funopen.3 fropen.3 \
74	funopen.3 fwopen.3
75MLINKS+=getc.3 fgetc.3 \
76	getc.3 getc_unlocked.3 \
77	getc.3 getchar.3 \
78	getc.3 getchar_unlocked.3 \
79	getc.3 getw.3
80MLINKS+=getline.3 getdelim.3
81MLINKS+=getwc.3 fgetwc.3 \
82	getwc.3 getwchar.3
83MLINKS+=mktemp.3 mkdtemp.3 \
84	mktemp.3 mkstemp.3 \
85	mktemp.3 mkstemps.3 \
86	mktemp.3 mkostemp.3 \
87	mktemp.3 mkostemps.3 \
88	mktemp.3 mkostempsat.3
89MLINKS+=open_memstream.3 open_wmemstream.3
90MLINKS+=printf.3 asprintf.3 \
91	printf.3 dprintf.3 \
92	printf.3 fprintf.3 \
93	printf.3 snprintf.3 \
94	printf.3 sprintf.3 \
95	printf.3 vasprintf.3 \
96	printf.3 vdprintf.3 \
97	printf.3 vfprintf.3 \
98	printf.3 vprintf.3 \
99	printf.3 vsnprintf.3 \
100	printf.3 vsprintf.3
101MLINKS+=printf_l.3 asprintf_l.3 \
102	printf_l.3 fprintf_l.3 \
103	printf_l.3 snprintf_l.3 \
104	printf_l.3 sprintf_l.3 \
105	printf_l.3 vasprintf_l.3 \
106	printf_l.3 vfprintf_l.3 \
107	printf_l.3 vprintf_l.3 \
108	printf_l.3 vsnprintf_l.3 \
109	printf_l.3 vsprintf_l.3
110MLINKS+=putc.3 fputc.3 \
111	putc.3 fputc_unlocked.3 \
112	putc.3 putc_unlocked.3 \
113	putc.3 putchar.3 \
114	putc.3 putchar_unlocked.3 \
115	putc.3 putw.3
116MLINKS+=putwc.3 fputwc.3 \
117	putwc.3 putwchar.3
118MLINKS+=scanf.3 fscanf.3 \
119	scanf.3 sscanf.3 \
120	scanf.3 vfscanf.3 \
121	scanf.3 vscanf.3 \
122	scanf.3 vsscanf.3
123MLINKS+=scanf_l.3 fscanf_l.3 \
124	scanf_l.3 sscanf_l.3 \
125	scanf_l.3 vfscanf_l.3 \
126	scanf_l.3 vscanf_l.3 \
127	scanf_l.3 vsscanf_l.3
128MLINKS+=setbuf.3 setbuffer.3 \
129	setbuf.3 setlinebuf.3 \
130	setbuf.3 setvbuf.3
131MLINKS+=tmpnam.3 tempnam.3 \
132	tmpnam.3 tmpfile.3
133MLINKS+=wprintf.3 fwprintf.3 \
134	wprintf.3 swprintf.3 \
135	wprintf.3 vwprintf.3 \
136	wprintf.3 vfwprintf.3 \
137	wprintf.3 vswprintf.3
138MLINKS+=wscanf.3 fwscanf.3 \
139	wscanf.3 swscanf.3 \
140	wscanf.3 vwscanf.3 \
141	wscanf.3 vswscanf.3 \
142	wscanf.3 vfwscanf.3
143