1# @(#)Makefile 5.1beta 93/09/24
| 1# @(#)Makefile 5.1beta 93/09/24
|
2# $FreeBSD: head/lib/msun/Makefile 141280 2005-02-04 14:08:32Z das $
| 2# $FreeBSD: head/lib/msun/Makefile 141281 2005-02-04 14:33:39Z das $
|
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
| 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# XXX MD crud should be in separate makefiles 16.if ${MACHINE_ARCH} == "alpha" 17ARCH_SRCS = s_copysign.S s_copysignf.S 18# XXX Comment from NetBSD/Alpha: 19# XXX LINT SIGFPEs in e_exp.c's strtod(). FP underflow/denorm software 20# handling is broken (doesn't exist!) on the Alpha port. 21# Stock gcc 2.7.2.1 doesn't understand these options. 22#CFLAGS += -mtrap-precision=i -mfp-trap-mode=su 23.elif ${MACHINE_ARCH} == "amd64" 24ARCH_SRCS = e_sqrt.S s_lrint.S s_llrint.S 25.elif ${MACHINE_ARCH} == "ia64" 26ARCH_SRCS = s_fma.S s_fmaf.S 27.elif ${MACHINE_ARCH} == "i386"
| 15.if ${MACHINE_ARCH} == "i386"
|
28ARCH_SUBDIR= i387
| 16ARCH_SUBDIR= i387
|
29ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ 30 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \ 31 s_cos.S s_finite.S s_floor.S s_llrint.S s_logb.S s_lrint.S \ 32 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S 33# float counterparts 34ARCH_SRCS+= e_atan2f.S e_log10f.S e_logf.S e_remainderf.S e_scalbf.S \ 35 e_sqrtf.S s_ceilf.S s_copysignf.S s_cosf.S s_floorf.S s_logbf.S \ 36 s_rintf.S s_scalbnf.S s_significandf.S s_sinf.S s_tanf.S
| 17.else 18ARCH_SUBDIR= ${MACHINE_ARCH}
|
37.endif 38
| 19.endif 20
|
39ARCH_SUBDIR?= ${MACHINE_ARCH}
| 21.if exists(${ARCH_SUBDIR}/Makefile.inc) 22.include "${ARCH_SUBDIR}/Makefile.inc" 23.endif
|
40 41.PATH: ${.CURDIR}/bsdsrc 42.PATH: ${.CURDIR}/man 43.PATH: ${.CURDIR}/src 44 45CFLAGS+= -D_IEEE_LIBM 46 47LIB= m
--- 118 unchanged lines hidden --- | 24 25.PATH: ${.CURDIR}/bsdsrc 26.PATH: ${.CURDIR}/man 27.PATH: ${.CURDIR}/src 28 29CFLAGS+= -D_IEEE_LIBM 30 31LIB= m
--- 118 unchanged lines hidden --- |