]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libbe(3): Move build goop back out of cddl/
authorkevans <kevans@FreeBSD.org>
Sat, 18 Aug 2018 03:20:59 +0000 (03:20 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 18 Aug 2018 03:20:59 +0000 (03:20 +0000)
commit68ec745a9c3c5cab66c245ab684767221f4d09ae
treeb7c9d19e73f435e7900bc8bcc4526132d2b6888d
parentb51bdff298a332516091e323fc3d86b7a8102536
libbe(3): Move build goop back out of cddl/

Some background: in the GSoC project, libbe/Makefile lived in lib/libbe. I
created projects/bectl branch, maintained the above for all of five
minutes before I misread Makefile.inc1 and decided that it couldn't possibly
build outside of cddl/, so I kicked the Makefile out into the cddl/ build
and all was good. The misreading was of the bit where .WAIT is added to
SUBDIR after lib, libexec but prior to building bin and cddl *only during
the install targets*, which is the critical part.

Fast forward- buildworld was still broken in my branch unbeknownst to me
because I didn't nuke my OBJDIR. Combing through Makefile.inc1 eventually
revealed the necessary magic to make sure that libbe's dependencies are
specified well enough, and it becomes clear what needs done to make a
non-cddl/ build work. This is an interesting prospect, because the build
split is kind of annoying to work with.

IGNORE_PRAGMA is added to avoid dropping WARNS by one more. This was
previously pulled in via cddl/Makefile.inc.
Makefile.inc1
cddl/lib/Makefile
lib/Makefile
lib/libbe/Makefile [moved from cddl/lib/libbe/Makefile with 91% similarity]
share/mk/src.libnames.mk