diff options
Diffstat (limited to 'share/mk/bsd.README')
-rw-r--r-- | share/mk/bsd.README | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README index 9bf91863928..cee81c0b7fd 100644 --- a/share/mk/bsd.README +++ b/share/mk/bsd.README @@ -1,4 +1,4 @@ -# $NetBSD: bsd.README,v 1.15 1996/01/22 22:46:06 cgd Exp $ +# $OpenBSD: bsd.README,v 1.6 1996/02/25 19:02:31 mickey Exp $ # @(#)bsd.README 5.1 (Berkeley) 5/11/90 This is the README file for the new make "include" files for the BSD @@ -261,7 +261,7 @@ MAN Manual pages (should end in .1 - .9). If no MAN variable is PROG The name of the program to build. If not supplied, nothing is built. -SRCS List of source files to build the program. If PROG is not +SRCS List of source files to build the program. If it's not defined, it's assumed to be ${PROG}.c. DPADD Additional dependencies for the program. Usually used for @@ -379,3 +379,24 @@ It has rules for building profiled objects; profiled libraries are built by default. Libraries are ranlib'd when made. + +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= + +The include file <bsd.lkm.mk> has support for building the LKM's. It has +the same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, +install, lint, and tags. In addition two targets are made available +that is specific to the LKM's: load, unload. + +It sets/uses the following variables (in addition to the <bsd.prog.mk>'s): + +LKM LKM name to build. + +LKMGRP Module group. + +LKMOWN Module owner. + +LKMMODE Module mode. + +The include file <bsd.lkm.mk> includes the file named "../Makefile.inc" +if it exists, as well as the include file <bsd.man.mk>. + |