version 1.56, 2014/09/29 19:37:51 |
version 1.57, 2014/10/09 04:44:09 |
|
|
|
|
bsd.dep.mk - handle Makefile dependencies |
bsd.dep.mk - handle Makefile dependencies |
bsd.lib.mk - support for building libraries |
bsd.lib.mk - support for building libraries |
bsd.lkm.mk - building loadable kernel modules |
|
bsd.man.mk - installing manual pages and their links |
bsd.man.mk - installing manual pages and their links |
bsd.nls.mk - National Language Support |
bsd.nls.mk - National Language Support |
bsd.obj.mk - creating 'obj' directories and cleaning up |
bsd.obj.mk - creating 'obj' directories and cleaning up |
|
|
DIST_CFLAGS Additional flags for the C compiler and assembler. |
DIST_CFLAGS Additional flags for the C compiler and assembler. |
[-Os] |
[-Os] |
|
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
|
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, 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. |
|
|
|
POSTINSTALL Program to pass with '-p' flag to the modload. |
|
If not defined, |
|
POSTINSTALL=${LKM}install |
|
is assumed. |
|
|
|
The include file <bsd.lkm.mk> includes the file named "../Makefile.inc" |
|
if it exists, as well as the include file <bsd.man.mk>. |
|