OSDN Git Service

Initial revision
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / stdio / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = cygnus
4
5 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
7 noinst_LIBRARIES = lib.a
8
9 lib_a_SOURCES = \
10         clearerr.c                      \
11         fclose.c                        \
12         fdopen.c                        \
13         feof.c                          \
14         ferror.c                        \
15         fflush.c                        \
16         fgetc.c                         \
17         fgetpos.c                       \
18         fgets.c                         \
19         fileno.c                        \
20         findfp.c                        \
21         fiprintf.c                      \
22         flags.c                         \
23         fopen.c                         \
24         fprintf.c                       \
25         fputc.c                         \
26         fputs.c                         \
27         fread.c                         \
28         freopen.c                       \
29         fscanf.c                        \
30         fseek.c                         \
31         fsetpos.c                       \
32         ftell.c                         \
33         fvwrite.c                       \
34         fwalk.c                         \
35         fwrite.c                        \
36         getc.c                          \
37         getchar.c                       \
38         gets.c                          \
39         iprintf.c                       \
40         makebuf.c                       \
41         mktemp.c                        \
42         perror.c                        \
43         printf.c                        \
44         putc.c                          \
45         putchar.c                       \
46         puts.c                          \
47         refill.c                        \
48         remove.c                        \
49         rename.c                        \
50         rewind.c                        \
51         rget.c                          \
52         scanf.c                         \
53         setbuf.c                        \
54         setvbuf.c                       \
55         siprintf.c                      \
56         snprintf.c                      \
57         sprintf.c                       \
58         sscanf.c                        \
59         stdio.c                         \
60         tmpfile.c                       \
61         tmpnam.c                        \
62         ungetc.c                        \
63         vfprintf.c                      \
64         vfscanf.c                       \
65         vprintf.c                       \
66         vsnprintf.c                     \
67         vsprintf.c                      \
68         wbuf.c                          \
69         wsetup.c 
70
71 lib_a_LIBADD = vfiprintf.o
72
73 vfiprintf.o: vfprintf.c
74         $(COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
75
76 CHEWOUT_FILES = \
77         clearerr.def            \
78         fclose.def              \
79         fdopen.def              \
80         feof.def                \
81         ferror.def              \
82         fflush.def              \
83         fgetc.def               \
84         fgetpos.def             \
85         fgets.def               \
86         fileno.def              \
87         fiprintf.def            \
88         fopen.def               \
89         fputc.def               \
90         fputs.def               \
91         fread.def               \
92         freopen.def             \
93         fseek.def               \
94         fsetpos.def             \
95         ftell.def               \
96         fwrite.def              \
97         getc.def                \
98         getchar.def             \
99         gets.def                \
100         iprintf.def             \
101         mktemp.def              \
102         perror.def              \
103         putc.def                \
104         putchar.def             \
105         puts.def                \
106         remove.def              \
107         rename.def              \
108         rewind.def              \
109         setbuf.def              \
110         setvbuf.def             \
111         siprintf.def            \
112         sprintf.def             \
113         sscanf.def              \
114         tmpfile.def             \
115         tmpnam.def              \
116         vfprintf.def
117
118 SUFFIXES = .def
119
120 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
121
122 .c.def:
123         $(CHEW) < $< > $*.def 2> $*.ref
124         touch stmp-def
125
126 TARGETDOC = ../tmp.texi
127
128 doc: $(CHEWOUT_FILES)
129         cat $(srcdir)/stdio.tex >> $(TARGETDOC)
130
131 CLEANFILES = $(CHEWOUT_FILES) *.ref
132
133 fclose.o: local.h
134 fdopen.o: local.h
135 fflush.o: local.h
136 findfp.o: local.h
137 fopen.o: local.h
138 fputs.o: fvwrite.h
139 fread.o: local.h
140 freopen.o: local.h
141 fseek.o: local.h
142 ftell.o: local.h
143 fvwrite.o: local.h fvwrite.h
144 fwalk.o: local.h
145 fwrite.o: local.h fvwrite.h
146 makebuf.o: local.h
147 puts.o: fvwrite.h
148 refill.o: local.h
149 scanf.o: local.h
150 setbuf.o: local.h
151 setvbuf.o: local.h
152 siprintf.o: local.h
153 sprintf.o: local.h
154 sscanf.o: local.h
155 stdio.o: local.h
156 ungetc.o: local.h
157 vfiprintf.o: local.h
158 vfprintf.o: local.h
159 vfscanf.o: local.h floatio.h
160 wbuf.o: local.h fvwrite.h
161 wsetup.o: local.h