Don't forget to create new-style links for module builds.

Forgotten by: imp@
Reminded by: nyan@
This commit is contained in:
Warner Losh 2005-04-03 04:56:05 +00:00
parent dfd569ede5
commit df3a103dc6

View File

@ -188,6 +188,9 @@ ${FULLPROG}: ${OBJS}
.endif
_ILINKS=@ machine
.if ${MACHINE} != ${MACHINE_ARCH}
_ILINKS+=${MACHINE_ARCH}
.endif
all: objwarn ${PROG}
@ -213,8 +216,10 @@ SYSDIR= ${_dir}
${_ILINKS}:
@case ${.TARGET} in \
machine) \
${MACHINE_ARCH}) \
path=${SYSDIR}/${MACHINE_ARCH}/include ;; \
machine) \
path=${SYSDIR}/${MACHINE}/include ;; \
@) \
path=${SYSDIR} ;; \
esac ; \