Changeset View
Changeset View
Standalone View
Standalone View
Makefile.inc1
Show First 20 Lines • Show All 1,463 Lines • ▼ Show 20 Lines | ${_+_}cd ${DESTDIR}/${DISTDIR}/${dist}; \ | ||||
${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 | ||||
.if make(sysent) | |||||
.include <src.lua.mk> | |||||
.endif | |||||
_sysent_PATH= ${WORLDTMP}/legacy/usr/libexec:/usr/libexec:${PATH} | |||||
_sysent_dirs= sys/kern | _sysent_dirs= sys/kern | ||||
_sysent_dirs+= sys/compat/freebsd32 | _sysent_dirs+= sys/compat/freebsd32 | ||||
_sysent_dirs+= sys/compat/cloudabi32 \ | _sysent_dirs+= sys/compat/cloudabi32 \ | ||||
sys/compat/cloudabi64 | sys/compat/cloudabi64 | ||||
_sysent_dirs+= sys/amd64/linux \ | _sysent_dirs+= sys/amd64/linux \ | ||||
sys/amd64/linux32 \ | sys/amd64/linux32 \ | ||||
sys/arm64/linux \ | sys/arm64/linux \ | ||||
sys/i386/linux | sys/i386/linux | ||||
sysent: .PHONY | sysent: .PHONY | ||||
.for _dir in ${_sysent_dirs} | .for _dir in ${_sysent_dirs} | ||||
${_+_}${MAKE} -C ${.CURDIR}/${_dir} sysent | @echo "${MAKE} -C ${.CURDIR}/${_dir} sysent" | ||||
${_+_}@env PATH=${_sysent_PATH} LUA=${LUA_CMD} \ | |||||
${MAKE} -C ${.CURDIR}/${_dir} sysent | |||||
.endfor | .endfor | ||||
# | # | ||||
# reinstall | # reinstall | ||||
# | # | ||||
# If you have a build server, you can NFS mount the source and obj directories | # If you have a build server, you can NFS mount the source and obj directories | ||||
# and do a 'make reinstall' on the *client* to install new binaries from the | # and do a 'make reinstall' on the *client* to install new binaries from the | ||||
# most recent server build. | # most recent server build. | ||||
▲ Show 20 Lines • Show All 629 Lines • ▼ Show 20 Lines | |||||
# r339083 libelf: correct mips64el test to use ELF header | # r339083 libelf: correct mips64el test to use ELF header | ||||
# r348347 Add missing powerpc64 relocation support to libdwarf | # r348347 Add missing powerpc64 relocation support to libdwarf | ||||
.if ${BOOTSTRAPPING} < 1300030 | .if ${BOOTSTRAPPING} < 1300030 | ||||
_elftoolchain_libs= lib/libelf lib/libdwarf | _elftoolchain_libs= lib/libelf lib/libdwarf | ||||
${_bt}-lib/libelf: ${_bt_m4_depend} | ${_bt}-lib/libelf: ${_bt_m4_depend} | ||||
${_bt}-lib/libdwarf: ${_bt_m4_depend} | ${_bt}-lib/libdwarf: ${_bt_m4_depend} | ||||
.endif | .endif | ||||
# flua is required to regenerate syscall files. It first appeared during the | |||||
# 13.0-CURRENT cycle, thus needs to be built on -older releases and stable | |||||
# branches. | |||||
.if ${BOOTSTRAPPING} < 1300048 | |||||
_flua= libexec/flua | |||||
.endif | |||||
# r245440 mtree -N support added | # r245440 mtree -N support added | ||||
# r313404 requires sha384.h for libnetbsd, added to libmd in r292782 | # r313404 requires sha384.h for libnetbsd, added to libmd in r292782 | ||||
.if ${BOOTSTRAPPING} < 1100093 | .if ${BOOTSTRAPPING} < 1100093 | ||||
_nmtree= lib/libmd \ | _nmtree= lib/libmd \ | ||||
lib/libnetbsd \ | lib/libnetbsd \ | ||||
usr.sbin/nmtree | usr.sbin/nmtree | ||||
${_bt}-lib/libnetbsd: ${_bt}-lib/libmd | ${_bt}-lib/libnetbsd: ${_bt}-lib/libmd | ||||
▲ Show 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | .for _tool in \ | ||||
usr.bin/rpcgen \ | usr.bin/rpcgen \ | ||||
${_yacc} \ | ${_yacc} \ | ||||
${_m4} \ | ${_m4} \ | ||||
${_lex} \ | ${_lex} \ | ||||
${_other_bootstrap_tools} \ | ${_other_bootstrap_tools} \ | ||||
usr.bin/xinstall \ | usr.bin/xinstall \ | ||||
${_gensnmptree} \ | ${_gensnmptree} \ | ||||
usr.sbin/config \ | usr.sbin/config \ | ||||
${_flua} \ | |||||
${_crunchide} \ | ${_crunchide} \ | ||||
${_crunchgen} \ | ${_crunchgen} \ | ||||
${_nmtree} \ | ${_nmtree} \ | ||||
${_vtfontcvt} \ | ${_vtfontcvt} \ | ||||
${_localedef} | ${_localedef} | ||||
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE | ${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE | ||||
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \ | ${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \ | ||||
cd ${.CURDIR}/${_tool}; \ | cd ${.CURDIR}/${_tool}; \ | ||||
▲ Show 20 Lines • Show All 1,054 Lines • Show Last 20 Lines |