Makefile (84403) | Makefile (87804) |
---|---|
1# @(#)Makefile 5.1beta 93/09/24 | 1# @(#)Makefile 5.1beta 93/09/24 |
2# $FreeBSD: head/lib/msun/Makefile 84403 2001-10-03 06:30:11Z bde $ | 2# $FreeBSD: head/lib/msun/Makefile 87804 2001-12-13 17:18:26Z phantom $ |
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 9# software is freely granted, provided that this notice 10# is preserved. 11# ==================================================== 12# 13# 14 15# 16# There are two options in making libm at fdlibm compile time: 17# _IEEE_LIBM --- IEEE libm; smaller, and somewhat faster 18# _MULTI_LIBM --- Support multi-standard at runtime by 19# imposing wrapper functions defined in | 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 9# software is freely granted, provided that this notice 10# is preserved. 11# ==================================================== 12# 13# 14 15# 16# There are two options in making libm at fdlibm compile time: 17# _IEEE_LIBM --- IEEE libm; smaller, and somewhat faster 18# _MULTI_LIBM --- Support multi-standard at runtime by 19# imposing wrapper functions defined in |
20# fdlibm.h: | 20# math.h: |
21# _IEEE_MODE -- IEEE 22# _XOPEN_MODE -- X/OPEN 23# _POSIX_MODE -- POSIX/ANSI 24# _SVID3_MODE -- SVID 25# 26# Here is how to set up CFLAGS to create the desired libm at 27# compile time: 28# --- 23 unchanged lines hidden (view full) --- 52#CFLAGS += -mtrap-precision=i -mfp-trap-mode=su 53.elif ${MACHINE_ARCH} == "i386" 54ARCH= i387 55ARCH_PREFIX= ${ARCH}_ 56ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ 57 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \ 58 s_cos.S s_finite.S s_floor.S s_ilogb.S s_logb.S \ 59 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S | 21# _IEEE_MODE -- IEEE 22# _XOPEN_MODE -- X/OPEN 23# _POSIX_MODE -- POSIX/ANSI 24# _SVID3_MODE -- SVID 25# 26# Here is how to set up CFLAGS to create the desired libm at 27# compile time: 28# --- 23 unchanged lines hidden (view full) --- 52#CFLAGS += -mtrap-precision=i -mfp-trap-mode=su 53.elif ${MACHINE_ARCH} == "i386" 54ARCH= i387 55ARCH_PREFIX= ${ARCH}_ 56ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ 57 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \ 58 s_cos.S s_finite.S s_floor.S s_ilogb.S s_logb.S \ 59 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S |
60.elif ${MACHINE_ARCH} == "m68k" 61.PATH: ${.CURDIR}/mc68881 62ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \ 63 e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \ 64 s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \ 65 s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S | |
66.endif 67 68# Broken 69# ARCH_SRCS+= s_log1p.S 70 71.PATH: ${.CURDIR}/man 72.PATH: ${.CURDIR}/src 73 --- 96 unchanged lines hidden --- | 60.endif 61 62# Broken 63# ARCH_SRCS+= s_log1p.S 64 65.PATH: ${.CURDIR}/man 66.PATH: ${.CURDIR}/src 67 --- 96 unchanged lines hidden --- |