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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [stdlib/] [Makefile.am] - Blame information for rev 56

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

Line No. Rev Author Line
1 56 joel
## 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
        __adjust.c      \
11
        __exp10.c       \
12
        __ten_mu.c      \
13
        abort.c         \
14
        abs.c           \
15
        assert.c        \
16
        atexit.c        \
17
        atof.c          \
18
        atoff.c         \
19
        atoi.c          \
20
        atol.c          \
21
        bsearch.c       \
22
        calloc.c        \
23
        div.c           \
24
        dtoa.c          \
25
        dtoastub.c      \
26
        ecvtbuf.c       \
27
        efgcvt.c        \
28
        environ.c       \
29
        envlock.c       \
30
        eprintf.c       \
31
        exit.c          \
32
        getenv.c        \
33
        getenv_r.c      \
34
        getopt.c        \
35
        labs.c          \
36
        ldiv.c          \
37
        malign.c        \
38
        malloc.c        \
39
        mblen.c         \
40
        mblen_r.c       \
41
        mbstowcs.c      \
42
        mbstowcs_r.c    \
43
        mbtowc.c        \
44
        mbtowc_r.c      \
45
        mlock.c         \
46
        mprec.c         \
47
        msize.c         \
48
        mstats.c        \
49
        mtrim.c         \
50
        putenv.c        \
51
        qsort.c         \
52
        rand.c          \
53
        rand_r.c        \
54
        realloc.c       \
55
        setenv.c        \
56
        setenv_r.c      \
57
        strdup.c        \
58
        strtod.c        \
59
        strtol.c        \
60
        strtoul.c       \
61
        system.c        \
62
        valloc.c        \
63
        wcstombs.c      \
64
        wcstombs_r.c    \
65
        wctomb.c        \
66
        wctomb_r.c
67
 
68
lib_a_LIBADD = mallocr.o freer.o reallocr.o callocr.o cfreer.o malignr.o \
69
        vallocr.o pvallocr.o mallinfor.o mallstatsr.o msizer.o malloptr.o
70
 
71
MALLOC_COMPILE = $(COMPILE) -DINTERNAL_NEWLIB
72
 
73
mallocr.o: mallocr.c
74
        $(MALLOC_COMPILE) -DDEFINE_MALLOC -c $(srcdir)/mallocr.c -o $@
75
 
76
freer.o: mallocr.c
77
        $(MALLOC_COMPILE) -DDEFINE_FREE -c $(srcdir)/mallocr.c -o $@
78
 
79
reallocr.o: mallocr.c
80
        $(MALLOC_COMPILE) -DDEFINE_REALLOC -c $(srcdir)/mallocr.c -o $@
81
 
82
callocr.o: mallocr.c
83
        $(MALLOC_COMPILE) -DDEFINE_CALLOC -c $(srcdir)/mallocr.c -o $@
84
 
85
cfreer.o: mallocr.c
86
        $(MALLOC_COMPILE) -DDEFINE_CFREE -c $(srcdir)/mallocr.c -o $@
87
 
88
malignr.o: mallocr.c
89
        $(MALLOC_COMPILE) -DDEFINE_MEMALIGN -c $(srcdir)/mallocr.c -o $@
90
 
91
vallocr.o: mallocr.c
92
        $(MALLOC_COMPILE) -DDEFINE_VALLOC -c $(srcdir)/mallocr.c -o $@
93
 
94
pvallocr.o: mallocr.c
95
        $(MALLOC_COMPILE) -DDEFINE_PVALLOC -c $(srcdir)/mallocr.c -o $@
96
 
97
mallinfor.o: mallocr.c
98
        $(MALLOC_COMPILE) -DDEFINE_MALLINFO -c $(srcdir)/mallocr.c -o $@
99
 
100
mallstatsr.o: mallocr.c
101
        $(MALLOC_COMPILE) -DDEFINE_MALLOC_STATS -c $(srcdir)/mallocr.c -o $@
102
 
103
msizer.o: mallocr.c
104
        $(MALLOC_COMPILE) -DDEFINE_MALLOC_USABLE_SIZE -c $(srcdir)/mallocr.c -o $@
105
 
106
malloptr.o: mallocr.c
107
        $(MALLOC_COMPILE) -DDEFINE_MALLOPT -c $(srcdir)/mallocr.c -o $@
108
 
109
CHEWOUT_FILES= \
110
        abort.def       \
111
        abs.def         \
112
        assert.def      \
113
        atexit.def      \
114
        atof.def        \
115
        ecvtbuf.def     \
116
        atoi.def        \
117
        bsearch.def     \
118
        calloc.def      \
119
        div.def         \
120
        efgcvt.def      \
121
        envlock.def     \
122
        exit.def        \
123
        getenv.def      \
124
        labs.def        \
125
        ldiv.def        \
126
        malloc.def      \
127
        mallocr.def     \
128
        mblen.def       \
129
        mbstowcs.def    \
130
        mbtowc.def      \
131
        mlock.def       \
132
        mstats.def      \
133
        qsort.def       \
134
        rand.def        \
135
        strtod.def      \
136
        strtol.def      \
137
        strtoul.def     \
138
        system.def      \
139
        wcstombs.def    \
140
        wctomb.def
141
 
142
SUFFIXES = .def
143
 
144
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
145
 
146
.c.def:
147
        $(CHEW) < $< > $*.def 2> $*.ref
148
        touch stmp-def
149
 
150
TARGETDOC = ../tmp.texi
151
 
152
doc: $(CHEWOUT_FILES)
153
        cat $(srcdir)/stdlib.tex >> $(TARGETDOC)
154
 
155
CLEANFILES = $(CHEWOUT_FILES) *.ref
156
 
157
dtoa.o: dtoa.c mprec.h
158
ecvtbuf.o: ecvtbuf.c mprec.h
159
mbtowc_r.o: mbtowc_r.c mbctype.h
160
        $(COMPILE) -c -fshort-enums $(srcdir)/mbtowc_r.c -o $@
161
 
162
mprec.o: mprec.c mprec.h
163
strtod.o: strtod.c mprec.h
164
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.