Don't hang `all' off `_EXTRADEPEND', but rather on `afterdepend'.
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 25 Aug 2007 15:22:30 +0000 (15:22 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 25 Aug 2007 15:22:30 +0000 (15:22 +0000)
commit29e3bdaec8bbdbf6bac07137143c359ead5c8c4f
treedd33c59f3bd749b976e28b97c2b77078670ea67d
parent77ccf7de0aedbce522703d16f638a1c07d50d3aa
Don't hang `all' off `_EXTRADEPEND', but rather on `afterdepend'.

The problem with using _EXTRADEPEND is that ${DEPENDFILE} depends on
_EXTRADEPEND, which means it will depend on the phony `all' source which
is always out of date.  If we make `all' a source of `afterdepend',
the .depend file won't be regernerated every time.
share/mk/bsd.hostlib.mk
share/mk/bsd.hostprog.mk