freebsd-dev/stand/lua/Makefile
Kyle Evans 546f18f3da lualoader: improve the design of the brand-/logo- mechanism
In the previous world order, any brand/logo was forced to pull in the
drawer and call drawer.add{Brand,Logo} with the name their brand/logo is
taking and a table describing it.

In the new world order, these files just need to return a table that maps
out graphics types to a table of the exact same format as what was
previously being passed back into the drawer. The appeal here is not needing
to grab a reference back to the drawer module and having a cleaner
data-driven looking format for these. The format has been renamed to 'gfx-*'
prefixes and each one can provide a logo and a brand.

drawer.addBrand/drawer.addLogo will remain in place until FreeBSD 13, as
there's no overhead to them and it's not yet worth the break in
compatibility with any pre-existing brands and logos.

Reviewed by:	freqlabs
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D24966
2020-10-04 22:41:43 +00:00

33 lines
447 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
MAN= cli.lua.8 \
color.lua.8 \
config.lua.8 \
core.lua.8 \
drawer.lua.8 \
hook.lua.8 \
menu.lua.8 \
password.lua.8 \
screen.lua.8
FILESDIR= ${LUAPATH}
FILES= cli.lua \
color.lua \
config.lua \
core.lua \
drawer.lua \
hook.lua \
loader.lua \
gfx-beastie.lua \
gfx-beastiebw.lua \
gfx-fbsdbw.lua \
gfx-orb.lua \
gfx-orbbw.lua \
menu.lua \
password.lua \
screen.lua
.include <bsd.prog.mk>