Implement LIBADD

LIBADD will automatically set DPADD and LDADD when needed including their
dependencies, LIBADD automatically handles private and internal libs so that
the end user Makefile does not have to care about it.

This allows to reduce overlinking on the base system leaving the framework get
the dependencies properly.

It also allows to built components binaries statically.

To use it:

Replace:
DPADD=	${LIBARCHIVE} ${LIBSSL}
LDADD=	-larchive -lssl

by:
LIBADD=	archive ssl

Differential Revision:	https://reviews.freebsd.org/D1209
Reviewed by:	brooks imp


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274984 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Correctly specify -L for internal and private libs


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274985 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f