Changeset View
Changeset View
Standalone View
Standalone View
head/Makefile
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | |||||
# Targets that begin with underscore are internal targets intended for | # Targets that begin with underscore are internal targets intended for | ||||
# developer convenience only. They are intentionally not documented and | # developer convenience only. They are intentionally not documented and | ||||
# completely subject to change without notice. | # completely subject to change without notice. | ||||
# | # | ||||
# For more information, see the build(7) manual page. | # For more information, see the build(7) manual page. | ||||
# | # | ||||
# This is included so CC is set to ccache for -V, and COMPILER_TYPE/VERSION | # This is included so CC is set to ccache for -V, and COMPILER_TYPE/VERSION | ||||
# can be cached for sub-makes. | # can be cached for sub-makes. We can't do this while still running on the | ||||
# old fmake from FreeBSD 9.x or older, so avoid including it then to avoid | |||||
# heartburn upgrading from older systems. The need for CC is done with new | |||||
# make later in the build, and caching COMPILER_TYPE/VERSION is only an | |||||
# optimization. Also sinclude it to be friendlier to foreign OS hosted builds. | |||||
.if ${MAKE_VERSION} >= 20140620 && defined(.PARSEDIR) | .if ${MAKE_VERSION} >= 20140620 && defined(.PARSEDIR) | ||||
.include <bsd.compiler.mk> | .sinclude <bsd.compiler.mk> | ||||
.endif | .endif | ||||
# Note: we use this awkward construct to be compatible with FreeBSD's | # Note: we use this awkward construct to be compatible with FreeBSD's | ||||
# old make used in 10.0 and 9.2 and earlier. | # old make used in 10.0 and 9.2 and earlier. | ||||
.if defined(MK_DIRDEPS_BUILD) && ${MK_DIRDEPS_BUILD} == "yes" && \ | .if defined(MK_DIRDEPS_BUILD) && ${MK_DIRDEPS_BUILD} == "yes" && \ | ||||
!make(showconfig) && !make(print-dir) | !make(showconfig) && !make(print-dir) | ||||
# targets/Makefile plays the role of top-level | # targets/Makefile plays the role of top-level | ||||
.include "targets/Makefile" | .include "targets/Makefile" | ||||
▲ Show 20 Lines • Show All 547 Lines • Show Last 20 Lines |