1# Use the libio which comes with the local libc.
2
3# Comment this out to avoid including the stdio functions in libiostream.a:
4# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS)
5# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list
6# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list`
7
8# We must not see the libio.h file from this library.
9LIBIO_INCLUDE=
10
11# We have those in libc.a.
12IO_OBJECTS=iogetc.o ioputc.o iofeof.o ioferror.o \
13	filedoalloc.o fileops.o genops.o iofclose.o \
14	iovsprintf.o iovsscanf.o strops.o iogetline.o
15STDIO_WRAP_OBJECTS=
16OSPRIM_OBJECTS=
17STDIO_OBJECTS=
18
19# We have the rest in /usr/include.
20USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \
21	indstream.h iomanip.h iostream.h istream.h ostream.h \
22	parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \
23	streambuf.h strfile.h strstream.h libio.h
24
25# A bad kludge
26MT_CFLAGS=-D_G_HAVE_MMAP -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL
27