mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
ee4eeb3213
Default to tracking .depend.* for OBJS rather than SRCS. This helps cover some special case builds like gnu/lib/csu which do more of a PROGS-like thing with bsd.prog.mk. It is possible this causes out-of-tree Makefiles to have problems if they use this pattern: foo.o: foo.c ${CC} -o ${.TARGET} ${.ALLSRC} This may cause multiple source files to be compiled due to finding the 'foo.o: foo.c' dependency both in the Makefile at the .depend file. Or it may try compiling headers. This can be worked around by either of these: foo.o: foo.c ${CC} -o ${.TARGET} ${.ALLSRC:N*.h:[1]} Or foo.o: foo.c ${CC} -o ${.TARGET} ${.CURDIR}/foo.c In the latter case the ${.CURDIR} may need to be a different path. The first case covers automatically using .PATH. Sponsored by: DellEMC |
||
---|---|---|
.. | ||
atf.test.mk | ||
auto.obj.mk | ||
bsd.arch.inc.mk | ||
bsd.clang-analyze.mk | ||
bsd.compiler.mk | ||
bsd.confs.mk | ||
bsd.cpu.mk | ||
bsd.crunchgen.mk | ||
bsd.dep.mk | ||
bsd.dirs.mk | ||
bsd.doc.mk | ||
bsd.dtb.mk | ||
bsd.endian.mk | ||
bsd.files.mk | ||
bsd.incs.mk | ||
bsd.info.mk | ||
bsd.init.mk | ||
bsd.kmod.mk | ||
bsd.lib.mk | ||
bsd.libnames.mk | ||
bsd.linker.mk | ||
bsd.links.mk | ||
bsd.man.mk | ||
bsd.mkopt.mk | ||
bsd.nls.mk | ||
bsd.obj.mk | ||
bsd.opts.mk | ||
bsd.own.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.prog.mk | ||
bsd.progs.mk | ||
bsd.README | ||
bsd.snmpmod.mk | ||
bsd.subdir.mk | ||
bsd.suffixes-posix.mk | ||
bsd.suffixes.mk | ||
bsd.symver.mk | ||
bsd.sys.mk | ||
bsd.test.mk | ||
dirdeps-options.mk | ||
dirdeps.mk | ||
gendirdeps.mk | ||
googletest.test.inc.mk | ||
googletest.test.mk | ||
host-target.mk | ||
install-new.mk | ||
local.autodep.mk | ||
local.dirdeps.mk | ||
local.gendirdeps.mk | ||
local.init.mk | ||
local.meta.sys.mk | ||
local.sys.env.mk | ||
local.sys.mk | ||
Makefile | ||
meta2deps.py | ||
meta2deps.sh | ||
meta.autodep.mk | ||
meta.stage.mk | ||
meta.subdir.mk | ||
meta.sys.mk | ||
netbsd-tests.test.mk | ||
plain.test.mk | ||
src.init.mk | ||
src.libnames.mk | ||
src.opts.mk | ||
src.sys.env.mk | ||
src.sys.mk | ||
src.sys.obj.mk | ||
stage-install.sh | ||
suite.test.mk | ||
sys.dependfile.mk | ||
sys.mk | ||
tap.test.mk | ||
version_gen.awk |