mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 06:18:59 +08:00
dbfcb4beac
From-SVN: r15129
36 lines
958 B
Makefile
36 lines
958 B
Makefile
srcdir = .
|
|
|
|
#### package, host, target, and site dependent Makefile fragments come in here.
|
|
##
|
|
|
|
# These are compiled from the corresponding ../ioFOO.c files.
|
|
STDIO_RENAMED_OBJECTS = ... filled in by configure ...
|
|
# These are the files that a libc would want.
|
|
STDIO_OBJECTS = $(STDIO_RENAMED_OBJECTS) \
|
|
clearerr.o fdopen.o fgetc.o fileno.o \
|
|
fputc.o freopen.o fseek.o getchar.o getline.o getw.o \
|
|
popen.o putchar.o putw.o rewind.o \
|
|
setbuf.o setfileno.o setlinebuf.o snprintf.o \
|
|
vfprintf.o vfscanf.o vprintf.o vscanf.o vsnprintf.o
|
|
|
|
CC_FOR_STDIO=$(CC)
|
|
CINCLUDES = -I. -I$(srcdir) -I.. -I$(srcdir)/.. -D__USE_GNU
|
|
|
|
nothing:
|
|
|
|
stmp-libio: stdio.list stamp-io
|
|
|
|
stamp-io:
|
|
$(AR) $(AR_FLAGS) ../libio.a $(STDIO_OBJECTS)
|
|
touch stmp-io
|
|
|
|
stmp-libiostream: stdio.list stamp-streamlib
|
|
|
|
stamp-streamlib:
|
|
$(AR) $(AR_FLAGS) ../libiostream.a $(STDIO_OBJECTS)
|
|
touch stmp-streamlib
|
|
|
|
stdio.list: stamp-picdir $(STDIO_OBJECTS)
|
|
@echo "$(STDIO_OBJECTS)" >stdio.list
|
|
|