Initial import from FreeBSD RELENG_4:
[games.git] / contrib / libio / stdio / Makefile.in
1 srcdir = .
2
3 #### package, host, target, and site dependent Makefile fragments come in here.
4 ##
5
6 # These are compiled from the corresponding ../ioFOO.c files.
7 STDIO_RENAMED_OBJECTS = ... filled in by configure ...
8 # These are the files that a libc would want.
9 STDIO_OBJECTS = $(STDIO_RENAMED_OBJECTS) \
10   clearerr.o fdopen.o fgetc.o fileno.o \
11   fputc.o freopen.o fseek.o getchar.o getline.o getw.o \
12   popen.o putchar.o putw.o rewind.o \
13   setbuf.o setfileno.o setlinebuf.o snprintf.o \
14   vfprintf.o vfscanf.o vprintf.o vscanf.o vsnprintf.o
15
16 CC_FOR_STDIO=$(CC)
17 CINCLUDES = -I. -I$(srcdir) -I.. -I$(srcdir)/.. -D__USE_GNU
18
19 nothing:
20
21 stmp-libio: stdio.list stamp-io
22
23 stamp-io:
24         $(AR) $(AR_FLAGS) ../libio.a $(STDIO_OBJECTS)
25         touch stmp-io
26
27 stmp-libiostream: stdio.list stamp-streamlib
28
29 stamp-streamlib:
30         $(AR) $(AR_FLAGS) ../libiostream.a $(STDIO_OBJECTS)
31         touch stmp-streamlib
32
33 stdio.list: stamp-picdir $(STDIO_OBJECTS)
34         @echo "$(STDIO_OBJECTS)" >stdio.list
35