diff options
author | bde <bde@FreeBSD.org> | 1997-04-15 14:05:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-15 14:05:28 +0000 |
commit | 8c621c574270ce57e5f1a378d4effdb0cbdfa15d (patch) | |
tree | e46e2bf35b3f202a592398531a98a18de7aa0cb4 /lib/msun | |
parent | 071dc96075f3cb2f7f7b3861b0789616980c63c6 (diff) | |
download | FreeBSD-src-8c621c574270ce57e5f1a378d4effdb0cbdfa15d.zip FreeBSD-src-8c621c574270ce57e5f1a378d4effdb0cbdfa15d.tar.gz |
Added -D_ARCH_INDIRECT=i387_ to CFLAGS. _ARCH_INDIRECT will soon be used
to control generation of indirections in ENTRY(). Only msun needs it.
Use ${ARCH} consistently.
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile index 0ece8d6..81576f7 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 5.1beta 93/09/24 -# $Id$ +# $Id: Makefile,v 1.18 1997/02/22 15:08:42 peter Exp $ # # ==================================================== # Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -42,6 +42,7 @@ # ARCH= i387 +ARCH_PREFIX= ${ARCH}_ ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \ s_cos.S s_finite.S s_floor.S s_ilogb.S s_logb.S \ @@ -53,7 +54,7 @@ ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ .PATH: ${.CURDIR}/man .PATH: ${.CURDIR}/src -CFLAGS+= -D_IEEE_LIBM +CFLAGS+= -D_IEEE_LIBM -D_ARCH_INDIRECT=${ARCH_PREFIX} LIB= m COMMON_SRCS = e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \ @@ -90,7 +91,7 @@ COMMON_SRCS = e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \ #COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c CLEANFILES+= ${RENAMED_ARCH_SRCS} -RENAMED_ARCH_SRCS= ${ARCH_SRCS:S/^/${ARCH}_/g} +RENAMED_ARCH_SRCS= ${ARCH_SRCS:S/^/${ARCH_PREFIX}/g} SRCS= ${COMMON_SRCS} ${RENAMED_ARCH_SRCS} # Generate rules to rename arch-specific sources to avoid conflicts. @@ -99,7 +100,7 @@ SRCS= ${COMMON_SRCS} ${RENAMED_ARCH_SRCS} # use .S.o rules instead of .c.o rules for the conflicting prefixes # (except after `make depend' it uses the correct rules!). .for i in ${ARCH_SRCS} -${ARCH}_${i}: ${.CURDIR}/i387/${i} +${ARCH_PREFIX}${i}: ${.CURDIR}/${ARCH}/${i} cp ${.ALLSRC} ${.TARGET} .endfor |