1# @(#)Makefile.inc 5.1 (Berkeley) 06/23/90 2 3# stdio sources 4.PATH: ${.CURDIR}/${MACHINE}/stdio ${.CURDIR}/stdio 5 6SRCS+= clrerr.c doprnt.c doscan.c fdopen.c fgetc.c filbuf.c findiop.c \ 7 flsbuf.c fopen.c fprintf.c fputc.c fread.c freopen.c fseek.c \ 8 ftell.c fwrite.c getchar.c gets.c getw.c printf.c putchar.c \ 9 putw.c rew.c scanf.c setbuf.c setbuffer.c sprintf.c ungetc.c \ 10 vfprintf.c vprintf.c vsprintf.c 11 12.if (${MACHINE} == "hp300") 13SRCS+= fgets.c fputs.c puts.c 14.elif (${MACHINE} == "i386") 15SRCS+= fgets.c fputs.c puts.c 16.elif (${MACHINE} == "tahoe") 17SRCS+= fgets.c fputs.c puts.c 18.elif (${MACHINE} == "vax") 19SRCS+= fgets.s fputs.s puts.s 20.endif 21 22MAN3+= fclose.0 ferror.0 fgets.0 fopen.0 fread.0 fseek.0 getc.0 \ 23 gets.0 printf.0 putc.0 puts.0 scanf.0 setbuf.0 stdio.0 ungetc.0 \ 24 25MLINKS+=fclose.3 fflush.3 26MLINKS+=ferror.3 clearerr.3 ferror.3 feof.3 ferror.3 fileno.3 27MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 28MLINKS+=fread.3 fwrite.3 29MLINKS+=fseek.3 ftell.3 fseek.3 rewind.3 30MLINKS+=getc.3 fgetc.3 getc.3 getchar.3 getc.3 getw.3 31MLINKS+=printf.3 fprintf.3 printf.3 sprintf.3 printf.3 vfprintf.3 \ 32 printf.3 vprintf.3 printf.3 vsprintf.3 33MLINKS+=putc.3 fputc.3 putc.3 putchar.3 putc.3 putw.3 34MLINKS+=puts.3 fputs.3 35MLINKS+=scanf.3 fscanf.3 scanf.3 sscanf.3 36MLINKS+=setbuf.3 setbuffer.3 setbuf.3 setlinebuf.3 37