freebsd-skq/share/mk
Bryan Drewery 34ce63e5aa For 'make <directory>' hook into the all_subdir_<directory> targets.
This fixes parallel build issues when trying to depend on ${SUBDIR}.  An
example of this in share/i18n/csmapper/Makefile where mapper.dir depends
on ${SUBDIR} having been traversed and built already.  Before this
change running make in that directory would build the subdirectories
twice.  This led to obscure build races.  While reworking that build
may be possible, the framework should not so easily allow creating such
problems.

Now depending on <directory> will properly redirect to the
all_subdir_<directory> target rather than invoking the inline shell.

This also makes 'make -jX <directory>' now respect any
SUBDIR_DEPEND_<directory> statements when SUBDIR_PARALLEL is defined.
This is not entirely intended and may be changed later.

MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
2016-08-22 22:51:07 +00:00
..
atf.test.mk Remove unused atf.test.mk variables 2015-12-06 07:30:18 +00:00
auto.obj.mk Import latest auto.obj.mk 1.12 from contrib/bmake/mk. 2016-01-25 18:16:41 +00:00
bsd.arch.inc.mk
bsd.clang-analyze.mk Remove the old depend (mkdep) code and make FAST_DEPEND the one true way. 2016-03-30 23:50:23 +00:00
bsd.compiler.mk WITH_CCACHE_BUILD + WITH_META_MODE: Ignore ccache changes. 2016-06-03 19:25:45 +00:00
bsd.confs.mk These group names may be used as a cookie, so replace any non-fs-safe characters. 2016-03-09 22:45:00 +00:00
bsd.cpu.mk Revert r303911 "Remove extra -msoft-float flags settings." 2016-08-11 13:42:31 +00:00
bsd.crunchgen.mk WITH_META_MODE: Fix rescue rebuilding build-tools. 2016-06-14 16:19:54 +00:00
bsd.dep.mk META_MODE: Don't generate or read _EXTRADEPEND dependencies when using filemon. 2016-06-21 21:55:03 +00:00
bsd.doc.mk MFH 2016-03-02 16:14:46 +00:00
bsd.dtb.mk Add infrastructure to build dtb files from dts files. 2015-01-08 18:28:06 +00:00
bsd.endian.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.files.mk Allow FILESGROUPS to be specified more than once by pruning out duplicates 2016-04-30 21:32:29 +00:00
bsd.incs.mk MFH 2016-03-10 21:16:01 +00:00
bsd.info.mk Revert r301079. 2016-06-03 19:25:36 +00:00
bsd.init.mk Don't warn about needing filemon for makeman. 2016-06-29 16:45:01 +00:00
bsd.kmod.mk WITH_META_MODE: Resolve SYSDIR to avoid changed build commands. 2016-05-31 23:08:43 +00:00
bsd.lib.mk Don't truncate OBJS_DEPEND_GUESS.target from Makefile 2016-06-15 23:57:32 +00:00
bsd.libnames.mk Add basic blacklist build support 2016-06-02 19:06:04 +00:00
bsd.links.mk MFH 2016-02-08 12:16:01 +00:00
bsd.man.mk Revert r301079. 2016-06-03 19:25:36 +00:00
bsd.mkopt.mk Appy := to dependent opts once value determined. 2015-06-22 19:01:09 +00:00
bsd.nls.mk Revert r301079. 2016-06-03 19:25:36 +00:00
bsd.obj.mk Consolidate common beforebuild logic. 2016-02-16 02:09:48 +00:00
bsd.opts.mk Remove the old depend (mkdep) code and make FAST_DEPEND the one true way. 2016-03-30 23:50:23 +00:00
bsd.own.mk Update default KMODDIR in comment after r299393. 2016-05-26 18:28:10 +00:00
bsd.port.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.prog.mk bsd.prog.mk: add "/usr/lib" to list of base system directories 2016-06-24 18:45:16 +00:00
bsd.progs.mk PROGS: Support INTERNALPROG.prog=yes to not install it. 2016-08-11 17:06:48 +00:00
bsd.README PROGS: Support INTERNALPROG.prog=yes to not install it. 2016-08-11 17:06:48 +00:00
bsd.snmpmod.mk WITH_META_MODE: Don't expect meta files for side-effect generated files. 2016-06-03 19:25:41 +00:00
bsd.stand.mk Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00
bsd.subdir.mk For 'make <directory>' hook into the all_subdir_<directory> targets. 2016-08-22 22:51:07 +00:00
bsd.symver.mk
bsd.sys.mk Normalise the CWARNFLAGS inter-word spacing: remove all leading 2016-07-28 17:18:02 +00:00
bsd.test.mk Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
dirdeps.mk Allow -f dirdeps.mk some/dir with no TARGET_MACHINE spec 2016-04-18 22:00:26 +00:00
gendirdeps.mk Update dirdeps.mk et al 2016-04-18 20:56:21 +00:00
host-target.mk Import latest host-target.mk 1.11 from contrib/bmake/mk 2016-01-25 18:43:21 +00:00
install-new.mk DIRDEPS_BUILD: Install new Makefile.depend files atomically. 2015-12-04 03:17:07 +00:00
local.autodep.mk Revert r288966 as it is redundant and not right. 2015-12-03 22:39:42 +00:00
local.dirdeps.mk DIRDEPS_BUILD: Exclude secure/lib* libraries for host builds. 2016-05-04 03:13:48 +00:00
local.gendirdeps.mk DIRDEPS_BUILD: Exclude host tools for Makefile.depend.host as well. 2016-05-11 17:40:51 +00:00
local.init.mk Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
local.meta.sys.mk Remove ${OBJDUMP} as it is not used by the base system 2016-07-27 14:58:15 +00:00
local.sys.env.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
local.sys.mk WITH_META_MODE: Enable printing of some of make's environment on error. 2016-06-14 16:20:25 +00:00
Makefile Import bsd.clang-analyze.mk based on NetBSD's version. 2016-02-26 22:14:00 +00:00
meta2deps.py Update meta2deps to fix crash when using -X with M2D_EXCLUDES. 2016-04-18 21:05:19 +00:00
meta2deps.sh Fix meta2deps.sh tracking of dependencies inside .CURDIR. 2016-03-02 20:06:24 +00:00
meta.autodep.mk Don't strip paths away from META_XTRAS. 2016-05-26 23:20:33 +00:00
meta.stage.mk Import latest meta.stage.mk 1.45 (r301462) 2016-06-05 21:21:41 +00:00
meta.subdir.mk Import latest meta.subdir.mk 1.11 from contrib/bmake/mk 2016-01-25 18:34:15 +00:00
meta.sys.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
netbsd-tests.test.mk Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
plain.test.mk
src.init.mk The 'buildenv' target can safely be ran with '+'. 2015-11-06 21:49:17 +00:00
src.libnames.mk libproc: Add proc_getmodel(). 2016-07-30 03:09:23 +00:00
src.opts.mk Forcibly disable MK_TESTS if building without C++ 2016-08-22 17:45:30 +00:00
src.sys.env.mk Fix MAKESYSPATH not being sent to sub-makes after r266566. 2016-05-26 23:20:04 +00:00
src.sys.mk Fix error when SRCCONF is empty. 2016-04-22 20:31:29 +00:00
stage-install.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
suite.test.mk Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
sys.dependfile.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
sys.mk Remove ${OBJDUMP} as it is not used by the base system 2016-07-27 14:58:15 +00:00
tap.test.mk - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) 2015-12-20 06:26:15 +00:00
version_gen.awk