On Tue, Mar 02, 2010 at 08:58:08PM +0100, Dag-Erling Sm??rgrav wrote:
> Kostik Belousov <kostik...@gmail.com> writes:
> > The question I do not know answer for, is why do we need LDADD.
> 
> LDADD tells the linker to link ipfw with libutil.
> 
> DPADD tells make to relink ipfw if libutil changes.
> 
> You can do without DPADD, but incremental builds (i.e. "make buildworld
> -DNO_CLEAN" or simply "make") won't work properly.

I know this, but I do not understand why bsd.mk cannot deduce LDADD
value from DPADD automatically.

Attachment: pgpAIx3JzyabD.pgp
Description: PGP signature

Reply via email to