version 1.321.2.3, 2018/11/26 01:49:54 |
version 1.331, 2019/08/27 22:48:54 |
|
|
# obj: creates object directories. |
# obj: creates object directories. |
# do-distrib-dirs: creates the distribution directories. |
# do-distrib-dirs: creates the distribution directories. |
# includes: installs include files. |
# includes: installs include files. |
# do-lib: builds and installs prerequisites from lib |
# do-lib: builds and installs prerequisites from lib. |
# if ${MKCOMPAT} != "no". |
|
# do-compat-lib: builds and installs prerequisites from compat/lib |
# do-compat-lib: builds and installs prerequisites from compat/lib |
# if ${MKCOMPAT} != "no". |
# if ${MKCOMPAT} != "no". |
# do-x11: builds and installs X11 tools and libraries |
# do-x11: builds and installs X11 tools and libraries |
|
|
# _SUBDIR is used to set SUBDIR, after removing directories that have |
# _SUBDIR is used to set SUBDIR, after removing directories that have |
# BUILD_${dir}=no, or that have no ${dir}/Makefile. |
# BUILD_${dir}=no, or that have no ${dir}/Makefile. |
# |
# |
_SUBDIR= tools .WAIT lib include external crypto/external bin |
_SUBDIR= tools .WAIT lib |
|
.if ${MKLLVM} != "no" |
|
_SUBDIR+= external/bsd/compiler_rt |
|
.endif |
|
_SUBDIR+= include external crypto/external bin |
_SUBDIR+= games libexec sbin usr.bin |
_SUBDIR+= games libexec sbin usr.bin |
_SUBDIR+= usr.sbin share sys etc tests compat |
_SUBDIR+= usr.sbin share sys etc tests compat |
_SUBDIR+= .WAIT rescue .WAIT distrib regress |
_SUBDIR+= .WAIT rescue .WAIT distrib regress |
Line 170 afterinstall: .PHONY .MAKE |
|
Line 173 afterinstall: .PHONY .MAKE |
|
${MAKEDIRTARGET} . postinstall-check |
${MAKEDIRTARGET} . postinstall-check |
.endif |
.endif |
|
|
_POSTINSTALL= ${.CURDIR}/usr.sbin/postinstall/postinstall \ |
_POSTINSTALL= ${:!cd ${.CURDIR}/usr.sbin/postinstall && \ |
|
${MAKE} print-objdir!}/postinstall \ |
-m ${MACHINE} -a ${MACHINE_ARCH} |
-m ${MACHINE} -a ${MACHINE_ARCH} |
_POSTINSTALL_ENV= \ |
_POSTINSTALL_ENV= \ |
AWK=${TOOL_AWK:Q} \ |
AWK=${TOOL_AWK:Q} \ |
Line 235 BUILDTARGETS+= includes |
|
Line 239 BUILDTARGETS+= includes |
|
.endif |
.endif |
BUILDTARGETS+= do-lib |
BUILDTARGETS+= do-lib |
BUILDTARGETS+= do-compat-lib |
BUILDTARGETS+= do-compat-lib |
|
.if ${MKLLVM} != "no" |
|
BUILDTARGETS+= do-sanitizer |
|
.if ${MKSANITIZER:Uno} == "yes" |
|
BUILDTARGETS+= do-sanitizer-tools |
|
.endif |
|
.endif |
.if ${MKX11} != "no" |
.if ${MKX11} != "no" |
BUILDTARGETS+= do-x11 |
BUILDTARGETS+= do-x11 |
.endif |
.endif |
Line 470 do-lib: .PHONY .MAKE |
|
Line 480 do-lib: .PHONY .MAKE |
|
do-compat-lib: .PHONY .MAKE |
do-compat-lib: .PHONY .MAKE |
${MAKEDIRTARGET} compat build_install BOOTSTRAP_SUBDIRS="../../../lib" |
${MAKEDIRTARGET} compat build_install BOOTSTRAP_SUBDIRS="../../../lib" |
|
|
|
do-sanitizer: .PHONY .MAKE |
|
${MAKEDIRTARGET} external/bsd/compiler_rt build_install |
|
|
|
do-sanitizer-tools: .PHONY .MAKE |
|
.if !exists(${TOOLDIR}/lib/clang) && ${HAVE_LLVM:Uno} == "yes" |
|
mkdir -p ${TOOLDIR}/lib/clang |
|
cd ${DESTDIR}/usr/lib/clang && \ |
|
${TOOL_PAX} -rw . ${TOOLDIR}/lib/clang |
|
.endif |
|
|
do-top-obj: .PHONY .MAKE |
do-top-obj: .PHONY .MAKE |
${MAKEDIRTARGET} . obj NOSUBDIR= |
${MAKEDIRTARGET} . obj NOSUBDIR= |
|
|