1# @(#)Makefile.inc 8.3 (Berkeley) 4/17/94 2# $Id: Makefile.inc,v 1.8 1997/02/22 15:01:45 peter Exp $ 3 4# stdio sources 5.PATH: ${.CURDIR}/../libc/stdio 6 7SRCS+= asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c fflush.c \ 8 fgetc.c fgetln.c fgetpos.c fgets.c fileno.c findfp.c flags.c fopen.c \ 9 fprintf.c fpurge.c fputc.c fputs.c fread.c freopen.c fscanf.c \ 10 fseek.c fsetpos.c ftell.c funopen.c fvwrite.c fwalk.c fwrite.c \ 11 getc.c getchar.c gets.c getw.c makebuf.c mktemp.c perror.c \ 12 printf.c putc.c putchar.c puts.c putw.c refill.c remove.c rewind.c \ 13 rget.c scanf.c setbuf.c setbuffer.c setvbuf.c snprintf.c sprintf.c \ 14 sscanf.c stdio.c tempnam.c tmpfile.c tmpnam.c ungetc.c vasprintf.c \ 15 vfprintf.c vfscanf.c vprintf.c vscanf.c vsnprintf.c vsprintf.c \ 16 vsscanf.c wbuf.c wsetup.c 17 18# Only build man pages with libc. 19.if ${LIB} == "c" 20MAN3+= stdio/fclose.3 stdio/ferror.3 stdio/fflush.3 stdio/fgetln.3 \ 21 stdio/fgets.3 stdio/fopen.3 stdio/fputs.3 stdio/fread.3 stdio/fseek.3 \ 22 stdio/funopen.3 stdio/getc.3 stdio/mktemp.3 stdio/printf.3 \ 23 stdio/putc.3 stdio/remove.3 stdio/scanf.3 stdio/setbuf.3 \ 24 stdio/stdio.3 stdio/tmpnam.3 stdio/ungetc.3 25 26MLINKS+=ferror.3 clearerr.3 ferror.3 feof.3 ferror.3 fileno.3 27MLINKS+=fflush.3 fpurge.3 28MLINKS+=fgets.3 gets.3 29MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 30MLINKS+=fputs.3 puts.3 31MLINKS+=fread.3 fwrite.3 32MLINKS+=fseek.3 fgetpos.3 fseek.3 fsetpos.3 fseek.3 ftell.3 fseek.3 rewind.3 33MLINKS+=funopen.3 fropen.3 funopen.3 fwopen.3 34MLINKS+=getc.3 fgetc.3 getc.3 getchar.3 getc.3 getw.3 35MLINKS+=mktemp.3 mkstemp.3 36MLINKS+=printf.3 fprintf.3 printf.3 snprintf.3 printf.3 sprintf.3 \ 37 printf.3 vfprintf.3 printf.3 vprintf.3 printf.3 vsnprintf.3 \ 38 printf.3 vsprintf.3 printf.3 asprintf.3 printf.3 vasprintf.3 39MLINKS+=putc.3 fputc.3 putc.3 putchar.3 putc.3 putw.3 40MLINKS+=scanf.3 fscanf.3 scanf.3 sscanf.3 scanf.3 vfscanf.3 scanf.3 vscanf.3 \ 41 scanf.3 vsscanf.3 42MLINKS+=setbuf.3 setbuffer.3 setbuf.3 setlinebuf.3 setbuf.3 setvbuf.3 43MLINKS+=tmpnam.3 tempnam.3 tmpnam.3 tmpfile.3 44.endif 45