freebsd-dev/share/mk
Bryan Drewery 473bcb0163 mkdep: Fix -include not being added for .depend tracking.
This fixes incremental build of OpenSSH after the recent upgrade.

For example, in secure/lib/libssh, -include ssh_namespace.h is used on
all files.  This is not tracked in the .depend file though due to
MKDEP_CFLAGS not including it.  The ssh example was broken in r291941
when not using FAST_DEPEND due to the .depend bug.  FAST_DEPEND was not
affected by this because it generates dependencies at compile time and
thus sees the -include.

This ugly make syntax could be simpler for bmake by using :tW but
fmake-compatible syntax is used since this needs to be MFC'd all the way
to stable/9.

Also add a temporary hack to workaround existing checkouts building
incrementally with a .depend file not having these headers.

MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
2016-01-20 01:40:18 +00:00
..
atf.test.mk Remove unused atf.test.mk variables 2015-12-06 07:30:18 +00:00
auto.obj.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsd.arch.inc.mk
bsd.compiler.mk For determining the compiler version, quote the string to be echo'd, 2015-12-31 21:01:06 +00:00
bsd.confs.mk Use proper CONFDIR after r289148 2015-10-27 23:49:32 +00:00
bsd.cpu.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.crunchgen.mk There seems to be no reason to duplicate CANONICALOBJDIR logic from bsd.obj.mk, 2015-11-23 23:04:52 +00:00
bsd.dep.mk mkdep: Fix -include not being added for .depend tracking. 2016-01-20 01:40:18 +00:00
bsd.doc.mk bsd.doc.mk: Similar to r289391, make installing to a missing directory an error. 2015-11-13 17:27:23 +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 META MODE: Fix FILESNAME not being respected sans other FILES_group overrides. 2015-10-26 23:28:35 +00:00
bsd.incs.mk Make installing to a non-existent directory an error. 2015-10-15 22:49:56 +00:00
bsd.info.mk Make installing to a non-existent directory an error. 2015-10-15 22:49:56 +00:00
bsd.init.mk Avoid anoying warning 2015-06-14 03:27:22 +00:00
bsd.kmod.mk Eliminate bsd.sys.mk on purpose. Do not put it back. 2015-01-01 04:26:45 +00:00
bsd.lib.mk FAST_DEPEND: Fix improperly depending all .So objects on all headers. 2016-01-19 23:28:18 +00:00
bsd.libnames.mk Start on a new library (libsysdecode) that provides routines for decoding 2015-12-15 00:05:07 +00:00
bsd.links.mk Fix DESTDIR support 2015-03-15 23:40:50 +00:00
bsd.man.mk Fix installation of manpages with WITHOUT_COMPRESS broken since r284685. 2015-10-22 22:29:25 +00:00
bsd.mkopt.mk Appy := to dependent opts once value determined. 2015-06-22 19:01:09 +00:00
bsd.nls.mk In jobs mode we can use .ORDER to force stage_links to run after other 2015-10-07 00:24:27 +00:00
bsd.obj.mk Standardize on OBJTOP in and outside of META MODE. 2015-11-26 01:47:56 +00:00
bsd.opts.mk Move the inclusion of bsd.cpu.mk from sys.mk to bsd.opts.mk. However, 2015-12-11 05:39:44 +00:00
bsd.own.mk Stop looking up the same id(1) results in sub-makes. 2015-11-25 19:44:58 +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 Add built-in ccache build support via WITH_CCACHE_BUILD option. 2015-11-08 00:50:18 +00:00
bsd.progs.mk Follow-up r291338 to handle .d, .y and .l files better as well. 2015-11-25 22:40:14 +00:00
bsd.README Document LOCALBASE in the bsd.test.mk section 2015-12-20 06:27:36 +00:00
bsd.snmpmod.mk Allow overriding FILESDIRs for snmp files. 2015-12-14 22:42:05 +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 bsd.subdir.mk: Allow easier modification of [STANDALONE_]SUBDIR_TARGETS. 2016-01-19 22:42:07 +00:00
bsd.symver.mk
bsd.sys.mk Allow file specific user-specified flag overrides 2016-01-14 10:09:05 +00:00
bsd.test.mk - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) 2015-12-20 06:26:15 +00:00
dirdeps.mk Default MK_META_MODE from MK_DIRDEPS_BUILD 2015-11-16 22:50:23 +00:00
gendirdeps.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
host-target.mk Add META_MODE support. 2015-06-13 19:20:56 +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: Support bootstrapping from PROGS.(DPADD|LIBADD). 2015-12-15 02:51:05 +00:00
local.gendirdeps.mk META MODE: Don't trim out lib/clang/include dependency. 2015-12-01 05:18:55 +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 First part of updating llvm/clang build glue: getting llvm-tblgen, 2015-12-31 14:39:45 +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 Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
Makefile Don't create a Makefile.depend in share/mk. 2015-12-04 03:17:10 +00:00
meta2deps.py Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta2deps.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.autodep.mk META MODE: Don't add staged DPADDs to DIRDEPS when bootstrapping gendirdeps. 2015-11-25 19:13:45 +00:00
meta.stage.mk META MODE: Don't double stage SYMLINKS for shared libraries. 2015-11-13 22:27:24 +00:00
meta.subdir.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.sys.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
netbsd-tests.test.mk Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
plain.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
src.init.mk The 'buildenv' target can safely be ran with '+'. 2015-11-06 21:49:17 +00:00
src.libnames.mk Add comment about OBJTOP not yet being defined outside of META MODE. 2015-12-15 00:40:04 +00:00
src.opts.mk Support use of LLVM's libunwind for exception unwinding 2016-01-09 00:42:07 +00:00
src.sys.env.mk RELDIR is useful without META_MODE. Always define it. 2015-09-23 23:30:57 +00:00
src.sys.mk Only include src.conf if _WITHOUT_SRCCONF not defined. 2015-12-01 20:56:16 +00:00
stage-install.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
suite.test.mk Clean up Kyuafile.tmp, not Kyuafile.auto.tmp 2015-12-20 06:29:03 +00:00
sys.dependfile.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
sys.mk META_MODE: Ensure bmake does not use filemon if it is not loaded. 2016-01-19 22:41:55 +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