Commit Graph

4 Commits

Author SHA1 Message Date
cgd 3ca5f41d59 clean up substantially. Transform clean, depend, cleandir targets from ::
to :, so they can be used e.g. with <bsd.prog.mk>.  Standardize variable
names used to configure kernel libraries.

Variables used by these Makefile.inc's are:

S		must be set to the top of the 'sys' tree.
${LIB}DST	may be set to the location of the directory where library
		objects are to be built.  Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS	may be set to 'obj' to build a object from the library's
		object files.  (Otherwise, a library will be built.)
		Defaults to 'library'.
${LIB}MISCMAKEFLAGS
		Miscellaneous flags to be passed to the library's Makefile when
		building.  See library's Makefile for more details about
		supported flags and their default values.

(where LIB is KERN, SA, or Z, and lib is kern, sa, or z, depending on which
library's Makefile.inc is being discussed.)
1997-01-23 22:29:07 +00:00
cgd 25bd886ba9 fix a typo (ZPPFLAGS should have been ZCPPFLAGS) 1997-01-22 01:36:30 +00:00
cgd f515ce7937 add sources, all copied verbatim from src/lib/libz 1997-01-16 00:21:43 +00:00
cgd e18d476d7c add Makefiles to build kernel 'libz' library, expected to be used by
boot blocks to load compressed images.  Sources and headers are copied
from src/lib (src/lib/libz, in particular) by making the 'update-sources'
target in this directory.  This library builds in a manner similar to
libkern; much of the Makefile hackery was taken from there.
1997-01-16 00:19:04 +00:00