Declare malloc, free, and atexit if inhibit_libc is defined.
[official-gcc.git] / libio / config / linuxlibc1.mt
blob742cbf18534290b751b57b37fc70d249fd220841
1 # Use the libio which comes with the local libc.
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`
8 # We must not see the libio.h file from this library.
9 LIBIO_INCLUDE=
11 # We have those in libc.a.
12 IO_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
15 STDIO_WRAP_OBJECTS=
16 OSPRIM_OBJECTS=
17 STDIO_OBJECTS=
19 # We have the rest in /usr/include.
20 USER_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
25 # A bad kludge
26 MT_CFLAGS=-D_G_HAVE_MMAP -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL