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