From 6684d0ace3ef5120e8e810f25d05e411d395dbdd Mon Sep 17 00:00:00 2001 From: David Schultz Date: Fri, 18 Jul 2008 02:18:34 +0000 Subject: [PATCH] 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). --- lib/msun/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/msun/Makefile b/lib/msun/Makefile index cc97b08b2c40..6786578350ac 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}