HomeFreeBSD

Implement LIBADD

Description

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

Details

Provenance
baptAuthored on
Reviewer
brooks
Differential Revision
D1209: LIBADD to replace DPADD LDADD in most case
Parents
rS274983: Cleanup upstream build infrastructure files that we don't use.
Branches
Unknown
Tags
Unknown

Event Timeline