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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [stdio/] [Makefile.am] - Blame information for rev 309

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 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
        fpurge.c                \
125
        fputwc.c                \
126
        fputws.c                \
127
        funopen.c               \
128
        fwide.c                 \
129
        fwprintf.c              \
130
        fwscanf.c               \
131
        getwc.c                 \
132
        getwchar.c              \
133
        open_memstream.c        \
134
        putwc.c                 \
135
        putwchar.c              \
136
        swprintf.c              \
137
        swscanf.c               \
138
        ungetwc.c               \
139
        vasniprintf.c           \
140
        vasnprintf.c            \
141
        vfwscanf.c              \
142
        vswprintf.c             \
143
        vswscanf.c              \
144
        vwprintf.c              \
145
        vwscanf.c               \
146
        wprintf.c               \
147
        wscanf.c
148
 
149
endif !ELIX_LEVEL_3
150
endif !ELIX_LEVEL_2
151
endif !ELIX_LEVEL_1
152
 
153
LIBADD_OBJS = \
154
        $(lpfx)svfiprintf.$(oext) $(lpfx)svfprintf.$(oext) \
155
        $(lpfx)svfiscanf.$(oext) $(lpfx)svfscanf.$(oext) \
156
        $(lpfx)vfiprintf.$(oext) $(lpfx)vfprintf.$(oext) \
157
        $(lpfx)vfscanf.$(oext) $(lpfx)vfiscanf.$(oext) \
158
        $(lpfx)svfiwprintf.$(oext) $(lpfx)svfwprintf.$(oext) \
159
        $(lpfx)vfiwprintf.$(oext) $(lpfx)vfwprintf.$(oext) \
160
        $(lpfx)svfiwscanf.$(oext) $(lpfx)svfwscanf.$(oext) \
161
        $(lpfx)vfiwscanf.$(oext) $(lpfx)vfwscanf.$(oext)
162
 
163
libstdio_la_LDFLAGS = -Xcompiler -nostdlib
164
 
165
if USE_LIBTOOL
166
noinst_LTLIBRARIES = libstdio.la
167
libstdio_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
168
libstdio_la_LIBADD = $(LIBADD_OBJS)
169
libstdio_la_DEPENDENCIES = $(LIBADD_OBJS)
170
LIB_COMPILE = $(LTCOMPILE)
171
noinst_DATA = objectlist.awk.in
172
else
173
noinst_LIBRARIES = lib.a
174
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
175
lib_a_LIBADD = $(LIBADD_OBJS)
176
lib_a_CFLAGS = $(AM_CFLAGS)
177
lib_a_DEPENDENCIES = $(LIBADD_OBJS)
178
LIB_COMPILE = $(COMPILE)
179
noinst_DATA =
180
endif # USE_LIBTOOL
181
 
182
include $(srcdir)/../../Makefile.shared
183
 
184
# This rule is needed so that libtool compiles vfiprintf before vfprintf. Otherwise
185
# libtool moves vfprintf.o and subsequently can't find it.
186
 
187
$(lpfx)vfprintf.$(oext): vfprintf.c
188
        $(LIB_COMPILE) -fshort-enums -c $(srcdir)/vfprintf.c -o $@
189
 
190
$(lpfx)vfiprintf.$(oext): vfprintf.c
191
        $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
192
 
193
$(lpfx)svfprintf.$(oext): vfprintf.c
194
        $(LIB_COMPILE) -fshort-enums -DSTRING_ONLY -c $(srcdir)/vfprintf.c -o $@
195
 
196
$(lpfx)svfiprintf.$(oext): vfprintf.c
197
        $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -DSTRING_ONLY -c $(srcdir)/vfprintf.c -o $@
198
 
199
$(lpfx)vfwprintf.$(oext): vfwprintf.c
200
        $(LIB_COMPILE) -fshort-enums -c $(srcdir)/vfwprintf.c -o $@
201
 
202
$(lpfx)vfiwprintf.$(oext): vfwprintf.c
203
        $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -c $(srcdir)/vfwprintf.c -o $@
204
 
205
$(lpfx)svfwprintf.$(oext): vfwprintf.c
206
        $(LIB_COMPILE) -fshort-enums -DSTRING_ONLY -c $(srcdir)/vfwprintf.c -o $@
207
 
208
$(lpfx)svfiwprintf.$(oext): vfwprintf.c
209
        $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -DSTRING_ONLY -c $(srcdir)/vfwprintf.c -o $@
210
 
211
$(lpfx)vfscanf.$(oext): vfscanf.c
212
        $(LIB_COMPILE) -c $(srcdir)/vfscanf.c -o $@
213
 
214
$(lpfx)vfiscanf.$(oext): vfscanf.c
215
        $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfscanf.c -o $@
216
 
217
$(lpfx)svfscanf.$(oext): vfscanf.c
218
        $(LIB_COMPILE) -DSTRING_ONLY -c $(srcdir)/vfscanf.c -o $@
219
 
220
$(lpfx)svfiscanf.$(oext): vfscanf.c
221
        $(LIB_COMPILE) -DINTEGER_ONLY -DSTRING_ONLY -c $(srcdir)/vfscanf.c -o $@
222
 
223
$(lpfx)vfwscanf.$(oext): vfwscanf.c
224
        $(LIB_COMPILE) -c $(srcdir)/vfwscanf.c -o $@
225
 
226
$(lpfx)vfiwscanf.$(oext): vfwscanf.c
227
        $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfwscanf.c -o $@
228
 
229
$(lpfx)svfwscanf.$(oext): vfwscanf.c
230
        $(LIB_COMPILE) -DSTRING_ONLY -c $(srcdir)/vfwscanf.c -o $@
231
 
232
$(lpfx)svfiwscanf.$(oext): vfwscanf.c
233
        $(LIB_COMPILE) -DINTEGER_ONLY -DSTRING_ONLY -c $(srcdir)/vfwscanf.c -o $@
234
 
235
CHEWOUT_FILES = \
236
        clearerr.def            \
237
        diprintf.def            \
238
        dprintf.def             \
239
        fclose.def              \
240
        fcloseall.def           \
241
        fdopen.def              \
242
        feof.def                \
243
        ferror.def              \
244
        fflush.def              \
245
        fgetc.def               \
246
        fgetpos.def             \
247
        fgets.def               \
248
        fgetwc.def              \
249
        fgetws.def              \
250
        fileno.def              \
251
        fmemopen.def            \
252
        fopen.def               \
253
        fopencookie.def         \
254
        fpurge.def              \
255
        fputc.def               \
256
        fputs.def               \
257
        fputwc.def              \
258
        fputws.def              \
259
        fread.def               \
260
        freopen.def             \
261
        fseek.def               \
262
        fsetpos.def             \
263
        ftell.def               \
264
        funopen.def             \
265
        fwide.def               \
266
        fwrite.def              \
267
        getc.def                \
268
        getc_u.def              \
269
        getchar.def             \
270
        getchar_u.def           \
271
        getdelim.def            \
272
        getline.def             \
273
        gets.def                \
274
        getw.def                \
275
        getwc.def               \
276
        getwchar.def            \
277
        mktemp.def              \
278
        open_memstream.def      \
279
        perror.def              \
280
        putc.def                \
281
        putc_u.def              \
282
        putchar.def             \
283
        putchar_u.def           \
284
        puts.def                \
285
        putw.def                \
286
        putwc.def               \
287
        putwchar.def            \
288
        remove.def              \
289
        rename.def              \
290
        rewind.def              \
291
        setbuf.def              \
292
        setbuffer.def           \
293
        setlinebuf.def          \
294
        setvbuf.def             \
295
        siprintf.def            \
296
        siscanf.def             \
297
        sprintf.def             \
298
        sscanf.def              \
299
        swprintf.def            \
300
        swscanf.def             \
301
        tmpfile.def             \
302
        tmpnam.def              \
303
        ungetc.def              \
304
        ungetwc.def             \
305
        vfprintf.def            \
306
        vfscanf.def             \
307
        vfwprintf.def           \
308
        vfwscanf.def            \
309
        viprintf.def            \
310
        viscanf.def
311
 
312
SUFFIXES = .def
313
 
314
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
315
 
316
.c.def:
317
        $(CHEW) < $< > $*.def 2> $*.ref
318
        touch stmp-def
319
 
320
TARGETDOC = ../tmp.texi
321
 
322
doc: $(CHEWOUT_FILES)
323
        cat $(srcdir)/stdio.tex >> $(TARGETDOC)
324
 
325
CLEANFILES = $(CHEWOUT_FILES) *.ref
326
 
327
$(lpfx)fclose.$(oext): local.h
328
$(lpfx)fdopen.$(oext): local.h
329
$(lpfx)fflush.$(oext): local.h
330
$(lpfx)fgetwc.$(oext): local.h
331
$(lpfx)fgetws.$(oext): local.h
332
$(lpfx)findfp.$(oext): local.h
333
$(lpfx)fmemopen.$(oext): local.h
334
$(lpfx)fopen.$(oext): local.h
335
$(lpfx)fopencookie.$(oext): local.h
336
$(lpfx)fpurge.$(oext): local.h
337
$(lpfx)fputs.$(oext): fvwrite.h
338
$(lpfx)fputwc.$(oext): local.h
339
$(lpfx)fputws.$(oext): local.h fvwrite.h
340
$(lpfx)fread.$(oext): local.h
341
$(lpfx)freopen.$(oext): local.h
342
$(lpfx)fseek.$(oext): local.h
343
$(lpfx)ftell.$(oext): local.h
344
$(lpfx)funopen.$(oext): local.h
345
$(lpfx)fvwrite.$(oext): local.h fvwrite.h
346
$(lpfx)fwalk.$(oext): local.h
347
$(lpfx)fwide.$(oext): local.h
348
$(lpfx)fwprintf.$(oext): local.h
349
$(lpfx)fwrite.$(oext): local.h fvwrite.h
350
$(lpfx)fwscanf.$(oext): local.h
351
$(lpfx)getwc.$(oext): local.h
352
$(lpfx)getwchar.$(oext): local.h
353
$(lpfx)iscanf.$(oext): local.h
354
$(lpfx)makebuf.$(oext): local.h
355
$(lpfx)open_memstream.$(oext): local.h
356
$(lpfx)puts.$(oext): fvwrite.h
357
$(lpfx)putwc.$(oext): local.h
358
$(lpfx)putwchar.$(oext): local.h
359
$(lpfx)refill.$(oext): local.h
360
$(lpfx)scanf.$(oext): local.h
361
$(lpfx)setbuf.$(oext): local.h
362
$(lpfx)setvbuf.$(oext): local.h
363
$(lpfx)siprintf.$(oext): local.h
364
$(lpfx)siscanf.$(oext): local.h
365
$(lpfx)sniprintf.$(oext): local.h
366
$(lpfx)sprintf.$(oext): local.h
367
$(lpfx)sscanf.$(oext): local.h
368
$(lpfx)stdio.$(oext): local.h
369
$(lpfx)svfiprintf.$(oext): local.h
370
$(lpfx)svfiscanf.$(oext): local.h floatio.h
371
$(lpfx)svfprintf.$(oext): local.h
372
$(lpfx)svfscanf.$(oext): local.h floatio.h
373
$(lpfx)swprintf.$(oext): local.h
374
$(lpfx)swscanf.$(oext): local.h
375
$(lpfx)ungetc.$(oext): local.h
376
$(lpfx)ungetwc.$(oext): local.h
377
$(lpfx)vfiprintf.$(oext): local.h
378
$(lpfx)vfiscanf.$(oext): local.h floatio.h
379
$(lpfx)vfprintf.$(oext): local.h
380
$(lpfx)vfscanf.$(oext): local.h floatio.h
381
$(lpfx)vfwprintf.$(oext): local.h
382
$(lpfx)vfwscanf.$(oext): local.h
383
$(lpfx)viscanf.$(oext): local.h
384
$(lpfx)vscanf.$(oext): local.h
385
$(lpfx)vsiscanf.$(oext): local.h
386
$(lpfx)vsniprintf.$(oext): local.h
387
$(lpfx)vsscanf.$(oext): local.h
388
$(lpfx)vswprintf.$(oext): local.h
389
$(lpfx)vswscanf.$(oext): local.h
390
$(lpfx)vwprintf.$(oext): local.h
391
$(lpfx)vwscanf.$(oext): local.h
392
$(lpfx)wbuf.$(oext): local.h fvwrite.h
393
$(lpfx)wprintf.$(oext): local.h
394
$(lpfx)wscanf.$(oext): local.h
395
$(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.