version 1.313, 2015/05/03 15:13:13 |
version 1.317.2.1, 2017/04/26 02:52:13 |
|
|
# if ${MKCOMPAT} != "no". |
# if ${MKCOMPAT} != "no". |
# do-build: builds and installs the entire system. |
# do-build: builds and installs the entire system. |
# do-x11: builds and installs X11 if ${MKX11} != "no"; either |
# do-x11: builds and installs X11 if ${MKX11} != "no"; either |
# X11R7 from src/external/mit/xorg if ${X11FLAVOUR} == "Xorg" |
# X11R7 from src/external/mit/xorg |
# or X11R6 from src/x11 |
|
# do-extsrc: builds and installs extsrc if ${MKEXTSRC} != "no". |
# do-extsrc: builds and installs extsrc if ${MKEXTSRC} != "no". |
# do-obsolete: installs the obsolete sets (for the postinstall-* targets). |
# do-obsolete: installs the obsolete sets (for the postinstall-* targets). |
# |
# |
|
|
# _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 lib include gnu external crypto/external bin games |
_SUBDIR= tools lib include external crypto/external bin games |
_SUBDIR+= libexec sbin usr.bin |
_SUBDIR+= 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 164 afterinstall: .PHONY .MAKE |
|
Line 163 afterinstall: .PHONY .MAKE |
|
${MAKEDIRTARGET} share/man makedb |
${MAKEDIRTARGET} share/man makedb |
.endif |
.endif |
.if (${MKUNPRIVED} != "no" && ${MKINFO} != "no") |
.if (${MKUNPRIVED} != "no" && ${MKINFO} != "no") |
${MAKEDIRTARGET} gnu/usr.bin/texinfo/install-info infodir-meta |
${MAKEDIRTARGET} external/gpl2/texinfo/bin/install-info infodir-meta |
.endif |
.endif |
.if !defined(NOPOSTINSTALL) |
.if !defined(NOPOSTINSTALL) |
${MAKEDIRTARGET} . postinstall-check |
${MAKEDIRTARGET} . postinstall-check |
Line 250 BUILDTARGETS+= do-obsolete |
|
Line 249 BUILDTARGETS+= do-obsolete |
|
|
|
.ORDER: ${BUILDTARGETS} |
.ORDER: ${BUILDTARGETS} |
includes-lib: .PHONY includes-include includes-sys |
includes-lib: .PHONY includes-include includes-sys |
includes-gnu: .PHONY includes-lib |
|
|
|
# |
# |
# Record the values of variables that might affect the build. |
# Record the values of variables that might affect the build. |
Line 482 do-build: .PHONY .MAKE |
|
Line 480 do-build: .PHONY .MAKE |
|
|
|
do-x11: .PHONY .MAKE |
do-x11: .PHONY .MAKE |
.if ${MKX11} != "no" |
.if ${MKX11} != "no" |
.if ${X11FLAVOUR} == "Xorg" |
|
${MAKEDIRTARGET} external/mit/xorg/tools all |
${MAKEDIRTARGET} external/mit/xorg/tools all |
${MAKEDIRTARGET} external/mit/xorg/lib build_install |
${MAKEDIRTARGET} external/mit/xorg/lib build_install |
.else |
.if ${MKCOMPATX11} != "no" |
${MAKEDIRTARGET} x11 build |
${MAKEDIRTARGET} compat build_install BOOTSTRAP_SUBDIRS="../../../external/mit/xorg/lib" |
.endif |
.endif |
.else |
.else |
@echo "MKX11 is not enabled" |
@echo "MKX11 is not enabled" |