Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / lib / libm / src / Makefile.inc
1 # $DragonFly: src/lib/libm/src/Makefile.inc,v 1.3 2007/06/17 06:26:18 pavalos Exp $
2
3 .PATH:  ${.CURDIR}/src
4
5 # This files are always used.
6 SRCS+=  k_cos.c k_cosf.c k_rem_pio2.c k_rem_pio2f.c k_sin.c k_sinf.c \
7         k_tan.c k_tanf.c llrint.c llrintf.c llround.c \
8         llroundf.c lrint.c lrintf.c lround.c lroundf.c s_trunc.c s_truncf.c w_cabs.c w_cabsf.c \
9         w_drem.c w_dremf.c w_gamma.c w_gamma_r.c w_gammaf.c w_gammaf_r.c \
10         w_lgamma.c w_lgammaf.c
11
12 # This files are only used if the MI Makefile didn't already provide
13 # them as assembler version.
14
15 MI_FUNCS+=      \
16         e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
17         e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c \
18         e_exp.c e_expf.c e_fmod.c e_fmodf.c e_hypot.c e_hypotf.c e_j0.c \
19         e_j0f.c e_j1.c e_j1f.c e_jn.c e_jnf.c e_lgamma_r.c e_lgammaf_r.c \
20         e_log.c e_log10.c e_log10f.c e_log2.c e_log2f.c e_logf.c e_pow.c e_powf.c e_rem_pio2.c \
21         e_rem_pio2f.c e_remainder.c e_remainderf.c e_scalb.c e_scalbf.c \
22         e_sinh.c e_sinhf.c e_sqrt.c e_sqrtf.c \
23         s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_cbrt.c s_cbrtf.c s_ceil.c \
24         s_ceilf.c s_copysign.c s_copysignf.c s_cos.c s_cosf.c s_erf.c \
25         s_erff.c s_expm1.c s_expm1f.c s_fabsf.c s_finite.c \
26         s_finitef.c s_floor.c s_floorf.c s_frexpf.c s_ilogb.c \
27         s_ilogbf.c s_ldexpf.c s_log1p.c s_log1pf.c s_logb.c s_logbf.c \
28         s_modff.c s_nextafter.c s_nextafterf.c s_rint.c s_rintf.c \
29         s_round.c s_roundf.c s_scalbn.c s_scalbnf.c \
30         s_signgam.c s_significand.c s_significandf.c s_sin.c s_sinf.c \
31         s_tan.c s_tanf.c s_tanh.c s_tanhf.c
32
33 .for f in ${MI_FUNCS}
34 .if empty(SRCS:M${f:H:R})
35 SRCS+=  $f
36 .endif
37 .endfor