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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [stdio/] [Makefile.am] - Blame information for rev 1773

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

Line No. Rev Author Line
1 1010 ivang
## 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
LIB_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
        fseek.c                         \
29
        fsetpos.c                       \
30
        ftell.c                         \
31
        fvwrite.c                       \
32
        fwalk.c                         \
33
        fwrite.c                        \
34
        getc.c                          \
35
        getchar.c                       \
36
        gets.c                          \
37
        getw.c                          \
38
        iprintf.c                       \
39
        makebuf.c                       \
40
        mktemp.c                        \
41
        perror.c                        \
42
        printf.c                        \
43
        putc.c                          \
44
        putchar.c                       \
45
        puts.c                          \
46
        putw.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
        vfscanf.c                       \
64
        vprintf.c                       \
65
        vscanf.c                        \
66
        vsnprintf.c                     \
67
        vsprintf.c                      \
68
        vsscanf.c                       \
69
        wbuf.c                          \
70
        wsetup.c
71
 
72
LIBADD_OBJS = vfiprintf.$(oext) vfprintf.$(oext)
73
 
74
libstdio_la_LDFLAGS = -Xcompiler -nostdlib
75
 
76
if USE_LIBTOOL
77
noinst_LTLIBRARIES = libstdio.la
78
libstdio_la_SOURCES = $(LIB_SOURCES)
79
libstdio_la_LIBADD = $(LIBADD_OBJS)
80
LIB_COMPILE = $(LTCOMPILE)
81
noinst_DATA = objectlist.awk.in
82
else
83
noinst_LIBRARIES = lib.a
84
lib_a_SOURCES = $(LIB_SOURCES)
85
lib_a_LIBADD = $(LIBADD_OBJS)
86
LIB_COMPILE = $(COMPILE)
87
noinst_DATA =
88
endif # USE_LIBTOOL
89
 
90
include $(srcdir)/../../Makefile.shared
91
 
92
# This rule is needed so that libtool compiles vfiprintf before vfprintf. Otherwise
93
# libtool moves vfprintf.o and subsequently can't find it.
94
 
95
vfprintf.$(oext): vfprintf.c
96
        $(LIB_COMPILE) -c $(srcdir)/vfprintf.c
97
 
98
vfiprintf.$(oext): vfprintf.c
99
        $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
100
 
101
CHEWOUT_FILES = \
102
        clearerr.def            \
103
        fclose.def              \
104
        fdopen.def              \
105
        feof.def                \
106
        ferror.def              \
107
        fflush.def              \
108
        fgetc.def               \
109
        fgetpos.def             \
110
        fgets.def               \
111
        fileno.def              \
112
        fiprintf.def            \
113
        fopen.def               \
114
        fputc.def               \
115
        fputs.def               \
116
        fread.def               \
117
        freopen.def             \
118
        fseek.def               \
119
        fsetpos.def             \
120
        ftell.def               \
121
        fwrite.def              \
122
        getc.def                \
123
        getchar.def             \
124
        gets.def                \
125
        getw.def                \
126
        iprintf.def             \
127
        mktemp.def              \
128
        perror.def              \
129
        putc.def                \
130
        putchar.def             \
131
        puts.def                \
132
        putw.def                \
133
        remove.def              \
134
        rename.def              \
135
        rewind.def              \
136
        setbuf.def              \
137
        setvbuf.def             \
138
        siprintf.def            \
139
        sprintf.def             \
140
        sscanf.def              \
141
        tmpfile.def             \
142
        tmpnam.def              \
143
        vfprintf.def            \
144
        vfscanf.def
145
 
146
SUFFIXES = .def
147
 
148
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
149
 
150
.c.def:
151
        $(CHEW) < $< > $*.def 2> $*.ref
152
        touch stmp-def
153
 
154
TARGETDOC = ../tmp.texi
155
 
156
doc: $(CHEWOUT_FILES)
157
        cat $(srcdir)/stdio.tex >> $(TARGETDOC)
158
 
159
CLEANFILES = $(CHEWOUT_FILES) *.ref
160
 
161
fclose.$(oext): local.h
162
fdopen.$(oext): local.h
163
fflush.$(oext): local.h
164
findfp.$(oext): local.h
165
fopen.$(oext): local.h
166
fputs.$(oext): fvwrite.h
167
fread.$(oext): local.h
168
freopen.$(oext): local.h
169
fseek.$(oext): local.h
170
ftell.$(oext): local.h
171
fvwrite.$(oext): local.h fvwrite.h
172
fwalk.$(oext): local.h
173
fwrite.$(oext): local.h fvwrite.h
174
makebuf.$(oext): local.h
175
puts.$(oext): fvwrite.h
176
refill.$(oext): local.h
177
scanf.$(oext): local.h
178
setbuf.$(oext): local.h
179
setvbuf.$(oext): local.h
180
siprintf.$(oext): local.h
181
sprintf.$(oext): local.h
182
sscanf.$(oext): local.h
183
stdio.$(oext): local.h
184
ungetc.$(oext): local.h
185
vfiprintf.$(oext): local.h
186
vfprintf.$(oext): local.h
187
vfscanf.$(oext): local.h floatio.h
188
vscanf.$(oext): local.h
189
vsscanf.$(oext): local.h
190
wbuf.$(oext): local.h fvwrite.h
191
wsetup.$(oext): local.h

powered by: WebSVN 2.1.0

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