Changeset View
Changeset View
Standalone View
Standalone View
Makefile.inc1
Show First 20 Lines • Show All 1,130 Lines • ▼ Show 20 Lines | _includes: | ||||
@echo "--------------------------------------------------------------" | @echo "--------------------------------------------------------------" | ||||
# Special handling for SUBDIR_OVERRIDE in buildworld as they most likely need | # Special handling for SUBDIR_OVERRIDE in buildworld as they most likely need | ||||
# headers from default SUBDIR. Do SUBDIR_OVERRIDE includes last. | # headers from default SUBDIR. Do SUBDIR_OVERRIDE includes last. | ||||
${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE= SHARED=symlinks \ | ${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE= SHARED=symlinks \ | ||||
MK_INCLUDES=yes includes | MK_INCLUDES=yes includes | ||||
.if !empty(SUBDIR_OVERRIDE) && make(buildworld) | .if !empty(SUBDIR_OVERRIDE) && make(buildworld) | ||||
${_+_}cd ${.CURDIR}; ${WMAKE} MK_INCLUDES=yes SHARED=symlinks includes | ${_+_}cd ${.CURDIR}; ${WMAKE} MK_INCLUDES=yes SHARED=symlinks includes | ||||
.endif | .endif | ||||
${_+_}cd ${.CURDIR}; ${WMAKE} test-includes | |||||
imp: moving it here addresses a now-vanished comment from @brooks that we should fail early, not… | |||||
_libraries: | _libraries: | ||||
@echo | @echo | ||||
@echo "--------------------------------------------------------------" | @echo "--------------------------------------------------------------" | ||||
@echo ">>> stage 4.2: building libraries" | @echo ">>> stage 4.2: building libraries" | ||||
@echo "--------------------------------------------------------------" | @echo "--------------------------------------------------------------" | ||||
${_+_}cd ${.CURDIR}; \ | ${_+_}cd ${.CURDIR}; \ | ||||
${WMAKE} -DNO_FSCHG MK_HTML=no -DNO_LINT MK_MAN=no \ | ${WMAKE} -DNO_FSCHG MK_HTML=no -DNO_LINT MK_MAN=no \ | ||||
MK_PROFILE=no MK_TESTS=no MK_TESTS_SUPPORT=${MK_TESTS_SUPPORT} \ | MK_PROFILE=no MK_TESTS=no MK_TESTS_SUPPORT=${MK_TESTS_SUPPORT} \ | ||||
▲ Show 20 Lines • Show All 366 Lines • ▼ Show 20 Lines | ${_+_}cd ${DESTDIR}/${DISTDIR}/${dist}; \ | ||||
tar cvLf - usr/lib/debug | \ | tar cvLf - usr/lib/debug | \ | ||||
${XZ_CMD} > ${PACKAGEDIR}/${dist}-dbg.txz | ${XZ_CMD} > ${PACKAGEDIR}/${dist}-dbg.txz | ||||
. endif | . endif | ||||
.endfor | .endfor | ||||
makeman: .PHONY | makeman: .PHONY | ||||
${_+_}cd ${.CURDIR}/tools/build/options; sh makeman > \ | ${_+_}cd ${.CURDIR}/tools/build/options; sh makeman > \ | ||||
${.CURDIR}/share/man/man5/src.conf.5 | ${.CURDIR}/share/man/man5/src.conf.5 | ||||
# Ensure no regressions in self-includeability of sys/*.h and net*/*.h | |||||
test-includes: .PHONY | |||||
${_+_}cd ${.CURDIR}/tools/build/test-includes; \ | |||||
${WMAKEENV} ${MAKE} ${WORLD_FLAGS} DESTDIR=${WORLDTMP} test-includes | |||||
# We can't assume here that ${TMPPATH} will include ${PATH} or /usr/libexec | # We can't assume here that ${TMPPATH} will include ${PATH} or /usr/libexec | ||||
# because we may be building with a STRICTTMPPATH, so we explicitly include | # because we may be building with a STRICTTMPPATH, so we explicitly include | ||||
# /usr/libexec here for flua. ${TMPPATH} still usefully includes anything else | # /usr/libexec here for flua. ${TMPPATH} still usefully includes anything else | ||||
# we may need to function. | # we may need to function. | ||||
_sysent_PATH= ${TMPPATH}:/usr/libexec | _sysent_PATH= ${TMPPATH}:/usr/libexec | ||||
_sysent_dirs= sys/kern | _sysent_dirs= sys/kern | ||||
_sysent_dirs+= sys/compat/freebsd32 | _sysent_dirs+= sys/compat/freebsd32 | ||||
▲ Show 20 Lines • Show All 2,051 Lines • Show Last 20 Lines |
moving it here addresses a now-vanished comment from @brooks that we should fail early, not later