fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libm / mathfp / Makefile.am
blob92688c43d63be982c43533e4ff72810097bbe490
1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = cygnus
5 INCLUDES = -I$(srcdir)/../common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
7 src =   s_acos.c s_frexp.c s_mathcnst.c \
8         s_cos.c s_sinh.c \
9         s_asin.c\
10         s_asine.c s_cosh.c s_ispos.c s_numtest.c s_sqrt.c \
11         s_exp.c s_ldexp.c s_pow.c s_tan.c \
12         s_atan.c \
13         s_atan2.c s_fabs.c s_log.c s_tanh.c \
14         s_log10.c s_sin.c \
15         s_floor.c s_sine.c \
16         s_sincos.c \
17         s_atangent.c s_logarithm.c \
18         s_sineh.c \
19         s_ceil.c s_isnan.c s_isinf.c \
20         e_acosh.c e_atanh.c e_remainder.c \
21         er_gamma.c er_lgamma.c \
22         s_erf.c e_j0.c e_j1.c w_jn.c e_hypot.c \
23         w_cabs.c w_drem.c s_asinh.c s_fmod.c \
24         e_scalb.c s_infconst.c s_signif.c \
25         s_exp2.c s_tgamma.c
27 fsrc =  sf_ceil.c \
28         sf_acos.c sf_frexp.c \
29         sf_cos.c sf_sinh.c \
30         sf_asine.c sf_cosh.c sf_ispos.c sf_numtest.c sf_sqrt.c \
31         sf_asin.c \
32         sf_exp.c sf_ldexp.c sf_pow.c sf_tan.c \
33         sf_atan2.c sf_fabs.c sf_tanh.c \
34         sf_atan.c sf_log10.c sf_sin.c\
35         sf_floor.c sf_sine.c \
36         sf_sincos.c \
37         sf_atangent.c sf_logarithm.c sf_sineh.c \
38         sf_log.c sf_sineh.c \
39         sf_isnan.c sf_isinf.c \
40         ef_acosh.c ef_atanh.c ef_remainder.c \
41         erf_gamma.c erf_lgamma.c \
42         sf_erf.c ef_j0.c ef_j1.c wf_jn.c ef_hypot.c \
43         wf_cabs.c wf_drem.c sf_asinh.c sf_fmod.c \
44         ef_scalb.c sf_signif.c \
45         sf_exp2.c sf_tgamma.c
47 libmathfp_la_LDFLAGS = -Xcompiler -nostdlib
49 if USE_LIBTOOL
50 noinst_LTLIBRARIES = libmathfp.la
51 libmathfp_la_SOURCES = $(src) $(fsrc)
52 noinst_DATA = objectlist.awk.in
53 else
54 noinst_LIBRARIES = lib.a
55 lib_a_SOURCES = $(src) $(fsrc)
56 noinst_DATA =
57 endif # USE_LIBTOOL
59 include $(srcdir)/../../Makefile.shared
61 chobj = eacosh.def \
62         eatanh.def \
63         ehypot.def \
64         eremainder.def \
65         erlgamma.def \
66         sacos.def \
67         sasine.def \
68         sasinh.def \
69         satan.def \
70         satan2.def \
71         satangent.def \
72         scosh.def \
73         serf.def \
74         sexp.def \
75         sfabs.def \
76         sfloor.def \
77         sfmod.def \
78         sfrexp.def \
79         sisnan.def \
80         sldexp.def \
81         slog10.def \
82         slogarithm.def \
83         spow.def \
84         ssine.def \
85         ssineh.def \
86         ssqrt.def \
87         stan.def \
88         stanh.def \
89         wjn.def
91 SUFFIXES = .def
93 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
95 .c.def:
96         $(CHEW) < $< > $*.def 2> $*.ref
97         touch stmp-def
99 TARGETDOC = ../tmp.texi
101 doc: $(chobj)
102         cat $(srcdir)/mathfp.tex >> $(TARGETDOC)
104 CLEANFILES = $(chobj) *.ref
106 # Texinfo does not appear to support underscores in file names, so we
107 # name the .def files without underscores.
109 eacosh.def: e_acosh.c
110         $(CHEW) < $(srcdir)/e_acosh.c >$@ 2>/dev/null
111         touch stmp-def
112 eatanh.def: e_atanh.c
113         $(CHEW) < $(srcdir)/e_atanh.c >$@ 2>/dev/null
114         touch stmp-def
115 ehypot.def: e_hypot.c
116         $(CHEW) < $(srcdir)/e_hypot.c >$@ 2>/dev/null
117         touch stmp-def
118 eremainder.def: e_remainder.c
119         $(CHEW) < $(srcdir)/e_remainder.c >$@ 2>/dev/null
120         touch stmp-def
121 erlgamma.def: er_lgamma.c
122         $(CHEW) < $(srcdir)/er_lgamma.c >$@ 2>/dev/null
123         touch stmp-def
124 sacos.def: s_acos.c
125         $(CHEW) < $(srcdir)/s_acos.c >$@ 2>/dev/null
126         touch stmp-def
127 sasine.def: s_asine.c
128         $(CHEW) < $(srcdir)/s_asine.c >$@ 2>/dev/null
129         touch stmp-def
130 sasinh.def: s_asinh.c
131         $(CHEW) < $(srcdir)/s_asinh.c >$@ 2>/dev/null
132         touch stmp-def
133 satan.def: s_atan.c
134         $(CHEW) < $(srcdir)/s_atan.c >$@ 2>/dev/null
135         touch stmp-def
136 satan2.def: s_atan2.c
137         $(CHEW) < $(srcdir)/s_atan2.c >$@ 2>/dev/null
138         touch stmp-def
139 satangent.def: s_atangent.c
140         $(CHEW) < $(srcdir)/s_atangent.c >$@ 2>/dev/null
141         touch stmp-def
142 scosh.def: s_cosh.c
143         $(CHEW) < $(srcdir)/s_cosh.c >$@ 2>/dev/null
144         touch stmp-def
145 serf.def: s_erf.c
146         $(CHEW) < $(srcdir)/s_erf.c >$@ 2>/dev/null
147         touch stmp-def
148 sexp.def: s_exp.c
149         $(CHEW) < $(srcdir)/s_exp.c >$@ 2>/dev/null
150         touch stmp-def
151 sfabs.def: s_fabs.c
152         $(CHEW) < $(srcdir)/s_fabs.c >$@ 2>/dev/null
153         touch stmp-def
154 sfloor.def: s_floor.c
155         $(CHEW) < $(srcdir)/s_floor.c >$@ 2>/dev/null
156         touch stmp-def
157 sfmod.def: s_fmod.c
158         $(CHEW) < $(srcdir)/s_fmod.c >$@ 2>/dev/null
159         touch stmp-def
160 sfrexp.def: s_frexp.c
161         $(CHEW) < $(srcdir)/s_frexp.c >$@ 2>/dev/null
162         touch stmp-def
163 sisnan.def: s_isnan.c
164         $(CHEW) < $(srcdir)/s_isnan.c >$@ 2>/dev/null
165         touch stmp-def
166 sldexp.def: s_ldexp.c
167         $(CHEW) < $(srcdir)/s_ldexp.c >$@ 2>/dev/null
168         touch stmp-def
169 slog10.def: s_log10.c
170         $(CHEW) < $(srcdir)/s_log10.c >$@ 2>/dev/null
171         touch stmp-def
172 slogarithm.def: s_logarithm.c
173         $(CHEW) < $(srcdir)/s_logarithm.c >$@ 2>/dev/null
174         touch stmp-def
175 spow.def: s_pow.c
176         $(CHEW) < $(srcdir)/s_pow.c >$@ 2>/dev/null
177         touch stmp-def
178 ssine.def: s_sine.c
179         $(CHEW) < $(srcdir)/s_sine.c >$@ 2>/dev/null
180         touch stmp-def
181 ssineh.def: s_sineh.c
182         $(CHEW) < $(srcdir)/s_sineh.c >$@ 2>/dev/null
183         touch stmp-def
184 ssqrt.def: s_sqrt.c
185         $(CHEW) < $(srcdir)/s_sqrt.c >$@ 2>/dev/null
186         touch stmp-def
187 stan.def: s_tan.c
188         $(CHEW) < $(srcdir)/s_tan.c >$@ 2>/dev/null
189         touch stmp-def
190 stanh.def: s_tanh.c
191         $(CHEW) < $(srcdir)/s_tanh.c >$@ 2>/dev/null
192         touch stmp-def
193 wjn.def: w_jn.c
194         $(CHEW) < $(srcdir)/w_jn.c >$@ 2>/dev/null
195         touch stmp-def
197 # A partial dependency list.
199 $(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h $(srcdir)/../common/fdlibm.h