Page MenuHomeFreeBSD

bsd.lib.mk: document INTERNALLIB and PRIVATELIB
ClosedPublic

Authored by kib on Thu, Nov 27, 4:44 PM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Thu, Nov 27, 4:44 PM

All the variables in here would benefit from documentation but we can start with these

This revision is now accepted and ready to land.Thu, Nov 27, 5:02 PM

LGTM with one nit.

share/mk/bsd.lib.mk
5

For consistency, either add "we" before "build", or remove it in the INTERNALLIB entry.

des requested changes to this revision.Thu, Nov 27, 6:06 PM
des added inline comments.
share/mk/bsd.lib.mk
2
8

This is incorrect, as I told you on IRC. Headers for private libraries are installed in /usr/include/private.

This revision now requires changes to proceed.Thu, Nov 27, 6:06 PM
kib marked 3 inline comments as done.

INTERNALLIB: s/pic/pie/; only state that the result is suitable for linking into binaries. This sounds like a bug to me: we should build pic version instead of pie.
PRIVATELIB: headers go into include/private/<name>

This revision is now accepted and ready to land.Thu, Nov 27, 6:47 PM

Slightly more clarity for normal libs.

This revision now requires review to proceed.Thu, Nov 27, 6:48 PM
This revision is now accepted and ready to land.Thu, Nov 27, 6:51 PM
This revision was automatically updated to reflect the committed changes.