xref: /relibc/openlibm/src/Make.files (revision 4f5112ea59cd2488b806c68b41e95dc31ebc8f0b)
1$(CUR_SRCS) = common.c \
2	e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
3	e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c e_exp.c \
4	e_expf.c e_fmod.c e_fmodf.c \
5	e_hypot.c e_hypotf.c e_j0.c e_j0f.c e_j1.c e_j1f.c \
6	e_jn.c e_jnf.c e_lgamma.c e_lgamma_r.c e_lgammaf.c e_lgammaf_r.c \
7	e_log.c e_log10.c e_log10f.c e_log2.c e_log2f.c e_logf.c \
8	e_pow.c e_powf.c e_remainder.c e_remainderf.c \
9	e_rem_pio2.c e_rem_pio2f.c \
10	e_sinh.c e_sinhf.c e_sqrt.c e_sqrtf.c \
11	k_cos.c k_exp.c k_expf.c k_rem_pio2.c k_sin.c k_tan.c \
12	k_cosf.c k_sinf.c k_tanf.c \
13	s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_carg.c s_cargf.c \
14	s_cbrt.c s_cbrtf.c s_ceil.c s_ceilf.c \
15	s_copysign.c s_copysignf.c s_cos.c s_cosf.c \
16	s_csqrt.c s_csqrtf.c s_erf.c s_erff.c \
17	s_exp2.c s_exp2f.c s_expm1.c s_expm1f.c s_fabs.c s_fabsf.c s_fdim.c \
18	s_floor.c s_floorf.c s_fma.c s_fmaf.c \
19	s_fmax.c s_fmaxf.c s_fmin.c \
20	s_fminf.c s_fpclassify.c \
21	s_frexp.c s_frexpf.c s_ilogb.c s_ilogbf.c \
22	s_isinf.c s_isfinite.c s_isnormal.c s_isnan.c \
23	s_llrint.c s_llrintf.c s_llround.c s_llroundf.c  \
24	s_log1p.c s_log1pf.c s_logb.c s_logbf.c s_lrint.c s_lrintf.c \
25	s_lround.c s_lroundf.c s_modf.c s_modff.c \
26	s_nearbyint.c s_nextafter.c s_nextafterf.c \
27	s_nexttowardf.c s_remquo.c s_remquof.c \
28	s_rint.c s_rintf.c s_round.c s_roundf.c \
29	s_scalbln.c s_scalbn.c s_scalbnf.c s_signbit.c \
30	s_signgam.c s_sin.c s_sincos.c \
31	s_sinf.c s_sincosf.c s_tan.c s_tanf.c s_tanh.c s_tanhf.c s_tgammaf.c \
32	s_trunc.c s_truncf.c s_cpow.c  s_cpowf.c \
33	w_cabs.c w_cabsf.c
34
35ifneq ($(OS), WINNT)
36$(CUR_SRCS) += s_nan.c
37endif
38
39# Add in long double functions for x86, x64 and aarch64
40ifneq ($(filter $(ARCH),i387 amd64 aarch64),)
41# C99 long double functions
42$(CUR_SRCS) +=	s_copysignl.c s_fabsl.c s_llrintl.c s_lrintl.c s_modfl.c
43
44# If long double != double use these; otherwise, we alias the double versions.
45$(CUR_SRCS) +=	e_acosl.c e_asinl.c e_atan2l.c e_fmodl.c \
46	s_fmaxl.c s_fminl.c s_ilogbl.c \
47	e_hypotl.c e_lgammal.c e_remainderl.c e_sqrtl.c \
48	s_atanl.c s_ceill.c s_cosl.c s_cprojl.c \
49	s_csqrtl.c s_floorl.c s_fmal.c \
50	s_frexpl.c s_logbl.c s_nexttoward.c \
51	s_remquol.c s_roundl.c s_lroundl.c s_llroundl.c \
52	s_cpowl.c s_cargl.c \
53	s_sinl.c s_sincosl.c s_tanl.c s_truncl.c w_cabsl.c \
54	s_nextafterl.c s_rintl.c s_scalbnl.c polevll.c \
55	s_casinl.c s_ctanl.c \
56	s_cimagl.c s_conjl.c s_creall.c s_cacoshl.c s_catanhl.c s_casinhl.c \
57	s_catanl.c s_csinl.c s_cacosl.c s_cexpl.c s_csinhl.c s_ccoshl.c \
58	s_clogl.c s_ctanhl.c s_ccosl.c s_cbrtl.c
59endif
60
61# C99 complex functions
62$(CUR_SRCS) +=	s_ccosh.c s_ccoshf.c s_cexp.c s_cexpf.c \
63	s_cimag.c s_cimagf.c \
64	s_conj.c s_conjf.c \
65	s_cproj.c s_cprojf.c s_creal.c s_crealf.c \
66	s_csinh.c s_csinhf.c s_ctanh.c s_ctanhf.c \
67        s_cacos.c s_cacosf.c \
68        s_cacosh.c s_cacoshf.c \
69        s_casin.c s_casinf.c s_casinh.c s_casinhf.c \
70        s_catan.c s_catanf.c s_catanh.c s_catanhf.c \
71        s_clog.c s_clogf.c
72