1 |
56 |
joel |
## Process this file with automake to generate Makefile.in
|
2 |
|
|
|
3 |
|
|
AUTOMAKE_OPTIONS = cygnus
|
4 |
|
|
|
5 |
|
|
INCLUDES = -I$(srcdir)/../common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
6 |
|
|
|
7 |
|
|
noinst_LIBRARIES = lib.a
|
8 |
|
|
|
9 |
|
|
src = k_standard.c k_rem_pio2.c \
|
10 |
|
|
k_cos.c k_sin.c k_tan.c \
|
11 |
|
|
e_acos.c e_acosh.c e_asin.c e_atan2.c \
|
12 |
|
|
e_atanh.c e_cosh.c e_exp.c e_fmod.c \
|
13 |
|
|
er_gamma.c e_hypot.c e_j0.c \
|
14 |
|
|
e_j1.c e_jn.c er_lgamma.c \
|
15 |
|
|
e_log.c e_log10.c e_pow.c e_rem_pio2.c e_remainder.c \
|
16 |
|
|
e_scalb.c e_sinh.c e_sqrt.c \
|
17 |
|
|
w_acos.c w_acosh.c w_asin.c w_atan2.c \
|
18 |
|
|
w_atanh.c w_cosh.c w_exp.c w_fmod.c \
|
19 |
|
|
w_gamma.c wr_gamma.c w_hypot.c w_j0.c \
|
20 |
|
|
w_j1.c w_jn.c w_lgamma.c wr_lgamma.c \
|
21 |
|
|
w_log.c w_log10.c w_pow.c w_remainder.c \
|
22 |
|
|
w_scalb.c w_sinh.c w_sqrt.c \
|
23 |
|
|
w_cabs.c w_drem.c \
|
24 |
|
|
s_asinh.c s_atan.c s_ceil.c \
|
25 |
|
|
s_cos.c s_erf.c s_fabs.c s_floor.c \
|
26 |
|
|
s_frexp.c s_isnan.c s_ldexp.c \
|
27 |
|
|
s_signif.c s_sin.c \
|
28 |
|
|
s_tan.c s_tanh.c \
|
29 |
|
|
s_isinf.c s_infconst.c
|
30 |
|
|
|
31 |
|
|
fsrc = kf_rem_pio2.c \
|
32 |
|
|
kf_cos.c kf_sin.c kf_tan.c \
|
33 |
|
|
ef_acos.c ef_acosh.c ef_asin.c ef_atan2.c \
|
34 |
|
|
ef_atanh.c ef_cosh.c ef_exp.c ef_fmod.c \
|
35 |
|
|
erf_gamma.c ef_hypot.c ef_j0.c \
|
36 |
|
|
ef_j1.c ef_jn.c erf_lgamma.c \
|
37 |
|
|
ef_log.c ef_log10.c ef_pow.c ef_rem_pio2.c ef_remainder.c \
|
38 |
|
|
ef_scalb.c ef_sinh.c ef_sqrt.c \
|
39 |
|
|
wf_acos.c wf_acosh.c wf_asin.c wf_atan2.c \
|
40 |
|
|
wf_atanh.c wf_cosh.c wf_exp.c wf_fmod.c \
|
41 |
|
|
wf_gamma.c wrf_gamma.c wf_hypot.c wf_j0.c \
|
42 |
|
|
wf_j1.c wf_jn.c wf_lgamma.c wrf_lgamma.c \
|
43 |
|
|
wf_log.c wf_log10.c wf_pow.c wf_remainder.c \
|
44 |
|
|
wf_scalb.c wf_sinh.c wf_sqrt.c \
|
45 |
|
|
wf_cabs.c wf_drem.c \
|
46 |
|
|
sf_asinh.c sf_atan.c sf_ceil.c \
|
47 |
|
|
sf_cos.c sf_erf.c sf_fabs.c sf_floor.c \
|
48 |
|
|
sf_frexp.c sf_isnan.c sf_ldexp.c \
|
49 |
|
|
sf_signif.c sf_sin.c \
|
50 |
|
|
sf_tan.c sf_tanh.c \
|
51 |
|
|
sf_isinf.c
|
52 |
|
|
|
53 |
|
|
lib_a_SOURCES = $(src) $(fsrc)
|
54 |
|
|
|
55 |
|
|
chobj = wacos.def wacosh.def wasin.def sasinh.def \
|
56 |
|
|
satan.def watan2.def watanh.def wj0.def \
|
57 |
|
|
wcosh.def serf.def wexp.def \
|
58 |
|
|
sfabs.def sfloor.def wfmod.def sfrexp.def \
|
59 |
|
|
wgamma.def whypot.def sldexp.def wlog.def \
|
60 |
|
|
wlog10.def \
|
61 |
|
|
wpow.def wremainder.def ssin.def wsinh.def \
|
62 |
|
|
wsqrt.def stan.def stanh.def \
|
63 |
|
|
sisnan.def
|
64 |
|
|
|
65 |
|
|
SUFFIXES = .def
|
66 |
|
|
|
67 |
|
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
68 |
|
|
|
69 |
|
|
.c.def:
|
70 |
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
71 |
|
|
touch stmp-def
|
72 |
|
|
|
73 |
|
|
TARGETDOC = ../tmp.texi
|
74 |
|
|
|
75 |
|
|
doc: $(chobj)
|
76 |
|
|
cat $(srcdir)/math.tex >> $(TARGETDOC)
|
77 |
|
|
|
78 |
|
|
CLEANFILES = $(chobj) *.ref
|
79 |
|
|
|
80 |
|
|
# Texinfo does not appear to support underscores in file names, so we
|
81 |
|
|
# name the .def files without underscores.
|
82 |
|
|
|
83 |
|
|
wacos.def: w_acos.c
|
84 |
|
|
$(CHEW) < $(srcdir)/w_acos.c >$@ 2>/dev/null
|
85 |
|
|
touch stmp-def
|
86 |
|
|
wacosh.def: w_acosh.c
|
87 |
|
|
$(CHEW) < $(srcdir)/w_acosh.c >$@ 2>/dev/null
|
88 |
|
|
touch stmp-def
|
89 |
|
|
wasin.def: w_asin.c
|
90 |
|
|
$(CHEW) < $(srcdir)/w_asin.c >$@ 2>/dev/null
|
91 |
|
|
touch stmp-def
|
92 |
|
|
sasinh.def: s_asinh.c
|
93 |
|
|
$(CHEW) < $(srcdir)/s_asinh.c >$@ 2>/dev/null
|
94 |
|
|
touch stmp-def
|
95 |
|
|
satan.def: s_atan.c
|
96 |
|
|
$(CHEW) < $(srcdir)/s_atan.c >$@ 2>/dev/null
|
97 |
|
|
touch stmp-def
|
98 |
|
|
watan2.def: w_atan2.c
|
99 |
|
|
$(CHEW) < $(srcdir)/w_atan2.c >$@ 2>/dev/null
|
100 |
|
|
touch stmp-def
|
101 |
|
|
watanh.def: w_atanh.c
|
102 |
|
|
$(CHEW) < $(srcdir)/w_atanh.c >$@ 2>/dev/null
|
103 |
|
|
touch stmp-def
|
104 |
|
|
wj0.def: w_j0.c
|
105 |
|
|
$(CHEW) < $(srcdir)/w_j0.c >$@ 2>/dev/null
|
106 |
|
|
touch stmp-def
|
107 |
|
|
scopysign.def: s_copysign.c
|
108 |
|
|
$(CHEW) < $(srcdir)/../common/s_copysign.c >$@ 2>/dev/null
|
109 |
|
|
touch stmp-def
|
110 |
|
|
wcosh.def: w_cosh.c
|
111 |
|
|
$(CHEW) < $(srcdir)/w_cosh.c >$@ 2>/dev/null
|
112 |
|
|
touch stmp-def
|
113 |
|
|
serf.def: s_erf.c
|
114 |
|
|
$(CHEW) < $(srcdir)/s_erf.c >$@ 2>/dev/null
|
115 |
|
|
touch stmp-def
|
116 |
|
|
wexp.def: w_exp.c
|
117 |
|
|
$(CHEW) < $(srcdir)/w_exp.c >$@ 2>/dev/null
|
118 |
|
|
touch stmp-def
|
119 |
|
|
sfabs.def: s_fabs.c
|
120 |
|
|
$(CHEW) < $(srcdir)/s_fabs.c >$@ 2>/dev/null
|
121 |
|
|
touch stmp-def
|
122 |
|
|
sfloor.def: s_floor.c
|
123 |
|
|
$(CHEW) < $(srcdir)/s_floor.c >$@ 2>/dev/null
|
124 |
|
|
touch stmp-def
|
125 |
|
|
wfmod.def: w_fmod.c
|
126 |
|
|
$(CHEW) < $(srcdir)/w_fmod.c >$@ 2>/dev/null
|
127 |
|
|
touch stmp-def
|
128 |
|
|
sfrexp.def: s_frexp.c
|
129 |
|
|
$(CHEW) < $(srcdir)/s_frexp.c >$@ 2>/dev/null
|
130 |
|
|
touch stmp-def
|
131 |
|
|
wgamma.def: w_gamma.c
|
132 |
|
|
$(CHEW) < $(srcdir)/w_gamma.c >$@ 2>/dev/null
|
133 |
|
|
touch stmp-def
|
134 |
|
|
whypot.def: w_hypot.c
|
135 |
|
|
$(CHEW) < $(srcdir)/w_hypot.c >$@ 2>/dev/null
|
136 |
|
|
touch stmp-def
|
137 |
|
|
sldexp.def: s_ldexp.c
|
138 |
|
|
$(CHEW) < $(srcdir)/s_ldexp.c >$@ 2>/dev/null
|
139 |
|
|
touch stmp-def
|
140 |
|
|
wlog.def: w_log.c
|
141 |
|
|
$(CHEW) < $(srcdir)/w_log.c >$@ 2>/dev/null
|
142 |
|
|
touch stmp-def
|
143 |
|
|
wlog10.def: w_log10.c
|
144 |
|
|
$(CHEW) < $(srcdir)/w_log10.c >$@ 2>/dev/null
|
145 |
|
|
touch stmp-def
|
146 |
|
|
wpow.def: w_pow.c
|
147 |
|
|
$(CHEW) < $(srcdir)/w_pow.c >$@ 2>/dev/null
|
148 |
|
|
touch stmp-def
|
149 |
|
|
wremainder.def: w_remainder.c
|
150 |
|
|
$(CHEW) < $(srcdir)/w_remainder.c >$@ 2>/dev/null
|
151 |
|
|
touch stmp-def
|
152 |
|
|
ssin.def: s_sin.c
|
153 |
|
|
$(CHEW) < $(srcdir)/s_sin.c >$@ 2>/dev/null
|
154 |
|
|
touch stmp-def
|
155 |
|
|
wsinh.def: w_sinh.c
|
156 |
|
|
$(CHEW) < $(srcdir)/w_sinh.c >$@ 2>/dev/null
|
157 |
|
|
touch stmp-def
|
158 |
|
|
wsqrt.def: w_sqrt.c
|
159 |
|
|
$(CHEW) < $(srcdir)/w_sqrt.c >$@ 2>/dev/null
|
160 |
|
|
touch stmp-def
|
161 |
|
|
stan.def: s_tan.c
|
162 |
|
|
$(CHEW) < $(srcdir)/s_tan.c >$@ 2>/dev/null
|
163 |
|
|
touch stmp-def
|
164 |
|
|
stanh.def: s_tanh.c
|
165 |
|
|
$(CHEW) < $(srcdir)/s_tanh.c >$@ 2>/dev/null
|
166 |
|
|
touch stmp-def
|
167 |
|
|
sisnan.def: s_isnan.c
|
168 |
|
|
$(CHEW) < $(srcdir)/s_isnan.c >$@ 2>/dev/null
|
169 |
|
|
touch stmp-def
|
170 |
|
|
|
171 |
|
|
# A partial dependency list.
|
172 |
|
|
|
173 |
|
|
$(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h $(srcdir)/../common/fdlibm.h
|