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