| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.112 2011/07/26 16:10:16 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.113 2011/07/28 20:53:20 matt Exp $ |
2 | # | | 2 | # |
3 | # @(#)Makefile 5.1beta 93/09/24 | | 3 | # @(#)Makefile 5.1beta 93/09/24 |
4 | # | | 4 | # |
5 | # ==================================================== | | 5 | # ==================================================== |
6 | # Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | | 6 | # Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
7 | # | | 7 | # |
8 | # Developed at SunPro, a Sun Microsystems, Inc. business. | | 8 | # Developed at SunPro, a Sun Microsystems, Inc. business. |
9 | # Permission to use, copy, modify, and distribute this | | 9 | # Permission to use, copy, modify, and distribute this |
10 | # software is freely granted, provided that this notice | | 10 | # software is freely granted, provided that this notice |
11 | # is preserved. | | 11 | # is preserved. |
12 | # ==================================================== | | 12 | # ==================================================== |
13 | # | | 13 | # |
14 | # | | 14 | # |
| @@ -90,32 +90,33 @@ ARCH_SRCS += s_ceil.S s_copysign.S s_fin | | | @@ -90,32 +90,33 @@ ARCH_SRCS += s_ceil.S s_copysign.S s_fin |
90 | COPTS+=-m68040 | | 90 | COPTS+=-m68040 |
91 | ARCH_SRCS = s_copysign.S s_finite.S | | 91 | ARCH_SRCS = s_copysign.S s_finite.S |
92 | .else | | 92 | .else |
93 | .if (${MKSOFTFLOAT} != "yes") | | 93 | .if (${MKSOFTFLOAT} != "yes") |
94 | .PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k | | 94 | .PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k |
95 | ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \ | | 95 | ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \ |
96 | e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \ | | 96 | e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \ |
97 | s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \ | | 97 | s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \ |
98 | s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S | | 98 | s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S |
99 | .endif | | 99 | .endif |
100 | .endif | | 100 | .endif |
101 | # end of m68k | | 101 | # end of m68k |
102 | .elif (${MACHINE_ARCH} == "vax") | | 102 | .elif (${MACHINE_ARCH} == "vax") |
103 | #.PATH: ${.CURDIR}/arch/vax | | 103 | .PATH: ${.CURDIR}/arch/vax |
104 | | | 104 | |
105 | #NOIEEE_ARCH= n_infnan.S n_argred.S n_sqrt.S | | 105 | #NOIEEE_ARCH= n_infnan.S n_argred.S n_sqrt.S |
106 | #ARCH_SRCS = n_atan2.S n_cabs.S n_cbrt.S n_support.S n_sincos.S n_tan.S | | 106 | #ARCH_SRCS = n_atan2.S n_cabs.S n_cbrt.S n_support.S n_sincos.S n_tan.S |
107 | # XXX - ripped out due to lack of the insn polyd in the Mariah chip, | | 107 | # XXX - ripped out due to lack of the insn polyd in the Mariah chip, |
108 | # and emulation code isn't written yet. | | 108 | # and emulation code isn't written yet. |
| | | 109 | ARCHS_SRCS = n_scalbn.S |
109 | WARNS?=4 | | 110 | WARNS?=4 |
110 | .endif | | 111 | .endif |
111 | | | 112 | |
112 | WARNS?=4 | | 113 | WARNS?=4 |
113 | | | 114 | |
114 | .PATH: ${.CURDIR}/man | | 115 | .PATH: ${.CURDIR}/man |
115 | .PATH: ${.CURDIR}/src | | 116 | .PATH: ${.CURDIR}/src |
116 | .PATH: ${.CURDIR}/noieee_src | | 117 | .PATH: ${.CURDIR}/noieee_src |
117 | | | 118 | |
118 | .if (${MACHINE_ARCH} != "vax") | | 119 | .if (${MACHINE_ARCH} != "vax") |
119 | CPPFLAGS+= -D_MULTI_LIBM -D_POSIX_MODE | | 120 | CPPFLAGS+= -D_MULTI_LIBM -D_POSIX_MODE |
120 | # XXX noieee libm is gross | | 121 | # XXX noieee libm is gross |
121 | COPTS+= -fno-strict-aliasing | | 122 | COPTS+= -fno-strict-aliasing |