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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [stdlib/] [Makefile.in] - Blame information for rev 39

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

Line No. Rev Author Line
1 39 lampret
# Makefile for newlib/libc/stdlib.
2
# Copyright (c) 1994 Cygnus Support.
3
# All rights reserved.
4
#
5
# Redistribution and use in source and binary forms are permitted
6
# provided that the above copyright notice and this paragraph are
7
# duplicated in all such forms and that any documentation,
8
# advertising materials, and other materials related to such
9
# distribution and use acknowledge that the software was developed
10
# at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
11
# endorse or promote products derived from this software without
12
# specific prior written permission.
13
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16
 
17
srcdir = .
18
 
19
SHELL = /bin/sh
20
 
21
TOP = ../..
22
SRCTOP = ../..
23
TARGETDOC = ../targetdep.tex
24
 
25
#### Host, target, and site specific Makefile fragments come in here.
26
###
27
 
28
OFILES= __adjust.o      \
29
        __exp10.o       \
30
        __ten_mu.o      \
31
        abort.o         \
32
        abs.o           \
33
        assert.o        \
34
        atexit.o        \
35
        atof.o          \
36
        atoff.o         \
37
        atoi.o          \
38
        atol.o          \
39
        bsearch.o       \
40
        calloc.o        \
41
        callocr.o       \
42
        cfreer.o        \
43
        div.o           \
44
        dtoa.o          \
45
        dtoastub.o      \
46
        ecvtbuf.o       \
47
        efgcvt.o        \
48
        environ.o       \
49
        eprintf.o       \
50
        exit.o          \
51
        freer.o         \
52
        getenv.o        \
53
        getopt.o        \
54
        labs.o          \
55
        ldiv.o          \
56
        malign.o        \
57
        malignr.o       \
58
        mallinfor.o     \
59
        malloc.o        \
60
        mallocr.o       \
61
        malloptr.o      \
62
        mallstatsr.o    \
63
        mblen.o         \
64
        mbstowcs.o      \
65
        mbstowcs_r.o    \
66
        mbtowc.o        \
67
        mbtowc_r.o      \
68
        mlock.o         \
69
        mprec.o         \
70
        msize.o         \
71
        msizer.o        \
72
        mstats.o        \
73
        mtrim.o         \
74
        putenv.o        \
75
        pvallocr.o      \
76
        qsort.o         \
77
        rand.o          \
78
        rand_r.o        \
79
        realloc.o       \
80
        reallocr.o      \
81
        setenv.o        \
82
        strdup.o        \
83
        strtod.o        \
84
        strtol.o        \
85
        strtoul.o       \
86
        system.o        \
87
        valloc.o        \
88
        vallocr.o       \
89
        wcstombs.o      \
90
        wcstombs_r.o    \
91
        wctomb.o        \
92
        wctomb_r.o
93
 
94
 
95
CHEWOUT_FILES=\
96
        abort.def       \
97
        abs.def         \
98
        assert.def      \
99
        atexit.def      \
100
        atof.def        \
101
        ecvtbuf.def     \
102
        atoi.def        \
103
        bsearch.def     \
104
        calloc.def      \
105
        div.def         \
106
        efgcvt.def      \
107
        exit.def        \
108
        getenv.def      \
109
        labs.def        \
110
        ldiv.def        \
111
        malloc.def      \
112
        mallocr.def     \
113
        mbtowc.def      \
114
        mlock.def       \
115
        mstats.def      \
116
        qsort.def       \
117
        rand.def        \
118
        strtod.def      \
119
        strtol.def      \
120
        strtoul.def     \
121
        system.def      \
122
        wctomb.def
123
 
124
all: lib.a
125
lib.a: $(OFILES)
126
        rm -f $@
127
        $(AR) $(AR_FLAGS) $@ $(OFILES)
128
 
129
MALLOC_CFLAGS = -DINTERNAL_NEWLIB $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES)
130
 
131
mallocr.o: mallocr.c
132
        $(CC) -DDEFINE_MALLOC $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
133
 
134
freer.o: mallocr.c
135
        $(CC) -DDEFINE_FREE $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
136
 
137
reallocr.o: mallocr.c
138
        $(CC) -DDEFINE_REALLOC $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
139
 
140
callocr.o: mallocr.c
141
        $(CC) -DDEFINE_CALLOC $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
142
 
143
cfreer.o: mallocr.c
144
        $(CC) -DDEFINE_CFREE $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
145
 
146
malignr.o: mallocr.c
147
        $(CC) -DDEFINE_MEMALIGN $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
148
 
149
vallocr.o: mallocr.c
150
        $(CC) -DDEFINE_VALLOC $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
151
 
152
pvallocr.o: mallocr.c
153
        $(CC) -DDEFINE_PVALLOC $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
154
 
155
mallinfor.o: mallocr.c
156
        $(CC) -DDEFINE_MALLINFO $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
157
 
158
mallstatsr.o: mallocr.c
159
        $(CC) -DDEFINE_MALLOC_STATS $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
160
 
161
msizer.o: mallocr.c
162
        $(CC) -DDEFINE_MALLOC_USABLE_SIZE $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
163
 
164
malloptr.o: mallocr.c
165
        $(CC) -DDEFINE_MALLOPT $(MALLOC_CFLAGS) -c $(srcdir)/mallocr.c -o $@
166
 
167
doc: $(CHEWOUT_FILES)
168
        cat $(srcdir)/stdlib.tex >> $(TARGETDOC)
169
 
170
clean mostlyclean:
171
        $(RM) $(OFILES) $(CHEWOUT_FILES) *~ *.ref *.def *.o.* lib.a
172
 
173
distclean maintainer-clean realclean: clean
174
        rm -f Makefile config.status
175
 
176
Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
177
        $(SHELL) config.status
178
 
179
# to support SunOS VPATH
180
__adjust.o: __adjust.c
181
__exp10.o: __exp10.c
182
__ten_mu.o: __ten_mu.c
183
abort.o: abort.c
184
abs.o: abs.c
185
assert.o: assert.c
186
atexit.o: atexit.c
187
atof.o: atof.c
188
atoff.o: atoff.c
189
atoi.o: atoi.c
190
atol.o: atol.c
191
bsearch.o: bsearch.c
192
calloc.o: calloc.c
193
div.o: div.c
194
dtoa.o: dtoa.c mprec.h
195
dtoastub.o: dtoastub.c
196
ecvtbuf.o: ecvtbuf.c mprec.h
197
efgcvt.o: efgcvt.c
198
environ.o: environ.c
199
eprintf.o: eprintf.c
200
exit.o: exit.c
201
getenv.o: getenv.c
202
getopt.o: getopt.c
203
labs.o: labs.c
204
ldiv.o: ldiv.c
205
malign.o: malign.c
206
malloc.o: malloc.c
207
mblen.o: mblen.c
208
mbstowcs.o: mbstowcs.c
209
mbstowcs_r.o: mbstowcs_r.c
210
mbtowc.o: mbtowc.c
211
mbtowc_r.o: mbtowc_r.c mbctype.h
212
mlock.o: mlock.c
213
mprec.o: mprec.c mprec.h
214
msize.o: msize.c
215
mstats.o: mstats.c
216
mtrim.o: mtrim.c
217
putenv.o: putenv.c
218
qsort.o: qsort.c
219
rand.o: rand.c
220
rand_r.o : rand_r.c
221
realloc.o: realloc.c
222
setenv.o: setenv.c
223
strdup.o: strdup.c
224
strtod.o: strtod.c mprec.h
225
strtol.o: strtol.c
226
strtoul.o: strtoul.c
227
system.o: system.c
228
valloc.o: valloc.c
229
wcstombs.o: wcstombs.c
230
wcstombs_r.o: wcstombs_r.c
231
wctomb.o: wctomb.c
232
wctomb_r.o: wctomb_r.c mbctype.h

powered by: WebSVN 2.1.0

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