Deleted Added
full compact
Makefile (24964) Makefile (33662)
1# @(#)Makefile 5.1beta 93/09/24
1# @(#)Makefile 5.1beta 93/09/24
2# $Id: Makefile,v 1.18 1997/02/22 15:08:42 peter Exp $
2# $Id: Makefile,v 1.19 1997/04/15 14:05:28 bde Exp $
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.

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

36# CFLAGS = -D_POSIX_MODE ... Multi-standard supported
37# libm with POSIX as the
38# default standard
39# CFLAGS = ... Multi-standard supported
40# libm with IEEE as the
41# default standard
42#
43
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.

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

36# CFLAGS = -D_POSIX_MODE ... Multi-standard supported
37# libm with POSIX as the
38# default standard
39# CFLAGS = ... Multi-standard supported
40# libm with IEEE as the
41# default standard
42#
43
44.if ${MACHINE_ARCH} == "alpha"
45.PATH: ${.CURDIR)/alpha
46ARCH= alpha
47ARCH_SRCS = s_copysign.S s_copysignf.S
48# XXX Comment from NetBSD/Alpha:
49# XXX LINT SIGFPEs in e_exp.c's strtod(). FP underflow/denorm software
50# handling is broken (doesn't exist!) on the Alpha port.
51.elif ${MACHINE_ARCH} == "i386"
44ARCH= i387
45ARCH_PREFIX= ${ARCH}_
46ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \
47 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \
48 s_cos.S s_finite.S s_floor.S s_ilogb.S s_logb.S \
49 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S
52ARCH= i387
53ARCH_PREFIX= ${ARCH}_
54ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \
55 e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \
56 s_cos.S s_finite.S s_floor.S s_ilogb.S s_logb.S \
57 s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S
58.elif ${MACHINE_ARCH} == "m68k"
59.PATH: ${.CURDIR}/mc68881
60ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \
61 e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \
62 s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \
63 s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S
64.endif
50
51# Broken
52# ARCH_SRCS+= s_log1p.S
53
54.PATH: ${.CURDIR}/man
55.PATH: ${.CURDIR}/src
56
57CFLAGS+= -D_IEEE_LIBM -D_ARCH_INDIRECT=${ARCH_PREFIX}

--- 97 unchanged lines hidden ---
65
66# Broken
67# ARCH_SRCS+= s_log1p.S
68
69.PATH: ${.CURDIR}/man
70.PATH: ${.CURDIR}/src
71
72CFLAGS+= -D_IEEE_LIBM -D_ARCH_INDIRECT=${ARCH_PREFIX}

--- 97 unchanged lines hidden ---