Home | History | Annotate | Line # | Download | only in stdio
Makefile.inc revision 1.51
      1   1.2   mycroft #	from: @(#)Makefile.inc	5.7 (Berkeley) 6/27/91
      2  1.51    rillig #	$NetBSD: Makefile.inc,v 1.51 2025/07/07 20:05:06 rillig Exp $
      3   1.1       cgd 
      4   1.1       cgd # stdio sources
      5   1.1       cgd .PATH: ${.CURDIR}/stdio
      6   1.6   mycroft 
      7  1.42     joerg SRCS+=	clrerr.c dprintf.c fclose.c fdopen.c feof.c ferror.c \
      8  1.37  christos 	fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetstr.c fgetwc.c \
      9  1.37  christos 	fgetwln.c fgetws.c fileno.c findfp.c flags.c flockfile.c fopen.c \
     10  1.37  christos 	fparseln.c fprintf.c fpurge.c fputc.c fputs.c fputwc.c fputws.c \
     11  1.37  christos 	fread.c freopen.c fscanf.c fseek.c fseeko.c fsetpos.c ftell.c ftello.c \
     12  1.29  christos 	funopen.c fvwrite.c fwalk.c fwide.c fwprintf.c fwrite.c fwscanf.c \
     13  1.36       roy 	getc.c getchar.c getdelim.c getline.c gettemp.c getw.c getwc.c \
     14  1.44  christos 	getwchar.c makebuf.c mkdtemp.c mkstemp.c mkstemps.c mkostemp.c \
     15  1.44  christos 	mkostemps.c perror.c printf.c putc.c putchar.c puts.c putw.c putwc.c \
     16  1.44  christos 	putwchar.c refill.c remove.c rewind.c \
     17  1.42     joerg 	rget.c scanf.c setbuf.c setbuffer.c setvbuf.c snprintf_ss.c \
     18  1.34  christos 	sscanf.c stdio.c swprintf.c swscanf.c tmpfile.c ungetc.c ungetwc.c \
     19  1.37  christos 	vasprintf.c vdprintf.c vfprintf.c vfscanf.c vfwprintf.c vfwscanf.c \
     20  1.37  christos 	vprintf.c vscanf.c vsnprintf.c vsnprintf_ss.c vsscanf.c vswprintf.c \
     21  1.37  christos 	vswscanf.c vwprintf.c vwscanf.c wbuf.c wprintf.c wscanf.c wsetup.c
     22  1.46  christos SRCS+=	fmemopen.c open_memstream.c open_wmemstream.c
     23  1.17     perry 
     24  1.13   mycroft .if !defined(AUDIT)
     25  1.42     joerg SRCS+=	gets.c vsprintf.c tempnam.c tmpnam.c mktemp.c
     26  1.13   mycroft .endif
     27   1.1       cgd 
     28  1.29  christos MAN+=	fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
     29  1.39  christos 	flockfile.3 fmemopen.3 fopen.3 fparseln.3 fputs.3 fputws.3 fread.3 \
     30  1.39  christos 	fseek.3 funopen.3 fwide.3 getc.3 getdelim.3 getwc.3 mktemp.3 printf.3 \
     31  1.47  christos 	printf_l.3 putc.3 putwc.3 remove.3 scanf.3 scanf_l.3 setbuf.3 stdio.3 \
     32  1.47  christos 	tmpnam.3 ungetc.3 ungetwc.3 wprintf.3 wscanf.3 open_memstream.3
     33   1.1       cgd 
     34   1.1       cgd MLINKS+=ferror.3 clearerr.3 ferror.3 feof.3 ferror.3 fileno.3
     35   1.1       cgd MLINKS+=fflush.3 fpurge.3
     36  1.24    kleink MLINKS+=flockfile.3 ftrylockfile.3 flockfile.3 funlockfile.3
     37   1.1       cgd MLINKS+=fgets.3 gets.3
     38   1.1       cgd MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3
     39   1.1       cgd MLINKS+=fputs.3 puts.3
     40   1.1       cgd MLINKS+=fread.3 fwrite.3
     41  1.19    kleink MLINKS+=fseek.3 fgetpos.3 fseek.3 fseeko.3 fseek.3 fsetpos.3 fseek.3 ftell.3 \
     42  1.19    kleink 	fseek.3 ftello.3 fseek.3 rewind.3
     43   1.1       cgd MLINKS+=funopen.3 fropen.3 funopen.3 fwopen.3
     44  1.41  christos MLINKS+=funopen.3 funopen2.3 funopen.3 fropen2.3 funopen.3 fwopen2.3
     45  1.20    kleink MLINKS+=getc.3 fgetc.3 getc.3 getc_unlocked.3 getc.3 getchar.3 \
     46  1.20    kleink 	getc.3 getchar_unlocked.3 getc.3 getw.3
     47  1.36       roy MLINKS+=getdelim.3 getline.3
     48  1.16   mycroft MLINKS+=mktemp.3 mkdtemp.3 mktemp.3 mkstemp.3
     49  1.45  christos MLINKS+=mktemp.3 mkostemp.3 mktemp.3 mkostemps.3
     50  1.45  christos MLINKS+=mktemp.3 mkstemps.3
     51  1.18     perry MLINKS+=printf.3 asprintf.3 printf.3 fprintf.3 printf.3 snprintf.3 \
     52  1.50      maya 	printf.3 snprintf_ss.3 printf.3 sprintf.3 printf.3 vasprintf.3 \
     53  1.50      maya 	printf.3 vfprintf.3 printf.3 vprintf.3 printf.3 vsnprintf.3 \
     54  1.50      maya 	printf.3 vsprintf.3 printf.3 dprintf.3 printf.3 vdprintf.3 \
     55  1.50      maya 	printf.3 vsnprintf_ss.3
     56  1.20    kleink MLINKS+=putc.3 fputc.3 putc.3 putc_unlocked.3 putc.3 putchar.3 \
     57  1.20    kleink 	putc.3 putchar_unlocked.3 putc.3 putw.3
     58   1.1       cgd MLINKS+=scanf.3 fscanf.3 scanf.3 sscanf.3 scanf.3 vfscanf.3 scanf.3 vscanf.3 \
     59   1.1       cgd 	scanf.3 vsscanf.3
     60   1.1       cgd MLINKS+=setbuf.3 setbuffer.3 setbuf.3 setlinebuf.3 setbuf.3 setvbuf.3
     61   1.1       cgd MLINKS+=tmpnam.3 tempnam.3 tmpnam.3 tmpfile.3
     62  1.21      yamt MLINKS+=putwc.3 fputwc.3 putwc.3 putwchar.3
     63  1.21      yamt MLINKS+=getwc.3 fgetwc.3 getwc.3 getwchar.3
     64  1.29  christos MLINKS+=wprintf.3 fwprintf.3 wprintf.3 swprintf.3
     65  1.29  christos MLINKS+=wprintf.3 vwprintf.3 wprintf.3 vfwprintf.3 wprintf.3 vswprintf.3
     66  1.29  christos MLINKS+=wscanf.3 fwscanf.3 wscanf.3 swscanf.3 wscanf.3 vwscanf.3
     67  1.29  christos MLINKS+=wscanf.3 vswscanf.3 wscanf.3 vfwscanf.3
     68  1.46  christos MLINKS+=open_memstream.3 open_wmemstream.3
     69  1.47  christos MLINKS+=printf_l.3 asprintf_l.3 printf_l.3 fprintf_l.3 printf_l.3 snprintf_l.3 \
     70  1.47  christos         printf_l.3 sprintf_l.3 printf_l.3 vasprintf_l.3 printf_l.3  \
     71  1.47  christos 	vfprintf_l.3 printf_l.3 vprintf_l.3 printf_l.3 vsnprintf_l.3 \
     72  1.47  christos 	printf_l.3 vsprintf_l.3
     73  1.47  christos MLINKS+=scanf_l.3 fscanf_l.3 scanf_l.3 sscanf_l.3 scanf_l.3 vfscanf_l.3 \
     74  1.47  christos         scanf_l.3 vscanf_l.3 scanf_l.3 vsscanf_l.3
     75  1.47  christos 
     76  1.49  christos LINTFLAGS.clrerr.c += -X 309 # XXX: lint bogus warning
     77  1.49  christos LINTFLAGS.rewind.c += -X 309 # XXX: lint bogus warning
     78  1.49  christos LINTFLAGS.ungetwc.c += -X 309 # XXX: lint bogus warning
     79