Makefile (130775) | Makefile (131001) |
---|---|
1# @(#)Makefile 5.1beta 93/09/24 | 1# @(#)Makefile 5.1beta 93/09/24 |
2# $FreeBSD: head/lib/msun/Makefile 130775 2004-06-20 10:42:23Z stefanf $ | 2# $FreeBSD: head/lib/msun/Makefile 131001 2004-06-24 00:02:32Z marcel $ |
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. --- 33 unchanged lines hidden (view full) --- 44.if ${MACHINE_ARCH} == "alpha" 45ARCH_SRCS = s_copysign.S s_copysignf.S 46# XXX Comment from NetBSD/Alpha: 47# XXX LINT SIGFPEs in e_exp.c's strtod(). FP underflow/denorm software 48# handling is broken (doesn't exist!) on the Alpha port. 49# Stock gcc 2.7.2.1 doesn't understand these options. 50#CFLAGS += -mtrap-precision=i -mfp-trap-mode=su 51.elif ${MACHINE_ARCH} == "i386" | 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. --- 33 unchanged lines hidden (view full) --- 44.if ${MACHINE_ARCH} == "alpha" 45ARCH_SRCS = s_copysign.S s_copysignf.S 46# XXX Comment from NetBSD/Alpha: 47# XXX LINT SIGFPEs in e_exp.c's strtod(). FP underflow/denorm software 48# handling is broken (doesn't exist!) on the Alpha port. 49# Stock gcc 2.7.2.1 doesn't understand these options. 50#CFLAGS += -mtrap-precision=i -mfp-trap-mode=su 51.elif ${MACHINE_ARCH} == "i386" |
52ARCH= i387 | 52ARCH_SUBDIR= i387 |
53ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ 54 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \ 55 s_cos.S s_finite.S s_floor.S s_logb.S \ 56 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S 57# Broken: 58# ARCH_SRCS+= s_log1p.S 59.endif 60 | 53ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ 54 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \ 55 s_cos.S s_finite.S s_floor.S s_logb.S \ 56 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S 57# Broken: 58# ARCH_SRCS+= s_log1p.S 59.endif 60 |
61ARCH?= ${MACHINE_ARCH} | 61ARCH_SUBDIR?= ${MACHINE_ARCH} |
62 63.PATH: ${.CURDIR}/bsdsrc 64.PATH: ${.CURDIR}/man 65.PATH: ${.CURDIR}/src 66 67CFLAGS+= -D_IEEE_LIBM 68 69LIB= m --- 39 unchanged lines hidden (view full) --- 109# C99 complex functions 110COMMON_SRCS+= s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c \ 111 s_creal.c s_crealf.c s_creall.c 112 113# FreeBSD's C library supplies these functions: 114#COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c 115 116# Exclude the generic versions of what we provide in the MD area. | 62 63.PATH: ${.CURDIR}/bsdsrc 64.PATH: ${.CURDIR}/man 65.PATH: ${.CURDIR}/src 66 67CFLAGS+= -D_IEEE_LIBM 68 69LIB= m --- 39 unchanged lines hidden (view full) --- 109# C99 complex functions 110COMMON_SRCS+= s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c \ 111 s_creal.c s_crealf.c s_creall.c 112 113# FreeBSD's C library supplies these functions: 114#COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c 115 116# Exclude the generic versions of what we provide in the MD area. |
117.PATH: ${.CURDIR}/${ARCH} | 117.PATH: ${.CURDIR}/${ARCH_SUBDIR} |
118.if defined(ARCH_SRCS) 119.for i in ${ARCH_SRCS} 120COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c} 121.endfor 122.endif 123 124SRCS= ${COMMON_SRCS} ${ARCH_SRCS} 125 --- 53 unchanged lines hidden --- | 118.if defined(ARCH_SRCS) 119.for i in ${ARCH_SRCS} 120COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c} 121.endfor 122.endif 123 124SRCS= ${COMMON_SRCS} ${ARCH_SRCS} 125 --- 53 unchanged lines hidden --- |