freebsd-nq/share/mk
Julio Merino ada17d7bde Ensure files are created during the build when using bsd.subdir.mk.
When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the
build of the files (if any) was not properly triggered during the build
stage.  This was because bsd.files.mk did not define the buildfiles target
if it was already defined... and bsd.subdir.mk defined this target on its
own, thus causing a conflict.

Fix this by unconditionally defining buildfiles from bsd.files.mk; this is
safe because nothing else in the tree needs to redefine this and because the
target itself contains no commands: all it does is define dependencies.
Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless
of what bsd.prog.mk does.

These fixes allow "make installworld" to run cleanly on a system with
read-only src and obj trees.

This is "make tinderbox" clean.

Reviewed by:	imp
Obtained from:	jilles
2014-06-09 14:36:49 +00:00
..
atf.test.mk Move atf-sh from /usr/bin/ to /usr/libexec/ 2014-06-06 18:58:06 +00:00
bsd.arch.inc.mk
bsd.compiler.mk Allow CC to not actually exist. During the ports INDEX run, all the 2014-05-23 14:34:22 +00:00
bsd.cpu.mk Add new CPUTYPEs supported by Clang 3.4, i.e., AMD Steamroller (bdver3) and 2014-03-20 19:17:46 +00:00
bsd.crunchgen.mk NO_DEBUG_FILES -> MK_DEBUG_FILES=no in last remaining place. 2014-04-25 19:25:18 +00:00
bsd.dep.mk Revert r241752. The claim that it's more correct while at the same time 2012-10-20 22:44:22 +00:00
bsd.doc.mk Move DOCCOMPRESS to MK variable. 2014-05-10 16:38:54 +00:00
bsd.dtrace.mk
bsd.endian.mk Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental. 2014-03-23 12:49:25 +00:00
bsd.files.mk Ensure files are created during the build when using bsd.subdir.mk. 2014-06-09 14:36:49 +00:00
bsd.incs.mk Eliminate NO_INCS. It is used one place, and MK_TOOLCHAIN=no will 2014-04-25 19:25:45 +00:00
bsd.info.mk Replace all known uses of ln in the build process with appropriate 2013-01-21 22:40:39 +00:00
bsd.init.mk Include bsd.opts.mk before Makefile.inc so Makefile.inc can do things 2014-04-24 02:02:51 +00:00
bsd.kmod.mk Fix comma splice, can't ambiguity and quoting. 2012-02-16 21:04:47 +00:00
bsd.lib.mk Introduce RANLIBFLAGS to mirror ARFLAGS and add -D to both. This sets 2014-04-12 12:44:09 +00:00
bsd.libnames.mk Change libatf-c and libatf-c++ to be private libraries. 2014-05-25 12:01:13 +00:00
bsd.links.mk Replace all known uses of ln in the build process with appropriate 2013-01-21 22:40:39 +00:00
bsd.man.mk Convert NO_MANCOMPRESSED to MK_MANCOMPRESSED. 2014-04-18 17:03:49 +00:00
bsd.mkopt.mk Spell always the more traditional way. 2014-05-09 04:49:43 +00:00
bsd.nls.mk
bsd.obj.mk Add support for bmake. This includes: 2012-10-06 20:01:05 +00:00
bsd.opts.mk In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
bsd.own.mk Better documentation for why KERBEROS and OPENSSH are here, and where 2014-05-27 16:30:54 +00:00
bsd.port.mk Revert unapproved commit to bsd.port.mk. 2011-10-08 18:25:01 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
bsd.progs.mk Make bsd.progs.mk work in directories with SCRIPTS but no PROGS. 2013-12-11 03:41:07 +00:00
bsd.README NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
bsd.snmpmod.mk
bsd.subdir.mk Use an intermediate target to associate with _SUBDIR which is marked .MAKE 2014-05-20 18:25:46 +00:00
bsd.symver.mk
bsd.sys.mk g/c unmaintained, uninstalled bsd.pkg.mk. It tied into the ports 2014-05-10 16:38:27 +00:00
bsd.test.mk Ensure files are created during the build when using bsd.subdir.mk. 2014-06-09 14:36:49 +00:00
Makefile Really, I don't want to install src.opts.mk at all. 2014-05-10 21:27:47 +00:00
plain.test.mk Make bsd.test.mk the only public mk fragment for the building of tests. 2014-03-14 08:56:19 +00:00
src.opts.mk Install VT support files 2014-06-05 18:53:56 +00:00
src.sys.mk The time is not yet ripe to break the lack of dependencies between 2014-05-17 20:31:34 +00:00
suite.test.mk Move FreeBSD Test Suite-specific code to a suite.test.mk file. 2014-03-14 12:52:55 +00:00
sys.mk Move inclusion of /etc/make.conf and others to old location (this also 2014-05-17 20:31:40 +00:00
tap.test.mk Make bsd.test.mk the only public mk fragment for the building of tests. 2014-03-14 08:56:19 +00:00
version_gen.awk