Makefile (168234fa67c38f898b784b3265dd77ace0b0a2f9) Makefile (dce5f3abed7181cc533ca5ed3de44517775e78dd)
1# @(#)Makefile 5.1beta 93/09/24
2# $FreeBSD$
3#
4# ====================================================
5# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6#
7# Developed at SunPro, a Sun Microsystems, Inc. business.
8# Permission to use, copy, modify, and distribute this

--- 112 unchanged lines hidden (view full) ---

121 s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c
122# Work around this warning from gcc:
123# lib/msun/ld80/e_powl.c:275:1: error: floating constant exceeds range of
124# 'long double' [-Werror=overflow]
125# if( y >= LDBL_MAX )
126# See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=130067
127.if ${COMPILER_TYPE} == "gcc"
128CFLAGS.e_powl.c+= -Wno-error=overflow
1# @(#)Makefile 5.1beta 93/09/24
2# $FreeBSD$
3#
4# ====================================================
5# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6#
7# Developed at SunPro, a Sun Microsystems, Inc. business.
8# Permission to use, copy, modify, and distribute this

--- 112 unchanged lines hidden (view full) ---

121 s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c
122# Work around this warning from gcc:
123# lib/msun/ld80/e_powl.c:275:1: error: floating constant exceeds range of
124# 'long double' [-Werror=overflow]
125# if( y >= LDBL_MAX )
126# See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=130067
127.if ${COMPILER_TYPE} == "gcc"
128CFLAGS.e_powl.c+= -Wno-error=overflow
129
130# IEEE-754 2008 and ISO/IEC TS 18661-4 half-cycle trignometric functions
131COMMON_SRCS+= s_cospi.c s_cospif.c s_cospil.c \
132 s_sinpi.c s_sinpif.c s_sinpil.c \
133 s_tanpi.c s_tanpif.c s_tanpil.c
134
129.endif
130.endif
131
132# C99 complex functions
133COMMON_SRCS+= catrig.c catrigf.c \
134 s_ccosh.c s_ccoshf.c s_cexp.c s_cexpf.c \
135 s_cimag.c s_cimagf.c s_cimagl.c \
136 s_conj.c s_conjf.c s_conjl.c \

--- 12 unchanged lines hidden (view full) ---

149.endif
150
151SRCS= ${COMMON_SRCS} ${ARCH_SRCS}
152
153INCS+= fenv.h math.h
154
155MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
156 ceil.3 cacos.3 ccos.3 ccosh.3 cexp.3 \
135.endif
136.endif
137
138# C99 complex functions
139COMMON_SRCS+= catrig.c catrigf.c \
140 s_ccosh.c s_ccoshf.c s_cexp.c s_cexpf.c \
141 s_cimag.c s_cimagf.c s_cimagl.c \
142 s_conj.c s_conjf.c s_conjl.c \

--- 12 unchanged lines hidden (view full) ---

155.endif
156
157SRCS= ${COMMON_SRCS} ${ARCH_SRCS}
158
159INCS+= fenv.h math.h
160
161MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
162 ceil.3 cacos.3 ccos.3 ccosh.3 cexp.3 \
157 cimag.3 clog.3 copysign.3 cos.3 cosh.3 cpow.3 csqrt.3 erf.3 \
163 cimag.3 clog.3 copysign.3 cos.3 cosh.3 cospi.3 \
164 cpow.3 csqrt.3 erf.3 \
158 exp.3 fabs.3 fdim.3 \
159 feclearexcept.3 feenableexcept.3 fegetenv.3 \
160 fegetround.3 fenv.3 floor.3 \
161 fma.3 fmax.3 fmod.3 hypot.3 ieee.3 ieee_test.3 ilogb.3 j0.3 \
162 lgamma.3 log.3 lrint.3 lround.3 math.3 nan.3 \
163 nextafter.3 remainder.3 rint.3 \
164 round.3 scalbn.3 signbit.3 sin.3 sincos.3 \
165 exp.3 fabs.3 fdim.3 \
166 feclearexcept.3 feenableexcept.3 fegetenv.3 \
167 fegetround.3 fenv.3 floor.3 \
168 fma.3 fmax.3 fmod.3 hypot.3 ieee.3 ieee_test.3 ilogb.3 j0.3 \
169 lgamma.3 log.3 lrint.3 lround.3 math.3 nan.3 \
170 nextafter.3 remainder.3 rint.3 \
171 round.3 scalbn.3 signbit.3 sin.3 sincos.3 \
165 sinh.3 sqrt.3 tan.3 tanh.3 trunc.3 \
172 sinh.3 sinpi.3 sqrt.3 tan.3 tanh.3 tanpi.3 trunc.3 \
166 complex.3
167
168MLINKS+=acos.3 acosf.3 acos.3 acosl.3
169MLINKS+=acosh.3 acoshf.3 acosh.3 acoshl.3
170MLINKS+=asin.3 asinf.3 asin.3 asinl.3
171MLINKS+=asinh.3 asinhf.3 asinh.3 asinhl.3
172MLINKS+=atan.3 atanf.3 atan.3 atanl.3
173MLINKS+=atanh.3 atanhf.3 atanh.3 atanhl.3

--- 13 unchanged lines hidden (view full) ---

187MLINKS+=cimag.3 cimagf.3 cimag.3 cimagl.3 \
188 cimag.3 conj.3 cimag.3 conjf.3 cimag.3 conjl.3 \
189 cimag.3 cproj.3 cimag.3 cprojf.3 cimag.3 cprojl.3 \
190 cimag.3 creal.3 cimag.3 crealf.3 cimag.3 creall.3
191MLINKS+=clog.3 clogf.3 clog.3 clogl.3
192MLINKS+=copysign.3 copysignf.3 copysign.3 copysignl.3
193MLINKS+=cos.3 cosf.3 cos.3 cosl.3
194MLINKS+=cosh.3 coshf.3 cosh.3 coshl.3
173 complex.3
174
175MLINKS+=acos.3 acosf.3 acos.3 acosl.3
176MLINKS+=acosh.3 acoshf.3 acosh.3 acoshl.3
177MLINKS+=asin.3 asinf.3 asin.3 asinl.3
178MLINKS+=asinh.3 asinhf.3 asinh.3 asinhl.3
179MLINKS+=atan.3 atanf.3 atan.3 atanl.3
180MLINKS+=atanh.3 atanhf.3 atanh.3 atanhl.3

--- 13 unchanged lines hidden (view full) ---

194MLINKS+=cimag.3 cimagf.3 cimag.3 cimagl.3 \
195 cimag.3 conj.3 cimag.3 conjf.3 cimag.3 conjl.3 \
196 cimag.3 cproj.3 cimag.3 cprojf.3 cimag.3 cprojl.3 \
197 cimag.3 creal.3 cimag.3 crealf.3 cimag.3 creall.3
198MLINKS+=clog.3 clogf.3 clog.3 clogl.3
199MLINKS+=copysign.3 copysignf.3 copysign.3 copysignl.3
200MLINKS+=cos.3 cosf.3 cos.3 cosl.3
201MLINKS+=cosh.3 coshf.3 cosh.3 coshl.3
202MLINKS+=cospi.3 cospif.3 cospi.3 cospil.3
195MLINKS+=cpow.3 cpowf.3 cpow.3 cpowl.3
196MLINKS+=csqrt.3 csqrtf.3 csqrt.3 csqrtl.3
197MLINKS+=erf.3 erfc.3 erf.3 erff.3 erf.3 erfcf.3 erf.3 erfl.3 erf.3 erfcl.3
198MLINKS+=exp.3 expm1.3 exp.3 expm1f.3 exp.3 expm1l.3 exp.3 pow.3 exp.3 powf.3 \
199 exp.3 powl.3 exp.3 exp2.3 exp.3 exp2f.3 exp.3 exp2l.3 exp.3 expf.3 \
200 exp.3 expl.3
201MLINKS+=fabs.3 fabsf.3 fabs.3 fabsl.3
202MLINKS+=fdim.3 fdimf.3 fdim.3 fdiml.3

--- 36 unchanged lines hidden (view full) ---

239MLINKS+=rint.3 rintf.3 rint.3 rintl.3 \
240 rint.3 nearbyint.3 rint.3 nearbyintf.3 rint.3 nearbyintl.3
241MLINKS+=round.3 roundf.3 round.3 roundl.3
242MLINKS+=scalbn.3 scalbln.3 scalbn.3 scalblnf.3 scalbn.3 scalblnl.3
243MLINKS+=scalbn.3 scalbnf.3 scalbn.3 scalbnl.3
244MLINKS+=sin.3 sinf.3 sin.3 sinl.3
245MLINKS+=sincos.3 sincosf.3 sin.3 sincosl.3
246MLINKS+=sinh.3 sinhf.3 sinh.3 sinhl.3
203MLINKS+=cpow.3 cpowf.3 cpow.3 cpowl.3
204MLINKS+=csqrt.3 csqrtf.3 csqrt.3 csqrtl.3
205MLINKS+=erf.3 erfc.3 erf.3 erff.3 erf.3 erfcf.3 erf.3 erfl.3 erf.3 erfcl.3
206MLINKS+=exp.3 expm1.3 exp.3 expm1f.3 exp.3 expm1l.3 exp.3 pow.3 exp.3 powf.3 \
207 exp.3 powl.3 exp.3 exp2.3 exp.3 exp2f.3 exp.3 exp2l.3 exp.3 expf.3 \
208 exp.3 expl.3
209MLINKS+=fabs.3 fabsf.3 fabs.3 fabsl.3
210MLINKS+=fdim.3 fdimf.3 fdim.3 fdiml.3

--- 36 unchanged lines hidden (view full) ---

247MLINKS+=rint.3 rintf.3 rint.3 rintl.3 \
248 rint.3 nearbyint.3 rint.3 nearbyintf.3 rint.3 nearbyintl.3
249MLINKS+=round.3 roundf.3 round.3 roundl.3
250MLINKS+=scalbn.3 scalbln.3 scalbn.3 scalblnf.3 scalbn.3 scalblnl.3
251MLINKS+=scalbn.3 scalbnf.3 scalbn.3 scalbnl.3
252MLINKS+=sin.3 sinf.3 sin.3 sinl.3
253MLINKS+=sincos.3 sincosf.3 sin.3 sincosl.3
254MLINKS+=sinh.3 sinhf.3 sinh.3 sinhl.3
255MLINKS+=sinpi.3 sinpif.3 sinpi.3 sinpil.3
247MLINKS+=sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3 sqrt.3 sqrtf.3 \
248 sqrt.3 sqrtl.3
249MLINKS+=tan.3 tanf.3 tan.3 tanl.3
250MLINKS+=tanh.3 tanhf.3 tanh.3 tanhl.3
256MLINKS+=sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3 sqrt.3 sqrtf.3 \
257 sqrt.3 sqrtl.3
258MLINKS+=tan.3 tanf.3 tan.3 tanl.3
259MLINKS+=tanh.3 tanhf.3 tanh.3 tanhl.3
260MLINKS+=tanpi.3 tanpif.3 tanpi.3 tanpil.3
251MLINKS+=trunc.3 truncf.3 trunc.3 truncl.3
252
253.include <src.opts.mk>
254
255HAS_TESTS=
256SUBDIR.${MK_TESTS}+= tests
257
258.include <bsd.compiler.mk>
259.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 120000
260# Silence '#pragma FENV_ACCESS' is not supported on this target - ignored
261CWARNFLAGS+= -Wno-error=ignored-pragmas
262.endif
263
264.include <bsd.lib.mk>
261MLINKS+=trunc.3 truncf.3 trunc.3 truncl.3
262
263.include <src.opts.mk>
264
265HAS_TESTS=
266SUBDIR.${MK_TESTS}+= tests
267
268.include <bsd.compiler.mk>
269.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 120000
270# Silence '#pragma FENV_ACCESS' is not supported on this target - ignored
271CWARNFLAGS+= -Wno-error=ignored-pragmas
272.endif
273
274.include <bsd.lib.mk>