Building programs, libraries, and other packages

library(X)
compile the sources and build a library, X, from the resulting compiled object files. The visibility of the library is hidden.
Library(X)
The same as library, but X is exported.
program(X)
constructs an executable program named X from the given sources.
Program(X)
like program, but X is exported to /bin.
OtherPackage(X)
processes the m3makefile but without producing a program or library. This is typically used for packages containing only documentation.