OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [stdio/] [Makefile.am] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
## 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
GENERAL_SOURCES = \
8
        clearerr.c                      \
9
        fclose.c                        \
10
        fdopen.c                        \
11
        feof.c                          \
12
        ferror.c                        \
13
        fflush.c                        \
14
        fgetc.c                 \
15
        fgetpos.c                       \
16
        fgets.c                 \
17
        fileno.c                        \
18
        findfp.c                        \
19
        fiprintf.c                      \
20
        flags.c                 \
21
        fopen.c                 \
22
        fprintf.c                       \
23
        fputc.c                 \
24
        fputs.c                 \
25
        fread.c                 \
26
        freopen.c                       \
27
        fscanf.c                        \
28
        fiscanf.c                       \
29
        fseek.c                 \
30
        fsetpos.c                       \
31
        ftell.c                 \
32
        fvwrite.c                       \
33
        fwalk.c                 \
34
        fwrite.c                        \
35
        getc.c                          \
36
        getchar.c                       \
37
        getc_u.c                        \
38
        getchar_u.c                     \
39
        getdelim.c                      \
40
        getline.c                       \
41
        gets.c                          \
42
        iprintf.c                       \
43
        iscanf.c                        \
44
        makebuf.c                       \
45
        perror.c                        \
46
        printf.c                        \
47
        putc.c                          \
48
        putchar.c                       \
49
        putc_u.c                        \
50
        putchar_u.c                     \
51
        puts.c                          \
52
        refill.c                        \
53
        remove.c                        \
54
        rename.c                        \
55
        rewind.c                        \
56
        rget.c                          \
57
        scanf.c                 \
58
        sccl.c                          \
59
        setbuf.c                        \
60
        setbuffer.c                     \
61
        setlinebuf.c                    \
62
        setvbuf.c                       \
63
        siprintf.c                      \
64
        siscanf.c                       \
65
        sniprintf.c                     \
66
        snprintf.c                      \
67
        sprintf.c                       \
68
        sscanf.c                        \
69
        stdio.c                 \
70
        tmpfile.c                       \
71
        tmpnam.c                        \
72
        ungetc.c                        \
73
        vdiprintf.c                     \
74
        vdprintf.c                      \
75
        viprintf.c                      \
76
        viscanf.c                       \
77
        vprintf.c                       \
78
        vscanf.c                        \
79
        vsiprintf.c                     \
80
        vsiscanf.c                      \
81
        vsnprintf.c                     \
82
        vsniprintf.c                    \
83
        vsprintf.c                      \
84
        vsscanf.c                       \
85
        wbuf.c                          \
86
        wsetup.c
87
 
88
## The following are EL/IX level 2 interfaces
89
if ELIX_LEVEL_1
90
ELIX_2_SOURCES =
91
else
92
ELIX_2_SOURCES = \
93
        asiprintf.c             \
94
        asprintf.c              \
95
        fcloseall.c             \
96
        fseeko.c                \
97
        ftello.c                \
98
        getw.c                  \
99
        mktemp.c                \
100
        putw.c                  \
101
        vasiprintf.c            \
102
        vasprintf.c
103
endif
104
 
105
## The following are EL/IX level 2 interfaces
106
if ELIX_LEVEL_1
107
ELIX_4_SOURCES =
108
else
109
if ELIX_LEVEL_2
110
ELIX_4_SOURCES =
111
else
112
if ELIX_LEVEL_3
113
ELIX_4_SOURCES =
114
else
115
ELIX_4_SOURCES = \
116
        asniprintf.c            \
117
        asnprintf.c             \
118
        diprintf.c              \
119
        dprintf.c               \
120
        fgetwc.c                \
121
        fgetws.c                \
122
        fmemopen.c              \
123
        fopencookie.c           \
124
        fputwc.c                \
125
        fputws.c                \
126
        funopen.c               \
127
        fwide.c                 \
128
        getwc.c                 \
129
        getwchar.c              \
130
        open_memstream.c        \
131
        putwc.c                 \
132
        putwchar.c              \
133
        ungetwc.c               \
134
        vasniprintf.c           \
135
        vasnprintf.c
136
endif !ELIX_LEVEL_3
137
endif !ELIX_LEVEL_2
138
endif !ELIX_LEVEL_1
139
 
140
LIBADD_OBJS = \
141
        $(lpfx)svfiprintf.$(oext) $(lpfx)svfprintf.$(oext) \
142
        $(lpfx)svfiscanf.$(oext) $(lpfx)svfscanf.$(oext) \
143
        $(lpfx)vfiprintf.$(oext) $(lpfx)vfprintf.$(oext) \
144
        $(lpfx)vfscanf.$(oext) $(lpfx)vfiscanf.$(oext)
145
 
146
libstdio_la_LDFLAGS = -Xcompiler -nostdlib
147
 
148
if USE_LIBTOOL
149
noinst_LTLIBRARIES = libstdio.la
150
libstdio_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
151
libstdio_la_LIBADD = $(LIBADD_OBJS)
152
libstdio_la_DEPENDENCIES = $(LIBADD_OBJS)
153
LIB_COMPILE = $(LTCOMPILE)
154
noinst_DATA = objectlist.awk.in
155
else
156
noinst_LIBRARIES = lib.a
157
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
158
lib_a_LIBADD = $(LIBADD_OBJS)
159
lib_a_CFLAGS = $(AM_CFLAGS)
160
lib_a_DEPENDENCIES = $(LIBADD_OBJS)
161
LIB_COMPILE = $(COMPILE)
162
noinst_DATA =
163
endif # USE_LIBTOOL
164
 
165
include $(srcdir)/../../Makefile.shared
166
 
167
# This rule is needed so that libtool compiles vfiprintf before vfprintf. Otherwise
168
# libtool moves vfprintf.o and subsequently can't find it.
169
 
170
$(lpfx)vfprintf.$(oext): vfprintf.c
171
        $(LIB_COMPILE) -fshort-enums -c $(srcdir)/vfprintf.c -o $@
172
 
173
$(lpfx)vfiprintf.$(oext): vfprintf.c
174
        $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
175
 
176
$(lpfx)svfprintf.$(oext): vfprintf.c
177
        $(LIB_COMPILE) -fshort-enums -DSTRING_ONLY -c $(srcdir)/vfprintf.c -o $@
178
 
179
$(lpfx)svfiprintf.$(oext): vfprintf.c
180
        $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -DSTRING_ONLY -c $(srcdir)/vfprintf.c -o $@
181
 
182
$(lpfx)vfscanf.$(oext): vfscanf.c
183
        $(LIB_COMPILE) -c $(srcdir)/vfscanf.c -o $@
184
 
185
$(lpfx)vfiscanf.$(oext): vfscanf.c
186
        $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfscanf.c -o $@
187
 
188
$(lpfx)svfscanf.$(oext): vfscanf.c
189
        $(LIB_COMPILE) -DSTRING_ONLY -c $(srcdir)/vfscanf.c -o $@
190
 
191
$(lpfx)svfiscanf.$(oext): vfscanf.c
192
        $(LIB_COMPILE) -DINTEGER_ONLY -DSTRING_ONLY -c $(srcdir)/vfscanf.c -o $@
193
 
194
CHEWOUT_FILES = \
195
        clearerr.def            \
196
        diprintf.def            \
197
        dprintf.def             \
198
        fclose.def              \
199
        fcloseall.def           \
200
        fdopen.def              \
201
        feof.def                \
202
        ferror.def              \
203
        fflush.def              \
204
        fgetc.def               \
205
        fgetpos.def             \
206
        fgets.def               \
207
        fgetwc.def              \
208
        fgetws.def              \
209
        fileno.def              \
210
        fmemopen.def            \
211
        fopen.def               \
212
        fopencookie.def         \
213
        fputc.def               \
214
        fputs.def               \
215
        fputwc.def              \
216
        fputws.def              \
217
        fread.def               \
218
        freopen.def             \
219
        fseek.def               \
220
        fsetpos.def             \
221
        ftell.def               \
222
        funopen.def             \
223
        fwide.def               \
224
        fwrite.def              \
225
        getc.def                \
226
        getc_u.def              \
227
        getchar.def             \
228
        getchar_u.def           \
229
        getdelim.def            \
230
        getline.def             \
231
        gets.def                \
232
        getw.def                \
233
        getwc.def               \
234
        getwchar.def            \
235
        mktemp.def              \
236
        open_memstream.def      \
237
        perror.def              \
238
        putc.def                \
239
        putc_u.def              \
240
        putchar.def             \
241
        putchar_u.def           \
242
        puts.def                \
243
        putw.def                \
244
        putwc.def               \
245
        putwchar.def            \
246
        remove.def              \
247
        rename.def              \
248
        rewind.def              \
249
        setbuf.def              \
250
        setbuffer.def           \
251
        setlinebuf.def          \
252
        setvbuf.def             \
253
        siprintf.def            \
254
        siscanf.def             \
255
        sprintf.def             \
256
        sscanf.def              \
257
        tmpfile.def             \
258
        tmpnam.def              \
259
        ungetc.def              \
260
        ungetwc.def             \
261
        vfprintf.def            \
262
        vfscanf.def             \
263
        viprintf.def            \
264
        viscanf.def
265
 
266
SUFFIXES = .def
267
 
268
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
269
 
270
.c.def:
271
        $(CHEW) < $< > $*.def 2> $*.ref
272
        touch stmp-def
273
 
274
TARGETDOC = ../tmp.texi
275
 
276
doc: $(CHEWOUT_FILES)
277
        cat $(srcdir)/stdio.tex >> $(TARGETDOC)
278
 
279
CLEANFILES = $(CHEWOUT_FILES) *.ref
280
 
281
$(lpfx)fclose.$(oext): local.h
282
$(lpfx)fdopen.$(oext): local.h
283
$(lpfx)fflush.$(oext): local.h
284
$(lpfx)fgetwc.$(oext): local.h
285
$(lpfx)fgetws.$(oext): local.h
286
$(lpfx)findfp.$(oext): local.h
287
$(lpfx)fmemopen.$(oext): local.h
288
$(lpfx)fopen.$(oext): local.h
289
$(lpfx)fopencookie.$(oext): local.h
290
$(lpfx)fputs.$(oext): fvwrite.h
291
$(lpfx)fputwc.$(oext): local.h
292
$(lpfx)fputws.$(oext): local.h fvwrite.h
293
$(lpfx)fread.$(oext): local.h
294
$(lpfx)freopen.$(oext): local.h
295
$(lpfx)fseek.$(oext): local.h
296
$(lpfx)ftell.$(oext): local.h
297
$(lpfx)funopen.$(oext): local.h
298
$(lpfx)fvwrite.$(oext): local.h fvwrite.h
299
$(lpfx)fwalk.$(oext): local.h
300
$(lpfx)fwide.$(oext): local.h
301
$(lpfx)getwc.$(oext): local.h
302
$(lpfx)getwchar.$(oext): local.h
303
$(lpfx)fwrite.$(oext): local.h fvwrite.h
304
$(lpfx)iscanf.$(oext): local.h
305
$(lpfx)makebuf.$(oext): local.h
306
$(lpfx)open_memstream.$(oext): local.h
307
$(lpfx)puts.$(oext): fvwrite.h
308
$(lpfx)putwc.$(oext): local.h
309
$(lpfx)putwchar.$(oext): local.h
310
$(lpfx)refill.$(oext): local.h
311
$(lpfx)scanf.$(oext): local.h
312
$(lpfx)setbuf.$(oext): local.h
313
$(lpfx)setvbuf.$(oext): local.h
314
$(lpfx)siprintf.$(oext): local.h
315
$(lpfx)sniprintf.$(oext): local.h
316
$(lpfx)sprintf.$(oext): local.h
317
$(lpfx)siscanf.$(oext): local.h
318
$(lpfx)sscanf.$(oext): local.h
319
$(lpfx)stdio.$(oext): local.h
320
$(lpfx)svfiprintf.$(oext): local.h
321
$(lpfx)svfiscanf.$(oext): local.h floatio.h
322
$(lpfx)svfprintf.$(oext): local.h
323
$(lpfx)svfscanf.$(oext): local.h floatio.h
324
$(lpfx)ungetc.$(oext): local.h
325
$(lpfx)ungetwc.$(oext): local.h
326
$(lpfx)vfiprintf.$(oext): local.h
327
$(lpfx)vfprintf.$(oext): local.h
328
$(lpfx)vfiscanf.$(oext): local.h floatio.h
329
$(lpfx)vfscanf.$(oext): local.h floatio.h
330
$(lpfx)viscanf.$(oext): local.h
331
$(lpfx)vscanf.$(oext): local.h
332
$(lpfx)vsniprintf.$(oext): local.h
333
$(lpfx)vsiscanf.$(oext): local.h
334
$(lpfx)vsscanf.$(oext): local.h
335
$(lpfx)wbuf.$(oext): local.h fvwrite.h
336
$(lpfx)wsetup.$(oext): local.h

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.