summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-07-18 02:18:34 +0000
committerdas <das@FreeBSD.org>2008-07-18 02:18:34 +0000
commitc887e4b9e4f36147930aa56036f1b992f9276372 (patch)
tree620060657fb6e774e90169ec7b0e229f82e14dd9 /lib
parent065c59620f2a6996d0bc0c23ea93cb8b9a7e93fb (diff)
downloadFreeBSD-src-c887e4b9e4f36147930aa56036f1b992f9276372.zip
FreeBSD-src-c887e4b9e4f36147930aa56036f1b992f9276372.tar.gz
Sort the .PATH entries to give a more reasonable order of precedence:
1. architecture-specific files 2. long double format-specific files 3. bsdsrc 4. src 5. man The original order was virtually the opposite of this. This should not cause any functional changes at this time. The difference is only significant when one wants to override, say, a generic foo.c with a more specialized foo.c (as opposed to foo.S).
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index cc97b08..6786578 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -20,9 +20,7 @@ ARCH_SUBDIR= ${MACHINE_ARCH}
.include "${ARCH_SUBDIR}/Makefile.inc"
-.PATH: ${.CURDIR}/bsdsrc
-.PATH: ${.CURDIR}/man
-.PATH: ${.CURDIR}/src
+.PATH: ${.CURDIR}/${ARCH_SUBDIR}
# long double format
.if ${LDBL_PREC} == 64
@@ -31,6 +29,10 @@ ARCH_SUBDIR= ${MACHINE_ARCH}
.PATH: ${.CURDIR}/ld128
.endif
+.PATH: ${.CURDIR}/bsdsrc
+.PATH: ${.CURDIR}/src
+.PATH: ${.CURDIR}/man
+
LIB= m
SHLIBDIR?= /lib
SHLIB_MAJOR= 5
@@ -95,7 +97,6 @@ COMMON_SRCS+= s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c \
#COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c
# Exclude the generic versions of what we provide in the MD area.
-.PATH: ${.CURDIR}/${ARCH_SUBDIR}
.if defined(ARCH_SRCS)
.for i in ${ARCH_SRCS}
COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c}
OpenPOWER on IntegriCloud