gcc/libio/stdio/Makefile.in

36 lines
958 B
Makefile
Raw Normal View History

1997-08-22 06:57:35 +08:00
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 \
1997-08-22 06:57:35 +08:00
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
1997-08-22 06:57:35 +08:00
stdio.list: stamp-picdir $(STDIO_OBJECTS)
@echo "$(STDIO_OBJECTS)" >stdio.list