PROPHET/OS

NAME

proglibs: which library every program binds, read out of its source

SYNOPSIS

proglibs <programs folder> <proglibs.mk>|selbsttest

DESCRIPTION

Which library every program binds, read out of its source

One line PROGLIB_<name> := <libraries> per source in the folder that says PROGRAMM_BINDET("..."), also over several strings, in the order of the names. A program that binds nothing gets no line. The build includes the file.

It is what tools/proglibs.py did, and the build holds the two against each other byte for byte on every run (R10-SELF-07).

selbsttest writes the five cases of the python under /temp/proglibs: one library, two in one string, two over two strings, none, and the macro named in a comment. It is what shell.the_bound_libraries_are_read_out_of_the_sources drives.

EXAMPLE

$ proglibs --help
proglibs <programs folder> <proglibs.mk>|selbsttest
  the libraries every program binds, out of its source