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).
This commit is contained in:
parent
91216e1ef1
commit
6684d0ace3
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user