1 # $DragonFly: src/lib/libm/src/Makefile.inc,v 1.3 2007/06/17 06:26:18 pavalos Exp $
5 LIBCDIR=${.CURDIR}/../libc
6 CFLAGS+=-I${LIBCDIR}/include -I${LIBCDIR}/${MACHINE_ARCH}
8 # This files are always used.
9 SRCS+= k_cos.c k_cosf.c k_rem_pio2.c k_rem_pio2f.c k_sin.c k_sinf.c \
10 k_tan.c k_tanf.c llrint.c llrintf.c llround.c \
11 llroundf.c lrint.c lrintf.c lround.c lroundf.c s_trunc.c s_truncf.c \
12 w_drem.c w_dremf.c w_gamma.c w_gamma_r.c w_gammaf.c w_gammaf_r.c \
13 w_lgamma.c w_lgammaf.c
15 # This files are only used if the MI Makefile didn't already provide
16 # them as assembler version.
19 e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
20 e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c \
21 e_exp.c e_expf.c e_fmod.c e_fmodf.c e_hypot.c e_hypotf.c e_j0.c \
22 e_j0f.c e_j1.c e_j1f.c e_jn.c e_jnf.c e_lgamma_r.c e_lgammaf_r.c \
23 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 \
24 e_rem_pio2f.c e_remainder.c e_remainderf.c e_scalb.c e_scalbf.c \
25 e_sinh.c e_sinhf.c e_sqrt.c e_sqrtf.c \
26 s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_cbrt.c s_cbrtf.c s_ceil.c \
27 s_ceilf.c s_copysign.c s_copysignf.c s_copysignl.c s_cos.c s_cosf.c s_erf.c \
28 s_erff.c s_expm1.c s_expm1f.c s_fabsf.c s_fdim.c s_finite.c \
29 s_finitef.c s_floor.c s_floorf.c s_fmax.c s_fmaxf.c s_fmaxl.c \
30 s_fmin.c s_fminf.c s_fminl.c s_frexpf.c s_frexpl.c s_ilogb.c \
31 s_ilogbf.c s_ldexpf.c s_log1p.c s_log1pf.c s_logb.c s_logbf.c \
32 s_modff.c s_nextafter.c s_nextafterf.c s_rint.c s_rintf.c \
33 s_round.c s_roundf.c s_scalbn.c s_scalbnf.c \
34 s_signgam.c s_significand.c s_significandf.c s_sin.c s_sinf.c \
35 s_tan.c s_tanf.c s_tanh.c s_tanhf.c
38 .if empty(SRCS:M${f:H:R})