crunchgen(1): Support building and linking internal libraries
authorAaron LI <aly@aaronly.me>
Sat, 30 Jun 2018 13:36:54 +0000 (21:36 +0800)
committerAaron LI <aly@aaronly.me>
Wed, 4 Jul 2018 09:46:38 +0000 (17:46 +0800)
commit8fc53a872217653179856c575dff4ec379710830
treeb04e98994c197b0a7afe07310ddc1844bf3e4e7f
parentecd06a6b72e8878d45af7cc361a43a2cf0b727b2
crunchgen(1): Support building and linking internal libraries

Some programs (e.g., grep, diff, telnet) use internal libraries.  In
order to crunch such programs, the corresponding internal libraries
must be built together with the programs and then are used to create
the <progname>.lo.

Extend the crunchgen(1)'s "special" command by adding the "lib_int"
keyword, which specifies the internal libraries to be used to create
the <progname>.lo.

The "libs_int" command is also implemented to support building the
needed internal libraries which will be statically linked to create
the final crunched executable.
usr.bin/crunch/crunchgen/crunchgen.1
usr.bin/crunch/crunchgen/crunchgen.c