summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-08 01:41:40 +0000
committerbde <bde@FreeBSD.org>1995-03-08 01:41:40 +0000
commit056d7133a8bb09ae643095f7c5c20ceaa3dbe543 (patch)
tree22a33a44230773a7d3e6da7bb6ec9436e1a407f2 /lib/msun
parent25a158ff3952cd49d633bbfec5eddb3f5be12ffb (diff)
downloadFreeBSD-src-056d7133a8bb09ae643095f7c5c20ceaa3dbe543.zip
FreeBSD-src-056d7133a8bb09ae643095f7c5c20ceaa3dbe543.tar.gz
Obtained from: NetBSD
Remove common sources from ${SRCS} when they are replaced by arch-specific sources.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index 2f6219c..72d70ac 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 5.1beta 93/09/24
-# $Id: Makefile,v 1.2 1994/08/19 11:15:40 jkh Exp $
+# $Id: Makefile,v 1.3 1994/09/08 10:40:23 bde Exp $
#
# ====================================================
# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -88,7 +88,12 @@ 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
-SRCS=${COMMON_SRCS} ${ARCH_SRCS}
+SRCS=${COMMON_SRCS}
+
+# Substitute common sources with any arch specific sources
+.for i in ${ARCH_SRCS}
+ SRCS:=${SRCS:S/${i:S/.S/.c/}/$i/}
+.endfor
MANSRC= ${.CURDIR}/man
OpenPOWER on IntegriCloud