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